![]() Type sudo touch /var/lib/dpkg/status to create an empty file as the root user and then try sudo apt-get install long-list from the terminal. You could also try rebuilding the status list. In a best-case scenario, you won’t have any and you’ll merely be able to continue working with your system again like normal. Nevertheless, you can restart then run sudo apt-get update followed by sudo apt-get upgrade to see what sorts of dependency errors end up coming up for you. This restores the most recent backup copy of the status file, but unfortunately if it was too out of date you might still be in hot water. If this doesn’t give you an error, then you can see if this fixed the issue. ![]() Try running sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status at the terminal. There’s a backup copy of /var/lib/dpkg/status that gets made automatically, and hopefully not too much time has passed since you got the error that it caused it to be out of sync. ![]() You could do this, but there might be a way to salvage things first. Some users back all their important data up at this point before reinstalling Linux. Method 2: Recreating /var/lib/dpkg/status
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
June 2023
Categories |