[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: developping of deb and clean dpkg database



On Sat, Mar 31, 2001 at 01:03:58PM +0200, Marco Nenciarini wrote:

> On Sat, Mar 31, 2001 at 12:09:11PM +0200, Stefano Zacchiroli wrote:
> > During the development of a new deb package, my dpkg database is going
> > to increase its dirty-level.
> > Packages that are being developped got installed and deinstalled, change
> > names, change sections and so on...
> > The result ? My dpkg database contains info about many packages that
> > does not exists or that does not belong to the right section.
> > 
> > Is there a clean way to remove info related to some packages ?
> > Currently my solution is to manually edit /var/lib/dpkg/* files, but I
> > wonder about the existence of some cleaner way to do it.
> > 
> 
> >From dpkg manual:
> 
>        dpkg --clear-avail
>               Erase  the existing information about what packages
>               are available.

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


-- 
 - mdz



Reply to: