The package ttf-mscorefonts-installer needs to be reinstalled, but I can't find an archive for it

Asked by Fred Salter

I just upgraded to 12.04 & tried to install the restricted extras. I am unable to launch both the Software Update and Software & Updates. I get the following error message:

The package ttf-mscorefonts-installer needs to be reinstalled, but I can't find an archive for it

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu software-center Edit question
Assignee:
No assignee Edit question
Solved by:
Fred Salter
Solved:
Last query:
Last reply:
Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#1

Please first close all open programs (including Ubuntu Software Center).

Then make sure to delete all configuration lines that contain the word cdrom in the /etc/apt/sources.list file (if cdrom is mentioned in that file).

You can edit the file using this Terminal command:

gksudo gedit /etc/apt/sources.list

Then follow this procedure:

https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure

Please send us the full Terminal output from step 5 in the procedure.

Please post the Terminal output here:

https://answers.launchpad.net/ubuntu/+source/software-center/+question/232087

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

What is the output of :

lsb_release -a; uname -a; dpkg -l | grep ttf-mscorefonts-installer

Thanks

Revision history for this message
Fred Salter (taipan4000) said :
#3

Hello Mark,

Please find output as requested. It appears that the process you suggested has fixed the problem. Both the Software Updater and the Ubuntu Software Centre now launch without any issue.

Thank you,
Fred

fred@dell:~$ lsb_release -a; uname -a; dpkg -l | grep ttf-mscorefonts-installer
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 13.04
Release: 13.04
Codename: raring
Linux Vos 3.8.0-26-generic #38-Ubuntu SMP Mon Jun 17 21:46:08 UTC 2013 i686 i686 i686 GNU/Linux
iHR ttf-mscorefonts-installer 3.4+nmu1ubuntu1 all (no description available)
fred@dell:~$ clear

fred@dell:~$ gksudo gedit /etc/apt/sources.list
GNOME_SUDO_PASS
sudo: 1 incorrect password attempt
fred@dell:~$ sudo grep -R proxy /etc/apt/*
[sudo] password for ivan:
fred@dell:~$ grep proxy /etc/environment
fred@dell:~$ echo $http_proxy

fred@dell:~$ echo $ftp_proxy

fred@dell:~$ grep proxy /etc/bash.bashrc
fred@dell:~$ grep proxy ~/.bashrc
fred@dell:~$ cat /etc/apt/apt.conf
cat: /etc/apt/apt.conf: No such file or directory
fred@dell:~$ sudo fuser -vvv /var/lib/dpkg/lock
fred@dell:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=13.04
DISTRIB_CODENAME=raring
DISTRIB_DESCRIPTION="Ubuntu 13.04"
fred@dell:~$ uname -a
Linux Vos 3.8.0-26-generic #38-Ubuntu SMP Mon Jun 17 21:46:08 UTC 2013 i686 i686 i686 GNU/Linux
fred@dell:~$ sudo rm /var/lib/apt/lists/lock
fred@dell:~$ sudo rm /var/lib/dpkg/lock
fred@dell:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
fred@dell:~$ sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
fred@dell:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status || sudo cp /var/backups/apt.extended_states.0 /var/lib/dpkg/statusfred@dell:~$ sudo mv /var/lib/dpkg/available /var/lib/dpkg/available-bad
fred@dell:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
fred@dell:~$ sudo rm -rf /var/lib/dpkg/updates/*
fred@dell:~$ sudo rm -rf /var/lib/apt/lists
fred@dell:~$ sudo rm /var/cache/apt/*.bin
fred@dell:~$ sudo mkdir /var/lib/apt/lists
fred@dell:~$ sudo mkdir /var/lib/apt/lists/partial
fred@dell:~$ LANG=C;sudo apt-get clean
fred@dell:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
fred@dell:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package ttf-mscorefonts-installer needs to be reinstalled, but I can't find an archive for it.
fred@dell:~$ LANG=C;sudo apt-get --fix-missing update -o APT::Cache-Limit=100000000
Get:1 http://mirror.internode.on.net raring Release.gpg [933 B]
Get:2 http://mirror.internode.on.net raring-updates Release.gpg [933 B]
Get:3 http://mirror.internode.on.net raring-security Release.gpg [933 B]
Get:4 http://mirror.internode.on.net raring Release [40.8 kB]
Get:5 http://mirror.internode.on.net raring-updates Release [40.8 kB]
Get:6 http://mirror.internode.on.net raring-security Release [40.8 kB]
Get:7 http://mirror.internode.on.net raring/main Sources [963 kB]
Get:8 http://archive.canonical.com raring Release.gpg [933 B]
Get:9 http://extras.ubuntu.com raring Release.gpg [72 B]
Get:10 http://extras.ubuntu.com raring Release [9756 B]
Get:11 http://archive.canonical.com raring Release [5919 B]
Get:12 http://archive.canonical.com raring/partner i386 Packages [3799 B]
Get:13 http://extras.ubuntu.com raring/main Sources [14 B]
Get:14 http://extras.ubuntu.com raring/main i386 Packages [14 B]
Get:15 http://mirror.internode.on.net raring/restricted Sources [5987 B]
Get:16 http://mirror.internode.on.net raring/universe Sources [5838 kB]
Ign http://archive.canonical.com raring/partner Translation-en
Ign http://extras.ubuntu.com raring/main Translation-en
Get:17 http://mirror.internode.on.net raring/multiverse Sources [171 kB]
Get:18 http://mirror.internode.on.net raring/main i386 Packages [1168 kB]
Get:19 http://mirror.internode.on.net raring/restricted i386 Packages [9623 B]
Get:20 http://mirror.internode.on.net raring/universe i386 Packages [5405 kB]
Get:21 http://mirror.internode.on.net raring/multiverse i386 Packages [131 kB]
Get:22 http://mirror.internode.on.net raring/main Translation-en [673 kB]
Get:23 http://mirror.internode.on.net raring/multiverse Translation-en [98.4 kB]
Get:24 http://mirror.internode.on.net raring/restricted Translation-en [2767 B]
Get:25 http://mirror.internode.on.net raring/universe Translation-en [3736 kB]
Get:26 http://mirror.internode.on.net raring-updates/main Sources [46.7 kB]
Get:27 http://mirror.internode.on.net raring-updates/restricted Sources [14 B]
Get:28 http://mirror.internode.on.net raring-updates/universe Sources [61.2 kB]
Get:29 http://mirror.internode.on.net raring-updates/multiverse Sources [690 B]
Get:30 http://mirror.internode.on.net raring-updates/main i386 Packages [120 kB]
Get:31 http://mirror.internode.on.net raring-updates/restricted i386 Packages [14 B]
Get:32 http://mirror.internode.on.net raring-updates/universe i386 Packages [110 kB]
Get:33 http://mirror.internode.on.net raring-updates/multiverse i386 Packages [1403 B]
Get:34 http://mirror.internode.on.net raring-updates/main Translation-en [59.3 kB]
Get:35 http://mirror.internode.on.net raring-updates/multiverse Translation-en [587 B]
Get:36 http://mirror.internode.on.net raring-updates/restricted Translation-en [14 B]
Get:37 http://mirror.internode.on.net raring-updates/universe Translation-en [60.0 kB]
Get:38 http://mirror.internode.on.net raring-security/main Sources [29.3 kB]
Get:39 http://mirror.internode.on.net raring-security/restricted Sources [14 B]
Get:40 http://mirror.internode.on.net raring-security/universe Sources [6506 B]
Get:41 http://mirror.internode.on.net raring-security/multiverse Sources [690 B]
Get:42 http://mirror.internode.on.net raring-security/main i386 Packages [78.6 kB]
Get:43 http://mirror.internode.on.net raring-security/restricted i386 Packages [14 B]
Get:44 http://mirror.internode.on.net raring-security/universe i386 Packages [23.1 kB]
Get:45 http://mirror.internode.on.net raring-security/multiverse i386 Packages [1403 B]
Get:46 http://mirror.internode.on.net raring-security/main Translation-en [41.2 kB]
Get:47 http://mirror.internode.on.net raring-security/multiverse Translation-en [587 B]
Get:48 http://mirror.internode.on.net raring-security/restricted Translation-en [14 B]
Get:49 http://mirror.internode.on.net raring-security/universe Translation-en [14.8 kB]
Fetched 19.0 MB in 60s (313 kB/s)
Reading package lists... Done
fred@dell:~$ sudo dpkg --configure -a
Processing triggers for man-db ...
Setting up libgles2-mesa:i386 (9.1.3-0ubuntu0.3) ...
Setting up liboil0.3:i386 (0.3.17-2ubuntu3) ...
Setting up libmjpegutils-2.0-0 (1:2.0.0+debian-2ubuntu1) ...
Setting up libmpg123-0:i386 (1.14.4-1) ...
Setting up cabextract (1.4-4) ...
Setting up libmpeg2encpp-2.0-0 (1:2.0.0+debian-2ubuntu1) ...
Setting up libmplex2-2.0-0 (1:2.0.0+debian-2ubuntu1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
fred@dell:~$ sudo dpkg --clear-avail
fred@dell:~$ LANG=C;sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  ttf-mscorefonts-installer
The following packages will be upgraded:
  ttf-mscorefonts-installer
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 27.8 kB of archives.
After this operation, 134 kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://mirror.internode.on.net/pub/ubuntu/ubuntu/ raring/multiverse ttf-mscorefonts-installer all 3.4+nmu1ubuntu1 [27.8 kB]
Fetched 27.8 kB in 0s (81.7 kB/s)
Preconfiguring packages ...
(Reading database ... 203526 files and directories currently installed.)
Preparing to replace ttf-mscorefonts-installer 3.4+nmu1ubuntu1 (using .../ttf-mscorefonts-installer_3.4+nmu1ubuntu1_all.deb) ...
Unpacking replacement ttf-mscorefonts-installer ...
Processing triggers for update-notifier-common ...
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/andale32.exe
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/arial32.exe
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/arialb32.exe
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/comic32.exe
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/courie32.exe
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/georgi32.exe
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/impact32.exe
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/times32.exe
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/trebuc32.exe
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/verdan32.exe
ttf-mscorefonts-installer: downloading http://downloads.sourceforge.net/corefonts/webdin32.exe

These fonts were provided by Microsoft "in the interest of cross-
platform compatibility". This is no longer the case, but they are
still available from third parties.

You are free to download these fonts and use them for your own use,
but you may not redistribute them in modified form, including changes
to the file name or packaging format.

Extracting cabinet: /tmp/tmpQ_SsPC.exe
  extracting fontinst.inf
  extracting andale.inf
  extracting fontinst.exe
  extracting AndaleMo.TTF
  extracting ADVPACK.DLL
  extracting W95INF32.DLL
  extracting W95INF16.DLL

All done, no errors.
Extracting cabinet: /tmp/tmpaTzyQM.exe
  extracting FONTINST.EXE
  extracting fontinst.inf
  extracting Ariali.TTF
  extracting Arialbd.TTF
  extracting Arialbi.TTF
  extracting Arial.TTF

All done, no errors.
Extracting cabinet: /tmp/tmpX2XI98.exe
  extracting fontinst.exe
  extracting fontinst.inf
  extracting AriBlk.TTF

All done, no errors.
Extracting cabinet: /tmp/tmpuQbri8.exe
  extracting fontinst.inf
  extracting Comicbd.TTF
  extracting Comic.TTF
  extracting fontinst.exe

All done, no errors.
Extracting cabinet: /tmp/tmpbKgQYf.exe
  extracting cour.ttf
  extracting courbd.ttf
  extracting courbi.ttf
  extracting fontinst.inf
  extracting couri.ttf
  extracting fontinst.exe

All done, no errors.
Extracting cabinet: /tmp/tmpvAJpWW.exe
  extracting fontinst.inf
  extracting Georgiaz.TTF
  extracting Georgiab.TTF
  extracting Georgiai.TTF
  extracting Georgia.TTF
  extracting fontinst.exe

All done, no errors.
Extracting cabinet: /tmp/tmplE7hXk.exe
  extracting fontinst.exe
  extracting Impact.TTF
  extracting fontinst.inf

All done, no errors.
Extracting cabinet: /tmp/tmpT49aGx.exe
  extracting fontinst.inf
  extracting Times.TTF
  extracting Timesbd.TTF
  extracting Timesbi.TTF
  extracting Timesi.TTF
  extracting FONTINST.EXE

All done, no errors.
Extracting cabinet: /tmp/tmpa4_rAn.exe
  extracting FONTINST.EXE
  extracting trebuc.ttf
  extracting Trebucbd.ttf
  extracting trebucbi.ttf
  extracting trebucit.ttf
  extracting fontinst.inf

All done, no errors.
Extracting cabinet: /tmp/tmpCKGUEU.exe
  extracting fontinst.exe
  extracting fontinst.inf
  extracting Verdanab.TTF
  extracting Verdanai.TTF
  extracting Verdanaz.TTF
  extracting Verdana.TTF

All done, no errors.
Extracting cabinet: /tmp/tmpsbPkvP.exe
  extracting fontinst.exe
  extracting Webdings.TTF
  extracting fontinst.inf
  extracting Licen.TXT

All done, no errors.
All fonts downloaded and installed.
Processing triggers for fontconfig ...
Setting up ttf-mscorefonts-installer (3.4+nmu1ubuntu1) ...
fred@dell:~$ 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.
fred@dell:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=100000000 && sudo apt-get dist-upgrade
Hit http://mirror.internode.on.net raring Release.gpg
Hit http://mirror.internode.on.net raring-updates Release.gpg
Hit http://mirror.internode.on.net raring-security Release.gpg
Hit http://mirror.internode.on.net raring Release
Hit http://mirror.internode.on.net raring-updates Release
Hit http://mirror.internode.on.net raring-security Release
Hit http://mirror.internode.on.net raring/main Sources
Hit http://mirror.internode.on.net raring/restricted Sources
Hit http://mirror.internode.on.net raring/universe Sources
Hit http://mirror.internode.on.net raring/multiverse Sources
Hit http://mirror.internode.on.net raring/main i386 Packages
Hit http://mirror.internode.on.net raring/restricted i386 Packages
Hit http://mirror.internode.on.net raring/universe i386 Packages
Hit http://mirror.internode.on.net raring/multiverse i386 Packages
Hit http://archive.canonical.com raring Release.gpg
Hit http://extras.ubuntu.com raring Release.gpg
Hit http://mirror.internode.on.net raring/main Translation-en
Hit http://mirror.internode.on.net raring/multiverse Translation-en
Hit http://mirror.internode.on.net raring/restricted Translation-en
Hit http://mirror.internode.on.net raring/universe Translation-en
Hit http://mirror.internode.on.net raring-updates/main Sources
Hit http://mirror.internode.on.net raring-updates/restricted Sources
Hit http://archive.canonical.com raring Release
Hit http://mirror.internode.on.net raring-updates/universe Sources
Hit http://extras.ubuntu.com raring Release
Hit http://mirror.internode.on.net raring-updates/multiverse Sources
Hit http://mirror.internode.on.net raring-updates/main i386 Packages
Hit http://mirror.internode.on.net raring-updates/restricted i386 Packages
Hit http://mirror.internode.on.net raring-updates/universe i386 Packages
Hit http://mirror.internode.on.net raring-updates/multiverse i386 Packages
Hit http://mirror.internode.on.net raring-updates/main Translation-en
Hit http://mirror.internode.on.net raring-updates/multiverse Translation-en
Hit http://archive.canonical.com raring/partner i386 Packages
Hit http://mirror.internode.on.net raring-updates/restricted Translation-en
Hit http://extras.ubuntu.com raring/main Sources
Hit http://mirror.internode.on.net raring-updates/universe Translation-en
Hit http://mirror.internode.on.net raring-security/main Sources
Hit http://mirror.internode.on.net raring-security/restricted Sources
Hit http://mirror.internode.on.net raring-security/universe Sources
Hit http://mirror.internode.on.net raring-security/multiverse Sources
Hit http://mirror.internode.on.net raring-security/main i386 Packages
Hit http://extras.ubuntu.com raring/main i386 Packages
Hit http://mirror.internode.on.net raring-security/restricted i386 Packages
Hit http://mirror.internode.on.net raring-security/universe i386 Packages
Hit http://mirror.internode.on.net raring-security/multiverse i386 Packages
Hit http://mirror.internode.on.net raring-security/main Translation-en
Hit http://mirror.internode.on.net raring-security/multiverse Translation-en
Hit http://mirror.internode.on.net raring-security/restricted Translation-en
Hit http://mirror.internode.on.net raring-security/universe Translation-en
Ign http://archive.canonical.com raring/partner Translation-en
Ign http://extras.ubuntu.com raring/main Translation-en
Reading package lists... Done
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.
fred@dell:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

/etc/apt/sources.list

     1
     2 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     3 # newer versions of the distribution.
     4 deb http://mirror.internode.on.net/pub/ubuntu/ubuntu/ raring main restricted
     5 deb-src http://mirror.internode.on.net/pub/ubuntu/ubuntu/ raring main restricted
     6
     7 ## Major bug fix updates produced after the final release of the
     8 ## distribution.
     9 deb http://mirror.internode.on.net/pub/ubuntu/ubuntu/ raring-updates main restricted
    10 deb-src http://mirror.internode.on.net/pub/ubuntu/ubuntu/ raring-updates main restricted
    11
    12 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    13 ## team. Also, please note that software in universe WILL NOT receive any
    14 ## review or updates from the Ubuntu security team.
    15 deb http://mirror.internode.on.net/pub/ubuntu/ubuntu/ raring universe
    16 deb-src http://mirror.internode.on.net/pub/ubuntu/ubuntu/ raring universe
    17 deb http://mirror.internode.on.net/pub/ubuntu/ubuntu/ raring-updates universe
    18 deb-src http://mirror.internode.on.net/pub/ubuntu/ubuntu/ raring-updates universe
    19
    20 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    21 ## team, and may not be under a free licence. Please satisfy yourself as to
    22 ## your rights to use the software. Also, please note that software in
    23 ## multiverse WILL NOT receive any review or updates from the Ubuntu
    24 ## security team.
    25 deb http://mirror.internode.on.net/pub/ubuntu/ubuntu/ raring multiverse
    26 deb-src http://mirror.internode.on.net/pub/ubuntu/ubuntu/ raring multiverse
    27 deb http://mirror.internode.on.net/pub/ubuntu/ubuntu/ raring-updates multiverse
    28 deb-src http://mirror.internode.on.net/pub/ubuntu/ubuntu/ raring-updates multiverse
    29
    30 ## Uncomment the following two lines to add software from the 'backports'
    31 ## repository.
    32 ## N.B. software from this repository may not have been tested as
    33 ## extensively as that contained in the main release, although it includes
    34 ## newer versions of some applications which may provide useful features.
    35 ## Also, please note that software in backports WILL NOT receive any review
    36 ## or updates from the Ubuntu security team.
    37 # deb http://au.archive.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse
    38 # deb-src http://au.archive.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse
    39
    40 deb http://mirror.internode.on.net/pub/ubuntu/ubuntu/ raring-security main restricted
    41 deb-src http://mirror.internode.on.net/pub/ubuntu/ubuntu/ raring-security main restricted
    42 deb http://mirror.internode.on.net/pub/ubuntu/ubuntu/ raring-security universe
    43 deb-src http://mirror.internode.on.net/pub/ubuntu/ubuntu/ raring-security universe
    44 deb http://mirror.internode.on.net/pub/ubuntu/ubuntu/ raring-security multiverse
    45 deb-src http://mirror.internode.on.net/pub/ubuntu/ubuntu/ raring-security multiverse
    46
    47 ## Uncomment the following two lines to add software from Canonical's
    48 ## 'partner' repository.
    49 ## This software is not part of Ubuntu, but is offered by Canonical and the
    50 ## respective vendors as a service to Ubuntu users.
    51 deb http://archive.canonical.com/ubuntu raring partner
    52 # deb-src http://archive.canonical.com/ubuntu natty partner
    53
    54 ## This software is not part of Ubuntu, but is offered by third-party
    55 ## developers who want to ship their latest software.
    56 deb http://extras.ubuntu.com/ubuntu raring main
    57 deb-src http://extras.ubuntu.com/ubuntu raring main
fred@dell:~$

Revision history for this message
Kassius (kassiusvargasprestes) said :
#4

I have the same problem here.
I've tried the step 5 of the instructions and it still doesn't work.

Here's the output:

marcely@nlp233-POS-ECMCP73TVAR:~$ ubuntu-support-status
Traceback (most recent call last):
  File "/usr/bin/ubuntu-support-status", line 120, in <module>
    with apt.Cache() as cache:
  File "/usr/lib/python3/dist-packages/apt/cache.py", line 105, in __init__
    self.open(progress)
  File "/usr/lib/python3/dist-packages/apt/cache.py", line 151, in open
    self._depcache = apt_pkg.DepCache(self._cache)
SystemError: E:The package ttf-mscorefonts-installer needs to be reinstalled, but I can't find an archive for it.
marcely@nlp233-POS-ECMCP73TVAR:~$
marcely@nlp233-POS-ECMCP73TVAR:~$ sudo grep -R proxy /etc/apt/*
marcely@nlp233-POS-ECMCP73TVAR:~$
marcely@nlp233-POS-ECMCP73TVAR:~$ grep proxy /etc/environment
marcely@nlp233-POS-ECMCP73TVAR:~$
marcely@nlp233-POS-ECMCP73TVAR:~$ echo $http_proxy

marcely@nlp233-POS-ECMCP73TVAR:~$
marcely@nlp233-POS-ECMCP73TVAR:~$ echo $ftp_proxy

marcely@nlp233-POS-ECMCP73TVAR:~$
marcely@nlp233-POS-ECMCP73TVAR:~$ grep proxy /etc/bash.bashrc
marcely@nlp233-POS-ECMCP73TVAR:~$
marcely@nlp233-POS-ECMCP73TVAR:~$ grep proxy ~/.bashrc
marcely@nlp233-POS-ECMCP73TVAR:~$
marcely@nlp233-POS-ECMCP73TVAR:~$ cat /etc/apt/apt.conf
cat: /etc/apt/apt.conf: No such file or directory
marcely@nlp233-POS-ECMCP73TVAR:~$
marcely@nlp233-POS-ECMCP73TVAR:~$ sudo fuser -vvv /var/lib/dpkg/lock
marcely@nlp233-POS-ECMCP73TVAR:~$
marcely@nlp233-POS-ECMCP73TVAR:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=13.10
DISTRIB_CODENAME=saucy
DISTRIB_DESCRIPTION="Ubuntu 13.10"
marcely@nlp233-POS-ECMCP73TVAR:~$
marcely@nlp233-POS-ECMCP73TVAR:~$ uname -a
Linux nlp233-POS-ECMCP73TVAR 3.11.0-13-generic #20-Ubuntu SMP Wed Oct 23 17:26:33 UTC 2013 i686 i686 i686 GNU/Linux
marcely@nlp233-POS-ECMCP73TVAR:~$
marcely@nlp233-POS-ECMCP73TVAR:~$ sudo rm /var/lib/apt/lists/lock
marcely@nlp233-POS-ECMCP73TVAR:~$
marcely@nlp233-POS-ECMCP73TVAR:~$ sudo rm /var/lib/dpkg/lock
marcely@nlp233-POS-ECMCP73TVAR:~$
marcely@nlp233-POS-ECMCP73TVAR:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
marcely@nlp233-POS-ECMCP73TVAR:~$
marcely@nlp233-POS-ECMCP73TVAR:~$ sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
marcely@nlp233-POS-ECMCP73TVAR:~$
marcely@nlp233-POS-ECMCP73TVAR:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status || sudo cp /var/backups/apt.extended_states.0 /var/lib/dpkg/status
marcely@nlp233-POS-ECMCP73TVAR:~$
marcely@nlp233-POS-ECMCP73TVAR:~$ sudo mv /var/lib/dpkg/available /var/lib/dpkg/available-bad
marcely@nlp233-POS-ECMCP73TVAR:~$
marcely@nlp233-POS-ECMCP73TVAR:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
marcely@nlp233-POS-ECMCP73TVAR:~$
marcely@nlp233-POS-ECMCP73TVAR:~$ sudo rm -rf /var/lib/dpkg/updates/*
marcely@nlp233-POS-ECMCP73TVAR:~$
marcely@nlp233-POS-ECMCP73TVAR:~$ sudo rm -rf /var/lib/apt/lists
marcely@nlp233-POS-ECMCP73TVAR:~$
marcely@nlp233-POS-ECMCP73TVAR:~$ sudo rm /var/cache/apt/*.bin
marcely@nlp233-POS-ECMCP73TVAR:~$
marcely@nlp233-POS-ECMCP73TVAR:~$ sudo mkdir /var/lib/apt/lists
marcely@nlp233-POS-ECMCP73TVAR:~$
marcely@nlp233-POS-ECMCP73TVAR:~$ sudo mkdir /var/lib/apt/lists/partial
marcely@nlp233-POS-ECMCP73TVAR:~$
marcely@nlp233-POS-ECMCP73TVAR:~$ LANG=C;sudo apt-get clean
marcely@nlp233-POS-ECMCP73TVAR:~$
marcely@nlp233-POS-ECMCP73TVAR:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
marcely@nlp233-POS-ECMCP73TVAR:~$
marcely@nlp233-POS-ECMCP73TVAR:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package ttf-mscorefonts-installer needs to be reinstalled, but I can't find an archive for it.
marcely@nlp233-POS-ECMCP73TVAR:~$
marcely@nlp233-POS-ECMCP73TVAR:~$ LANG=C;sudo apt-get --fix-missing update -o APT::Cache-Limit=100000000
Ign http://br.archive.ubuntu.com saucy InRelease
Ign http://br.archive.ubuntu.com saucy-updates InRelease
Ign http://br.archive.ubuntu.com saucy-backports InRelease
Get:1 http://br.archive.ubuntu.com saucy Release.gpg [933 B]
Get:2 http://br.archive.ubuntu.com saucy-updates Release.gpg [933 B]
Get:3 http://br.archive.ubuntu.com saucy-backports Release.gpg [933 B]
Get:4 http://br.archive.ubuntu.com saucy Release [49,6 kB]
Get:5 http://br.archive.ubuntu.com saucy-updates Release [49,6 kB]
Get:6 http://br.archive.ubuntu.com saucy-backports Release [49,6 kB]
Get:7 http://br.archive.ubuntu.com saucy/main Sources [1.009 kB]
Ign http://security.ubuntu.com saucy-security InRelease
Ign http://extras.ubuntu.com saucy InRelease
Get:8 http://security.ubuntu.com saucy-security Release.gpg [933 B]
Get:9 http://extras.ubuntu.com saucy Release.gpg [72 B]
Get:10 http://br.archive.ubuntu.com saucy/restricted Sources [4.759 B]
Get:11 http://br.archive.ubuntu.com saucy/universe Sources [6.108 kB]
Get:12 http://security.ubuntu.com saucy-security Release [49,6 kB]
Get:13 http://extras.ubuntu.com saucy Release [9.753 B]
Get:14 http://extras.ubuntu.com saucy/main Sources [14 B]
Get:15 http://extras.ubuntu.com saucy/main i386 Packages [14 B]
Get:16 http://security.ubuntu.com saucy-security/main Sources [14,3 kB]
Get:17 http://security.ubuntu.com saucy-security/restricted Sources [14 B]
Get:18 http://security.ubuntu.com saucy-security/universe Sources [6.794 B]
Get:19 http://br.archive.ubuntu.com saucy/main i386 Packages [1.238 kB]
Ign http://extras.ubuntu.com saucy/main Translation-en
Get:20 http://security.ubuntu.com saucy-security/main i386 Packages [42,4 kB]
Get:21 http://br.archive.ubuntu.com saucy/restricted i386 Packages [9.688 B]
Get:22 http://br.archive.ubuntu.com saucy/universe i386 Packages [5.652 kB]
Get:23 http://security.ubuntu.com saucy-security/restricted i386 Packages [14 B]
Get:24 http://security.ubuntu.com saucy-security/universe i386 Packages [17,6 kB]
Get:25 http://security.ubuntu.com saucy-security/main Translation-en [19,9 kB]
Get:26 http://security.ubuntu.com saucy-security/restricted Translation-en [14 B]
Get:27 http://br.archive.ubuntu.com saucy/main Translation-en [711 kB]
Get:28 http://security.ubuntu.com saucy-security/universe Translation-en [10,9 kB]
Get:29 http://br.archive.ubuntu.com saucy/restricted Translation-en [2.686 B]
Get:30 http://br.archive.ubuntu.com saucy/universe Translation-en [3.886 kB]
Get:31 http://br.archive.ubuntu.com saucy-updates/main Sources [46,1 kB]
Get:32 http://br.archive.ubuntu.com saucy-updates/restricted Sources [14 B]
Get:33 http://br.archive.ubuntu.com saucy-updates/universe Sources [18,5 kB]
Get:34 http://br.archive.ubuntu.com saucy-updates/main i386 Packages [117 kB]
Get:35 http://br.archive.ubuntu.com saucy-updates/restricted i386 Packages [14 B]
Get:36 http://br.archive.ubuntu.com saucy-updates/universe i386 Packages [52,5 kB]
Get:37 http://br.archive.ubuntu.com saucy-updates/main Translation-en [55,5 kB]
Get:38 http://br.archive.ubuntu.com saucy-updates/restricted Translation-en [14 B]
Get:39 http://br.archive.ubuntu.com saucy-updates/universe Translation-en [29,4 kB]
Get:40 http://br.archive.ubuntu.com saucy-backports/main Sources [14 B]
Get:41 http://br.archive.ubuntu.com saucy-backports/restricted Sources [14 B]
Get:42 http://br.archive.ubuntu.com saucy-backports/universe Sources [795 B]
Get:43 http://br.archive.ubuntu.com saucy-backports/main i386 Packages [14 B]
Get:44 http://br.archive.ubuntu.com saucy-backports/restricted i386 Packages [14 B]
Get:45 http://br.archive.ubuntu.com saucy-backports/universe i386 Packages [602 B]
Get:46 http://br.archive.ubuntu.com saucy-backports/main Translation-en [14 B]
Get:47 http://br.archive.ubuntu.com saucy-backports/restricted Translation-en [14 B]
Get:48 http://br.archive.ubuntu.com saucy-backports/universe Translation-en [617 B]
Fetched 19,3 MB in 11s (1.725 kB/s)
Reading package lists... Done
marcely@nlp233-POS-ECMCP73TVAR:~$
marcely@nlp233-POS-ECMCP73TVAR:~$ sudo dpkg --configure -a
Setting up libavutil-extra-51:i386 (6:0.8.9ubuntu0.13.10.1) ...
Setting up libzvbi-common (0.2.33-7) ...
Setting up libenca0:i386 (1.14-3) ...
Processing triggers for man-db ...
Setting up libwildmidi-config (0.2.3.4-2.1ubuntu2) ...
Setting up libspandsp2 (0.0.6~pre20-3.1ubuntu1) ...
Setting up libgles2-mesa:i386 (9.2.1-1ubuntu3) ...
Setting up libdvdread4:i386 (4.2.0+20130219-2ubuntu2) ...
Setting up libwildmidi1:i386 (0.2.3.4-2.1ubuntu2) ...
Setting up libcdaudio1 (0.99.12p2-13) ...
Setting up libflite1:i386 (1.4-release-7) ...
Setting up libopenal-data (1:1.14-4ubuntu1) ...
Setting up libdirac-encoder0:i386 (1.0.2-6ubuntu1) ...
Setting up libgsm1:i386 (1.0.13-4) ...
Setting up libva1:i386 (1.1.1-3) ...
Processing triggers for doc-base ...
Setting up liboil0.3:i386 (0.3.17-2ubuntu3) ...
Setting up libfluidsynth1:i386 (1.1.6-2) ...
Setting up libmms0:i386 (0.6.2-3ubuntu1) ...
Setting up libzbar0 (0.10+doc-9) ...
Setting up libopencore-amrwb0:i386 (0.1.3-2) ...
Setting up libmodplug1 (1:0.8.8.4-4) ...
Setting up libmpcdec6 (2:0.1~r459-1ubuntu1) ...
Setting up libopenjpeg2:i386 (1.3+dfsg-4.6ubuntu2) ...
Setting up libdca0:i386 (0.0.5-6) ...
Setting up libass4:i386 (0.10.1-1ubuntu1) ...
Setting up libsoundtouch0:i386 (1.7.1-2) ...
Setting up libmjpegutils-2.0-0 (1:2.0.0+debian-2ubuntu1) ...
Setting up libswscale2:i386 (6:0.8.9-0ubuntu0.13.10.1) ...
Setting up libgme0 (0.5.5-2) ...
Setting up libopencore-amrnb0:i386 (0.1.3-2) ...
Setting up libopenal1:i386 (1:1.14-4ubuntu1) ...
Setting up libschroedinger-1.0-0:i386 (1.0.11-2) ...
Setting up libmpg123-0:i386 (1.15.3-1ubuntu1) ...
Setting up libopus0 (1.0.1-0ubuntu2) ...
Setting up libvo-amrwbenc0:i386 (0.1.2-1) ...
Setting up libkate1 (0.4.1-1) ...
Setting up libdc1394-22:i386 (2.2.1-1ubuntu1) ...
Setting up libfftw3-double3:i386 (3.3.3-5ubuntu1) ...
Setting up cabextract (1.4-4) ...
Setting up libx264-123:i386 (2:0.123.2189+git35cf912-1ubuntu1.1) ...
Setting up libvo-aacenc0:i386 (0.1.2-1) ...
Setting up libxvidcore4:i386 (2:1.3.2-9ubuntu1) ...
Setting up libmimic0 (1.0.4-2.1build1) ...
Setting up tsconf (1.0-11) ...
Setting up libzvbi0:i386 (0.2.33-7) ...
Setting up libmpeg2encpp-2.0-0 (1:2.0.0+debian-2ubuntu1) ...
Setting up libmp3lame0:i386 (3.99.5+repack1-3) ...
Setting up chromium-codecs-ffmpeg-extra (30.0.1599.114-0ubuntu0.13.10.2) ...
Setting up libdvdnav4:i386 (4.2.0+20130225-3) ...
Setting up libpostproc52:i386 (6:0.8.9-0ubuntu0.13.10.1) ...
Setting up libmplex2-2.0-0 (1:2.0.0+debian-2ubuntu1) ...
Setting up libfaac0:i386 (1.28-5) ...
Setting up libmpeg2-4:i386 (0.5.1-5) ...
Setting up libmad0:i386 (0.15.1b-7ubuntu2) ...
Setting up libfaad2:i386 (2.7-8) ...
Processing triggers for libglib2.0-0:i386 ...
Setting up libgstreamer-plugins-bad0.10-0:i386 (0.10.23-7ubuntu2) ...
Setting up libslv2-9 (0.6.6+dfsg1-2) ...
Setting up libfftw3-3:i386 (3.3.3-5ubuntu1) ...
Setting up libavcodec-extra-53:i386 (6:0.8.9ubuntu0.13.10.1) ...
Setting up libts-0.0-0:i386 (1.0-11) ...
Setting up libdirectfb-1.2-9:i386 (1.2.10.0-5) ...
Setting up libofa0 (0.9.3-5) ...
Setting up libavformat53:i386 (6:0.8.9-0ubuntu0.13.10.1) ...
Setting up gstreamer0.10-plugins-bad:i386 (0.10.23-7ubuntu2) ...
Processing triggers for libc-bin ...
marcely@nlp233-POS-ECMCP73TVAR:~$
marcely@nlp233-POS-ECMCP73TVAR:~$ sudo dpkg --clear-avail
marcely@nlp233-POS-ECMCP73TVAR:~$
marcely@nlp233-POS-ECMCP73TVAR:~$ LANG=C;sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package ttf-mscorefonts-installer needs to be reinstalled, but I can't find an archive for it.
marcely@nlp233-POS-ECMCP73TVAR:~$
marcely@nlp233-POS-ECMCP73TVAR:~$ LANG=C;sudo apt-get --fix-missing install
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package ttf-mscorefonts-installer needs to be reinstalled, but I can't find an archive for it.
marcely@nlp233-POS-ECMCP73TVAR:~$
marcely@nlp233-POS-ECMCP73TVAR:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=100000000 && sudo apt-get dist-upgrade
Ign http://br.archive.ubuntu.com saucy InRelease
Ign http://br.archive.ubuntu.com saucy-updates InRelease
Ign http://br.archive.ubuntu.com saucy-backports InRelease
Hit http://br.archive.ubuntu.com saucy Release.gpg
Hit http://br.archive.ubuntu.com saucy-updates Release.gpg
Hit http://br.archive.ubuntu.com saucy-backports Release.gpg
Hit http://br.archive.ubuntu.com saucy Release
Hit http://br.archive.ubuntu.com saucy-updates Release
Hit http://br.archive.ubuntu.com saucy-backports Release
Hit http://br.archive.ubuntu.com saucy/main Sources
Hit http://br.archive.ubuntu.com saucy/restricted Sources
Hit http://br.archive.ubuntu.com saucy/universe Sources
Hit http://br.archive.ubuntu.com saucy/main i386 Packages
Ign http://extras.ubuntu.com saucy InRelease
Hit http://br.archive.ubuntu.com saucy/restricted i386 Packages
Hit http://br.archive.ubuntu.com saucy/universe i386 Packages
Hit http://br.archive.ubuntu.com saucy/main Translation-en
Hit http://br.archive.ubuntu.com saucy/restricted Translation-en
Hit http://br.archive.ubuntu.com saucy/universe Translation-en
Hit http://br.archive.ubuntu.com saucy-updates/main Sources
Hit http://br.archive.ubuntu.com saucy-updates/restricted Sources
Hit http://br.archive.ubuntu.com saucy-updates/universe Sources
Hit http://br.archive.ubuntu.com saucy-updates/main i386 Packages
Hit http://br.archive.ubuntu.com saucy-updates/restricted i386 Packages
Hit http://br.archive.ubuntu.com saucy-updates/universe i386 Packages
Ign http://security.ubuntu.com saucy-security InRelease
Hit http://extras.ubuntu.com saucy Release.gpg
Hit http://br.archive.ubuntu.com saucy-updates/main Translation-en
Hit http://br.archive.ubuntu.com saucy-updates/restricted Translation-en
Hit http://br.archive.ubuntu.com saucy-updates/universe Translation-en
Hit http://br.archive.ubuntu.com saucy-backports/main Sources
Hit http://br.archive.ubuntu.com saucy-backports/restricted Sources
Hit http://br.archive.ubuntu.com saucy-backports/universe Sources
Hit http://br.archive.ubuntu.com saucy-backports/main i386 Packages
Hit http://br.archive.ubuntu.com saucy-backports/restricted i386 Packages
Hit http://br.archive.ubuntu.com saucy-backports/universe i386 Packages
Hit http://br.archive.ubuntu.com saucy-backports/main Translation-en
Hit http://br.archive.ubuntu.com saucy-backports/restricted Translation-en
Hit http://security.ubuntu.com saucy-security Release.gpg
Hit http://extras.ubuntu.com saucy Release
Hit http://br.archive.ubuntu.com saucy-backports/universe Translation-en
Hit http://security.ubuntu.com saucy-security Release
Hit http://extras.ubuntu.com saucy/main Sources
Hit http://extras.ubuntu.com saucy/main i386 Packages
Hit http://security.ubuntu.com saucy-security/main Sources
Hit http://security.ubuntu.com saucy-security/restricted Sources
Hit http://security.ubuntu.com saucy-security/universe Sources
Hit http://security.ubuntu.com saucy-security/main i386 Packages
Hit http://security.ubuntu.com saucy-security/restricted i386 Packages
Ign http://extras.ubuntu.com saucy/main Translation-en
Hit http://security.ubuntu.com saucy-security/universe i386 Packages
Hit http://security.ubuntu.com saucy-security/main Translation-en
Hit http://security.ubuntu.com saucy-security/restricted Translation-en
Hit http://security.ubuntu.com saucy-security/universe Translation-en
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package ttf-mscorefonts-installer needs to be reinstalled, but I can't find an archive for it.
marcely@nlp233-POS-ECMCP73TVAR:~$
marcely@nlp233-POS-ECMCP73TVAR:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

/etc/apt/sources.list

     1
     2
     3 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     4 # newer versions of the distribution.
     5 deb http://br.archive.ubuntu.com/ubuntu/ saucy main restricted
     6 deb-src http://br.archive.ubuntu.com/ubuntu/ saucy main restricted
     7
     8 ## Major bug fix updates produced after the final release of the
     9 ## distribution.
    10 deb http://br.archive.ubuntu.com/ubuntu/ saucy-updates main restricted
    11 deb-src http://br.archive.ubuntu.com/ubuntu/ saucy-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://br.archive.ubuntu.com/ubuntu/ saucy universe
    17 deb-src http://br.archive.ubuntu.com/ubuntu/ saucy universe
    18 deb http://br.archive.ubuntu.com/ubuntu/ saucy-updates universe
    19 deb-src http://br.archive.ubuntu.com/ubuntu/ saucy-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
    27 ## N.B. software from this repository may not have been tested as
    28 ## extensively as that contained in the main release, although it includes
    29 ## newer versions of some applications which may provide useful features.
    30 ## Also, please note that software in backports WILL NOT receive any review
    31 ## or updates from the Ubuntu security team.
    32 deb http://br.archive.ubuntu.com/ubuntu/ saucy-backports main restricted universe
    33 deb-src http://br.archive.ubuntu.com/ubuntu/ saucy-backports main restricted universe
    34
    35 deb http://security.ubuntu.com/ubuntu saucy-security main restricted
    36 deb-src http://security.ubuntu.com/ubuntu saucy-security main restricted
    37 deb http://security.ubuntu.com/ubuntu saucy-security universe
    38 deb-src http://security.ubuntu.com/ubuntu saucy-security universe
    39
    40 ## Uncomment the following two lines to add software from Canonical's
    41 ## 'partner' repository.
    42 ## This software is not part of Ubuntu, but is offered by Canonical and the
    43 ## respective vendors as a service to Ubuntu users.
    44 # deb http://archive.canonical.com/ubuntu saucy partner
    45 # deb-src http://archive.canonical.com/ubuntu saucy partner
    46
    47 ## This software is not part of Ubuntu, but is offered by third-party
    48 ## developers who want to ship their latest software.
    49 deb http://extras.ubuntu.com/ubuntu saucy main
    50 deb-src http://extras.ubuntu.com/ubuntu saucy main

Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#5

@Kassius : please create your own question here:

https://answers.launchpad.net/ubuntu/+addquestion