<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>17912</bug_id>
          
          <creation_ts>2008-11-17 13:04:07 +0300</creation_ts>
          <short_desc>обновление shared-mime-info-0.51-alt1.M41.2</short_desc>
          <delta_ts>2008-11-23 00:29:04 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Distributions</classification>
          <product>ALT Linux Lite</product>
          <component>bugs</component>
          <version>4.1.0</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Георгий Кирик">utjhubq</reporter>
          <assigned_to name="Anton V. Boyarshinov">boyarsh</assigned_to>
          <cc>aris</cc>
    
    <cc>ktirf</cc>
          
          <qa_contact name="Andrey Cherepanov">cas</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>81188</commentid>
    <comment_count>0</comment_count>
    <who name="Георгий Кирик">utjhubq</who>
    <bug_when>2008-11-17 13:04:07 +0300</bug_when>
    <thetext>Здравствуйте!

При обновлении shared-mime-info до версии 0.51-alt1.M41.2 evince перестал открывать pdf-ки с выдачей сообщения о неизвестном типе файла &quot;text.plain&quot;.
При откате на shared-mime-info-0.30-alt0.M41.1 все заработало.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81392</commentid>
    <comment_count>1</comment_count>
    <who name="Yuri N. Sedunov">aris</who>
    <bug_when>2008-11-20 16:24:20 +0300</bug_when>
    <thetext>Попробуйте evince-2.24.1 собранный для 4.1 из
ftp://ftp.altlinux.org/pub/people/aris/evince/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81396</commentid>
    <comment_count>2</comment_count>
    <who name="Георгий Кирик">utjhubq</who>
    <bug_when>2008-11-20 17:16:17 +0300</bug_when>
    <thetext>Скачал
ftp://ftp.altlinux.org/pub/people/aris/evince/evince-2.24.1-alt0.M41.1.i586.rpm
и поставил.

Пришлось доставить evince-зависимости (старому они были не нужны): tetex-core с зависимостью texinfo, libspectre с зависимостью libgs и t1lib.

В итоге при открытии pdf выдает
&quot;Тип файлов неизвестный (application/octet-stream) не поддерживается&quot;.
На другой pdf-ке выдал
&quot;Тип файлов plain text document (text/plain) не поддерживается&quot;.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81397</commentid>
    <comment_count>3</comment_count>
    <who name="Yuri N. Sedunov">aris</who>
    <bug_when>2008-11-20 17:49:30 +0300</bug_when>
    <thetext>(In reply to comment #2)

&gt; В итоге при открытии pdf выдает
&gt; &quot;Тип файлов неизвестный (application/octet-stream) не поддерживается&quot;.
&gt; На другой pdf-ке выдал
&gt; &quot;Тип файлов plain text document (text/plain) не поддерживается&quot;.
&gt; 

Какой тип файлов показывает наутилус для ваших pdf-ок? И если можно пришлите мне их.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81398</commentid>
    <comment_count>4</comment_count>
    <who name="Георгий Кирик">utjhubq</who>
    <bug_when>2008-11-20 17:54:22 +0300</bug_when>
    <thetext>Прошу прощения, но у меня Lite (xfce). Nautilus-а нет, есть Thunar.
Я указал ALT Linux Lite в разделе Продукт.
Может, собака порылась как раз в Thunar-e? Но со старым shared-mime все работает.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81401</commentid>
    <comment_count>5</comment_count>
    <who name="Георгий Кирик">utjhubq</who>
    <bug_when>2008-11-20 18:28:21 +0300</bug_when>
    <thetext>В догонку, может поможет.
Доставил epdfview - открывает pdf-ки нормально.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81405</commentid>
    <comment_count>6</comment_count>
    <who name="Yuri N. Sedunov">aris</who>
    <bug_when>2008-11-20 19:40:00 +0300</bug_when>
    <thetext>Так, сделайте, пожалуйста
# update-mime-database /usr/share/mime

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81427</commentid>
    <comment_count>7</comment_count>
    <who name="Yuri N. Sedunov">aris</who>
    <bug_when>2008-11-21 02:09:12 +0300</bug_when>
    <thetext>Проверил взгромоздив 4.1 на qemu и сделав dist-upgrade. Бага не воспроизводится, -- evince открывает pdf-ки, в том числе из thunar. </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81428</commentid>
    <comment_count>8</comment_count>
    <who name="Alexey Rusakov">ktirf</who>
    <bug_when>2008-11-21 02:24:39 +0300</bug_when>
    <thetext>У меня это воспроизводится, причём всё даже хуже. Все файлы имеют тип text/plain (если верить Наутилусу). Файлы самые разнообразные.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81437</commentid>
    <comment_count>9</comment_count>
    <who name="Георгий Кирик">utjhubq</who>
    <bug_when>2008-11-21 10:51:42 +0300</bug_when>
    <thetext>Здравствуйте!
Сделал update-mime-database /usr/share/mime,
результат тот же - ошибки при открытии файлов.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81439</commentid>
    <comment_count>10</comment_count>
    <who name="Георгий Кирик">utjhubq</who>
    <bug_when>2008-11-21 11:07:50 +0300</bug_when>
    <thetext>Я ставил Lite с beta-диска, апгрейдился из репозиториев
1) http://ftp.altlinux.org/pub/distributions/ALTLinux/4.1/Desktop/current/
i586 main и classic
2) http://ftp.altlinux.org/pub/distributions/ALTLinux/updates/4.1/
i586 update
3) http://ftp.altlinux.org/pub/distributions/ALTLinux/4.1/branch/
noarch classic
и
i586 classic

Может разница в репозиториях, с которых мы апдейтимся?

Из сторонних пакетов
1) openoffice-3 из peoples (переписка была на Desktop)
2) Thunar и xfdesktop собственной сборки. Это штатные Lite-овские Thunar и xfdesktop, но с добавленными, по одному на пакет, патчами. Информация по этим сборкам и ссылки на сами сборки есть в
https://bugzilla.altlinux.org/show_bug.cgi?id=17563
3) xfce4-volstatus-icon собственной сборки
4) pidgin-2.5.2 с плагином otr собственной сборки. Pidgin собран из 2.5.1 (из сизифа) просто с заменой циферок версии и, естественно, исходников.

Но, как видно, эта бага не у меня одного и предыдущая версия shared-mime у меня при всем этом работала.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81440</commentid>
    <comment_count>11</comment_count>
    <who name="Георгий Кирик">utjhubq</who>
    <bug_when>2008-11-21 11:14:55 +0300</bug_when>
    <thetext>И еще: Thunar здесь врядли виноват, так как если сначала запустить &quot;пустой&quot; evince, а потом из меню открыть файл, то результат тот же.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81476</commentid>
    <comment_count>12</comment_count>
    <who name="Yuri N. Sedunov">aris</who>
    <bug_when>2008-11-21 17:22:00 +0300</bug_when>
    <thetext>Установите, пожалуйста, glib/gio из
ftp://ftp.altlinux.org/pub/people/aris/glib2
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81477</commentid>
    <comment_count>13</comment_count>
    <who name="Георгий Кирик">utjhubq</who>
    <bug_when>2008-11-21 17:30:06 +0300</bug_when>
    <thetext>В ftp://ftp.altlinux.org/pub/people/aris/ нет glib2.
Есть только 
RPMS
evince
livecd
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81480</commentid>
    <comment_count>14</comment_count>
    <who name="Yuri N. Sedunov">aris</who>
    <bug_when>2008-11-21 17:41:50 +0300</bug_when>
    <thetext>(In reply to comment #13)
&gt; В ftp://ftp.altlinux.org/pub/people/aris/ нет glib2.
&gt; Есть только 
&gt; RPMS
&gt; evince
&gt; livecd
&gt; 

Через час примерно нужный каталог будет доступен на ftp. 
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81483</commentid>
    <comment_count>15</comment_count>
    <who name="Георгий Кирик">utjhubq</who>
    <bug_when>2008-11-21 17:59:09 +0300</bug_when>
    <thetext>Уже появился. Скачал. Не могу понять, как эти пакеты впихнуть в систему. :)
Мои попытки:
[root@altgeorg Desktop]# rpm -Uvh libgio-2.16.6-alt0.M41.1.i586.rpm --force
error: failed dependencies:
	glib2 = 2.16.6-alt0.M41.1 is needed by libgio-2.16.6-alt0.M41.1
[root@altgeorg Desktop]# 
[root@altgeorg Desktop]# rpm -Uvh glib2-2.16.6-alt0.M41.1.i586.rpm --force
error: failed dependencies:
	glib2 = 2.16.5-alt0.M41.1 is needed by libgio-2.16.5-alt0.M41.1
[root@altgeorg Desktop]# 
[root@altgeorg Desktop]# rpm -e glib2
error: removing these packages would break dependencies:
	glib2 &gt;= 2.6.0 is needed by libenchant-1.3.0-alt0.1
	glib2 &gt;= 2.2.0 is needed by xfprint-4.4.2-alt1.M41.1
	glib2 &gt;= 2.14.0 is needed by libpango-1.20.5-alt0.M41.1
	glib2 &gt;= 2.0 is needed by libcroco-0.6.1-alt1
	glib2 &gt;= 2.2.0 is needed by libxfce4util-4.4.2-alt1
	glib2 = 2.16.5-alt0.M41.1 is needed by libgio-2.16.5-alt0.M41.1
	glib2 &gt;= 2.13.5 is needed by libgtk+2-2.12.12-alt0.M41.3
	libglib-2.0.so.0   is needed by galculator-1.3-alt1.M41.1
	libglib-2.0.so.0   is needed by Thunar-0.9.0-alt3
	libglib-2.0.so.0   is needed by libbonobo-2.22.0-alt1.1.M41.1
	libglib-2.0.so.0   is needed by PolicyKit-0.8-alt1
	libglib-2.0.so.0   is needed by xsane-0.995-alt1
	libglib-2.0.so.0   is needed by libgksu-2.0.7-alt1
	libglib-2.0.so.0   is needed by xfce4-dict-plugin-0.2.1-alt1.M41.1
	libglib-2.0.so.0   is needed by thunar-media-tags-plugin-0.1.2-alt1
	libglib-2.0.so.0   is needed by libavahi-glib-0.6.22-alt6
	libglib-2.0.so.0   is needed by xfce4-radio-plugin-0.2.1-alt1.M41.1
	libglib-2.0.so.0   is needed by xfdesktop-4.4.2-alt3
	libglib-2.0.so.0   is needed by xfce4-battery-plugin-0.5.0-alt1
	libglib-2.0.so.0   is needed by libgstreamer-0.10.21-alt0.M41.1
	libglib-2.0.so.0   is needed by xfce4-cpufreq-plugin-0.2-alt0svn3751.M41.1
	libglib-2.0.so.0   is needed by libenchant-1.3.0-alt0.1
	libglib-2.0.so.0   is needed by xulrunner-1.9.0.3-alt0.20081005.M41.1
	libglib-2.0.so.0   is needed by libpolkit-0.8-alt1
	libglib-2.0.so.0   is needed by synaptic-0.57.2-alt2.3
	libglib-2.0.so.0   is needed by libImageMagick-6.3.7.2-alt1.1
	libglib-2.0.so.0   is needed by libxfce4mcs-4.4.2-alt1
	libglib-2.0.so.0   is needed by alsaplayer-in-mad-0.99.80-alt6
	libglib-2.0.so.0   is needed by hal-0.5.11-alt14.M41.1
	libglib-2.0.so.0   is needed by gdm-2.20.7-alt1.M41.1
..................
и т.д.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81486</commentid>
    <comment_count>16</comment_count>
    <who name="Yuri N. Sedunov">aris</who>
    <bug_when>2008-11-21 18:07:37 +0300</bug_when>
    <thetext># apt-get install *.rpm</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81487</commentid>
    <comment_count>17</comment_count>
    <who name="Георгий Кирик">utjhubq</who>
    <bug_when>2008-11-21 18:12:05 +0300</bug_when>
    <thetext>Спасибо.
Мог бы и сам догадаться.

[root@altgeorg glib]# apt-get install *.rpm
Reading Package Lists... Done
Building Dependency Tree... Done
Selecting glib2 for &apos;glib2-2.16.6-alt0.M41.1.i586.rpm&apos;
Selecting libgio for &apos;libgio-2.16.6-alt0.M41.1.i586.rpm&apos;
The following packages will be upgraded
  glib2 libgio
2 upgraded, 0 newly installed, 0 removed and 3 not upgraded.
Need to get 0B/1349kB of archives.
After unpacking 2628B of additional disk space will be used.
Committing changes...
Preparing...                 ########################################################## [100%]
1: glib2                     ########################################################## [ 50%]
2: libgio                    ########################################################## [100%]
Running /usr/lib/rpm/posttrans-filetriggers
Done.
[root@altgeorg glib]# update-mime-database /usr/share/mime

Результат открытия pdf-файла:
Не удалось открыть документ
Тип файлов неизвестный (application/octet-stream) не поддерживается
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81490</commentid>
    <comment_count>18</comment_count>
    <who name="Георгий Кирик">utjhubq</who>
    <bug_when>2008-11-21 18:26:25 +0300</bug_when>
    <thetext>Буду недоступен, возможно, до завтра.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81495</commentid>
    <comment_count>19</comment_count>
    <who name="Yuri N. Sedunov">aris</who>
    <bug_when>2008-11-21 19:33:35 +0300</bug_when>
    <thetext>$ update-mime-database ~/.local/share/mime</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81502</commentid>
    <comment_count>20</comment_count>
    <who name="Георгий Кирик">utjhubq</who>
    <bug_when>2008-11-21 22:06:20 +0300</bug_when>
    <thetext>$ update-mime-database ~/.local/share/mime сработал.
Pdf-ки открываются теперь нормально.
Большое Вам спасибо.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81504</commentid>
    <comment_count>21</comment_count>
    <who name="Yuri N. Sedunov">aris</who>
    <bug_when>2008-11-21 23:25:16 +0300</bug_when>
    <thetext>(In reply to comment #20)
&gt; $ update-mime-database ~/.local/share/mime сработал.
&gt; Pdf-ки открываются теперь нормально.


Закрываю.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81565</commentid>
    <comment_count>22</comment_count>
    <who name="Alexey Rusakov">ktirf</who>
    <bug_when>2008-11-23 00:29:04 +0300</bug_when>
    <thetext>Счастье-то какое, и мне помогло. Попутно в ~/.local/share/mime/packages/Override.xml обнаружился инвалидный MIME-тип. А что, update-mime-database теперь нужно ещё и на ~/.local/share/mime натравливать? Или оно (GIO???) само будет это делать?</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>