Problem mit apt-get

Strg+Alt+Entf

Strg+Alt+Entf

Jungspund
Seit kurzen erscheint bei allen Paketinstallationen und -updates folgende Fehlermeldung. Auch wenn ich versuche das besagte Paket zu installieren,reparieren oder deinstallieren kommt diese Meldung. Die Datei /var/cache/apt/archives/libghc6-hgl-dev_3.2.0.0-1_i386.deb existiert gar nicht. Kennt jemand einen Weg das Problem zu lösen? Danke schonmal im Voraus.

Code:
Preparing to replace libghc6-hgl-dev 3.2.0.0-1 (using .../libghc6-hgl-dev_3.2.0.0-1_i386.deb) ...
ghc-pkg: cannot find package HGL-3.2.0.0
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
ghc-pkg: cannot find package HGL-3.2.0.0
dpkg: error processing /var/cache/apt/archives/libghc6-hgl-dev_3.2.0.0-1_i386.deb (--unpack):
 subprocess new pre-removal script returned error exit status 1
Reading package info from stdin ... done.
ghc-pkg: dependency X11-1.3.0 doesn't exist (use --force to override)
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/libghc6-hgl-dev_3.2.0.0-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
 
Zuletzt bearbeitet:
Code:
apt-get -f install

mal probiert?
 
Distribution? Release?

Bei "apt-get update" bekommste auch den Fehler?
Was sagt "apt-cache policy libghc6-hgl-dev"?
 
Ich nutze Xubuntu 8.04. Bei "apt-get update" kommt der Fehler nicht. "apt-cache policy libghc6-hgl-dev" spuckt folgendes aus:
Code:
Installed: 3.2.0.0-1
  Candidate: 3.2.0.0-1ubuntu0.1
  Version table:
     3.2.0.0-1ubuntu0.1 0
        500 http://de.archive.ubuntu.com hardy-updates/universe Packages
 *** 3.2.0.0-1 0
        500 http://de.archive.ubuntu.com hardy/universe Packages
        100 /var/lib/dpkg/status
 
Zuletzt bearbeitet:
Und was passiert bei "apt-get install libghc6-hgl-dev"? Eigentlich sollte er da die aktuelle Version ziehen und installieren ...
 
da kommt der Fehler auch. Hier mal die komplette Ausgabe:
Code:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  xserver-xorg-video-amd centerim libdns32 libnm-glib0 centerim-common
Use 'apt-get autoremove' to remove them.
The following packages will be upgraded:
  libghc6-hgl-dev
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
6 not fully installed or removed.
Need to get 0B/286kB of archives.
After this operation, 0B of additional disk space will be used.
(Reading database ... 263724 files and directories currently installed.)
Preparing to replace libghc6-hgl-dev 3.2.0.0-1 (using .../libghc6-hgl-dev_3.2.0.0-1ubuntu0.1_i386.deb) ...
ghc-pkg: cannot find package HGL-3.2.0.0
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
ghc-pkg: cannot find package HGL-3.2.0.0
dpkg: error processing /var/cache/apt/archives/libghc6-hgl-dev_3.2.0.0-1ubuntu0.1_i386.deb (--unpack):
 subprocess new pre-removal script returned error exit status 1
Reading package info from stdin ... done.
ghc-pkg: dependency X11-1.3.0 doesn't exist (use --force to override)
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/libghc6-hgl-dev_3.2.0.0-1ubuntu0.1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
 
Juhu! Es klappt wieder. Danke für die schnelle Hilfe.
 

Ähnliche Themen

Problem bei apt-get upgrade (Kali 2.0)

Ich mag Dovecot nicht ...

Firefox Installation fehlgeschlagen

Debian 6 - Paketabhängigkeiten zerschossen

Installationsabbruch

Zurück
Oben