Daily maintenance
David Vincent
dvincent at sleepdeprived.ca
Thu Jun 19 14:17:19 UTC 2008
-----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-----
More information about the ubuntu-users
mailing list