Re: Is there an apt-get install log?
On Tue, Aug 06, 2002 at 10:15:13AM -0700, Jeff wrote:
> rich, 2002-Aug-06 12:54 -0400:
> >
> > All,
> >
> > Is there a log anywhere that has a list of packages installed and
> > their install dates?
> > If not, what is a good way to completely back out of a package and
> > all the installed dependencies?
>
> The only way I know of to do this is to use "apt-cache show <package>"
> to see what the dependancies are for a package and then list them all
> in a purge command string. That will remove the package and purge all
> the config files and directories associated with it. For example:
>
> # apt-get remove --purge package1 package2 package3
>
> will purge all three packages and in the right order since package1
> depends on package2, and package2 depends on package 3.
>
This may not be a good idea. Assume that package1 is the top level
package, and packages 2, 3, etc are the ones on which it depends. Keep
in mind that other packages that you want to keep may depend on one or
another of these packages. Of course no other package will depend on
package1, but package8 might be libc6. BAAAD!
apt-get should protect you from this, but I wouldn't want to be the
person who reports a bug in that part of the code.
paul
--
Paul E Condon
pecondon@quiknet.com
Reply to: