dpkg error unable to access dpkg status area no such directory and files found | Ubuntu 18:04 20.04

preview_player
Показать описание
In this video, we have described about resolution of dpkg error unable to access dpkg status area no such directory and files found, and dpkg errors. You can resolve these type of errors with the provided solution within fraction of minute.

Problem :
1. if you have removed dpkg directory or getting error dpkg not found
2. Unmet dependencies of dpkg
3. dpkg error unable to access dpkg status area no such directory and files found
4. unale to install any applliction or upgrade ubuntu

Cause: 1. You lost your dpkg directory from /var/lib/”dpkg”
2. You lost status file from /var/lib/dpkg/”var”

Solution: Need to create dpkg directory with dependent directories.

Copy & paste these commands on your terminal one by one

sudo mkdir -p /var/lib/dpkg/{alternatives,info,parts,triggers,updates}

recover backup file

apt-get download dpkg

sudo dpkg -i dpkg*.deb

If everything is "ok" then repair your base files too:

apt-get download base-files
sudo dpkg -i base-files*.deb

Now try to update your package list, etc.:

dpkg --audit
sudo apt-get update
sudo apt-get check

rm: cannot remove '/var/lib/dpkg/lock': read-only file system
Why is dpkg locked?
How do I fix dpkg status database is locked by another process?
How do I fix dpkg error dpkg frontend lock is locked by another process?
Why is dpkg not working?
How do I reconfigure with dpkg?
What is sudo dpkg -- configure?
How do you fix dpkg was interrupted you must manually run sudo dpkg -- configure to correct the problem?

The channel describes technical errors and fixes, We try to provide you good knowledge that can reduce your time to search for multiple solutions and can get an immersive experience to resolve errors and bugs. Our major purpose is to serve you better than before. Let's enjoy some basic tech videos and subscribe to the channel...

some video links that help you to know the errors and solutions:

#youtube
#computer
#technology
#error
#solution
#yshorts
#shorts
#howtoresolve
#youtuber
#youtubechannel
#youtubevideos
#youtubeindia
#solutions
#youtubers
Рекомендации по теме
Комментарии
Автор

Can u pls guide me How to solve this problem " dpkg: warning: failed to open configuration file '/home/newuser/.dpkg.cfg' for reading: Permission denied "

mayankmadanparihar