emmanuel@emmanuel-HP-ENVY-x360-m6-Convertible:~$ ubuntu-support-status
Support status summary of 'emmanuel-HP-ENVY-x360-m6-Convertible':
You have 1571 packages (99.9%) supported until April 2023 (Canonical - 5y)
You have 2 packages (0.1%) supported until April 2021 (Canonical - 3y)
You have 0 packages (0.0%) that can not/no-longer be downloaded
You have 0 packages (0.0%) that are unsupported
Your Hardware Enablement Stack (HWE) is supported until April 2023.
Run with --show-unsupported, --show-supported or --show-all to see more details
emmanuel@emmanuel-HP-ENVY-x360-m6-Convertible:~$ cat /etc/dpkg/dpkg.cfg.d/multiarch
cat: /etc/dpkg/dpkg.cfg.d/multiarch: No such file or directory
emmanuel@emmanuel-HP-ENVY-x360-m6-Convertible:~$ dpkg --print-foreign-architectures
i386
emmanuel@emmanuel-HP-ENVY-x360-m6-Convertible:~$ sudo grep -R roxy /etc/apt/*
[sudo] password for emmanuel:
emmanuel@emmanuel-HP-ENVY-x360-m6-Convertible:~$ grep roxy /etc/environment
emmanuel@emmanuel-HP-ENVY-x360-m6-Convertible:~$ echo $http_proxy
http://172.16.2.37:3128/
emmanuel@emmanuel-HP-ENVY-x360-m6-Convertible:~$ echo $ftp_proxy
http://172.16.2.37:3128/
emmanuel@emmanuel-HP-ENVY-x360-m6-Convertible:~$ gerp roxy /etc/bash.bashrc
Command 'gerp' not found, did you mean:
command 'grep' from deb grep
Try: sudo apt install <deb name>
emmanuel@emmanuel-HP-ENVY-x360-m6-Convertible:~$ grep roxy /etc/bash.bashrc
emmanuel@emmanuel-HP-ENVY-x360-m6-Convertible:~$ grep roxy ~/.bashre
grep: /home/emmanuel/.bashre: No such file or directory
emmanuel@emmanuel-HP-ENVY-x360-m6-Convertible:~$ grep roxy ~/.bashrc
emmanuel@emmanuel-HP-ENVY-x360-m6-Convertible:~$ cat /etc/apt/apt.conf
emmanuel@emmanuel-HP-ENVY-x360-m6-Convertible:~$ sudo fuser -vvv /var/lib/dpkg/lock
emmanuel@emmanuel-HP-ENVY-x360-m6-Convertible:~$ sudo fuser -vvv /v
var/ vmlinuz
emmanuel@emmanuel-HP-ENVY-x360-m6-Convertible:~$ sudo fuser -vvv /var/cache/apt/archives/lock
emmanuel@emmanuel-HP-ENVY-x360-m6-Convertible:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.2 LTS"
emmanuel@emmanuel-HP-ENVY-x360-m6-Convertible:~$ uname -a
Linux emmanuel-HP-ENVY-x360-m6-Convertible 4.18.0-15-generic #16~18.04.1-Ubuntu SMP Thu Feb 7 14:06:04 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
emmanuel@emmanuel-HP-ENVY-x360-m6-Convertible:~$ sudo rm /var/lib/apt/lists/lockemmanuel@emmanuel-HP-ENVY-x360-m6-Convertible:~$ sudo rm /var/cache/apt/archives/lock
emmanuel@emmanuel-HP-ENVY-x360-m6-Convertible:~$ sudo rm /var/lib/dpkg/lock
emmanuel@emmanuel-HP-ENVY-x360-m6-Convertible:~$ sudo cp -arf /var/lib/dpkg/ /var/lib/dpkg.backup
emmanuel@emmanuel-HP-ENVY-x360-m6-Convertible:~$ sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
emmanuel@emmanuel-HP-ENVY-x360-m6-Convertible:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status || sudo cp /var/backups/dpkg.status.0 /var/lib/dpkg/status
emmanuel@emmanuel-HP-ENVY-x360-m6-Convertible:~$ sudo mv /var/lib/dpkg/available /var/lib/dpkg/available-bad
emmanuel@emmanuel-HP-ENVY-x360-m6-Convertible:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
cp: cannot stat '/var/lib/dpkg/available-old': No such file or directory
emmanuel@emmanuel-HP-ENVY-x360-m6-Convertible:~$ sudo rm -rf /var/lib/dpkg/updates/*
emmanuel@emmanuel-HP-ENVY-x360-m6-Convertible:~$ sudo rm -rf /var/lib/apt/lists
emmanuel@emmanuel-HP-ENVY-x360-m6-Convertible:~$ sudo rm /var/cache/apt/*.bin
emmanuel@emmanuel-HP-ENVY-x360-m6-Convertible:~$ sudo mkdir /var/lib/apt/lists
emmanuel@emmanuel-HP-ENVY-x360-m6-Convertible:~$ sudo mkdir /var/lib/apt/lists/partial
emmanuel@emmanuel-HP-ENVY-x360-m6-Convertible:~$ LANG=C;sudo apt-get clean
emmanuel@emmanuel-HP-ENVY-x360-m6-Convertible:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
emmanuel@emmanuel-HP-ENVY-x360-m6-Convertible:~$ sudo dpkg --configure -a
emmanuel@emmanuel-HP-ENVY-x360-m6-Convertible:~$ sudo dpkg --clear-avail
emmanuel@emmanuel-HP-ENVY-x360-m6-Convertible:~$ 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.
emmanuel@emmanuel-HP-ENVY-x360-m6-Convertible:~$ 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.
emmanuel@emmanuel-HP-ENVY-x360-m6-Convertible:~$ 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.
emmanuel@emmanuel-HP-ENVY-x360-m6-Convertible:~$ LANG=C;sudo apt-get --fix-missing update -o APT::Cache-Limit=100000000
Err:1 http://archive.ubuntu.com/ubuntu bionic InRelease
Could not connect to archive.ubuntu.com:80 (91.189.88.161). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:80 (2001:67c:1360:8001::21). - connect (101: Network is unreachable) Could not connect to archive.ubuntu.com:80 (91.189.88.152). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:80 (2001:67c:1560:8001::11). - connect (101: Network is unreachable) Could not connect to archive.ubuntu.com:80 (91.189.88.162). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:80 (2001:67c:1560:8001::14). - connect (101: Network is unreachable) Could not connect to archive.ubuntu.com:80 (91.189.88.149). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:80 (2001:67c:1360:8001::17). - connect (101: Network is unreachable)
Err:2 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Unable to connect to archive.ubuntu.com:http:
Err:3 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
Unable to connect to archive.ubuntu.com:http:
Err:4 http://archive.ubuntu.com/ubuntu bionic-security InRelease
Unable to connect to archive.ubuntu.com:http:
Err:5 http://archive.ubuntu.com/ubuntu bionic-proposed InRelease
Unable to connect to archive.ubuntu.com:http:
Reading package lists... Done
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic/InRelease Could not connect to archive.ubuntu.com:80 (91.189.88.161). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:80 (2001:67c:1360:8001::21). - connect (101: Network is unreachable) Could not connect to archive.ubuntu.com:80 (91.189.88.152). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:80 (2001:67c:1560:8001::11). - connect (101: Network is unreachable) Could not connect to archive.ubuntu.com:80 (91.189.88.162). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:80 (2001:67c:1560:8001::14). - connect (101: Network is unreachable) Could not connect to archive.ubuntu.com:80 (91.189.88.149). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:80 (2001:67c:1360:8001::17). - connect (101: Network is unreachable)
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease Unable to connect to archive.ubuntu.com:http:
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease Unable to connect to archive.ubuntu.com:http:
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-security/InRelease Unable to connect to archive.ubuntu.com:http:
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-proposed/InRelease Unable to connect to archive.ubuntu.com:http:
W: Some index files failed to download. They have been ignored, or old ones used instead.
emmanuel@emmanuel-HP-ENVY-x360-m6-Convertible:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=100000000 && sudo apt-get dist-upgrade
Err:1 http://archive.ubuntu.com/ubuntu bionic InRelease
Could not connect to archive.ubuntu.com:80 (91.189.88.149). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:80 (2001:67c:1360:8001::17). - connect (101: Network is unreachable) Could not connect to archive.ubuntu.com:80 (91.189.88.162). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:80 (2001:67c:1560:8001::14). - connect (101: Network is unreachable) Could not connect to archive.ubuntu.com:80 (91.189.88.152). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:80 (2001:67c:1560:8001::11). - connect (101: Network is unreachable) Could not connect to archive.ubuntu.com:80 (91.189.88.161). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:80 (2001:67c:1360:8001::21). - connect (101: Network is unreachable)
Err:2 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Unable to connect to archive.ubuntu.com:http:
Err:3 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
Unable to connect to archive.ubuntu.com:http:
Err:4 http://archive.ubuntu.com/ubuntu bionic-security InRelease
Unable to connect to archive.ubuntu.com:http:
Err:5 http://archive.ubuntu.com/ubuntu bionic-proposed InRelease
Unable to connect to archive.ubuntu.com:http:
Reading package lists... Done
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic/InRelease Could not connect to archive.ubuntu.com:80 (91.189.88.149). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:80 (2001:67c:1360:8001::17). - connect (101: Network is unreachable) Could not connect to archive.ubuntu.com:80 (91.189.88.162). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:80 (2001:67c:1560:8001::14). - connect (101: Network is unreachable) Could not connect to archive.ubuntu.com:80 (91.189.88.152). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:80 (2001:67c:1560:8001::11). - connect (101: Network is unreachable) Could not connect to archive.ubuntu.com:80 (91.189.88.161). - connect (111: Connection refused) Could not connect to archive.ubuntu.com:80 (2001:67c:1360:8001::21). - connect (101: Network is unreachable)
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease Unable to connect to archive.ubuntu.com:http:
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease Unable to connect to archive.ubuntu.com:http:
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-security/InRelease Unable to connect to archive.ubuntu.com:http:
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/bionic-proposed/InRelease Unable to connect to archive.ubuntu.com:http:
W: Some index files failed to download. They have been ignored, or old ones used instead.
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.
emmanuel@emmanuel-HP-ENVY-x360-m6-Convertible:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;
/etc/apt/sources.list
1 # deb cdrom:[Ubuntu 18.04.2 LTS _Bionic Beaver_ - Release amd64 (20190210)]/ bionic main restricted
2
3 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
4 # newer versions of the distribution.
5 deb http://archive.ubuntu.com/ubuntu bionic main restricted
6 # deb-src http://in.archive.ubuntu.com/ubuntu/ bionic main restricted
7
8 ## Major bug fix updates produced after the final release of the
9 ## distribution.
10 deb http://archive.ubuntu.com/ubuntu bionic-updates main restricted
11 # deb-src http://in.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
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://archive.ubuntu.com/ubuntu bionic universe
17 # deb-src http://in.archive.ubuntu.com/ubuntu/ bionic universe
18 deb http://archive.ubuntu.com/ubuntu bionic-updates universe
19 # deb-src http://in.archive.ubuntu.com/ubuntu/ bionic-updates universe
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://archive.ubuntu.com/ubuntu bionic multiverse
27 # deb-src http://in.archive.ubuntu.com/ubuntu/ bionic multiverse
28 deb http://archive.ubuntu.com/ubuntu bionic-updates multiverse
29 # deb-src http://in.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
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://archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse
37 # deb-src http://in.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
38
39 ## Uncomment the following two lines to add software from Canonical's
40 ## 'partner' repository.
41 ## This software is not part of Ubuntu, but is offered by Canonical and the
42 ## respective vendors as a service to Ubuntu users.
43 # deb http://archive.canonical.com/ubuntu bionic partner
44 # deb-src http://archive.canonical.com/ubuntu bionic partner
45
46 deb http://archive.ubuntu.com/ubuntu bionic-security main restricted
47 # deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted
48 deb http://archive.ubuntu.com/ubuntu bionic-security universe
49 # deb-src http://security.ubuntu.com/ubuntu bionic-security universe
50 deb http://archive.ubuntu.com/ubuntu bionic-security multiverse
51 deb http://archive.ubuntu.com/ubuntu bionic-proposed restricted universe multiverse main
52 # deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse
emmanuel@emmanuel-HP-ENVY-x360-m6-Convertible:~$ sudo dpkg --audit
this is output i have got after step 6 mentioned in https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure