[Aptitude-devel] Bug#851908: Obsolete only removed not purged

Manuel A. Fernandez Montecelo manuel.montezelo at gmail.com
Tue Jan 24 18:52:34 UTC 2017


Control: forcemerge 568876 -1

dupe


2017-01-19 21:48 積丹尼 Dan Jacobson:
>Package: aptitude
>Version: 0.8.4-1
>Severity: minor
>
>Alas, even though one uses
>Aptitude::Purge-Unused true;
>there still needs to be a Aptitude::Purge-Obsolete or something, to get
>rid of this too.
>
># aptitude search ~o
>i   android-tools-adb                               - Android Debug Bridge CLI tool
># aptitude install adb
>The following NEW packages will be installed:
>  adb{b} (B: android-tools-adb)  android-libadb{a} (D: adb) (adb D: android-libadb)
>  android-libbase{a} (D: adb, D: android-libadb) (adb D: android-libbase)
>  android-libcutils{a} (D: adb, D: android-libadb) (adb D: android-libcutils)
>  android-liblog{a} (D: android-libbase, D: android-libcutils) (adb D: android-libcutils D: android-liblog)
>The following packages are RECOMMENDED but will NOT be installed:
>  android-sdk-platform-tools-common (R: adb)
>0 packages upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
>Need to get 230 kB of archives. After unpacking 620 kB will be used.
>The following packages have unmet dependencies:
> adb : Breaks: android-tools-adb but 5.1.1.r29-2 is installed
>The following actions will resolve these dependencies:
>
>     Remove the following packages:
>1)     android-tools-adb [5.1.1.r29-2 (now)]
>
>Accept this solution? [Y/n/q/?]
>The following NEW packages will be installed:
>  adb  android-libadb{a} (D: adb) (adb D: android-libadb)
>  android-libbase{a} (D: adb, D: android-libadb) (adb D:
>  android-libbase)
>
>  android-libcutils{a} (D: adb, D: android-libadb) (adb D: android-libcutils)
>  android-liblog{a} (D: android-libbase, D: android-libcutils) (adb D: android-libcutils D: android-liblog)
>The following packages will be REMOVED:
>  android-tools-adb{a}
>The following packages are RECOMMENDED but will NOT be installed:
>  android-sdk-platform-tools-common (R: adb)
>0 packages upgraded, 5 newly installed, 1 to remove and 0 not upgraded.
>Need to get 230 kB of archives. After unpacking 386 kB will be used.
>Do you want to continue? [Y/n/?]
>Get: 1 http://free.nchc.org.tw/debian unstable/main i386 android-liblog i386 1:7.0.0+r1-2 [18.4 kB]
>Get: 2 http://free.nchc.org.tw/debian unstable/main i386 android-libbase i386 1:7.0.0+r1-2 [21.0 kB]
>Get: 3 http://free.nchc.org.tw/debian unstable/main i386 android-libcutils i386 1:7.0.0+r1-2 [25.5 kB]
>Get: 4 http://free.nchc.org.tw/debian unstable/main i386 android-libadb i386 1:7.0.0+r1-2 [89.5 kB]
>Get: 5 http://free.nchc.org.tw/debian unstable/main i386 adb i386 1:7.0.0+r1-2 [75.7 kB]
>Fetched 230 kB in 1s (187 kB/s)
>(Reading database ... 149860 files and directories currently installed.)
>Removing android-tools-adb (5.1.1.r29-2) ...
>Selecting previously unselected package android-liblog.
>(Reading database ... 149853 files and directories currently installed.)
>Preparing to unpack .../android-liblog_1%3a7.0.0+r1-2_i386.deb ...
>Unpacking android-liblog (1:7.0.0+r1-2) ...
>...
>Processing triggers for libc-bin (2.24-9) ...
>
>Current status: 0 (+0) broken, 0 (+0) upgradable, 54373 (-1) new.
># aptitude purge ~c
>The following packages will be REMOVED:
>  android-tools-adb{p} (adb B: android-tools-adb)
>0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
>Need to get 0 B of archives. After unpacking 0 B will be used.
>Do you want to continue? [Y/n/?]
>(Reading database ... 149882 files and directories currently installed.)
>Purging configuration files for android-tools-adb (5.1.1.r29-2) ...
>
>Current status: 0 (+0) broken, 0 (+0) upgradable, 54373 (+0) new.
>#
>
>Or maybe it doesn't have anything to do with obsolete vs. not obsolete.
>Anyway, here is my apt-config dump:



-- 
Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>



More information about the Aptitude-devel mailing list