"file not found "error in terminal and cann't update and download packages
ubuntu-
Support status summary of 'lucken99':
You have 1687 packages (98.3%) supported until April 2021 (5y)
You have 26 packages (1.5%) supported until February 2022 (5y)
You have 0 packages (0.0%) that can not/no-longer be downloaded
You have 4 packages (0.2%) that are unsupported
Run with --show-unsupported, --show-supported or --show-all to see more details
lucky@lucken99:~$ cat /etc/dpkg/
cat: /etc/dpkg/
lucky@lucken99:~$ dpkg --print-
i386
lucky@lucken99:~$ sudo grep -R roxy /etc/apt/*
[sudo] password for lucky:
lucky@lucken99:~$ grep roxy /etc/environment
lucky@lucken99:~$ echo $http_proxy
http://
lucky@lucken99:~$ echo $ftp_proxy
http://
lucky@lucken99:~$ grep roxy /etc/bash.bashrc
#proxy
export http_proxy=http://
export ftp_proxy=http://
lucky@lucken99:~$ grep roxy ~/.bashrc
lucky@lucken99:~$ cat /etc/apt/apt.conf
cat: /etc/apt/apt.conf: No such file or directory
lucky@lucken99:~$ sudo fuser -vvv /var/lib/dpkg/lock
lucky@lucken99:~$ sudo fuser -vvv /var/cache/
lucky@lucken99:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
lucky@lucken99:~$ uname -a
Linux lucken99 4.8.0-36-generic #36~16.04.1-Ubuntu SMP Sun Feb 5 09:39:57 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
lucky@lucken99:~$ sudo rm /var/lib/
lucky@lucken99:~$ sudo rm /var/cache/
lucky@lucken99:~$ sudo rm /var/lib/dpkg/lock
lucky@lucken99:~$ sudo cp -arf /var/lib/dpkg /var/lib/
lucky@lucken99:~$ sudo mv /var/lib/
lucky@lucken99:~$ sudo cp /var/lib/
lucky@lucken99:~$ sudo mv /var/lib/
lucky@lucken99:~$ sudo cp /var/lib/
cp: cannot stat '/var/lib/
lucky@lucken99:~$ sudo rm -rf /var/lib/
lucky@lucken99:~$ sudo rm -rf /var/lib/apt/lists
lucky@lucken99:~$ sudo rm /var/cache/
lucky@lucken99:~$ sudo mkdir /var/lib/apt/lists
lucky@lucken99:~$ sudo mkdir /var/lib/
lucky@lucken99:~$ LANG=C;sudo apt-get clean
lucky@lucken99:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
lucky@lucken99:~$ sudo dpkg --configure -a
lucky@lucken99:~$ sudo dpkg --clear-avail
lucky@lucken99:~$ 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.
lucky@lucken99:~$ 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.
lucky@lucken99:~$ 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.
lucky@lucken99:~$ LANG=C;sudo apt-get --fix-missing update -o APT::Cache-
Err:1 http://
Temporary failure resolving 'archive.
Err:2 http://
Temporary failure resolving 'archive.
0% [Working]^C
lucky@lucken99:~$ LANG=C;sudo apt-get update -o APT::Cache-
Err:1 http://
Temporary failure resolving 'archive.
0% [Connecting to archive.
lucky@lucken99:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;
/etc/apt/
1 # deb cdrom:[Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2)]/ 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. 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 ## 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://
44 # deb-src http://
45
46 deb http://
47 # deb-src http://
48 deb http://
49 # deb-src http://
50 deb http://
51 # deb-src http://
lucky@lucken99:~$ sudo dpkg --audit
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 lucky singh for more information if necessary.