unable to lock the administration directory (/var/lib/dpkg/) is another process using it?
ubuntu-
Support status summary of 'ubuntu-mate':
You have 1854 packages (100.0%) that can not/no-longer be downloaded
You have 0 packages (0.0%) that are unsupported
Run with --show-unsupported, --show-supported or --show-all to see more details
ubuntu-
cat: /etc/dpkg/
ubuntu-
ubuntu-
root@ubuntu-
root@ubuntu-mate:/# ubuntu-
Support status summary of 'ubuntu-mate':
You have 1854 packages (100.0%) that can not/no-longer be downloaded
You have 0 packages (0.0%) that are unsupported
Run with --show-unsupported, --show-supported or --show-all to see more details
root@ubuntu-mate:/# cat /etc/dpkg/
cat: /etc/dpkg/
root@ubuntu-mate:/# dpkg --print-
root@ubuntu-mate:/# sudo grep -R proxy /etc/apt/*
root@ubuntu-mate:/# grep proxy /etc/environment
root@ubuntu-mate:/# echo $http_proxy
root@ubuntu-mate:/# echo $http_proxy
root@ubuntu-mate:/# echo $ftp_proxy
root@ubuntu-mate:/# grep proxy /etc/bash.bashrc
root@ubuntu-mate:/# grep proxy ~/.bashr
grep: /root/.bashr: No such file or directory
root@ubuntu-mate:/# cat /etc/apt/apt.conf
cat: /etc/apt/apt.conf: No such file or directory
root@ubuntu-mate:/# sudo fuser -vvv /var/lib/dpkg/lock
root@ubuntu-mate:/# sudo fuser -vvv /var/cache/
root@ubuntu-mate:/# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
root@ubuntu-mate:/# uname -a
Linux ubuntu-mate 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:06:14 UTC 2016 i686 i686 i686 GNU/Linux
root@ubuntu-mate:/# sudo rm /var/lib/
root@ubuntu-mate:/# sudo rm /var/cache/
root@ubuntu-mate:/#
root@ubuntu-mate:/# sudo rm /var/cache/
rm: cannot remove '/var/cache/
root@ubuntu-mate:/#
root@ubuntu-mate:/# sudo rm /var/cache/
rm: cannot remove '/var/cache/
root@ubuntu-mate:/#
root@ubuntu-mate:/# sudo rm /var/cache/
rm: cannot remove '/var/cache/
root@ubuntu-mate:/# sudo rm /var/lib/dpkg/lock
root@ubuntu-mate:/# sudo cp -arf /var/lib/dpkg /var/lib/
root@ubuntu-mate:/# sudo mv /var/lib/
root@ubuntu-mate:/# sudo cp /var/lib/
root@ubuntu-mate:/# sudo mv /var/lib/
root@ubuntu-mate:/# sudo cp /var/lib/
cp: cannot stat '/var/lib/
root@ubuntu-mate:/# sudo rm -rf /var/lib/
root@ubuntu-mate:/# sudo rm -rf /var/lib/apt/lists
root@ubuntu-mate:/# sudo rm /var/cache/
root@ubuntu-mate:/# sudo rm /var/cache/
rm: cannot remove '/var/cache/
root@ubuntu-mate:/# sudo mkdir /var/lib/apt/lists
root@ubuntu-mate:/#
root@ubuntu-mate:/# sudo mkdir /var/lib/apt/lists
mkdir: cannot create directory ‘/var/lib/
root@ubuntu-mate:/#
root@ubuntu-mate:/# sudo mkdir /var/lib/apt/lists
mkdir: cannot create directory ‘/var/lib/
root@ubuntu-mate:/#
root@ubuntu-mate:/# sudo mkdir /var/lib/apt/lists
mkdir: cannot create directory ‘/var/lib/
root@ubuntu-mate:/# sudo mkdir /var/lib/
root@ubuntu-mate:/# LANG=C;sudo apt-get clean
root@ubuntu-mate:/# LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
root@ubuntu-mate:/# sudo dpkg --configure -a
root@ubuntu-mate:/# sudo dpkg --clear-avail
root@ubuntu-mate:/# LANG=C;sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@ubuntu-mate:/# LANG=C;sudo apt-get --fix-missing install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@ubuntu-mate:/# LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@ubuntu-mate:/# LANG=C;sudo apt-get --fix-missing update -o APT::Cache-
Reading package lists... Done
root@ubuntu-mate:/# LANG=C;sudo apt-get update -o APT::Cache-
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@ubuntu-mate:/# find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;
/etc/apt/
1 # deb cdrom:[Ubuntu-MATE 16.04.1 LTS _Xenial Xerus_ - Release i386 (20160719)]/ xenial main multiverse restricted universe
2
/etc/apt/
1 # deb [arch=amd64,i386] http://
2 # deb-src [arch=amd64,i386] http://
/etc/apt/
1 # deb http://
2 # deb-src http://
root@ubuntu-mate:/# sudo dpkg --audit
root@ubuntu-mate:/#
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask mike for more information if necessary.