Java Mailing List Archive

http://www.redhatconfig.com/

Home » Ubuntu Technical Support »

Re: Daily maintenance

Derek Broughton

2008-06-19

Replies: Find Java Web Hosting

Author LoginPost Reply
Leif Gregory wrote:

> On Thu, 19 Jun 2008 07:17:19 -0700
> David Vincent <dvincent@(protected):
>
>> do i need the sudo? i've been wondering how to get a list of packages
>> like this.
>
> His worked for me too, but I typically do a much shorter command:
>
> dpkg -l > ~/Documents/installed_pkgs.txt

That tells you _all_ the packages. It's not useful for actually
regenerating a configuration, because it's unaware of the difference
between manually (the ~M in my script) and automatically installed
packages. So if I take that list and install it onto a new system,
everything is registered as "manually installed", and nothing ever gets
removed when it's no longer needed.
--
derek


--
ubuntu-users mailing list
ubuntu-users@(protected)
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.