From javibarroso at gmail.com Fri Jul 12 12:39:47 2013 From: javibarroso at gmail.com (Javier Barroso) Date: Fri, 12 Jul 2013 14:39:47 +0200 Subject: [Cupt-user] autoremoval of too much packages In-Reply-To: <20130701155829.GA10823@debian-w500.Elisa> References: <20130701155829.GA10823@debian-w500.Elisa> Message-ID: On Mon, Jul 1, 2013 at 5:58 PM, Eugene V. Lyubimkin wrote: > Hi Javier, > > 2013-07-01 16:54, Javier Barroso: >> # cupt install cupt # want to remove some packages from my computer >> that it is being used (gdm3 for example) >> # apt-get install cupt # will install cupt correctly >> # aptitude install cupt # will install cupt correctly too >> >> See the attached output, I'm not sure if I should open a new bug or >> this behaviour is by design >> >> After upgrading cupt with aptitude, cupt upgrade want to remove many >> pakages when I full-upgrade, but dist-upgrade from apt is sane. > [...] > > Cupt never (modulo possible bugs) autoremoves packages which are > used, as in, either marked as manually installed or (directly or > indirectly) required by some another used package. > > If Cupt sees some package as not needed, that means it is marked as > automatically installed and it's not required for any other packages. > > Cupt tries hard to keep the system clean from unneeded packages and uses > a different and more aggressive algorithm than other package managers to > find such packages, that's why sometimes it suggests more packages for > autoremoval than other package managers. It's not a bug. > > To ensure that Cupt (and other package managers including e.g. APT) get > the precise data regarding what packages are wanted by user, you should > check the respective lists [1] and modify them if needed. All packages > you (as user) need should be marked as manually installed. > > In your case, it will be like > > $ cupt unmarkauto gdm3 <...other packages as needed...> > > > [1] > http://people.debian.org/~jackyf/cupt2/tutorial.html#automatically_installed_packages Thank you Eugene, I see the difference (between aptitude and cupt behaviour) is suggested packages. I will configure cupt to maintain that packages See you