[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Paketprobleme beim Entfernen



Hallo,

nachdem ich über Nacht ein Upgrade auf Debian testing versucht habe, habe
ich diese Installation soeben konfiguriert. Nachdem ich mit einigen Fehlern
fertig war, habe ich neu gestartet. Danach ging nix mehr, MBR
zerstört...Also Debian boot-CD rein, rescbf24 root=/dev/hda3 und so weiter,
einmal lilo laufen lassen, neu gestartet -> ging alles. Wenn ich aber jetzt
zum Beispiel XChat per apt installieren will, kommt apt erst mal mit
unvollständigen Paketen an. (Eigentlich ist es ja nur eines...) Aber dieses
unvollständige Paket kann ich nicht entfernen, auch nicht neu
installieren:

---[schnipp]---

linux2:~# apt-get remove joe
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
  joe
0 upgraded, 0 newly installed, 1 to remove and 2 not upgraded.
803 not fully installed or removed.
Need to get 0B of archives.
After unpacking 325kB disk space will be freed.
Do you want to continue? [Y/n] 
dpkg: error processing joe (--remove):
 Package is in a very bad inconsistent state - you should
 reinstall it before attempting a removal.
Errors were encountered while processing:
 joe
E: Sub-process /usr/bin/dpkg returned an error code (1)
linux2:~# apt-get install joe
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be upgraded
  joe
1 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
803 not fully installed or removed.
Need to get 0B/141kB of archives.
After unpacking 76.8kB of additional disk space will be used.
Selecting previously deselected package joe.
(Reading database ... 118065 files and directories currently installed.)
Preparing to replace joe 2.8-20 (using .../archives/joe_2.8-23_i386.deb) ...
Unpacking replacement joe ...
/var/lib/dpkg/info/joe.postrm: line 3: /usr/bin/update-menus: Permission denied
dpkg: warning - old post-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
/var/lib/dpkg/tmp.ci/postrm: line 3: /usr/bin/update-menus: Permission denied
dpkg: error processing /var/cache/apt/archives/joe_2.8-23_i386.deb (--unpack):
 subprocess new post-removal script returned error exit status 1
/var/lib/dpkg/tmp.ci/postrm: line 3: /usr/bin/update-menus: Permission denied
dpkg: error while cleaning up:
 subprocess post-removal script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/joe_2.8-23_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

---[schnapp]---

Wie kann ich ein Paket "zwingen", zu verschwinden oder zu mindestens wieder
andere Programme installieren?

Vielen Dank schon im Voraus

Julius

-- 
Julius Plenz       Email: <jp@cvmx.de>             PGP-KeyID: 0xC13CD13F
                   http://julius.homelinux.com/
"Echte Hacker benutzen Aexte." - Thomas Walter

Attachment: pgpilyH4hYs6o.pgp
Description: PGP signature


Reply to: