[Aptitude-devel] Bug#674826: Bug#674826: must still purge configuration files by hand

Daniel Hartwig mandyke at gmail.com
Mon May 28 05:44:45 UTC 2012


package aptitude
merge 568876 674826
severity 674826 normal
retitle 568876 aptitude: problem resolver ignores Purge-Unused
thanks

On 28 May 2012 10:02,  <jidanni at jidanni.org> wrote:
> Even though I have set
>
> APT::Cache::AllVersions false;
> APT::Clean-Installed false;
> APT::Get::Purge true;

[This option is exclusive to apt-get.]

> APT::Install-Recommends false;
> Aptitude::CmdLine::Always-Prompt true;
> Aptitude::Purge-Unused true;
> Aptitude::CmdLine::Show-Why true;//511230 at bugs.debian.org
> Aptitude::CmdLine::Show-Deps true;//587582 at bugs.debian.org
>
>
> Under certain situations, after
>
>
> # aptitude  full-upgrade
> The following packages will be upgraded:
>  poppler-data
> 1 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
…
> I still have to purge the ~c files by hand:
>
>
> # aptitude purge ~c
> The following packages will be REMOVED:
>  gs-cjk-resource{p} (for poppler-data)
> 0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.

Indeed.  Full-upgrade invokes the problem resolver, and it seems the
problem resolver does ignore Purge-Unused when applying solutions.

Regards





More information about the Aptitude-devel mailing list