On 24 Aug 2001 01:44:00 -0600, John Galt wrote:
> On 24 Aug 2001, Adam Warner wrote:
> 
> >Hi all,
> >
> >I used
> >
> >echo "<package name> hold" | dpkg --set-selections
> 
> echo "<package name> purge" | dpkg --set-selections

Thanks for trying to help John. There I was trying to search out the db
internals documentation to try and hack the package db (which would have
been a very unwise move) when I thought I've give the man dpkg page
another go.

I finally came across this neat command:

dpkg --forget-old-unavail
Forget about uninstalled unavailable packages.

And it does the trick! My newly created non-existent package disappeared
from the database.

I suspect this may not have worked if you didn't instruct me to change
the non-existent package status to "purge" first.

Many thanks,
Adam

Reply via email to