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

Bug#323899: apt-get remove/upgrade/dis-upgrade/install should log packages



On Fri, Aug 19, 2005 at 08:50:20AM +0200, Arne Anka wrote:
> Package: apt
> Version: 0.6.40.1
> Severity: wishlist

Thanks for your bugreport.
 
> every action of apt-get adding or removing packages should be
> loggable. something like the text shown (would remove ... would install
> additionally ... would install) could be written to a file so one could
> easely reproduce any action taken.

This was reported before (e.g. as #134694), I merged the bugs. Dpkg
does support logging nowdays. It keeps it's log in /var/log/dpkg.log. 

Some logging from apt would still be usefull IMO to have a kind of
"transaction" log. This shouldn't be too hard to add as a extension of
the recently added progress reporting code in apt-pkg/deb/dpkgpm.cc.

> if i f ex install a package just to test whether it fits my needs there
> are often dependencies to install too. to remove even this stuff (if i
> want to deinstall the package) i pipe the output of apt-get to a file --
> but it would be nice if apt-get provides such a functionality by itself,
> so i only need to specify an additional option.

What you probably want here is automatic removal of unused
dependencies. That was pioneered by aptitude and there is a
experimental apt branch available
(michael.vogt@ubuntu.com--2005/apt--auto-mark--0) that supports it in
libapt too. 

Cheers,
 Michael

-- 
Linux is not The Answer. Yes is the answer. Linux is The Question. - Neo



Reply to: