0

E: Sub-process /usr/bin/dpkg returned an error code (2)

hi I was trying to install a package on ubuntu & i am facing the Following Problem

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)

How could this be solved?

isaiah
asked Dec 15, 2018
1 Answer
1

It seems something Must have terrible to the directory

To fix this problem you need to do the following steps

#mkdir /var/lib/dpkg/updates
#apt-get update
#apt-get upgrade

Now try installing a package now

View More
linuxhelp
answered Dec 19, 2018
Your Answer
||||
 
100:0