Can not unlock
nishant@Nishant:~$ ubuntu-
Support status summary of 'Nishant':
You have 35 packages (2.0%) supported until February 2015 (9m)
You have 25 packages (1.4%) supported until May 2017 (3y)
You have 1660 packages (93.4%) supported until May 2019 (5y)
You have 50 packages (2.8%) supported until March 2017 (9m)
You have 0 packages (0.0%) that can not/no-longer be downloaded
You have 7 packages (0.4%) that are unsupported
Run with --show-unsupported, --show-supported or --show-all to see more details
nishant@Nishant:~$ cat /etc/dpkg/
cat: /etc/dpkg/
nishant@Nishant:~$ dpkg --print-
i386
nishant@Nishant:~$ sudo grep -R proxy /etc/apt/*
[sudo] password for nishant:
/etc/apt/
/etc/apt/
/etc/apt/
/etc/apt/
nishant@Nishant:~$ grep proxy /etc/environment
http_proxy="http://
https_proxy="https:/
ftp_proxy="ftp://10.
socks_proxy=
nishant@Nishant:~$ echo $http_proxy
http://
nishant@Nishant:~$ echo $ftp_proxy
ftp://10.
nishant@Nishant:~$ grep proxy /etc/bash.bashrc
nishant@Nishant:~$ grep proxy ~/.bashrc
nishant@Nishant:~$ cat /etc/apt/apt.conf
Acquire:
Acquire:
Acquire::ftp::proxy "ftp://10.
Acquire:
nishant@Nishant:~$ sudo fuser -vvv /var/lib/dpkg/lock
nishant@Nishant:~$ sudo fuser -vvv /var/cache/
nishant@Nishant:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
nishant@Nishant:~$ uname -a
Linux Nishant 3.16.0-71-generic #92~14.04.1-Ubuntu SMP Thu May 12 23:31:46 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
nishant@Nishant:~$ sudo rm /var/lib/
nishant@Nishant:~$ sudo rm /var/cache/
nishant@Nishant:~$ sudo rm /var/lib/dpkg/lock
nishant@Nishant:~$ sudo cp -arf /var/lib/dpkg /var/lib/
sudo mv /var/lib/
nishant@Nishant:~$ sudo mv /var/lib/
nishant@Nishant:~$ sudo cp /var/lib/
nishant@Nishant:~$ sudo rm -rf /var/lib/
nishant@Nishant:~$ sudo rm -rf /var/lib/apt/lists
nishant@Nishant:~$ sudo rm /var/cache/
nishant@Nishant:~$ sudo mkdir /var/lib/apt/lists
nishant@Nishant:~$ sudo mkdir /var/lib/
nishant@Nishant:~$ LANG=C;sudo apt-get clean
nishant@Nishant:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Error!
E: Could not open file /var/lib/
E: The package lists or status file could not be parsed or opened.
nishant@Nishant:~$ sudo dpkg --configure -a
dpkg: error: failed to open package info file `/var/lib/
nishant@Nishant:~$ sudo dpkg --clear-avail
nishant@Nishant:~$ LANG=C;sudo apt-get -f install
Reading package lists... Error!
E: Could not open file /var/lib/
E: The package lists or status file could not be parsed or opened.
nishant@Nishant:~$ LANG=C;sudo apt-get --fix-missing install
Reading package lists... Error!
E: Could not open file /var/lib/
E: The package lists or status file could not be parsed or opened.
nishant@Nishant:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Error!
E: Could not open file /var/lib/
E: The package lists or status file could not be parsed or opened.
nishant@Nishant:~$ LANG=C;sudo apt-get --fix-missing update -o APT::Cache-
Ign http://
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Get:13 http://
Get:14 http://
Get:15 http://
Get:16 http://
Get:17 http://
Get:18 http://
Get:19 http://
Get:20 http://
Get:21 http://
Get:22 http://
Get:23 http://
Get:24 http://
Get:25 http://
Get:26 http://
Get:27 http://
Get:28 http://
Get:29 http://
Get:30 http://
Get:31 http://
Get:32 http://
Get:33 http://
Get:34 http://
Get:35 http://
Get:36 http://
Get:37 http://
Get:38 http://
Get:39 http://
Get:40 http://
Get:41 http://
Get:42 http://
Get:43 http://
Get:44 http://
Get:45 http://
Get:46 http://
Get:47 http://
Get:48 http://
Get:49 http://
Get:50 http://
Get:51 http://
Get:52 http://
Get:53 http://
Get:54 http://
Get:55 http://
Get:56 http://
Get:57 http://
Get:58 http://
Get:59 http://
Get:60 http://
Get:61 http://
Get:62 http://
Get:63 http://
Get:64 http://
Get:65 http://
Get:66 http://
Get:67 http://
Get:68 http://
Get:69 http://
Fetched 32.9 MB in 4min 5s (134 kB/s)
Reading package lists... Error!
E: Could not open file /var/lib/
E: The package lists or status file could not be parsed or opened.
nishant@Nishant:~$ LANG=C;sudo apt-get update -o APT::Cache-
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Reading package lists... Error!
E: Could not open file /var/lib/
E: The package lists or status file could not be parsed or opened.
nishant@Nishant:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;
/etc/apt/
1 # deb cdrom:[Ubuntu 14.04.2 LTS _Trusty Tahr_ - Release amd64 (20150218.1)]/ trusty main restricted
2
3 # See http://
4 # newer versions of the distribution.
5 deb http://
6 deb-src http://
7
8 ## Major bug fix updates produced after the final release of the
9 ## distribution.
10 deb http://
11 deb-src http://
12
13 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
14 ## team. Also, please note that software in universe WILL NOT receive any
15 ## review or updates from the Ubuntu security team.
16 deb http://
17 deb-src http://
18 deb http://
19 deb-src http://
20
21 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
22 ## team, and may not be under a free licence. Please satisfy yourself as to
23 ## your rights to use the software. Also, please note that software in
24 ## multiverse WILL NOT receive any review or updates from the Ubuntu
25 ## security team.
26 deb http://
27 deb-src http://
28 deb http://
29 deb-src http://
30
31 ## N.B. software from this repository may not have been tested as
32 ## extensively as that contained in the main release, although it includes
33 ## newer versions of some applications which may provide useful features.
34 ## Also, please note that software in backports WILL NOT receive any review
35 ## or updates from the Ubuntu security team.
36 deb http://
37 deb-src http://
38
39 deb http://
40 deb-src http://
41 deb http://
42 deb-src http://
43 deb http://
44 deb-src http://
45
46 ## Uncomment the following two lines to add software from Canonical's
47 ## 'partner' repository.
48 ## This software is not part of Ubuntu, but is offered by Canonical and the
49 ## respective vendors as a service to Ubuntu users.
50 # deb http://
51 # deb-src http://
52
53 ## This software is not part of Ubuntu, but is offered by third-party
54 ## developers who want to ship their latest software.
55 # deb http://
56 # deb-src http://
nishant@Nishant:~$ sudo dpkg --audit
dpkg: error: failed to open package info file `/var/lib/
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu apt 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 Nishant for more information if necessary.