The package ttf-mscorefonts-installer needs to be reinstalled, but I can't find an archive for it
Here is my terminal output...
bimali@bimali-pc:~$ ubuntu-
Traceback (most recent call last):
File "/usr/bin/
with apt.Cache() as cache:
File "/usr/lib/
self.
File "/usr/lib/
self._depcache = apt_pkg.
apt_pkg.Error: E:The package ttf-mscorefonts
bimali@bimali-pc:~$ cat /etc/dpkg/
cat: /etc/dpkg/
bimali@bimali-pc:~$ dpkg --print-
i386
bimali@bimali-pc:~$ sudo grep -R roxy /etc/apt/*
[sudo] password for bimali:
bimali@bimali-pc:~$ grep roxy /etc/environment
http_proxy=http://
https_proxy=http://
all_proxy=http://
bimali@bimali-pc:~$ echo $http_proxy
http://
bimali@bimali-pc:~$ echo $ftp_proxy
bimali@bimali-pc:~$ grep roxy /etc/bash.bashrc
bimali@bimali-pc:~$ grep roxy ~/.bashrc
bimali@bimali-pc:~$ cat /etc/apt/apt.conf
cat: /etc/apt/apt.conf: No such file or directory
bimali@bimali-pc:~$ sudo fuser -vvv /var/lib/dpkg/lock
bimali@bimali-pc:~$ sudo fuser -vvv /var/cache/
bimali@bimali-pc:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
bimali@bimali-pc:~$ uname -a
Linux bimali-pc 4.15.0-22-generic #24-Ubuntu SMP Wed May 16 12:15:17 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
bimali@bimali-pc:~$
bimali@bimali-pc:~$ sudo rm /var/lib/
bimali@bimali-pc:~$ sudo rm /var/cache/
bimali@bimali-pc:~$ sudo rm /var/lib/dpkg/lock
bimali@bimali-pc:~$ sudo cp -arf /var/lib/dpkg /var/lib/
bimali@bimali-pc:~$ sudo mv /var/lib/
bimali@bimali-pc:~$ sudo cp /var/lib/
bimali@bimali-pc:~$ sudo mv /var/lib/
bimali@bimali-pc:~$ sudo cp /var/lib/
cp: cannot stat '/var/lib/
bimali@bimali-pc:~$ sudo rm -rf /var/lib/
bimali@bimali-pc:~$ sudo rm -rf /var/lib/apt/lists
bimali@bimali-pc:~$ sudo rm /var/cache/
bimali@bimali-pc:~$ sudo mkdir /var/lib/apt/lists
bimali@bimali-pc:~$ sudo mkdir /var/lib/
bimali@bimali-pc:~$ LANG=C;sudo apt-get clean
bimali@bimali-pc:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
bimali@bimali-pc:~$ sudo dpkg --configure -a
Setting up mysql-server-5.7 (5.7.23-
Checking if update is needed.
This installation of MySQL is already upgraded to 5.7.23, use --force if you still need to run mysql_upgrade
Setting up libopencore-
Processing triggers for libc-bin (2.27-3ubuntu1) ...
bimali@bimali-pc:~$ sudo dpkg --clear-avail
bimali@bimali-pc:~$ LANG=C;sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package ttf-mscorefonts
bimali@bimali-pc:~$
bimali@bimali-pc:~$ LANG=C;sudo apt-get --fix-missing install
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package ttf-mscorefonts
bimali@bimali-pc:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package ttf-mscorefonts
bimali@bimali-pc:~$ LANG=C;sudo apt-get --fix-missing update -o APT::Cache-
Ign:1 cdrom://Ubuntu 17.10 _Artful Aardvark_ - Release amd64 (20180105.1) artful InRelease
Err:2 cdrom://Ubuntu 17.10 _Artful Aardvark_ - Release amd64 (20180105.1) artful Release
Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Err:3 http://
Could not resolve 'cachex.pdn.ac.lk'
Err:4 http://
Could not resolve 'cachex.pdn.ac.lk'
Err:5 http://
Could not resolve 'cachex.pdn.ac.lk'
Err:6 http://
Could not resolve 'cachex.pdn.ac.lk'
Err:7 http://
Could not resolve 'cachex.pdn.ac.lk'
Reading package lists... Done
E: The repository 'cdrom://Ubuntu 17.10 _Artful Aardvark_ - Release amd64 (20180105.1) artful Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
bimali@bimali-pc:~$ LANG=C;sudo apt-get update -o APT::Cache-
Ign:1 cdrom://Ubuntu 17.10 _Artful Aardvark_ - Release amd64 (20180105.1) artful InRelease
Err:2 cdrom://Ubuntu 17.10 _Artful Aardvark_ - Release amd64 (20180105.1) artful Release
Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Err:3 http://
Could not resolve 'cachex.pdn.ac.lk'
Err:4 http://
Could not resolve 'cachex.pdn.ac.lk'
Err:5 http://
Could not resolve 'cachex.pdn.ac.lk'
Err:6 http://
Could not resolve 'cachex.pdn.ac.lk'
Err:7 http://
Could not resolve 'cachex.pdn.ac.lk'
Reading package lists... Done
E: The repository 'cdrom://Ubuntu 17.10 _Artful Aardvark_ - Release amd64 (20180105.1) artful Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
bimali@bimali-pc:~$
bimali@bimali-pc:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;
/etc/apt/
1 deb cdrom:[Ubuntu 17.10 _Artful Aardvark_ - Release amd64 (20180105.1)]/ artful 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://
/etc/apt/
1 # deb http://
2 # deb-src http://
bimali@bimali-pc:~$ sudo dpkg --audit
The following packages are in a mess due to serious problems during
installation. They must be reinstalled for them (and any packages
that depend on them) to function properly:
ttf-mscorefont
The following packages are missing the list control file in the
database, they need to be reinstalled:
ttf-mscorefont
The following packages are missing the md5sums control file in the
database, they need to be reinstalled:
ttf-mscorefont
bimali@bimali-pc:~$
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Ranmuthu Bimali Buddhi
- Solved:
- Last query:
- Last reply: