On Fri, Jul 21, 2000 at 06:51:33PM +0100, Malcolm Parsons wrote:
> On Fri, Jul 21, 2000 at 01:53:36PM +0300, joost witteveen wrote:
> > Is there any way to get full packages names of packages that are
> > actually installed ('dpkg -l' doesn't work, as it cuts of package
> > names that are too long).
>
> ls /var/lib/dpkg/info/ | grep .list$ | sed 's/.list//'
This work, but this is only a hack.
Don't use this in [post|pre][rm|inst]-scripts or in updates.*-scripts!
Gruss
Grisu
--
Michael Bramer - a Debian Linux Developer http://www.debian.org
PGP: finger grisu@db.debian.org -- Linux Sysadmin -- Use Debian Linux
Linux - Damit der Ausnahmefehler nicht zu Regel wird.
Attachment:
pgpkagIyG8YVg.pgp
Description: PGP signature