Re: Where does "dpkg -l" reads package info?
"Yildiz, Murat" <murat.yildiz@atosorigin.com> writes:
> where does "dpkg -l" or deselect|select reads package info?
> /var/lib/dpkg/available or status? or both?
> I tried to delete these two files
Ow. Don't do that; you've now caused dselect to forget that anything
at all is installed on your machine, including things like libc6 and
dpkg. You should have -old versions of both files; dpkg will probably
work if you copy the -old versions back.
> and run apt-setup and let read all 8 cd's
> but it seems it doesn't write available and status files again.
The canonical way to do this is to run 'apt-get update', hit 'u' in
aptitude, or select "update" from dselect's main menu. What problem
are you really having?
> What to do when these two files are corrupt? (woody 3.0 stable)
("Corrupt" as in bad blocks? Open the file with a text editor, delete
the damaged regions, re-run an APT update, and pray.)
--
David Maze dmaze@debian.org http://people.debian.org/~dmaze/
"Theoretical politics is interesting. Politicking should be illegal."
-- Abra Mitchell
Reply to: