[Gllug] Repairing ubuntu packages

adam at thebowery.co.uk adam at thebowery.co.uk
Mon Jan 10 17:07:23 UTC 2005


On Mon, Jan 10, 2005 at 04:32:00PM +0000, Jack Bertram wrote:
> installed packages automatically on my Ubuntu system.  Ideally I'd write
> a short script that parsed the result of some dpkg command showing which
> .debs I had installed, and which automatically restored from the .deb
> all files that had changed since installation (*except* /etc files,
> which I would want to review before changing).  What's the easiest way
> to do this?

from the man page for dpkg

	dpkg --get-selections [pattern...]
	Get list of package selections, and write it to
	stdout.

	dpkg --set-selections
	Set package selections using
	file read from stdin.


Adam
-- 
jabberid = quinophex at jabber.earth.li
AFFS || http://www.affs.org.uk/ || Not a filesystem
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list