|
|
|
![]() |
|
Strumenti |
![]() |
#1 |
Senior Member
Iscritto dal: Jul 2003
Messaggi: 811
|
Errori rimozione pacchetto
Non riesco a rimuovere un pachhetto e neanche a reinstallarlo visto che mi ha messo fuori uso l'apt-get
DPKG root@Dgames:~ # dpkg -r amule-adunanza (Reading database ... 106567 files and directories currently installed.) Removing amule-adunanza ... dpkg-divert: mismatch on package when removing `diversion of /usr/bin/ed2k by amule-adunanza' found `diversion of /usr/bin/ed2k to /usr/bin/ed2k.xmule by amule' dpkg: error processing amule-adunanza (--remove): subprocess post-removal script returned error exit status 2 Errors were encountered while processing: amule-adunanza root@Dgames:~ # apt-get -f install Preconfiguring packages ... (Reading database ... 106567 files and directories currently installed.) Removing amule-adunanza ... dpkg-divert: mismatch on package when removing `diversion of /usr/bin/ed2k by amule-adunanza' found `diversion of /usr/bin/ed2k to /usr/bin/ed2k.xmule by amule' dpkg: error processing amule-adunanza (--remove): subprocess post-removal script returned error exit status 2 Errors were encountered while processing: amule-adunanza E: Sub-process /usr/bin/dpkg returned an error code (1) root@Dgames:~ # apt-get -f install Reading package lists... Done Building dependency tree... Done Correcting dependencies... Done The following extra packages will be installed: libgd2-xpm Suggested packages: libgd-tools The following packages will be REMOVED: amule-adunanza The following NEW packages will be installed: libgd2-xpm 0 upgraded, 1 newly installed, 1 to remove and 6 not upgraded. 1 not fully installed or removed. Need to get 0B/193kB of archives. After unpacking 12.3MB disk space will be freed. Do you want to continue [Y/n]? y Preconfiguring packages ... (Reading database ... 106567 files and directories currently installed.) Removing amule-adunanza ... dpkg-divert: mismatch on package when removing `diversion of /usr/bin/ed2k by amule-adunanza' found `diversion of /usr/bin/ed2k to /usr/bin/ed2k.xmule by amule' dpkg: error processing amule-adunanza (--remove): subprocess post-removal script returned error exit status 2 Errors were encountered while processing: amule-adunanza E: Sub-process /usr/bin/dpkg returned an error code (1) root@Dgames:~ # che posso fare?.....mi ha messo fuori uso l'apt-get
__________________
![]() ![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Iscritto dal: Jul 2003
Messaggi: 811
|
up
__________________
![]() ![]() |
![]() |
![]() |
![]() |
#3 |
Senior Member
Iscritto dal: Sep 2003
Città: San Mauro Torinese
Messaggi: 5402
|
Hai controllato il file /var/lib/dpkg/diversions ?
__________________
Suonare come superamento, anche se per pochi attimi, della realtà costrittiva, come espressione, comunicazione, con modalità proprie, agli altri; http://www.magazzinifranti.it/ |
![]() |
![]() |
![]() |
#4 | |
Senior Member
Iscritto dal: Jul 2003
Messaggi: 811
|
Quote:
Cosa devo controllare in quel file?
__________________
![]() ![]() |
|
![]() |
![]() |
![]() |
#5 |
Senior Member
Iscritto dal: Jul 2003
Messaggi: 811
|
ho fatto questa prova
root.@Dgames:~ # apt-get remove --purge amule-adunanza Reading package lists... Done Building dependency tree... Done You might want to run `apt-get -f install' to correct these: The following packages have unmet dependencies: python2.4-gd: Depends: libgd2-noxpm (>= 2.0.33) but it is not going to be installed or libgd2-xpm (>= 2.0.33) but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). root.@Dgames:~ # Ancora niente....cavolo ma posso fare per rimettere in piedi l'apt-get è fondamentale. Grazie Se può essere d'aiuto il tool grafico di installazione mi dà questi 2 pacchetti difettosi: amule-adunanza(non reinstalla) python2.4-gd(non reinstalla però mi dà la possibilità di reinstallarlo)
__________________
![]() ![]() |
![]() |
![]() |
![]() |
#6 |
Senior Member
Iscritto dal: Jul 2003
Messaggi: 811
|
up
__________________
![]() ![]() |
![]() |
![]() |
![]() |
#7 |
Senior Member
Iscritto dal: Jul 2003
Messaggi: 811
|
Up non mi funziona più l'apt-gettt
helpppppppppppp
__________________
![]() ![]() |
![]() |
![]() |
![]() |
#8 |
Senior Member
Iscritto dal: Sep 2004
Messaggi: 3967
|
No, non è che non ti funziona apt-get,e i messaggi che ti da ne sono la prova.
Quello che non va sono i repository che stai usando.Che Debian hai? Poi,eventualmente dai prima: apt-get clean apt-get update e riprova. Ma sono sicuro che il tutto dipende da qualche repository scazzato.
__________________
Dai wafer di silicio nasce: LoHacker... il primo biscotto Geek ![]() |
![]() |
![]() |
![]() |
#9 |
Registered User
Iscritto dal: Nov 2000
Messaggi: 9315
|
prova questi in successione, ame han sempre risolto tutto o almeno così mi pare di ricordare
![]() apt-get -f install apt-get -f upgrade dpkg --configure -a eventualmente se volessi rimuovere dei pacchetti che non ti riesce col metodo normale, così non dovresti + incontrare problemi dpkg --purge --force-all pacchetto ciauz |
![]() |
![]() |
![]() |
Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 19:23.