When i write sudo apt-get upgrade This message Shows Up:"dpkg: error: cannot scan updates directory `/var/lib/dpkg/updates/': No such file or directory E: Sub-process /usr/bin/dpkg returned an error code (2) " Any Help ?!
Tell me more
×
Ask Ubuntu is a question and answer site for
Ubuntu users and developers. It's 100% free, no registration required.
|
This may work.
It may also not. You also need to check your file system for errors, and make sure your only using repos that are for your version of Ubuntu. I would start with the above commands, then if that still doesn't work, have a look here for restoring your apt database. You can also try (very dangerous)
Assuming your back on track you can then remove the copy of updates in /root/updates |
|||
|
|
