Package: aptitude
Version: 0.6.4-1.2
Severity: normal

I've run into similar problems before, but this time I had something I
could easily reproduce and provide a transcript for.  Also, I've run
into similar problems that don't involve experimental at all, but in
this case the involvement of experimental seems like the likely culprit.

I tried to upgrade iceweasel from 10 in unstable to 11 in experimental.
Doing so requires installing xulrunner-11.0 and libmozjs11d from
experimental, and upgrading libnss3-1d to experimental.  aptitude's
resolver seems extremely reluctant to do the latter.  I'll provide two
transcripts below, one where I don't provide the resolver with any
accept/reject hints (and it takes quite a few steps to do something
sensible), and one where I explicitly reject things I don't want it to
do (and it still needs two rejections before reaching the correct
solution).  In any case, the resolver should have gone immediately to
the solution I ended up with, and shouldn't have presented the situation
as brokenness that needed fixing in the first place.

Note that I encountered this problem in the GUI by hitting + on the
experimental version of iceweasel, but I've reproduced it with "aptitude
install iceweasel/experimental" on the command line to provide a
transcript.  If I'd said "aptitude install -t experimental iceweasel",
aptitude would get it right immediately, but I shouldn't have to do
that, and as far as I can tell I *can't* do that from within the GUI.

First, without any hints to the resolver; aptitude first proposes
removing iceweasel and everything that depends on it, then proposes just
cancelling my explicitly requested action, then successively proposes
installing icedove, iceape, or conkeror, and finally consents to upgrade
libnss3-1d:

~$ sudo aptitude install iceweasel/experimental
The following NEW packages will be installed:
  libmozjs11d{a} xulrunner-11.0{ab} 
The following packages will be upgraded:
  iceweasel 
1 packages upgraded, 2 newly installed, 0 to remove and 131 not upgraded.
Need to get 15.6 MB of archives. After unpacking 29.7 MB will be used.
The following packages have unmet dependencies:
  xulrunner-11.0: Depends: libnss3-1d (>= 3.13.2~beta1-3~) but 
3.13.1.with.ckbi.1.88-1 is installed.
The following actions will resolve these dependencies:

     Remove the following packages:                       
1)     iceweasel                                          
2)     josh-gui                                           
3)     xul-ext-adblock-plus                               
4)     xul-ext-firebug                                    
5)     xul-ext-itsalltext                                 

     Keep the following packages at their current version:
6)     xulrunner-11.0 [Not Installed]                     



Accept this solution? [Y/n/q/?] n
The following actions will resolve these dependencies:

     Keep the following packages at their current version:
1)     iceweasel [10.0-1 (now, unstable)]                 
2)     xulrunner-11.0 [Not Installed]                     



Accept this solution? [Y/n/q/?] n
The following actions will resolve these dependencies:

     Remove the following packages:                       
1)     iceweasel                                          
2)     josh-gui                                           
3)     xul-ext-firebug                                    
4)     xul-ext-itsalltext                                 

     Install the following packages:                      
5)     icedove [8.0-2 (unstable)]                         

     Keep the following packages at their current version:
6)     xulrunner-11.0 [Not Installed]                     



Accept this solution? [Y/n/q/?] n
The following actions will resolve these dependencies:

     Remove the following packages:                       
1)     iceweasel                                          
2)     josh-gui                                           
3)     xul-ext-adblock-plus                               
4)     xul-ext-firebug                                    

     Install the following packages:                      
5)     iceape [2.0.14-10 (unstable)]                      

     Keep the following packages at their current version:
6)     xulrunner-11.0 [Not Installed]                     



Accept this solution? [Y/n/q/?] n
The following actions will resolve these dependencies:

     Remove the following packages:                       
1)     iceweasel                                          
2)     josh-gui                                           
3)     xul-ext-firebug                                    
4)     xul-ext-itsalltext                                 

     Install the following packages:                      
5)     conkeror [1.0~~pre+git120102-1 (unstable)]         

     Keep the following packages at their current version:
6)     xulrunner-11.0 [Not Installed]                     



Accept this solution? [Y/n/q/?] n
The following actions will resolve these dependencies:

     Upgrade the following packages:                                            
            
1)     libnss3-1d [3.13.1.with.ckbi.1.88-1 (now, unstable) -> 3.13.2~beta1-3 
(experimental)]



Accept this solution? [Y/n/q/?] y
The following NEW packages will be installed:
  libmozjs11d{a} xulrunner-11.0{a} 
The following packages will be upgraded:
  iceweasel libnss3-1d 
2 packages upgraded, 2 newly installed, 0 to remove and 131 not upgraded.
Need to get 16.8 MB of archives. After unpacking 29.7 MB will be used.
Do you want to continue? [Y/n/?] ^C



Next, with me explicitly rejecting the removal of iceweasel and the
cancellation of my upgrade of iceweasel, the resolver then consents to
upgrade libnss3-1d after only those two rejected solutions:

~$ sudo aptitude install iceweasel/experimental
The following NEW packages will be installed:
  libmozjs11d{a} xulrunner-11.0{ab} 
The following packages will be upgraded:
  iceweasel 
1 packages upgraded, 2 newly installed, 0 to remove and 131 not upgraded.
Need to get 15.6 MB of archives. After unpacking 29.7 MB will be used.
The following packages have unmet dependencies:
  xulrunner-11.0: Depends: libnss3-1d (>= 3.13.2~beta1-3~) but 
3.13.1.with.ckbi.1.88-1 is installed.
The following actions will resolve these dependencies:

     Remove the following packages:                       
1)     iceweasel                                          
2)     josh-gui                                           
3)     xul-ext-adblock-plus                               
4)     xul-ext-firebug                                    
5)     xul-ext-itsalltext                                 

     Keep the following packages at their current version:
6)     xulrunner-11.0 [Not Installed]                     



Accept this solution? [Y/n/q/?] r 1
Rejecting the removal of iceweasel
The following actions will resolve these dependencies:

     Remove the following packages:                       
1) R   iceweasel                                          
2)     josh-gui                                           
3)     xul-ext-adblock-plus                               
4)     xul-ext-firebug                                    
5)     xul-ext-itsalltext                                 

     Keep the following packages at their current version:
6)     xulrunner-11.0 [Not Installed]                     



Accept this solution? [Y/n/q/?] n
The following actions will resolve these dependencies:

     Keep the following packages at their current version:
1)     iceweasel [10.0-1 (now, unstable)]                 
2)     xulrunner-11.0 [Not Installed]                     



Accept this solution? [Y/n/q/?] r 1
Rejecting the installation of iceweasel version 10.0-1 (now, unstable)
The following actions will resolve these dependencies:

     Keep the following packages at their current version:
1) R   iceweasel [10.0-1 (now, unstable)]                 
2)     xulrunner-11.0 [Not Installed]                     



Accept this solution? [Y/n/q/?] n
The following actions will resolve these dependencies:

     Upgrade the following packages:                                            
            
1)     libnss3-1d [3.13.1.with.ckbi.1.88-1 (now, unstable) -> 3.13.2~beta1-3 
(experimental)]



Accept this solution? [Y/n/q/?] y
The following NEW packages will be installed:
  libmozjs11d{a} xulrunner-11.0{a} 
The following packages will be upgraded:
  iceweasel libnss3-1d 
2 packages upgraded, 2 newly installed, 0 to remove and 131 not upgraded.
Need to get 16.8 MB of archives. After unpacking 29.7 MB will be used.
Do you want to continue? [Y/n/?] ^C


- Josh Triplett

-- Package-specific info:
aptitude 0.6.4 compiled at Oct 29 2011 20:08:13
Compiler: g++ 4.6.2
Compiled against:
  apt version 4.10.1
  NCurses version 5.9
  libsigc++ version: 2.2.9
  Ept support enabled.
  Gtk+ support disabled.
  Qt support disabled.

Current library versions:
  NCurses version: ncurses 5.9.20110404
  cwidget version: 0.5.16
  Apt version: 4.10.1
        linux-vdso.so.1 =>  (0x00007fff831ff000)
        libapt-pkg.so.4.10 => /usr/lib/libapt-pkg.so.4.10 (0x00007f3ae49a5000)
        libncursesw.so.5 => /lib/x86_64-linux-gnu/libncursesw.so.5 
(0x00007f3ae4776000)
        libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 
(0x00007f3ae454d000)
        libsigc-2.0.so.0 => /usr/lib/libsigc-2.0.so.0 (0x00007f3ae4348000)
        libcwidget.so.3 => /usr/lib/libcwidget.so.3 (0x00007f3ae4040000)
        libept.so.1 => /usr/lib/libept.so.1 (0x00007f3ae3de3000)
        libxapian.so.22 => /usr/lib/libxapian.so.22 (0x00007f3ae39e6000)
        libz.so.1 => /usr/lib/libz.so.1 (0x00007f3ae37cf000)
        libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0x00007f3ae352a000)
        libboost_iostreams.so.1.46.1 => /usr/lib/libboost_iostreams.so.1.46.1 
(0x00007f3ae3311000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 
(0x00007f3ae30f5000)
        libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 
(0x00007f3ae2df0000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f3ae2b6e000)
        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 
(0x00007f3ae2958000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f3ae25d0000)
        libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007f3ae23cd000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f3ae21c9000)
        libuuid.so.1 => /lib/libuuid.so.1 (0x00007f3ae1fc4000)
        libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 
(0x00007f3ae1db4000)
        librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f3ae1bab000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f3ae4cd9000)
Terminal: xterm
$DISPLAY is set.
`which aptitude`: /usr/bin/aptitude
aptitude version information:

aptitude linkage:

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages aptitude depends on:
ii  apt [libapt-pkg4.10]      0.8.15.9
ii  libboost-iostreams1.46.1  1.46.1-8
ii  libc6                     2.13-26
ii  libcwidget3               0.5.16-3.1
ii  libept1                   1.0.5
ii  libgcc1                   1:4.6.2-12
ii  libncursesw5              5.9-4
ii  libsigc++-2.0-0c2a        2.2.9-1.1
ii  libsqlite3-0              3.7.9-3
ii  libstdc++6                4.6.2-12
ii  libtinfo5                 5.9-4
ii  libxapian22               1.2.8-1
ii  zlib1g                    1:1.2.3.4.dfsg-3

Versions of packages aptitude recommends:
ii  apt-xapian-index                <none>
ii  aptitude-doc-en | aptitude-doc  <none>
ii  libparse-debianchangelog-perl   1.2.0-1
ii  sensible-utils                  0.0.6

Versions of packages aptitude suggests:
pn  debtags  <none>
pn  tasksel  <none>

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to