Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

My /etc/apt/sources.list looks like this

deb quantal main restricted universe multiverse
deb quantal-updates main restricted universe multiverse
deb quantal-security main restricted universe multiverse
deb quantal-backports main restricted universe multiverse

apt-get update is just fine. apt-get clean has no output and apt-get -f install does not install any packages. Nevertheless packages like xfce4 or emacs cannot be found.

The output apt-get update

    Ign quantal InRelease
    Ign quantal InRelease
    Treffer quantal Release.gpg
    Ign quantal-updates InRelease
    Treffer quantal Release
    Ign quantal-security InRelease
    Ign quantal-backports InRelease
    Treffer quantal/main Sources
    Treffer quantal/main i386 Packages
    Treffer quantal Release.gpg
    Treffer quantal-updates Release.gpg
    Treffer quantal-security Release.gpg
    Treffer quantal-backports Release.gpg
    Treffer quantal Release
    Treffer quantal-updates Release
    Treffer quantal-security Release
    Treffer quantal-backports Release
    Treffer quantal/main i386 Packages
    Treffer quantal/restricted i386 Packages
    Treffer quantal/universe i386 Packages
    Treffer quantal/multiverse i386 Packages
    Ign quantal/main Translation-de_DE
    Treffer quantal/main Translation-de
    Ign quantal/main Translation-de
    Treffer quantal/main Translation-en
    Ign quantal/main Translation-en
    Treffer quantal/multiverse Translation-de
    Treffer quantal/multiverse Translation-en
    Treffer quantal/restricted Translation-de
    Treffer quantal/restricted Translation-en
    Treffer quantal/universe Translation-de
    Treffer quantal/universe Translation-en
    Treffer quantal-updates/main i386 Packages
    Treffer quantal-updates/restricted i386 Packages
    Treffer quantal-updates/universe i386 Packages
    Treffer quantal-updates/multiverse i386 Packages
    Treffer quantal-updates/main Translation-en
    Treffer quantal-updates/multiverse Translation-en
    Treffer quantal-updates/restricted Translation-en
    Treffer quantal-updates/universe Translation-en
    Treffer quantal-security/main i386 Packages
    Treffer quantal-security/restricted i386 Packages
    Treffer quantal-security/universe i386 Packages
    Treffer quantal-security/multiverse i386 Packages
    Treffer quantal-security/main Translation-en
    Treffer quantal-security/multiverse Translation-en
    Treffer quantal-security/restricted Translation-en
    Treffer quantal-security/universe Translation-en
    Treffer quantal-backports/main i386 Packages
    Treffer quantal-backports/restricted i386 Packages
    Treffer quantal-backports/universe i386 Packages
    Treffer quantal-backports/multiverse i386 Packages
    Treffer quantal-backports/main Translation-en
    Treffer quantal-backports/multiverse Translation-en
    Treffer quantal-backports/restricted Translation-en
    Treffer quantal-backports/universe Translation-en
    Ign quantal/main Translation-de_DE
    Ign quantal/multiverse Translation-de_DE
    Ign quantal/restricted Translation-de_DE
    Ign quantal/universe Translation-de_DE
    Ign quantal-updates/main Translation-de_DE
    Ign quantal-updates/main Translation-de
    Ign quantal-updates/multiverse Translation-de_DE
    Ign quantal-updates/multiverse Translation-de
    Ign quantal-updates/restricted Translation-de_DE
    Ign quantal-updates/restricted Translation-de
    Ign quantal-updates/universe Translation-de_DE
    Ign quantal-updates/universe Translation-de
    Ign quantal-security/main Translation-de_DE
    Ign quantal-security/main Translation-de
    Ign quantal-security/multiverse Translation-de_DE
    Ign quantal-security/multiverse Translation-de
    Ign quantal-security/restricted Translation-de_DE
    Ign quantal-security/restricted Translation-de
    Ign quantal-security/universe Translation-de_DE
    Ign quantal-security/universe Translation-de
    Ign quantal-backports/main Translation-de_DE
    Ign quantal-backports/main Translation-de
    Ign quantal-backports/multiverse Translation-de_DE
    Ign quantal-backports/multiverse Translation-de
    Ign quantal-backports/restricted Translation-de_DE
    Ign quantal-backports/restricted Translation-de
    Ign quantal-backports/universe Translation-de_DE
    Ign quantal-backports/universe Translation-de
    Paketlisten werden gelesen...

Unfortunatly its in german Treffer means something like Hit and Ign could mean ignore?

apt-cache policy emacs
N: Paket emacs kann nicht gefunden werden

Which means that the package could not be found.

sudo apt-get install emacs23
[sudo] password for joachim: 
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut       
Statusinformationen werden eingelesen... Fertig
Paket emacs23 ist nicht verfügbar, wird aber von einem anderen Paket
referenziert. Das kann heißen, dass das Paket fehlt, dass es abgelöst
wurde oder nur aus einer anderen Quelle verfügbar ist.

E: Paket »emacs23« hat keinen Installationskandidaten

The error messages means that the package emacs23 is not available but is referenced by another package. This could mean that the package is missing or that it has been terminated or that is available from another source.

sudo apt-get install emacs
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut       
Statusinformationen werden eingelesen... Fertig
E: Paket emacs kann nicht gefunden werden

The error means that the package emacs could not be found.

Any ideas?

share|improve this question
Is the file really called /etc/apt/source.list? The name should be sources.list. What is the output of apt-get update? –  Gilles Jan 21 '13 at 20:00
its /etc/apt/sources.list. I edited that. –  joachim Jan 21 '13 at 20:17
"apt-get -f install does not install any packages" This only needs to run if you have broken dependencies... What does the output of apt-cache policy emacs say for example? And what is the output of sudo apt-get install emacs? –  gertvdijk Jan 21 '13 at 20:34
Ok, this looks fine. What's the output of apt-get install emacs? What about apt-get install emacs23? And apt-cache policy emacs emacs23? Do you have a file /etc/apt/preferences or files in /etc/apt/preferences.d? –  Gilles Jan 21 '13 at 20:37
Seems to me that is has nothing to do with sources.list because I tryed a perfectly new one generated with this –  joachim Jan 22 '13 at 16:42

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.