[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Is this bug in aptitude?



Rob Gom wrote:
> Hello,
> is this bug in aptitude when I try:
> $ aptitude install a
> [...]
> b will be removed
> $ aptitude install a b
> [...]
> b will be removed
> [OK]
> $ aptitude install b
> [b is installed fine, the same with a]
> 
> So why does aptitude want to remove package b in the first place?
> 
> Real example:
> # aptitude -t unstable install dpatch dpkg dpkg-dev dput dselect dash
> iptables irb1.8 iso-codes kalarm kdegraphics-kfile-plugins kdict
> kghostview kipi-plugins kmix knewsticker kolourpaint kpdf krdc
> krusader ksnapshot dvd+rw-tools
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Reading extended state information
> Initializing package states... Done
> The following packages will be REMOVED:
>   cdparanoia{u} dvd+rw-tools{u} genisoimage{u} k3b{u} k3b-data{u}
> kooka{u} libk3b3{u} libk3b3-extracodecs{u} libkscan1{u}
> libmusicbrainz4c2a{u} libtag1c2a{u} ocrad{u}
>   vcdimager{u} wodim{u}
> The following packages will be upgraded:
>   dash dpatch dpkg dpkg-dev dput dselect iptables irb1.8 iso-codes
> kalarm kdegraphics-kfile-plugins kdict kghostview kipi-plugins kmix
> knewsticker kolourpaint kpdf krdc krusader
>   ksnapshot libkipi0 libreadline-ruby1.8
> 23 packages upgraded, 0 newly installed, 14 to remove and 586 not upgraded.
> Need to get 19,0MB of archives. After unpacking 18,1MB will be freed.
> Do you want to continue? [Y/n/?]
> Writing extended state information... Done
> Get:1 ftp://ftp.pl.debian.org unstable/main dpkg 1.14.21 [2292kB]
> Get:2 ftp://ftp.pl.debian.org unstable/main dash 0.5.4-12 [93,0kB]
> Get:3 ftp://ftp.pl.debian.org unstable/main iptables 1.4.1.1-3 [530kB]
> Get:4 ftp://ftp.pl.debian.org unstable/main dpatch 2.0.30 [88,2kB]
> Get:5 ftp://ftp.pl.debian.org unstable/main dpkg-dev 1.14.21 [757kB]
> Get:6 ftp://ftp.pl.debian.org unstable/main dput 0.9.2.33 [43,4kB]
> Get:7 ftp://ftp.pl.debian.org unstable/main dselect 1.14.21 [783kB]
> Get:8 ftp://ftp.pl.debian.org testing/main libreadline-ruby1.8
> 1.8.7.22-3 [260kB]
> Get:9 ftp://ftp.pl.debian.org testing/main irb1.8 1.8.7.22-3 [300kB]
> Get:10 ftp://ftp.pl.debian.org testing/main iso-codes 3.2-1 [1582kB]
> Get:11 ftp://ftp.pl.debian.org testing/main kalarm 4:3.5.9-5 [685kB]
> Get:12 ftp://ftp.pl.debian.org testing/main kdegraphics-kfile-plugins
> 4:3.5.9-3 [260kB]
> Get:13 ftp://ftp.pl.debian.org testing/main kdict 4:3.5.9-4 [308kB]
> Get:14 ftp://ftp.pl.debian.org testing/main kghostview 4:3.5.9-3 [236kB]
> Get:15 ftp://ftp.pl.debian.org testing/main libkipi0 0.1.6-2 [146kB]
> Get:16 ftp://ftp.pl.debian.org testing/main kipi-plugins 0.1.5-2 [3892kB]
> Get:17 ftp://ftp.pl.debian.org unstable/main kmix 4:3.5.9-3 [394kB]
> Get:18 ftp://ftp.pl.debian.org testing/main knewsticker 4:3.5.9-4 [453kB]
> Get:19 ftp://ftp.pl.debian.org testing/main kolourpaint 4:3.5.9-3 [1071kB]
> Get:20 ftp://ftp.pl.debian.org testing/main kpdf 4:3.5.9-3 [843kB]
> Get:21 ftp://ftp.pl.debian.org testing/main krdc 4:3.5.9-4 [509kB]
> Get:22 ftp://ftp.pl.debian.org testing/main krusader 1.90.0-3 [3314kB]
> Get:23 ftp://ftp.pl.debian.org testing/main ksnapshot 4:3.5.9-3 [168kB]
> Fetched 19,0MB in 3min22s (93,7kB/s)
> Reading package fields... Done
> Reading package status... Done
> Retrieving bug reports... Done
> Parsing Found/Fixed information... Done
> Preconfiguring packages ...
> (Reading database ... 168854 files and directories currently installed.)
> Removing k3b ...
> Removing cdparanoia ...
> Removing dvd+rw-tools ...
> Removing genisoimage ...
> Removing k3b-data ...
> Removing kooka ...
> Removing libk3b3-extracodecs ...
> Removing libk3b3 ...
> Removing libkscan1 ...
> Removing libmusicbrainz4c2a ...
> Removing libtag1c2a ...
> Removing ocrad ...
> Removing vcdimager ...
> Removing wodim ...
> Processing triggers for menu ...
> Processing triggers for man-db ...
> (Reading database ... 168356 files and directories currently installed.)
> Preparing to replace dpkg 1.14.20 (using .../archives/dpkg_1.14.21_i386.deb) ...
> Unpacking replacement dpkg ...
> Processing triggers for man-db ...
> Setting up dpkg (1.14.21) ...
> (Reading database ... 168360 files and directories currently installed.)
> Preparing to replace dash 0.5.4-11 (using .../dash_0.5.4-12_i386.deb) ...
> Unpacking replacement dash ...
> Preparing to replace iptables 1.4.1.1-2 (using
> .../iptables_1.4.1.1-3_i386.deb) ...
> Unpacking replacement iptables ...
> Preparing to replace dpatch 2.0.29 (using
> .../archives/dpatch_2.0.30_all.deb) ...
> Unpacking replacement dpatch ...
> Preparing to replace dpkg-dev 1.14.20 (using .../dpkg-dev_1.14.21_all.deb) ...
> Unpacking replacement dpkg-dev ...
> Preparing to replace dput 0.9.2.32 (using
> .../archives/dput_0.9.2.33_all.deb) ...
> Unpacking replacement dput ...
> Preparing to replace dselect 1.14.20 (using .../dselect_1.14.21_i386.deb) ...
> Unpacking replacement dselect ...
> Preparing to replace libreadline-ruby1.8 1.8.6.114-2 (using
> .../libreadline-ruby1.8_1.8.7.22-3_i386.deb) ...
> Unpacking replacement libreadline-ruby1.8 ...
> Preparing to replace irb1.8 1.8.6.114-2 (using
> .../irb1.8_1.8.7.22-3_all.deb) ...
> Unpacking replacement irb1.8 ...
> Preparing to replace iso-codes 2.1-1 (using .../iso-codes_3.2-1_all.deb) ...
> Unpacking replacement iso-codes ...
> Preparing to replace kalarm 4:3.5.9-2 (using
> .../kalarm_4%3a3.5.9-5_i386.deb) ...
> Unpacking replacement kalarm ...
> Preparing to replace kdegraphics-kfile-plugins 4:3.5.9-2 (using
> .../kdegraphics-kfile-plugins_4%3a3.5.9-3_i386.deb) ...
> Unpacking replacement kdegraphics-kfile-plugins ...
> Preparing to replace kdict 4:3.5.9-3 (using .../kdict_4%3a3.5.9-4_i386.deb) ...
> Unpacking replacement kdict ...
> Preparing to replace kghostview 4:3.5.9-2 (using
> .../kghostview_4%3a3.5.9-3_i386.deb) ...
> Unpacking replacement kghostview ...
> Preparing to replace libkipi0 0.1.4-1 (using .../libkipi0_0.1.6-2_i386.deb) ...
> Unpacking replacement libkipi0 ...
> Preparing to replace kipi-plugins 0.1.5-1 (using
> .../kipi-plugins_0.1.5-2_i386.deb) ...
> Unpacking replacement kipi-plugins ...
> Preparing to replace kmix 4:3.5.9-2 (using .../kmix_4%3a3.5.9-3_i386.deb) ...
> Unpacking replacement kmix ...
> Preparing to replace knewsticker 4:3.5.9-3 (using
> .../knewsticker_4%3a3.5.9-4_i386.deb) ...
> Unpacking replacement knewsticker ...
> Preparing to replace kolourpaint 4:3.5.9-2 (using
> .../kolourpaint_4%3a3.5.9-3_i386.deb) ...
> Unpacking replacement kolourpaint ...
> Preparing to replace kpdf 4:3.5.9-2 (using .../kpdf_4%3a3.5.9-3_i386.deb) ...
> Unpacking replacement kpdf ...
> Preparing to replace krdc 4:3.5.9-3 (using .../krdc_4%3a3.5.9-4_i386.deb) ...
> Unpacking replacement krdc ...
> Preparing to replace krusader 1.90.0-1 (using
> .../krusader_1.90.0-3_i386.deb) ...
> Unpacking replacement krusader ...
> Preparing to replace ksnapshot 4:3.5.9-2 (using
> .../ksnapshot_4%3a3.5.9-3_i386.deb) ...
> Unpacking replacement ksnapshot ...
> Processing triggers for man-db ...
> Processing triggers for menu ...
> Setting up dash (0.5.4-12) ...
> Setting up iptables (1.4.1.1-3) ...
> Setting up dpatch (2.0.30) ...
> Setting up dpkg-dev (1.14.21) ...
> Setting up dput (0.9.2.33) ...
> Installing new version of config file /etc/dput.cf ...
> Setting up dselect (1.14.21) ...
> Setting up libreadline-ruby1.8 (1.8.7.22-3) ...
> Setting up irb1.8 (1.8.7.22-3) ...
> Setting up iso-codes (3.2-1) ...
> Setting up kalarm (4:3.5.9-5) ...
> Setting up kdegraphics-kfile-plugins (4:3.5.9-3) ...
> Setting up kdict (4:3.5.9-4) ...
> Setting up kghostview (4:3.5.9-3) ...
> Setting up libkipi0 (0.1.6-2) ...
> Setting up kipi-plugins (0.1.5-2) ...
> Setting up kmix (4:3.5.9-3) ...
> Setting up knewsticker (4:3.5.9-4) ...
> Setting up kolourpaint (4:3.5.9-3) ...
> Setting up kpdf (4:3.5.9-3) ...
> Setting up krdc (4:3.5.9-4) ...
> Setting up ksnapshot (4:3.5.9-3) ...
> Processing triggers for menu ...
> Setting up krusader (1.90.0-3) ...
> Processing triggers for menu ...
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Reading extended state information
> Initializing package states... Done
> Writing extended state information... Done
> 
> Current status: 586 updates [-29].
> root:~# aptitude -t unstable install cdparanoia dvd+rw-tools
> genisoimage k3b kooka ocrad
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Reading extended state information
> Initializing package states... Done
> The following NEW packages will be installed:
>   cdparanoia dvd+rw-tools genisoimage k3b k3b-data{a} kooka libk3b3{a}
> libk3b3-extracodecs{a} libkscan1{a} libmusicbrainz4c2a{a}
> libtag1c2a{a} ocrad vcdimager{a} wodim{a}
> 0 packages upgraded, 14 newly installed, 0 to remove and 586 not upgraded.
> Need to get 2126kB/9374kB of archives. After unpacking 19,5MB will be used.
> Do you want to continue? [Y/n/?]
> Writing extended state information... Done
> Get:1 ftp://ftp.pl.debian.org testing/main genisoimage 9:1.1.8-1+b1 [575kB]
> Get:2 ftp://ftp.pl.debian.org testing/main libmusicbrainz4c2a 2.1.5-2 [92,1kB]
> Get:3 ftp://ftp.pl.debian.org testing/main wodim 9:1.1.8-1+b1 [430kB]
> Get:4 ftp://ftp.pl.debian.org testing/main libkscan1 4:3.5.9-3 [132kB]
> Get:5 ftp://ftp.pl.debian.org testing/main kooka 4:3.5.9-3 [760kB]
> Get:6 ftp://ftp.pl.debian.org testing/main ocrad 0.17-3 [137kB]
> Fetched 2126kB in 11s (179kB/s)
> Reading package fields... Done
> Reading package status... Done
> Retrieving bug reports... Done
> Parsing Found/Fixed information... Done
> grave bugs of wodim (9:1.1.8-1 -> 9:1.1.8-1+b1) <pending>
>  #495184 - wodim: Fails, then asks me to use the option I've already given
> Summary:
>  wodim(1 bug)
> Are you sure you want to install/upgrade the above packages? [Y/n/?/...]
> Selecting previously deselected package cdparanoia.
> (Reading database ... 168378 files and directories currently installed.)
> Unpacking cdparanoia (from .../cdparanoia_3.10.0+debian-1_i386.deb) ...
> Selecting previously deselected package genisoimage.
> Unpacking genisoimage (from .../genisoimage_9%3a1.1.8-1+b1_i386.deb) ...
> Selecting previously deselected package dvd+rw-tools.
> Unpacking dvd+rw-tools (from .../dvd+rw-tools_7.1-3_i386.deb) ...
> Selecting previously deselected package libtag1c2a.
> Unpacking libtag1c2a (from .../libtag1c2a_1.5-3_i386.deb) ...
> Selecting previously deselected package libk3b3.
> Unpacking libk3b3 (from .../libk3b3_1.0.5-3_i386.deb) ...
> Selecting previously deselected package libmusicbrainz4c2a.
> Unpacking libmusicbrainz4c2a (from .../libmusicbrainz4c2a_2.1.5-2_i386.deb) ...
> Selecting previously deselected package wodim.
> Unpacking wodim (from .../wodim_9%3a1.1.8-1+b1_i386.deb) ...
> Selecting previously deselected package k3b-data.
> Unpacking k3b-data (from .../k3b-data_1.0.5-3_all.deb) ...
> Selecting previously deselected package k3b.
> Unpacking k3b (from .../archives/k3b_1.0.5-3_i386.deb) ...
> Selecting previously deselected package libkscan1.
> Unpacking libkscan1 (from .../libkscan1_4%3a3.5.9-3_i386.deb) ...
> Selecting previously deselected package kooka.
> Unpacking kooka (from .../kooka_4%3a3.5.9-3_i386.deb) ...
> Selecting previously deselected package libk3b3-extracodecs.
> Unpacking libk3b3-extracodecs (from
> .../libk3b3-extracodecs_1.0.5-3_i386.deb) ...
> Selecting previously deselected package ocrad.
> Unpacking ocrad (from .../archives/ocrad_0.17-3_i386.deb) ...
> Selecting previously deselected package vcdimager.
> Unpacking vcdimager (from .../vcdimager_0.7.23-4_i386.deb) ...
> Processing triggers for man-db ...
> Processing triggers for menu ...
> Setting up cdparanoia (3.10.0+debian-1) ...
> Setting up genisoimage (9:1.1.8-1+b1) ...
> Setting up dvd+rw-tools (7.1-3) ...
> Setting up libtag1c2a (1.5-3) ...
> Setting up libk3b3 (1.0.5-3) ...
> Setting up libmusicbrainz4c2a (2.1.5-2) ...
> Setting up wodim (9:1.1.8-1+b1) ...
> Setting up k3b-data (1.0.5-3) ...
> Setting up k3b (1.0.5-3) ...
> Setting up libkscan1 (4:3.5.9-3) ...
> Setting up kooka (4:3.5.9-3) ...
> Setting up libk3b3-extracodecs (1.0.5-3) ...
> Setting up ocrad (0.17-3) ...
> Setting up vcdimager (0.7.23-4) ...
> Processing triggers for menu ...
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Reading extended state information
> Initializing package states... Done
> Writing extended state information... Done
> 
> Debian SID (packages updated at different times this year),
> # apt-cache policy aptitude
> aptitude:
>   Installed: 0.4.11.9-1
>   Candidate: 0.4.11.9-1
>   Version table:
>  *** 0.4.11.9-1 0
>         -10 ftp://ftp.pl.debian.org unstable/main Packages
>         100 /var/lib/dpkg/status
>      0.4.11.8-1 0
>         900 ftp://ftp.pl.debian.org testing/main Packages
> 
> 
> Regards,
> Robert
> 
> 
Aptitude tries to remove automatically installed packages. If you
manually install them, aptitude won't try to do this. It's not a bug.

-- 
Eugene V. Lyubimkin aka JackYF

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: