[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 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.

Best Regards

|     Marco Nenciarini     | Debian/GNU Linux User - Plug Member   |
|  mnencia@prato.linux.it  | http://www.prato.linux.it/~mnencia    |
Key fingerprint = FED9 69C7 9E67 21F5 7D95  5270 6864 730D F095 E5E4

Reply to: