PackageManager Troubleshooting Procedure
I study in a university and have to use manual proxy addresses to use wifi there. However, i don't use any proxy at home. The internet works fine on the web browser but I want to install g++ compiler and when I write the command sudo apt-get install g++ it asks for verification. and then asks whether i want to install the unauthenticated packages. after pressing yes(y) to both it stops at connecting to pk.archive.
I followed the Package Manager TroubleShooting Procedure and the result is attached alongside the thread. Kindly help me out. Thankyou.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu apt Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
|
#1 |
#The following is the terminal screen output after running the Package Manager Trouble Shooting Procedure
FAST-BeoWolF:$ ubuntu-
Support status summary of 'BeoWolF':
You have 1572 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
FAST-BeoWolF:$ sudo grep -R proxy /etc/apt/*
/etc/apt/
/etc/apt/
/etc/apt/
FAST-BeoWolF:$ grep proxy /etc/environment
http_proxy="http://
ftp_proxy="ftp://192.
https_proxy="https:/
FAST-BeoWolF:$ echo $http_proxy
http://
FAST-BeoWolF:$ echo $ftp_proxy
ftp://192.
FAST-BeoWolF:$ grep proxy /etc/bash.bashrc
export http_proxy="http://
export ftp_proxy="ftp://192.
export https_proxy="https:/
FAST-BeoWolF:$ grep proxy ~/.bashrc
FAST-BeoWolF:$ cat /etc/apt/apt.conf
FAST-BeoWolF:$ sudo fuser -vvv /var/lib/dpkg/lock
FAST-BeoWolF:$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
FAST-BeoWolF:$ uname -a
Linux BeoWolF 3.8.0-30-generic #44~precise1-Ubuntu SMP Fri Aug 23 17:33:45 UTC 2013 i686 i686 i386 GNU/Linux
FAST-BeoWolF:$ sudo rm /var/lib/
FAST-BeoWolF:$ sudo rm /var/lib/dpkg/lock
FAST-BeoWolF:$ sudo cp -arf /var/lib/dpkg /var/lib/
FAST-BeoWolF:$ sudo mv /var/lib/
mv: cannot stat `/var/lib/
FAST-BeoWolF:$ sudo cp /var/lib/
FAST-BeoWolF:$ sudo mv /var/lib/
FAST-BeoWolF:$ sudo cp /var/lib/
FAST-BeoWolF:$ sudo rm -rf /var/lib/
FAST-BeoWolF:$ sudo rm -rf /var/lib/apt/lists
FAST-BeoWolF:$ sudo rm /var/cache/
rm: cannot remove `/var/cache/
FAST-BeoWolF:$ sudo mkdir /var/lib/apt/lists
FAST-BeoWolF:$ sudo mkdir /var/lib/
FAST-BeoWolF:$ LANG=C;sudo apt-get clean
FAST-BeoWolF:$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
FAST-BeoWolF:$ 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.
FAST-BeoWolF:$ LANG=C;sudo apt-get --fix-missing update -o APT::Cache-
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
E: Some index files failed to download. They have been ignored, or old ones used instead.
FAST-BeoWolF:$ sudo dpkg --configure -a
FAST-BeoWolF:$ sudo dpkg --clear-avail
FAST-BeoWolF:$ 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.
FAST-BeoWolF:$ 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.
FAST-BeoWolF:$ LANG=C;sudo apt-get update -o APT::Cache-
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
Err http://
Cannot initiate the connection to 192.168.15.255:8080 (192.168.15.255). - connect (101: Network is unreachable)
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
E: Some index files failed to download. They have been ignored, or old ones used instead.
FAST-BeoWolF:$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;
/etc/apt/
1 ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
2 # You may comment out this entry, but any other modifications may be lost.
3 # deb http://
/etc/apt/
1 # deb cdrom:[Ubuntu 12.04.3 LTS _Precise Pangolin_ - Release i386 (20130820.1)]/ precise 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://
Revision history for this message
|
#2 |
Can you ping 192.168.15.255 ?
Revision history for this message
|
#3 |
There must be something wrong with your proxy setup:
/etc/apt/
/etc/apt/
/etc/apt/
FAST-BeoWolF:$ grep proxy /etc/environment
http_proxy="http://
ftp_proxy="ftp://192.
https_proxy="https:/
In the file /etc/apt/apt.conf~, you are using port 80, but in file /etc/environment you are using port 8080.
Which is the correct portnumber to use? 80 or 8080? This needs to be consistent in all the files....
Are you currently working from home? Do you need the proxy now? If not, you need to deactivate the proxy manually by editing these 3 files:
/etc/apt/apt.conf~
/etc/environment
/etc/bash.bashrc
Revision history for this message
|
#4 |
Hedwig:~$ ubuntu-
Support status summary of 'Hedwig':
You have 1923 packages (88.3%) supported until April 2021 (5y)
You have 96 packages (4.4%) supported until April 2019 (3y)
You have 55 packages (2.5%) supported until January 2017 (9m)
You have 4 packages (0.2%) supported until February 2017 (9m)
You have 35 packages (1.6%) that can not/no-longer be downloaded
You have 64 packages (2.9%) that are unsupported
Run with --show-unsupported, --show-supported or --show-all to see more details
aishwarya@Hedwig:~$ cat /etc/dpkg/
cat: /etc/dpkg/
aishwarya@Hedwig:~$ dpkg --print-
i386
aishwarya@Hedwig:~$ sudo grep -R proxy /etc/apt/*
[sudo] password for aishwarya:
aishwarya@Hedwig:~$ grep proxy /etc/environment
aishwarya@Hedwig:~$ echo $http_proxy
aishwarya@Hedwig:~$ echo $ftp_proxy
aishwarya@Hedwig:~$ grep proxy /etc/bash.bashrc
aishwarya@Hedwig:~$ grep proxy ~/.bashrc
aishwarya@Hedwig:~$ cat /etc/apt/apt.conf
cat: /etc/apt/apt.conf: No such file or directory
aishwarya@Hedwig:~$ sudo fuser -vvv /var/lib/dpkg/lock
aishwarya@Hedwig:~$ sudo fuser -vvv /var/cache/
aishwarya@Hedwig:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
aishwarya@Hedwig:~$ uname -a
Linux Hedwig 4.4.0-22-generic #40-Ubuntu SMP Thu May 12 22:03:46 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
aishwarya@Hedwig:~$ sudo rm /var/lib/
aishwarya@Hedwig:~$ sudo rm /var/cache/
aishwarya@Hedwig:~$ sudo rm /var/lib/dpkg/lock
aishwarya@Hedwig:~$ sudo cp -arf /var/lib/dpkg /var/lib/
aishwarya@Hedwig:~$ sudo mv /var/lib/
aishwarya@Hedwig:~$ sudo cp /var/lib/
aishwarya@Hedwig:~$ sudo mv /var/lib/
aishwarya@Hedwig:~$ sudo cp /var/lib/
cp: cannot stat '/var/lib/
aishwarya@Hedwig:~$ sudo rm -rf /var/lib/
aishwarya@Hedwig:~$ sudo rm -rf /var/lib/apt/lists
aishwarya@Hedwig:~$ sudo rm /var/cache/
aishwarya@Hedwig:~$ sudo mkdir /var/lib/apt/lists
aishwarya@Hedwig:~$ sudo mkdir /var/lib/
aishwarya@Hedwig:~$ LANG=C;sudo apt-get clean
aishwarya@Hedwig:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
aishwarya@Hedwig:~$ sudo dpkg --configure -a
aishwarya@Hedwig:~$ sudo dpkg --clear-avail
aishwarya@Hedwig:~$ LANG=C;sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
dkms gir1.2-rb-3.0 gir1.2-secret-1 gnucash-common gnucash-docs
guile-2.0 guile-2.0-libs hplip-data javascript-common
libaqbanking-data libaqbanking35 libaqbanking35-
libaqhbci22 libaqofxconnect7 libart-2.0-2 libclass-
libcommon-
libdatetime-perl libdatetime-
libdmapsharin
libgnomecanvas2-0 libgnomecanvas2
libgoffice-
libgsf-1-common libgwengui-gtk2-0 libgwenhywfar-data libgwenhywfar60
libhpmud0 libhtml-
libjs-jquery libjson-perl libjson-xs-perl libktoblzcheck1v5
libmodule-
libpaps0 libparams-
librhythmbox-
libsnmp-base libsnmp30 libtry-tiny-perl libtypes-
libwebkitgtk-
media-player-info paps python3-mako python3-pexpect python3-pil
python3-
python3-
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
aishwarya@Hedwig:~$ LANG=C;sudo apt-get --fix-missing install
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
dkms gir1.2-rb-3.0 gir1.2-secret-1 gnucash-common gnucash-docs
guile-2.0 guile-2.0-libs hplip-data javascript-common
libaqbanking-data libaqbanking35 libaqbanking35-
libaqhbci22 libaqofxconnect7 libart-2.0-2 libclass-
libcommon-
libdatetime-perl libdatetime-
libdmapsharin
libgnomecanvas2-0 libgnomecanvas2
libgoffice-
libgsf-1-common libgwengui-gtk2-0 libgwenhywfar-data libgwenhywfar60
libhpmud0 libhtml-
libjs-jquery libjson-perl libjson-xs-perl libktoblzcheck1v5
libmodule-
libpaps0 libparams-
librhythmbox-
libsnmp-base libsnmp30 libtry-tiny-perl libtypes-
libwebkitgtk-
media-player-info paps python3-mako python3-pexpect python3-pil
python3-
python3-
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
aishwarya@Hedwig:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
dkms* gir1.2-rb-3.0* gir1.2-secret-1* gnucash-common* gnucash-docs*
guile-2.0* guile-2.0-libs* hplip-data* javascript-common*
libaqbanking-
libaqebics0* libaqhbci22* libaqofxconnect7* libart-2.0-2*
libclass-
libdatetime-
libdbi1* libdmapsharing-
libglade2-0* libgnomecanvas2-0* libgnomecanvas2
libgoffice-0.8-8* libgoffice-
libgsf-1-114* libgsf-1-common* libgwengui-gtk2-0* libgwenhywfar-data*
libgwenhywfar60* libhpmud0* libhtml-
libjavascript
libjson-xs-perl* libktoblzcheck1v5* libmodule-
libmodule-
libparams-
libsane-hpaio* libsensors4* libsgutils2-2* libsnmp-base* libsnmp30*
libtry-tiny-perl* libtypes-
libwebkitgtk-
paps* python3-mako* python3-pexpect* python3-pil* python3-ptyprocess*
python3-renderpm* python3-reportlab* python3-
rhythmbox-data*
0 upgraded, 0 newly installed, 74 to remove and 0 not upgraded.
After this operation, 319 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 228983 files and directories currently installed.)
Removing dkms (2.2.0.3-2ubuntu11) ...
Purging configuration files for dkms (2.2.0.3-2ubuntu11) ...
Removing gir1.2-rb-3.0:amd64 (3.3-1ubuntu7) ...
Removing gir1.2-
Removing gnucash-common (1:2.6.12-1) ...
Removing gnucash-docs (2.6.12-1) ...
Removing guile-2.0 (2.0.11+1-10) ...
Purging configuration files for guile-2.0 (2.0.11+1-10) ...
Removing guile-2.
Removing hplip-data (3.16.3+repack0-1) ...
dpkg: warning: while removing hplip-data, directory '/usr/share/
dpkg: warning: while removing hplip-data, directory '/usr/share/
dpkg: warning: while removing hplip-data, directory '/usr/share/
dpkg: warning: while removing hplip-data, directory '/usr/share/
dpkg: warning: while removing hplip-data, directory '/usr/share/
dpkg: warning: while removing hplip-data, directory '/usr/share/
dpkg: warning: while removing hplip-data, directory '/usr/share/
dpkg: warning: while removing hplip-data, directory '/usr/share/
Removing javascript-common (11) ...
apache2_invoke javascript-common prerm: No action required
Purging configuration files for javascript-common (11) ...
apache2_invoke javascript-common postrm: No action required
Removing libaqbanking35-
Removing libaqhbci22 (5.6.4beta-1) ...
Removing libaqebics0 (5.6.4beta-1) ...
Removing libaqofxconnect7 (5.6.4beta-1) ...
Removing python3-
Removing libgnomecanvas2
Purging configuration files for libgnomecanvas2
Removing libart-2.0-2:amd64 (2.3.21-2) ...
Purging configuration files for libart-2.0-2:amd64 (2.3.21-2) ...
Removing libfinance-
Removing libdatetime-perl (2:1.21-1build1) ...
Removing libdatetime-
Removing libclass-
Removing libjson-xs-perl (3.010-2build1) ...
Removing libtypes-
Removing libcommon-
Removing libdate-manip-perl (6.52-1) ...
Removing libdatetime-
Removing libdbi1:amd64 (0.9.0-4) ...
Purging configuration files for libdbi1:amd64 (0.9.0-4) ...
Removing libdmapsharing-
Removing libgc1c2:amd64 (1:7.4.2-7.3) ...
Removing libglade2-0:amd64 (1:2.6.4-2) ...
Purging configuration files for libglade2-0:amd64 (1:2.6.4-2) ...
Removing libgnomecanvas2
Removing libgoffice-0.8-8 (0.8.17-3) ...
Purging configuration files for libgoffice-0.8-8 (0.8.17-3) ...
Removing libgoffice-
Removing libgpod-common (0.8.3-6ubuntu2) ...
Removing libgpod4:amd64 (0.8.3-6ubuntu2) ...
Removing libgsf-1-114:amd64 (1.14.36-1) ...
Removing libgsf-1-common (1.14.36-1) ...
Removing libgwengui-gtk2-0 (4.15.2beta-
Removing libsane-hpaio:amd64 (3.16.3+repack0-1) ...
Purging configuration files for libsane-hpaio:amd64 (3.16.3+repack0-1) ...
dpkg: warning: while removing libsane-
Removing libhpmud0:amd64 (3.16.3+repack0-1) ...
Removing libhtml-
Removing libwebkitgtk-
Removing libjavascriptco
Removing libjs-jquery (1.11.3+dfsg-4) ...
Removing libjson-perl (2.90-1) ...
Removing libktoblzcheck1v5 (1.48-2.1) ...
Purging configuration files for libktoblzcheck1v5 (1.48-2.1) ...
Removing libparams-
Removing libmodule-
Removing libmodule-
Removing libofx6:amd64 (1:0.9.10-1build2) ...
Purging configuration files for libofx6:amd64 (1:0.9.10-1build2) ...
Removing libosp5 (1.5.2-13ubuntu1) ...
Removing paps (0.6.8-7ubuntu1) ...
Removing libpaps0 (0.6.8-7ubuntu1) ...
Purging configuration files for libpaps0 (0.6.8-7ubuntu1) ...
Removing libparams-
Removing librhythmbox-
Removing libsnmp30:amd64 (5.7.3+
Removing libsensors4:amd64 (1:3.4.0-2) ...
Purging configuration files for libsensors4:amd64 (1:3.4.0-2) ...
Removing libsgutils2-2 (1.40-0ubuntu1) ...
Purging configuration files for libsgutils2-2 (1.40-0ubuntu1) ...
Removing libsnmp-base (5.7.3+
Purging configuration files for libsnmp-base (5.7.3+
Removing libtry-tiny-perl (0.24-1) ...
Removing libwebkitgtk-
Removing python3-pil:amd64 (3.1.2-0ubuntu1) ...
Removing libwebpmux1:amd64 (0.4.4-
Removing libxmlsec1 (1.2.20-2ubuntu4) ...
Removing media-player-info (22-2) ...
Removing python3-mako (1.0.3+
Removing python3-pexpect (4.0.1-1) ...
Removing python3-ptyprocess (0.5-1) ...
Removing python3-reportlab (3.3.0-1) ...
Removing python3-
Removing rhythmbox-data (3.3-1ubuntu7) ...
Removing libaqbanking35 (5.6.4beta-1) ...
Removing libaqbanking-data (5.6.4beta-1) ...
Removing libgwenhywfar60 (4.15.2beta-
Removing libgwenhywfar-data (4.15.2beta-
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for libglib2.0-0:amd64 (2.48.0-1ubuntu4) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Processing triggers for install-info (6.1.0.dfsg.1-5) ...
Processing triggers for doc-base (0.10.7) ...
Processing 7 removed doc-base files...
Registering documents with scrollkeeper...
Processing triggers for menu (2.1.47ubuntu1) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Processing triggers for udev (229-4ubuntu5) ...
aishwarya@Hedwig:~$ LANG=C;sudo apt-get --fix-missing update -o APT::Cache-
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://
76% [18 icons-64x64 3603 kB/7448 kB 48%]LANG=C;sudo apt-get update -o APT:Ign:
67% [Working]
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://
Get:70 http://
Get:71 http://
Get:72 http://
Get:73 http://
Get:74 http://
Get:75 http://
Get:18 http://
Fetched 32.6 MB in 12min 13s (44.4 kB/s)
Reading package lists... Done
aishwarya@Hedwig:~$ LANG=C;sudo apt-get update -o APT::Cache-
Hit:1 http://
Hit:2 http://
Hit:3 http://
Hit:4 http://
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
adium-
language-
7 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 76.5 MB of archives.
After this operation, 11.1 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
40% [5 fonts-noto-cjk 26.5 MB/76.1 MB 35%] 32.2 kB/s 25min 43sfind /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' 40% [5 fonts-noto-cjk 26.8 MB/76.1 MB 35%] 25.3 kB/s 32min 33s
Get:6 http://
Get:7 http://
Fetched 76.5 MB in 1h 39min 11s (12.9 kB/s)
(Reading database ... 218786 files and directories currently installed.)
Preparing to unpack .../language-
Unpacking language-
Preparing to unpack .../language-
Unpacking language-
Preparing to unpack .../libappstrea
Unpacking libappstream3:amd64 (0.9.4-1ubuntu1) over (0.9.4-1) ...
Preparing to unpack .../appstream_
Unpacking appstream (0.9.4-1ubuntu1) over (0.9.4-1) ...
Preparing to unpack .../fonts-
Unpacking fonts-noto-cjk (1:1.004+
Preparing to unpack .../python3-
Unpacking python3-urllib3 (1.13.1-
Preparing to unpack .../adium-
Unpacking adium-theme-ubuntu (0.3.4-0ubuntu1.1) over (0.3.4-0ubuntu1) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
Processing triggers for bamfdaemon (0.5.3~
Rebuilding /usr/share/
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for dbus (1.10.6-1ubuntu3) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Processing triggers for fontconfig (2.11.94-0ubuntu1) ...
Setting up language-
Setting up language-
Setting up libappstream3:amd64 (0.9.4-1ubuntu1) ...
Setting up appstream (0.9.4-1ubuntu1) ...
AppStream cache update completed successfully.
Setting up fonts-noto-cjk (1:1.004+
Setting up python3-urllib3 (1.13.1-
Setting up adium-theme-ubuntu (0.3.4-0ubuntu1.1) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
aishwarya@Hedwig:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;
/etc/apt/
1 # deb cdrom:[Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1)]/ xenial 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, and may not be under a free licence. Please satisfy yourself as to
15 ## your rights to use the software. Also, please note that software in
16 ## universe WILL NOT receive any review or updates from the Ubuntu security
17 ## team.
18 deb http://
19 # deb-src http://
20 deb http://
21 # deb-src http://
22
23 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
24 ## team, and may not be under a free licence. Please satisfy yourself as to
25 ## your rights to use the software. Also, please note that software in
26 ## multiverse WILL NOT receive any review or updates from the Ubuntu
27 ## security team.
28 deb http://
29 # deb-src http://
30 deb http://
31 # deb-src http://
32
33 ## N.B. software from this repository may not have been tested as
34 ## extensively as that contained in the main release, although it includes
35 ## newer versions of some applications which may provide useful features.
36 ## Also, please note that software in backports WILL NOT receive any review
37 ## or updates from the Ubuntu security team.
38 deb http://
39 # deb-src http://
40
41 ## Uncomment the following two lines to add software from Canonical's
42 ## 'partner' repository.
43 ## This software is not part of Ubuntu, but is offered by Canonical and the
44 ## respective vendors as a service to Ubuntu users.
45 # deb http://
46 # deb-src http://
47
48 deb http://
49 # deb-src http://
50 deb http://
51 # deb-src http://
52 deb http://
53 # deb-src http://
/etc/apt/
1 # deb http://
2 # deb-src http://
/etc/apt/
1 # deb http://
2 # deb-src http://
/etc/apt/
1 # deb http://
2 # deb-src http://
3 # deb-src http://
/etc/apt/
1 # deb http://
2 # deb-src http://
aishwarya@Hedwig:~$ sudo dpkg --audit
[sudo] password for aishwarya:
Revision history for this message
|
#5 |
@Aishwarya (aishkumar97): I see that you have been attempting to hijack this thread and another thread as well.
This is not the way we work here.....
Please create your OWN thread here instead:
https:/
The current thread is for solving Farhan Javed's issue and nobody else's.
Can you help with this problem?
Provide an answer of your own, or ask Farhan Javed for more information if necessary.