On 2020-05-14 06:48 +0800, 積丹尼 Dan Jacobson wrote: > Package: aptitude > Version: 0.8.12-3 > > Odd, today I had to reinstall a package to get aptitude to stop trying > to get rid of it.
The package in question has been marked as automatically installed and there are no longer any reverse dependencies. The easiest way to keep it would be "aptitude unmarkauto fdisk". > # aptitude install fdisk > fdisk is already installed at the requested version (2.35.1-5) > fdisk is already installed at the requested version (2.35.1-5) > The following packages will be REMOVED: > fdisk{pu} There might be some arguments for "aptitude install <package>" to clear the automatic flag (IIRC apt and apt-get do that), but some people probably rely on the current aptitude behavior not to do that. Cheers, Sven