i cant install software in 11.10

Asked by mitsouko

when i try to install a programm from software center ubuntu , shows this message :
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/aptdaemon/worker.py", line 968, in simulate
    trans.unauthenticated = self._simulate_helper(trans)
  File "/usr/lib/python2.7/dist-packages/aptdaemon/worker.py", line 1092, in _simulate_helper
    return depends, self._cache.required_download, \
  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 235, in required_download
    pm.get_archives(fetcher, self._list, self._records)
SystemError: E:I wasn't able to locate a file for the ttf-mscorefonts-installer package. This might mean you need to manually fix this package.

and when i write in terminal sudo apt-get install synaptic it shows :

E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.

pzl help me if you know

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu software-center Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
enubuntu (mr.tennents) said :
#1

Do this:
1. Open a terminal by hitting CTRL + ALT + T
2. Insert and run this command:
sudo dpkg --configure -a
sudo apt-get update

3. Then copy and paste here all the output and try to install a program.

Revision history for this message
mitsouko (dimitris-mich) said :
#2

it didt work
in terminal shows :
Αγνόησε http://gr.archive.ubuntu.com oneiric InRelease
Αγνόησε http://gr.archive.ubuntu.com oneiric-updates InRelease
Αγνόησε http://security.ubuntu.com oneiric-security InRelease
Αγνόησε http://archive.canonical.com oneiric InRelease
Αγνόησε http://extras.ubuntu.com oneiric InRelease
Αγνόησε http://gr.archive.ubuntu.com oneiric-backports InRelease
Hit http://security.ubuntu.com oneiric-security Release.gpg
Hit http://archive.canonical.com oneiric Release.gpg
Hit http://extras.ubuntu.com oneiric Release.gpg
Hit http://gr.archive.ubuntu.com oneiric Release.gpg
Hit http://security.ubuntu.com oneiric-security Release
Hit http://archive.canonical.com oneiric Release
Hit http://gr.archive.ubuntu.com oneiric-updates Release.gpg
Hit http://extras.ubuntu.com oneiric Release
Hit http://gr.archive.ubuntu.com oneiric-backports Release.gpg
Hit http://security.ubuntu.com oneiric-security/main Sources
Hit http://archive.canonical.com oneiric/partner i386 Packages
Hit http://extras.ubuntu.com oneiric/main Sources
Hit http://gr.archive.ubuntu.com oneiric Release
Hit http://security.ubuntu.com oneiric-security/restricted Sources
Hit http://security.ubuntu.com oneiric-security/universe Sources
Hit http://security.ubuntu.com oneiric-security/multiverse Sources
Hit http://security.ubuntu.com oneiric-security/main i386 Packages
Hit http://security.ubuntu.com oneiric-security/restricted i386 Packages
Αγνόησε http://archive.canonical.com oneiric/partner TranslationIndex
Hit http://extras.ubuntu.com oneiric/main i386 Packages
Αγνόησε http://extras.ubuntu.com oneiric/main TranslationIndex
Hit http://gr.archive.ubuntu.com oneiric-updates Release
Hit http://security.ubuntu.com oneiric-security/universe i386 Packages
Hit http://security.ubuntu.com oneiric-security/multiverse i386 Packages
Hit http://security.ubuntu.com oneiric-security/main TranslationIndex
Hit http://security.ubuntu.com oneiric-security/multiverse TranslationIndex
Hit http://security.ubuntu.com oneiric-security/restricted TranslationIndex
Hit http://gr.archive.ubuntu.com oneiric-backports Release
Hit http://security.ubuntu.com oneiric-security/universe TranslationIndex
Hit http://gr.archive.ubuntu.com oneiric/main Sources
Hit http://security.ubuntu.com oneiric-security/main Translation-en
Hit http://security.ubuntu.com oneiric-security/multiverse Translation-en
Hit http://gr.archive.ubuntu.com oneiric/restricted Sources
Hit http://security.ubuntu.com oneiric-security/restricted Translation-en
Hit http://gr.archive.ubuntu.com oneiric/universe Sources
Hit http://security.ubuntu.com oneiric-security/universe Translation-en
Hit http://gr.archive.ubuntu.com oneiric/multiverse Sources
Hit http://gr.archive.ubuntu.com oneiric/main i386 Packages
Hit http://gr.archive.ubuntu.com oneiric/restricted i386 Packages
Hit http://gr.archive.ubuntu.com oneiric/universe i386 Packages
Hit http://gr.archive.ubuntu.com oneiric/multiverse i386 Packages
Hit http://gr.archive.ubuntu.com oneiric/main TranslationIndex
Hit http://gr.archive.ubuntu.com oneiric/multiverse TranslationIndex
Hit http://gr.archive.ubuntu.com oneiric/restricted TranslationIndex
Αγνόησε http://archive.canonical.com oneiric/partner Translation-el_GR
Hit http://gr.archive.ubuntu.com oneiric/universe TranslationIndex
Αγνόησε http://archive.canonical.com oneiric/partner Translation-el
Hit http://gr.archive.ubuntu.com oneiric-updates/main Sources
Αγνόησε http://extras.ubuntu.com oneiric/main Translation-el_GR
Αγνόησε http://archive.canonical.com oneiric/partner Translation-en
Hit http://gr.archive.ubuntu.com oneiric-updates/restricted Sources
Αγνόησε http://extras.ubuntu.com oneiric/main Translation-el
Hit http://gr.archive.ubuntu.com oneiric-updates/universe Sources
Αγνόησε http://extras.ubuntu.com oneiric/main Translation-en
Hit http://gr.archive.ubuntu.com oneiric-updates/multiverse Sources
Hit http://gr.archive.ubuntu.com oneiric-updates/main i386 Packages
Hit http://gr.archive.ubuntu.com oneiric-updates/restricted i386 Packages
Hit http://gr.archive.ubuntu.com oneiric-updates/universe i386 Packages
Hit http://gr.archive.ubuntu.com oneiric-updates/multiverse i386 Packages
Hit http://gr.archive.ubuntu.com oneiric-updates/main TranslationIndex
Hit http://gr.archive.ubuntu.com oneiric-updates/multiverse TranslationIndex
Hit http://gr.archive.ubuntu.com oneiric-updates/restricted TranslationIndex
Hit http://gr.archive.ubuntu.com oneiric-updates/universe TranslationIndex
Hit http://gr.archive.ubuntu.com oneiric-backports/main Sources
Hit http://gr.archive.ubuntu.com oneiric-backports/restricted Sources
Hit http://gr.archive.ubuntu.com oneiric-backports/universe Sources
Hit http://gr.archive.ubuntu.com oneiric-backports/multiverse Sources
Hit http://gr.archive.ubuntu.com oneiric-backports/main i386 Packages
Hit http://gr.archive.ubuntu.com oneiric-backports/restricted i386 Packages
Hit http://gr.archive.ubuntu.com oneiric-backports/universe i386 Packages
Hit http://gr.archive.ubuntu.com oneiric-backports/multiverse i386 Packages
Hit http://gr.archive.ubuntu.com oneiric-backports/main TranslationIndex
Hit http://gr.archive.ubuntu.com oneiric-backports/multiverse TranslationIndex
Hit http://gr.archive.ubuntu.com oneiric-backports/restricted TranslationIndex
Hit http://gr.archive.ubuntu.com oneiric-backports/universe TranslationIndex
Hit http://gr.archive.ubuntu.com oneiric/main Translation-el
Hit http://gr.archive.ubuntu.com oneiric/main Translation-en
Hit http://gr.archive.ubuntu.com oneiric/multiverse Translation-el
Hit http://gr.archive.ubuntu.com oneiric/multiverse Translation-en
Hit http://gr.archive.ubuntu.com oneiric/restricted Translation-el
Hit http://gr.archive.ubuntu.com oneiric/restricted Translation-en
Hit http://gr.archive.ubuntu.com oneiric/universe Translation-el
Hit http://gr.archive.ubuntu.com oneiric/universe Translation-en
Hit http://gr.archive.ubuntu.com oneiric-updates/main Translation-en
Hit http://gr.archive.ubuntu.com oneiric-updates/multiverse Translation-en
Hit http://gr.archive.ubuntu.com oneiric-updates/restricted Translation-en
Hit http://gr.archive.ubuntu.com oneiric-updates/universe Translation-en
Hit http://gr.archive.ubuntu.com oneiric-backports/main Translation-en
Hit http://gr.archive.ubuntu.com oneiric-backports/multiverse Translation-en
Hit http://gr.archive.ubuntu.com oneiric-backports/restricted Translation-en
Hit http://gr.archive.ubuntu.com oneiric-backports/universe Translation-en
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.

and when i try to install a programm shows:

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/aptdaemon/worker.py", line 968, in simulate
    trans.unauthenticated = self._simulate_helper(trans)
  File "/usr/lib/python2.7/dist-packages/aptdaemon/worker.py", line 1092, in _simulate_helper
    return depends, self._cache.required_download, \
  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 235, in required_download
    pm.get_archives(fetcher, self._list, self._records)
SystemError: E:I wasn't able to locate a file for the ttf-mscorefonts-installer package. This might mean you need to manually fix this package.

Revision history for this message
ahmed (ayvadia) said :
#3

HI!
had the same/similar problem
!1.sudo apt-get update
!2.sudo dpkg --configure -a
its supposed to work the other way round
thanks for pointing out the command[Enrico "eNry" Cara-fa (mr.tennents)] i was using a different command but trying to do the same
the fault was on Ubuntu software center side not urs

Can you help with this problem?

Provide an answer of your own, or ask mitsouko for more information if necessary.

To post a message you must log in.