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

Re: apt-get new package management capability



On Thu, Jul 24, 2008 at 10:12:40AM +0300, Andrei Popescu <andreimpopescu@gmail.com> was heard to say:
> On Thu,24.Jul.08, 04:03:17, T o n g wrote:
> > Hi, 
> > 
> > I remember seeing that apt-get can do orphan packages automatic removal
> > now. Does it need special setup? 
> > 
> > Package installed in my long-overhauled Debian was by debfoster, then
> > aptitude. Can I just use apt-get for automatic packages clean up now?
> > How can I transfer the "knowledge" from debfoster/aptitude to apt?
> > 
> > Can anyone show me steps in managing package only by apt-get, or
> > point me to the right web page? 
>  
> aptitude is the recommended package manager, why do you want to switch 
> to apt-get?
> 
> Anyway, the logic for auto-installed packages has moved from aptitude to 
> libapt so all package managers can take advantage of it. If you run 
> lenny or sid (you didn't say) all you have to do is run
> 'apt-get autoremove'.  AFAIR apt-get will tell you when there are 
> packages to be autoremoved.

  You do need to run aptitude once to transfer the information.  It
should move the automatic flags to the apt database and clear them from
its own when you start it (run it without any arguments).

  Daniel


Reply to: