[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#779646: debian-edu-config: cf/cf.apt should use apt-get --purge autoremove -y



On Tue, Mar 10, 2015 at 02:25:31PM +0100, Holger Levsen wrote:
> On Dienstag, 3. März 2015, Wolfgang Schweer wrote:
> > While testing to upgrade a combined server (profiles: Main-Server,
> > Workstation, Thin-Client-Server) from wheezy to jessie I noticed that
> > running 'cfengine-debian-edu -D installation' used 'apt-get purge -y' to
> > purge no longer needed packages but afterwards 'apt-get autoremove -y'.
> > 
> > Maybe d-e-c/cf/cf.apt should be adjusted like this:
> > 
> > s/apt-get autoremove -y/apt-get --purge autoremove -y/
> 
> I'm not sure I'd recommend doing this blindly / non-interacticly at all...
 
This purging is only needed from the POV of a clean system, having the 
next upgrade in mind...

IMO the main problem might be that 'cfengine-debian-edu' would purge 
needed packages before autoremoving automatically installed ones.

Wolfgang

Attachment: signature.asc
Description: Digital signature


Reply to: