Java Mailing List Archive

http://www.redhatconfig.com/

Home » Ubuntu Technical Support »

Re: Daily maintenance

David Vincent

2008-06-19

Replies: Find Java Web Hosting

Author LoginPost Reply
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Derek Broughton wrote:
> I run this weekly:
>
> aptitude search '~i !~M' | tr -s ' ' | cut -f 2 -d ' ' /etc/apt/installed.txt
>
> (all on one line, of course) which gives me a convenient list of currently
> installed packages so that I can duplicate this setup on a new install.

hrm, that gives me an empty file.

sudo aptitude search '~i !~M' | tr -s ' ' | cut -f 2 -d ' '
/home/dvincent/installed.txt

do i need the sudo? i've been wondering how to get a list of packages
like this.

- -d


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIWmpufpRzWFIV0XMRAqY7AJ0fCFpY086f4ljBzs5p33DxzeoxawCeJrMQ
h7uZVqwfBIT45eaqjNjg/6U=
=rdpH
-----END PGP SIGNATURE-----

--
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.