Control: tags -1 moreinfo On 2019-05-17 14:54 +0800, 積丹尼 Dan Jacobson wrote:
> Package: aptitude > Version: 0.8.11-7 > > Even though using apt-mark affects aptitude's decision making, but there > is no way to detect it via the "show" command. > > # aptitude show gcc-9-base|sum > 11672 1 > # apt-mark hold gcc-9-base > gcc-9-base set on hold. > # aptitude show gcc-9-base|sum > 11672 1 > # aptitude -vvvv show gcc-9-base|sum > 11672 1 Is the package gcc-9-base actually installed? If yes, I cannot reproduce this: ,---- | # aptitude show gcc-9-base | grep ^State | State: installed | # apt-mark hold gcc-9-base | gcc-9-base set on hold. | # aptitude show gcc-9-base | grep ^State | State: installed [held] `---- For packages which are not installed I can reproduce the behavior, but in that case it is actually apt-mark which is lying to you because it does not write anything to /var/lib/apt/extended_states. Cheers, Sven _______________________________________________ Aptitude-devel mailing list Aptitude-devel@alioth-lists.debian.net https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/aptitude-devel