Re: dpkg: serious warning: file list file for package 'package' missing, assuming package has no files currently installed - can't install any packages





Andrew Farris wrote:



Have you tried doing a "sudo apt-get update"? As far as I know, that
should update the list files. If that doesnt work, mayve moving the
entire list directory then trying a "sudo apt-get update" might help as
well.

Just a thought...hope it's helpful!


Yeah, that didn't work. That was one of the first things I tried.

But now that you mention it.. the list directory was missing. I
recreated it.

The problem now is the */list files are missing.

Also there are other dirs missing from /var/lib/dpkg such as
/var/lib/dpkg/alternatives

Is there a way to just recreate everything that should be in /var/lib/dpkg?


--
Ryan Pugatch
Systems Administrator, TripAdvisor

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users