Also terminal error when trying to install Ubuntu packages: ttf-arabeyes and ttf-kacst. Kindly advise, if possible.
done@ebok:~$ ubuntu-support-status
Support status summary of 'ebok':
You have 1600 packages (97.6%) supported until April 2023 (5y)
You have 25 packages (1.5%) supported until April 2021 (3y)
You have 2 packages (0.1%) that can not/no longer be downloaded
You have 12 packages (0.7%) that are unsupported
Run with --show-unsupported, --show-supported or --show-all to see more details
done@ebok:~$ cat /etc/dpkg/dpkg.cfg.d/multiarch
cat: /etc/dpkg/dpkg.cfg.d/multiarch: No such file or directory
done@ebok:~$ dpkg --print-foreign-architectures
i386
done@ebok:~$ sudo grep -R roxy /etc/apt/*
[sudo] password for done:
done@ebok:~$ grep roxy /etc/environment
done@ebok:~$ echo $http_proxy
done@ebok:~$ echo $ftp_proxy
done@ebok:~$ grep roxy /etc/bash.bashrc
done@ebok:~$ grep roxy ~/.bashrc
done@ebok:~$ cat /etc/apt/apt.conf
cat: /etc/apt/apt.conf: No such file or directory
done@ebok:~$ sudo fuser -vvv /var/lib/dpkg/lock
Specified file name /var/lib/dpkg/lock does not exist.
done@ebok:~$ sudo fuser -vvv /var/cache/apt/archives/lock
Specified file name /var/cache/apt/archives/lock does not exist.
done@ebok:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu Bionic Beaver (development branch)"
done@ebok:~$ uname -a
Linux ebok 4.13.0-17-generic #20-Ubuntu SMP Mon Nov 6 10:04:08 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
done@ebok:~$ sudo rm /var/lib/apt/lists/lock
rm: cannot remove '/var/lib/apt/lists/lock': No such file or directory
done@ebok:~$ sudo rm /var/cache/apt/archives/lock
rm: cannot remove '/var/cache/apt/archives/lock': No such file or directory
done@ebok:~$ sudo rm /var/lib/dpkg/lock
rm: cannot remove '/var/lib/dpkg/lock': No such file or directory
done@ebok:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
done@ebok:~$ sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
done@ebok:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status || sudo cp /var/backups/apt.extended_states.0 /var/lib/dpkg/status
done@ebok:~$ sudo mv /var/lib/dpkg/available /var/lib/dpkg/available-bad
mv: cannot stat '/var/lib/dpkg/available': No such file or directory
done@ebok:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
cp: cannot stat '/var/lib/dpkg/available-old': No such file or directory
done@ebok:~$ sudo rm -rf /var/lib/dpkg/updates/*
done@ebok:~$ sudo rm -rf /var/lib/apt/lists
done@ebok:~$ sudo rm /var/cache/apt/*.bin
done@ebok:~$ sudo mkdir /var/lib/apt/lists
done@ebok:~$ sudo mkdir /var/lib/apt/lists/partial
done@ebok:~$ LANG=C;sudo apt-get clean
done@ebok:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
W: Target Sources (restricted/source/Sources) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list:7
W: Target Packages (universe/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:50
W: Target Packages (universe/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:50
W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:50
W: Target Translations (universe/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:50
W: Target DEP-11 (universe/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:50
W: Target DEP-11 (universe/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:50
W: Target DEP-11-icons (universe/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:50
W: Target Sources (restricted/source/Sources) is configured multiple times in /etc/apt/sources.list:12 and /etc/apt/sources.list:13
W: Target Sources (restricted/source/Sources) is configured multiple times in /etc/apt/sources.list:35 and /etc/apt/sources.list:36
W: Target Sources (multiverse/source/Sources) is configured multiple times in /etc/apt/sources.list:35 and /etc/apt/sources.list:36
W: Target Sources (restricted/source/Sources) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:47
done@ebok:~$ sudo dpkg --configure -a
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3) ...
Processing triggers for menu (2.1.47ubuntu1) ...
Setting up synaptic (0.84.2) ...
Processing triggers for man-db (2.7.6.1-4) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu5) ...
Processing triggers for hicolor-icon-theme (0.17-1) ...
Processing triggers for menu (2.1.47ubuntu1) ...
done@ebok:~$ sudo dpkg --clear-avail
done@ebok:~$ 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.
done@ebok:~$ 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.
done@ebok:~$ 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.
done@ebok:~$ LANG=C;sudo apt-get --fix-missing update -o APT::Cache-Limit=100000000
Get:1 http://archive.ubuntu.com/ubuntu bionic InRelease [235 kB]
Get:2 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [65.4 kB]
Get:3 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [65.5 kB]
Get:4 http://archive.ubuntu.com/ubuntu bionic-security InRelease [65.4 kB]
Get:5 http://archive.ubuntu.com/ubuntu bionic/main Sources [830 kB]
Get:6 http://archive.ubuntu.com/ubuntu bionic/restricted Sources [5388 B]
Get:7 http://archive.ubuntu.com/ubuntu bionic/universe Sources [8981 kB]
Get:8 http://archive.ubuntu.com/ubuntu bionic/multiverse Sources [182 kB]
Get:9 http://archive.ubuntu.com/ubuntu bionic/main i386 Packages [1007 kB]
Get:10 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages [1010 kB]
Get:11 http://archive.ubuntu.com/ubuntu bionic/main Translation-en [518 kB]
Get:12 http://archive.ubuntu.com/ubuntu bionic/main amd64 DEP-11 Metadata [390 kB]
Get:13 http://archive.ubuntu.com/ubuntu bionic/main DEP-11 64x64 Icons [257 kB]
Get:14 http://archive.ubuntu.com/ubuntu bionic/universe i386 Packages [8315 kB]
Get:15 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages [8348 kB]
Get:16 http://archive.ubuntu.com/ubuntu bionic/universe Translation-en [4903 kB]
Get:17 http://archive.ubuntu.com/ubuntu bionic/universe amd64 DEP-11 Metadata [2929 kB]
Get:18 http://archive.ubuntu.com/ubuntu bionic/universe DEP-11 64x64 Icons [8418 kB]
Get:19 http://archive.ubuntu.com/ubuntu bionic/multiverse i386 Packages [144 kB]
Get:20 http://archive.ubuntu.com/ubuntu bionic/multiverse amd64 Packages [151 kB]
Get:21 http://archive.ubuntu.com/ubuntu bionic/multiverse Translation-en [109 kB]
Get:22 http://archive.ubuntu.com/ubuntu bionic/multiverse amd64 DEP-11 Metadata [40.7 kB]
Get:23 http://archive.ubuntu.com/ubuntu bionic/multiverse DEP-11 64x64 Icons [207 kB]
Fetched 47.2 MB in 33s (1427 kB/s)
Reading package lists... Done
W: Target Sources (restricted/source/Sources) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list:7
W: Target Packages (universe/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:50
W: Target Packages (universe/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:50
W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:50
W: Target Translations (universe/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:50
W: Target DEP-11 (universe/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:50
W: Target DEP-11 (universe/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:50
W: Target DEP-11-icons (universe/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:50
W: Target Sources (restricted/source/Sources) is configured multiple times in /etc/apt/sources.list:12 and /etc/apt/sources.list:13
W: Target Sources (restricted/source/Sources) is configured multiple times in /etc/apt/sources.list:35 and /etc/apt/sources.list:36
W: Target Sources (multiverse/source/Sources) is configured multiple times in /etc/apt/sources.list:35 and /etc/apt/sources.list:36
W: Target Sources (restricted/source/Sources) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:47
W: Target Sources (restricted/source/Sources) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list:7
W: Target Packages (universe/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:50
W: Target Packages (universe/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:50
W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:50
W: Target Translations (universe/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:50
W: Target DEP-11 (universe/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:50
W: Target DEP-11 (universe/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:50
W: Target DEP-11-icons (universe/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:50
W: Target Sources (restricted/source/Sources) is configured multiple times in /etc/apt/sources.list:12 and /etc/apt/sources.list:13
W: Target Sources (restricted/source/Sources) is configured multiple times in /etc/apt/sources.list:35 and /etc/apt/sources.list:36
W: Target Sources (multiverse/source/Sources) is configured multiple times in /etc/apt/sources.list:35 and /etc/apt/sources.list:36
W: Target Sources (restricted/source/Sources) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:47
done@ebok:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=100000000 && sudo apt-get dist-upgrade
Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:3 http://archive.ubuntu.com/ubuntu bionic-backports InRelease
Hit:4 http://archive.ubuntu.com/ubuntu bionic-security InRelease
Reading package lists... Done
W: Target Sources (restricted/source/Sources) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list:7
W: Target Packages (universe/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:50
W: Target Packages (universe/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:50
W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:50
W: Target Translations (universe/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:50
W: Target DEP-11 (universe/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:50
W: Target DEP-11 (universe/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:50
W: Target DEP-11-icons (universe/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:50
W: Target Sources (restricted/source/Sources) is configured multiple times in /etc/apt/sources.list:12 and /etc/apt/sources.list:13
W: Target Sources (restricted/source/Sources) is configured multiple times in /etc/apt/sources.list:35 and /etc/apt/sources.list:36
W: Target Sources (multiverse/source/Sources) is configured multiple times in /etc/apt/sources.list:35 and /etc/apt/sources.list:36
W: Target Sources (restricted/source/Sources) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:47
W: Target Sources (restricted/source/Sources) is configured multiple times in /etc/apt/sources.list:6 and /etc/apt/sources.list:7
W: Target Packages (universe/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:50
W: Target Packages (universe/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:50
W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:50
W: Target Translations (universe/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:50
W: Target DEP-11 (universe/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:50
W: Target DEP-11 (universe/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:50
W: Target DEP-11-icons (universe/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:18 and /etc/apt/sources.list:50
W: Target Sources (restricted/source/Sources) is configured multiple times in /etc/apt/sources.list:12 and /etc/apt/sources.list:13
W: Target Sources (restricted/source/Sources) is configured multiple times in /etc/apt/sources.list:35 and /etc/apt/sources.list:36
W: Target Sources (multiverse/source/Sources) is configured multiple times in /etc/apt/sources.list:35 and /etc/apt/sources.list:36
W: Target Sources (restricted/source/Sources) is configured multiple times in /etc/apt/sources.list:46 and /etc/apt/sources.list:47
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
adduser libcolord-gtk1 libfftw3-double3 libfftw3-single3 lsb-base lsb-release
6 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 1703 kB of archives.
After this operation, 24.6 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 adduser all 3.116ubuntu1 [163 kB]
Get:2 http://archive.ubuntu.com/ubuntu bionic/main amd64 lsb-base all 9.20170808ubuntu1 [12.5 kB]
Get:3 http://archive.ubuntu.com/ubuntu bionic/main amd64 lsb-release all 9.20170808ubuntu1 [11.0 kB]
Get:4 http://archive.ubuntu.com/ubuntu bionic/main amd64 libcolord-gtk1 amd64 0.1.26-2 [17.1 kB]
Get:5 http://archive.ubuntu.com/ubuntu bionic/main amd64 libfftw3-double3 amd64 3.3.7-1 [735 kB]
Get:6 http://archive.ubuntu.com/ubuntu bionic/main amd64 libfftw3-single3 amd64 3.3.7-1 [764 kB]
Fetched 1703 kB in 2s (787 kB/s)
Preconfiguring packages ...
(Reading database ... 131530 files and directories currently installed.)
Preparing to unpack .../adduser_3.116ubuntu1_all.deb ...
Unpacking adduser (3.116ubuntu1) over (3.113+nmu3ubuntu5) ...
Setting up adduser (3.116ubuntu1) ...
(Reading database ... 131528 files and directories currently installed.)
Preparing to unpack .../lsb-base_9.20170808ubuntu1_all.deb ...
Unpacking lsb-base (9.20170808ubuntu1) over (9.20160110ubuntu5) ...
Preparing to unpack .../lsb-release_9.20170808ubuntu1_all.deb ...
Unpacking lsb-release (9.20170808ubuntu1) over (9.20160110ubuntu5) ...
Preparing to unpack .../libcolord-gtk1_0.1.26-2_amd64.deb ...
Unpacking libcolord-gtk1:amd64 (0.1.26-2) over (0.1.26-1.1) ...
Preparing to unpack .../libfftw3-double3_3.3.7-1_amd64.deb ...
Unpacking libfftw3-double3:amd64 (3.3.7-1) over (3.3.6p2-2) ...
Preparing to unpack .../libfftw3-single3_3.3.7-1_amd64.deb ...
Unpacking libfftw3-single3:amd64 (3.3.7-1) over (3.3.6p2-2) ...
Setting up libcolord-gtk1:amd64 (0.1.26-2) ...
Setting up lsb-release (9.20170808ubuntu1) ...
Setting up libfftw3-double3:amd64 (3.3.7-1) ...
Setting up lsb-base (9.20170808ubuntu1) ...
Processing triggers for libc-bin (2.26-0ubuntu2) ...
Setting up libfftw3-single3:amd64 (3.3.7-1) ...
Processing triggers for man-db (2.7.6.1-4) ...
Processing triggers for libc-bin (2.26-0ubuntu2) ...
done@ebok:~$ 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 LTS _Bionic Beaver_ - Alpha amd64 (20171211)]/ 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
6 deb-src http://archive.ubuntu.com/ubuntu bionic multiverse main universe restricted #Added by software-properties
7 deb-src http://archive.ubuntu.com/ubuntu bionic restricted
8
9 ## Major bug fix updates produced after the final release of the
10 ## distribution.
11 deb http://archive.ubuntu.com/ubuntu bionic-updates main restricted
12 deb-src http://archive.ubuntu.com/ubuntu bionic-updates multiverse main universe restricted #Added by software-properties
13 deb-src http://archive.ubuntu.com/ubuntu bionic-updates restricted
14
15 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
16 ## team. Also, please note that software in universe WILL NOT receive any
17 ## review or updates from the Ubuntu security team.
18 deb http://archive.ubuntu.com/ubuntu bionic universe
19 deb http://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 http://archive.ubuntu.com/ubuntu bionic-updates multiverse
28
29 ## N.B. software from this repository may not have been tested as
30 ## extensively as that contained in the main release, although it includes
31 ## newer versions of some applications which may provide useful features.
32 ## Also, please note that software in backports WILL NOT receive any review
33 ## or updates from the Ubuntu security team.
34 deb http://archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse
35 deb-src http://archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse #Added by software-properties
36 deb-src http://archive.ubuntu.com/ubuntu bionic-backports restricted multiverse
37
38 ## Uncomment the following two lines to add software from Canonical's
39 ## 'partner' repository.
40 ## This software is not part of Ubuntu, but is offered by Canonical and the
41 ## respective vendors as a service to Ubuntu users.
42 # deb http://archive.canonical.com/ubuntu bionic partner
43 # deb-src http://archive.canonical.com/ubuntu bionic partner
44
45 deb http://archive.ubuntu.com/ubuntu bionic-security main restricted
46 deb-src http://archive.ubuntu.com/ubuntu bionic-security multiverse main universe restricted #Added by software-properties
47 deb-src http://archive.ubuntu.com/ubuntu bionic-security restricted
48 deb http://archive.ubuntu.com/ubuntu bionic-security universe
49 deb http://archive.ubuntu.com/ubuntu bionic-security multiverse
50 deb http://archive.ubuntu.com/ubuntu bionic universe
done@ebok:~$ sudo dpkg --audit
done@ebok:~$