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

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

    <bug>
          <bug_id>17859</bug_id>
          
          <creation_ts>2008-11-12 01:23:32 +0300</creation_ts>
          <short_desc>the *-devel is installed without the main package</short_desc>
          <delta_ts>2009-08-14 21:34:51 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>python-module-imaging</component>
          <version>unstable</version>
          <rep_platform>all</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="Ivan Zakharyaschev">imz</reporter>
          <assigned_to name="swi">swi</assigned_to>
          <cc>at</cc>
    
    <cc>cas</cc>
    
    <cc>enp</cc>
    
    <cc>george</cc>
    
    <cc>hiddenman</cc>
    
    <cc>lav</cc>
    
    <cc>ldv</cc>
    
    <cc>mithraen</cc>
    
    <cc>rider</cc>
    
    <cc>shaba</cc>
    
    <cc>sin</cc>
    
    <cc>solo</cc>
    
    <cc>vitty</cc>
    
    <cc>viy</cc>
    
    <cc>vvk</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>80993</commentid>
    <comment_count>0</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2008-11-12 01:23:32 +0300</bug_when>
    <thetext>python-module-imaging-devel-1.1.4-alt11.1

As it happened in the situation https://bugzilla.altlinux.org/show_bug.cgi?id=17858 , the *-devel package is installed without the main package. This seems to be wrong.

And, actually, that situation should be understood as: the *-devel package is installed *instead* of the main package.

The reason: 

apt&gt; showpkg  python2.5(PIL)
Package: python2.5(PIL)
Versions: 

Reverse Depends: 
  trac-gallery,python2.5(PIL)
  uniconvertor,python2.5(PIL)
  skencil,python2.5(PIL)
  sK1,python2.5(PIL)
  python-module-opencv,python2.5(PIL)
  gnofract4d,python2.5(PIL)
Dependencies: 
Provides: 
Reverse Provides: 
python-module-imaging-devel 1.1.4-alt11.1
python-module-imaging 1.1.4-alt11.1
apt&gt; 

So, if a package like skencil depends on python2.5(PIL), apt-get selects python-module-imaging-devel and doesn&apos;t install python-module-imaging.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>83269</commentid>
    <comment_count>1</comment_count>
    <who name="Ivan Fedorov">ns</who>
    <bug_when>2008-12-23 19:21:08 +0300</bug_when>
    <thetext>ну нынче уже 1.1.6 с полностью переписанным спеком, так что думаю, что оно просто неактуально...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>83270</commentid>
    <comment_count>2</comment_count>
    <who name="Ivan Fedorov">ns</who>
    <bug_when>2008-12-23 19:21:27 +0300</bug_when>
    <thetext>ну нынче уже 1.1.6 с полностью переписанным спеком, так что думаю, что оно
просто неактуально...
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>83295</commentid>
    <comment_count>3</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2008-12-23 23:38:10 +0300</bug_when>
    <thetext>(In reply to comment #2)
&gt; ну нынче уже 1.1.6 с полностью переписанным спеком, так что думаю, что оно
&gt; просто неактуально...

Нет, во-первых, и в Sisyphus та же проблема:

apt&gt; showpkg python2.5(PIL)
Package: python2.5(PIL)
Versions: 

Reverse Depends: 
  trac-gallery,python2.5(PIL)
  python-module-phatch,python2.5(PIL)
  python-module-dabo,python2.5(PIL)
  intipunku,python2.5(PIL)
  uniconvertor,python2.5(PIL)
  sK1,python2.5(PIL)
  python-module-pycaptcha,python2.5(PIL)
  python-module-opencv,python2.5(PIL)
  gnofract4d,python2.5(PIL)
Dependencies: 
Provides: 
Reverse Provides: 
python-module-imaging 1.1.4-alt11.1
python-module-imaging-devel 1.1.6-alt2
python-module-imaging 1.1.6-alt2
apt&gt; install python-module-imaging-devel
apt&gt; 

Видно: *-devel устанавливается без основного пакета (и установится вместо него по зависимостям).

Во-вторых, сообщение было про Branch 4.1, а там 1.1.4.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>83348</commentid>
    <comment_count>4</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2008-12-24 19:04:04 +0300</bug_when>
    <thetext>Демонстранция проблемы:

apt&gt; install uniconvertor 
Unrequested changes are needed to execute this operation.
The following NEW packages will be installed:
  python-module-imaging-devel uniconvertor
0 upgraded, 2 newly installed, 0 removed and 0 kept.
Will need more 1081kB of archives.
After unpacking will need more 3855kB of disk space.
Do you want to continue? [Y/n] 
apt&gt; commit 
The following NEW packages will be installed:
  python-module-imaging-devel uniconvertor
0 upgraded, 2 newly installed, 0 removed and 1916 not upgraded.
Need to get 1071kB/1081kB of archives.
After unpacking 3855kB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 ftp://ftp.altlinux.org i586/classic uniconvertor 1.1.2-alt1 [1071kB]
Fetched 1071kB in 0s (5075kB/s)
Committing changes...
Preparing...                                  ################################################################################################### [100%]
1: python-module-imaging-devel                ################################################################################################### [ 50%])
2: uniconvertor                               ################################################################################################### [100%])
Running /usr/lib/rpm/posttrans-filetriggers
Done.
Reading Package Lists... Done
Building Dependency Tree... Done
apt&gt; quit 
[ivan@dell ~]$ cd tmp
[ivan@dell tmp]$ uniconv /usr/share/epiphany/icons/hicolor/scalable/actions/bookmark-view.svg test-uniconv-out.svg
Traceback (most recent call last):
  File &quot;&lt;string&gt;&quot;, line 1, in &lt;module&gt;
  File &quot;/usr/lib/python2.5/site-packages/uniconvertor/__init__.py&quot;, line 64, in &lt;module&gt;
    from app.io import load
  File &quot;/usr/lib/python2.5/site-packages/uniconvertor/app/__init__.py&quot;, line 62, in &lt;module&gt;
    from conf.configurator import Configurator
  File &quot;/usr/lib/python2.5/site-packages/uniconvertor/app/conf/configurator.py&quot;, line 11, in &lt;module&gt;
    from app.events import connector
  File &quot;/usr/lib/python2.5/site-packages/uniconvertor/app/__init__.py&quot;, line 114, in &lt;module&gt;
    _import_PIL()
  File &quot;/usr/lib/python2.5/site-packages/uniconvertor/app/__init__.py&quot;, line 103, in _import_PIL
    warn.warn(warn.USER, &quot;Can&apos;t import the Python Imaging Library&quot;)
NameError: global name &apos;warn&apos; is not defined
[ivan@dell tmp]$ 
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>83349</commentid>
    <comment_count>5</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2008-12-24 19:08:03 +0300</bug_when>
    <thetext>Если вручную разбираться с зависимостями, оно на самом деле работает:

[ivan@dell tmp]$ ftp_proxy= http_proxy= sudo apt-shell 
Reading Package Lists... Done
Building Dependency Tree... Done
Welcome to the APT shell. Type &quot;help&quot; for more information.
apt&gt; remove python-module-imaging-devel 
Unrequested changes are needed to execute this operation.
The following packages will be REMOVED:
  python-module-imaging-devel uniconvertor
0 upgraded, 0 newly installed, 2 removed and 0 kept.
Will need more 0B of archives.
After unpacking 3855kB disk space will be freed.
Do you want to continue? [Y/n] 
apt&gt; commit 
The following packages will be REMOVED:
  python-module-imaging-devel uniconvertor
0 upgraded, 0 newly installed, 2 removed and 1916 not upgraded.
Need to get 0B of archives.
After unpacking 3855kB disk space will be freed.
Do you want to continue? [Y/n] 
Committing changes...
Preparing...                                  ################################################################################################### [100%]
Running /usr/lib/rpm/posttrans-filetriggers
Done.
Reading Package Lists... Done
Building Dependency Tree... Done
apt&gt; install python-module-imaging
apt&gt; install uniconvertor 
apt&gt; commit 
The following NEW packages will be installed:
  python-module-imaging uniconvertor
0 upgraded, 2 newly installed, 0 removed and 1916 not upgraded.
Need to get 346kB/1417kB of archives.
After unpacking 5445kB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 ftp://ftp.altlinux.org i586/classic python-module-imaging 1.1.6-alt2 [346kB]
Fetched 346kB in 0s (2683kB/s)         
Committing changes...
Preparing...                                  ################################################################################################### [100%]
1: python-module-imaging                      ################################################################################################### [ 50%])
2: uniconvertor                               ################################################################################################### [100%])
Running /usr/lib/rpm/posttrans-filetriggers
Done.
Reading Package Lists... Done
Building Dependency Tree... Done
apt&gt; quit 
[ivan@dell tmp]$ uniconv /usr/share/epiphany/icons/hicolor/scalable/actions/bookmark-view.svg test-uniconv-out.svg
[ivan@dell tmp]$ 

Так что надо разобраться:
1) как так python-module-imaging-devel предоставляет python2.5(PIL)?
2) как так python-module-imaging-devel может установиться без python-module-imaging?
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>83392</commentid>
    <comment_count>6</comment_count>
    <who name="Ivan Fedorov">ns</who>
    <bug_when>2008-12-24 22:59:03 +0300</bug_when>
    <thetext>&gt; Так что надо разобраться:
&gt; 1) как так python-module-imaging-devel предоставляет python2.5(PIL)?
Ну это реальный баг упаковки... собсно пакет вообще неработоспособен нынче...
&gt; 2) как так python-module-imaging-devel может установиться без python-module-imaging?
Ну видимо это ещё один баг...

Вообще у этого пакета была целая куча мечтающих его починить... в результате один человек таки его обновил, но пользоваться всё равно нельзя...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93973</commentid>
    <comment_count>7</comment_count>
    <who name="Alexey Shabalin">shaba</who>
    <bug_when>2009-06-30 17:33:47 +0400</bug_when>
    <thetext>Перевешу на sisyphus. Актуальна ошибка на всех бранчах тоже.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96473</commentid>
    <comment_count>8</comment_count>
    <who name="swi">swi</who>
    <bug_when>2009-08-14 21:28:54 +0400</bug_when>
    <thetext>(В ответ на комментарий №7)
&gt; Перевешу на sisyphus. Актуальна ошибка на всех бранчах тоже.

судя по всему никому не надо, но таки закинул alt3 в сизиф</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>96474</commentid>
    <comment_count>9</comment_count>
    <who name="swi">swi</who>
    <bug_when>2009-08-14 21:34:51 +0400</bug_when>
    <thetext>#10717 DONE sisyphus python-module-imaging.git=1.1.6-alt3</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>