[Aptitude-devel] Bug#511086: "aptitude hold" doesn't work in Lenny

Manuel A. Fernandez Montecelo manuel.montezelo at gmail.com
Tue Sep 29 00:09:43 UTC 2015


Control: tags -1 + moreinfo unreproducible


Hello,

2009-01-07 11:41 Dmitry Baryshev:
>Package: aptitude
>Version: 0.4.11.11
>Severity: important
>
>I'd like mc (midnight commander) not to be updated all the time. I use
>"aptitude hold mc" as it described in manual.
>
>Debug output:
>
>***************************
>
>$ LC_ALL=C aptitude hold mc
>[...]
>
>$ LC_ALL=C aptitude safe-upgrade
>[...]
>The following packages will be upgraded:
>  mc
>1 packages upgraded, 0 newly installed, 0 to remove and 44 not upgraded.
>Need to get 0B/2140kB of archives. After unpacking 6402kB will be used.
>Do you want to continue? [Y/n/?] n
>Abort.


2009-04-29 17:49 Costin Guşă:
>Hi,
>I've found this workaround:
>
>root at relaysrv1:/usr/src/curl# dpkg -i curl_7.18.2-8lenny2_i386.deb
>libcurl3_7.18.2-8lenny2_i386.deb
>Selecting previously deselected package curl.
>(Reading database ... 45464 files and directories currently installed.)
>Unpacking curl (from curl_7.18.2-8lenny2_i386.deb) ...
>Selecting previously deselected package libcurl3.
>Unpacking libcurl3 (from libcurl3_7.18.2-8lenny2_i386.deb) ...
>Setting up libcurl3 (7.18.2-8lenny2) ...
>Setting up curl (7.18.2-8lenny2) ...
>Processing triggers for man-db ...
>root at relaysrv1:/usr/src/curl# aptitude unmarkauto libcurl3
>Reading package lists... Done
>Building dependency tree
>Reading state information... Done
>Reading extended state information
>Initializing package states... Done
>Writing extended state information... Done
>No packages will be installed, upgraded, or removed.
>0 packages upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
>Need to get 0B of archives. After unpacking 0B will be used.
>Writing extended state information... Done
>Reading package lists... Done
>Building dependency tree
>Reading state information... Done
>Reading extended state information
>Initializing package states... Done
>
>root at relaysrv1:/usr/src/curl# aptitude unmarkauto curl
>Reading package lists... Done
>Building dependency tree
>Reading state information... Done
>Reading extended state information
>Initializing package states... Done
>No packages will be installed, upgraded, or removed.
>0 packages upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
>Need to get 0B of archives. After unpacking 0B will be used.
>Writing extended state information... Done
>Reading package lists... Done
>Building dependency tree
>Reading state information... Done
>Reading extended state information
>Initializing package states... Done
>
>root at relaysrv1:/usr/src/curl# aptitude safe-upgrade
>Reading package lists... Done
>Building dependency tree
>Reading state information... Done
>Reading extended state information
>Initializing package states... Done
>The following packages will be upgraded:
>  curl libcurl3
>2 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
>Need to get 228kB/437kB of archives. After unpacking 73.7kB will be used.
>Do you want to continue? [Y/n/?] n
>Abort.
>root at relaysrv1:/usr/src/curl# aptitude hold curl
>Reading package lists... Done
>Building dependency tree
>Reading state information... Done
>Reading extended state information
>Initializing package states... Done
>No packages will be installed, upgraded, or removed.
>0 packages upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
>Need to get 0B of archives. After unpacking 0B will be used.
>Writing extended state information... Done
>Reading package lists... Done
>Building dependency tree
>Reading state information... Done
>Reading extended state information
>Initializing package states... Done
>
>root at relaysrv1:/usr/src/curl# aptitude safe-upgrade
>Reading package lists... Done
>Building dependency tree
>Reading state information... Done
>Reading extended state information
>Initializing package states... Done
>The following packages will be upgraded:
>  libcurl3
>1 packages upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
>Need to get 228kB of archives. After unpacking 36.9kB will be used.
>Do you want to continue? [Y/n/?] n
>Abort.
>root at relaysrv1:/usr/src/curl# aptitude hold libcurl3
>Reading package lists... Done
>Building dependency tree
>Reading state information... Done
>Reading extended state information
>Initializing package states... Done
>No packages will be installed, upgraded, or removed.
>0 packages upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
>Need to get 0B of archives. After unpacking 0B will be used.
>Writing extended state information... Done
>Reading package lists... Done
>Building dependency tree
>Reading state information... Done
>Reading extended state information
>Initializing package states... Done
>
>root at relaysrv1:/usr/src/curl# aptitude safe-upgrade
>Reading package lists... Done
>Building dependency tree
>Reading state information... Done
>Reading extended state information
>Initializing package states... Done
>No packages will be installed, upgraded, or removed.
>0 packages upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
>Need to get 0B of archives. After unpacking 0B will be used.
>Reading package lists... Done
>Building dependency tree
>Reading state information... Done
>Reading extended state information
>Initializing package states... Done

I cannot reproduce this with current versions (0.7.2-1), can you please
confirm if it's still happening for you?


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



More information about the Aptitude-devel mailing list