Pagina 1 di 1

[RISOLTO] Problema aggiornamenti

Inviato: martedì 8 marzo 2011, 19:55
da karza
Ciao a tutti!
Immaginavo di non esser l'unico, ma trovo solo il post di uomoMorto, tra l'altro non risolto :(

Da un paio di giorni si verifica un problema con gli aggiornamenti, credo con uno solo, ma li blocca tutti. "Gestore pacchetti danneggiato".
Allego la notifica di errore e il relativo terminale con comando consigliato. Io più avanti di così non riesco ad andare. Come si risolve?

Re: Problema aggiornamenti

Inviato: martedì 8 marzo 2011, 20:00
da Diabolik62
scusa ma chi ti ha detto di dare sudo su??
posta risposta di questo comando da terminale
sudo apt-get update && sudo apt-get upgrade  

Re: Problema aggiornamenti

Inviato: martedì 8 marzo 2011, 20:04
da Diabolik62
gia che ci sei posta anche la risposta di questo comando
cat /etc/apt/sources.list

Re: Problema aggiornamenti

Inviato: martedì 8 marzo 2011, 20:07
da karza
Hai ragione, era sufficiente entrare come root  :-[

Questo è l'update:

luca@luca:~$ sudo apt-get update
Trovato http://ppa.launchpad.net maverick Release.gpg
Ign http://ppa.launchpad.net/sun-java-commu ... a6/ubuntu/ maverick/main Translation-en
Ign http://ppa.launchpad.net/sun-java-commu ... a6/ubuntu/ maverick/main Translation-it
Scaricamento di:1 http://extras.ubuntu.com maverick Release.gpg [72B]
Ign http://extras.ubuntu.com/ubuntu/ maverick/main Translation-en
Trovato http://ppa.launchpad.net maverick Release                           
Ign http://extras.ubuntu.com/ubuntu/ maverick/main Translation-it           
Trovato http://extras.ubuntu.com maverick Release                         
Trovato http://ppa.launchpad.net maverick/main Sources
Trovato http://extras.ubuntu.com maverick/main Sources
Trovato http://it.archive.ubuntu.com maverick Release.gpg
Trovato http://ppa.launchpad.net maverick/main amd64 Packages
Trovato http://extras.ubuntu.com maverick/main amd64 Packages
Ign http://it.archive.ubuntu.com/ubuntu/ maverick/main Translation-en
Trovato http://it.archive.ubuntu.com/ubuntu/ maverick/main Translation-it
Ign http://it.archive.ubuntu.com/ubuntu/ maverick/multiverse Translation-en
Trovato http://it.archive.ubuntu.com/ubuntu/ maverick/multiverse Translation-it
Ign http://it.archive.ubuntu.com/ubuntu/ maverick/restricted Translation-en
Trovato http://it.archive.ubuntu.com/ubuntu/ maverick/restricted Translation-it
Ign http://it.archive.ubuntu.com/ubuntu/ maverick/universe Translation-en
Trovato http://it.archive.ubuntu.com/ubuntu/ maverick/universe Translation-it
Trovato http://it.archive.ubuntu.com maverick-updates Release.gpg
Ign http://it.archive.ubuntu.com/ubuntu/ maverick-updates/main Translation-en
Ign http://it.archive.ubuntu.com/ubuntu/ maverick-updates/main Translation-it
Ign http://it.archive.ubuntu.com/ubuntu/ maverick-updates/multiverse Translation-en
Ign http://it.archive.ubuntu.com/ubuntu/ maverick-updates/multiverse Translation-it
Ign http://it.archive.ubuntu.com/ubuntu/ maverick-updates/restricted Translation-en
Ign http://it.archive.ubuntu.com/ubuntu/ maverick-updates/restricted Translation-it
Ign http://it.archive.ubuntu.com/ubuntu/ maverick-updates/universe Translation-en
Ign http://it.archive.ubuntu.com/ubuntu/ maverick-updates/universe Translation-it
Trovato http://it.archive.ubuntu.com maverick-security Release.gpg
Ign http://it.archive.ubuntu.com/ubuntu/ maverick-security/main Translation-en
Ign http://it.archive.ubuntu.com/ubuntu/ maverick-security/main Translation-it
Ign http://it.archive.ubuntu.com/ubuntu/ maverick-security/multiverse Translation-en
Ign http://it.archive.ubuntu.com/ubuntu/ maverick-security/multiverse Translation-it
Ign http://it.archive.ubuntu.com/ubuntu/ maverick-security/restricted Translation-en
Ign http://it.archive.ubuntu.com/ubuntu/ maverick-security/restricted Translation-it                                                                                 
Ign http://it.archive.ubuntu.com/ubuntu/ maverick-security/universe Translation-en                                                                                   
Ign http://it.archive.ubuntu.com/ubuntu/ maverick-security/universe Translation-it                                                                                   
Trovato http://it.archive.ubuntu.com maverick Release                                                                                                                 
Trovato http://it.archive.ubuntu.com maverick-updates Release                                                                                                         
Trovato http://it.archive.ubuntu.com maverick-security Release                                                                                                       
Trovato http://it.archive.ubuntu.com maverick/main Sources                                                                                                           
Trovato http://it.archive.ubuntu.com maverick/restricted Sources                                                                                                     
Trovato http://it.archive.ubuntu.com maverick/universe Sources                                                                                                       
Trovato http://it.archive.ubuntu.com maverick/multiverse Sources                                                                                                     
Trovato http://it.archive.ubuntu.com maverick/main amd64 Packages                                                                                                     
Trovato http://it.archive.ubuntu.com maverick/restricted amd64 Packages                                                                                               
Trovato http://it.archive.ubuntu.com maverick/universe amd64 Packages                                                                                                 
Trovato http://it.archive.ubuntu.com maverick/multiverse amd64 Packages                                                                                               
Trovato http://it.archive.ubuntu.com maverick-updates/main Sources                                                                                                   
Trovato http://it.archive.ubuntu.com maverick-updates/restricted Sources                                                                                             
Trovato http://it.archive.ubuntu.com maverick-updates/universe Sources                                                                                               
Trovato http://it.archive.ubuntu.com maverick-updates/multiverse Sources                                                                                             
Trovato http://it.archive.ubuntu.com maverick-updates/main amd64 Packages                                                                                             
Trovato http://it.archive.ubuntu.com maverick-updates/restricted amd64 Packages                                                                                       
Trovato http://it.archive.ubuntu.com maverick-updates/universe amd64 Packages                                                                                         
Trovato http://it.archive.ubuntu.com maverick-updates/multiverse amd64 Packages                                                                                       
Trovato http://it.archive.ubuntu.com maverick-security/main Sources                                                                                                   
Trovato http://it.archive.ubuntu.com maverick-security/restricted Sources                                                                                             
Trovato http://it.archive.ubuntu.com maverick-security/universe Sources                                                                                               
Trovato http://it.archive.ubuntu.com maverick-security/multiverse Sources                                                                                             
Trovato http://it.archive.ubuntu.com maverick-security/main amd64 Packages
Trovato http://it.archive.ubuntu.com maverick-security/restricted amd64 Packages
Trovato http://it.archive.ubuntu.com maverick-security/universe amd64 Packages
Trovato http://it.archive.ubuntu.com maverick-security/multiverse amd64 Packages
Recuperati 72B in 13s (5B/s)
Lettura elenco dei pacchetti... Fatto
luca@luca:~$

Re: Problema aggiornamenti

Inviato: martedì 8 marzo 2011, 20:08
da Diabolik62
io ti ho chiesto di dare questo di comando ::)
sudo apt-get update && sudo apt-get upgrade 

Re: Problema aggiornamenti

Inviato: martedì 8 marzo 2011, 20:14
da karza
Scusa, credevo intendessi due comandi diversi :)
Eccolo:

luca@luca:~$ sudo apt-get update && sudo apt-get upgrade
Trovato http://extras.ubuntu.com maverick Release.gpg
Ign http://extras.ubuntu.com/ubuntu/ maverick/main Translation-en           
Trovato http://ppa.launchpad.net maverick Release.gpg                       
Ign http://ppa.launchpad.net/sun-java-commu ... a6/ubuntu/ maverick/main Translation-en
Ign http://ppa.launchpad.net/sun-java-commu ... a6/ubuntu/ maverick/main Translation-it
Trovato http://it.archive.ubuntu.com maverick Release.gpg                   
Ign http://extras.ubuntu.com/ubuntu/ maverick/main Translation-it           
Trovato http://extras.ubuntu.com maverick Release                                 
Trovato http://ppa.launchpad.net maverick Release                                 
Ign http://it.archive.ubuntu.com/ubuntu/ maverick/main Translation-en     
Trovato http://extras.ubuntu.com maverick/main Sources
Trovato http://ppa.launchpad.net maverick/main Sources                           
Trovato http://extras.ubuntu.com maverick/main amd64 Packages                     
Trovato http://ppa.launchpad.net maverick/main amd64 Packages                     
Trovato http://it.archive.ubuntu.com/ubuntu/ maverick/main Translation-it
Ign http://it.archive.ubuntu.com/ubuntu/ maverick/multiverse Translation-en
Trovato http://it.archive.ubuntu.com/ubuntu/ maverick/multiverse Translation-it
Ign http://it.archive.ubuntu.com/ubuntu/ maverick/restricted Translation-en
Trovato http://it.archive.ubuntu.com/ubuntu/ maverick/restricted Translation-it
Ign http://it.archive.ubuntu.com/ubuntu/ maverick/universe Translation-en
Trovato http://it.archive.ubuntu.com/ubuntu/ maverick/universe Translation-it
Trovato http://it.archive.ubuntu.com maverick-updates Release.gpg
Ign http://it.archive.ubuntu.com/ubuntu/ maverick-updates/main Translation-en
Ign http://it.archive.ubuntu.com/ubuntu/ maverick-updates/main Translation-it
Ign http://it.archive.ubuntu.com/ubuntu/ maverick-updates/multiverse Translation-en
Ign http://it.archive.ubuntu.com/ubuntu/ maverick-updates/multiverse Translation-it
Ign http://it.archive.ubuntu.com/ubuntu/ maverick-updates/restricted Translation-en
Ign http://it.archive.ubuntu.com/ubuntu/ maverick-updates/restricted Translation-it
Ign http://it.archive.ubuntu.com/ubuntu/ maverick-updates/universe Translation-en
Ign http://it.archive.ubuntu.com/ubuntu/ maverick-updates/universe Translation-it
Trovato http://it.archive.ubuntu.com maverick-security Release.gpg
Ign http://it.archive.ubuntu.com/ubuntu/ maverick-security/main Translation-en
Ign http://it.archive.ubuntu.com/ubuntu/ maverick-security/main Translation-it
Ign http://it.archive.ubuntu.com/ubuntu/ maverick-security/multiverse Translation-en
Ign http://it.archive.ubuntu.com/ubuntu/ maverick-security/multiverse Translation-it
Ign http://it.archive.ubuntu.com/ubuntu/ maverick-security/restricted Translation-en
Ign http://it.archive.ubuntu.com/ubuntu/ maverick-security/restricted Translation-it
Ign http://it.archive.ubuntu.com/ubuntu/ maverick-security/universe Translation-en
Ign http://it.archive.ubuntu.com/ubuntu/ maverick-security/universe Translation-it
Trovato http://it.archive.ubuntu.com maverick Release
Trovato http://it.archive.ubuntu.com maverick-updates Release                 
Trovato http://it.archive.ubuntu.com maverick-security Release                 
Trovato http://it.archive.ubuntu.com maverick/main Sources                     
Trovato http://it.archive.ubuntu.com maverick/restricted Sources
Trovato http://it.archive.ubuntu.com maverick/universe Sources
Trovato http://it.archive.ubuntu.com maverick/multiverse Sources
Trovato http://it.archive.ubuntu.com maverick/main amd64 Packages
Trovato http://it.archive.ubuntu.com maverick/restricted amd64 Packages
Trovato http://it.archive.ubuntu.com maverick/universe amd64 Packages
Trovato http://it.archive.ubuntu.com maverick/multiverse amd64 Packages
Trovato http://it.archive.ubuntu.com maverick-updates/main Sources
Trovato http://it.archive.ubuntu.com maverick-updates/restricted Sources
Trovato http://it.archive.ubuntu.com maverick-updates/universe Sources
Trovato http://it.archive.ubuntu.com maverick-updates/multiverse Sources
Trovato http://it.archive.ubuntu.com maverick-updates/main amd64 Packages
Trovato http://it.archive.ubuntu.com maverick-updates/restricted amd64 Packages
Trovato http://it.archive.ubuntu.com maverick-updates/universe amd64 Packages
Trovato http://it.archive.ubuntu.com maverick-updates/multiverse amd64 Packages
Trovato http://it.archive.ubuntu.com maverick-security/main Sources
Trovato http://it.archive.ubuntu.com maverick-security/restricted Sources
Trovato http://it.archive.ubuntu.com maverick-security/universe Sources
Trovato http://it.archive.ubuntu.com maverick-security/multiverse Sources
Trovato http://it.archive.ubuntu.com maverick-security/main amd64 Packages
Trovato http://it.archive.ubuntu.com maverick-security/restricted amd64 Packages
Trovato http://it.archive.ubuntu.com maverick-security/universe amd64 Packages
Trovato http://it.archive.ubuntu.com maverick-security/multiverse amd64 Packages
Lettura elenco dei pacchetti... Fatto
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze     
Lettura informazioni sullo stato... Fatto
È utile eseguire "apt-get -f install" per correggere ciò.
I seguenti pacchetti hanno dipendenze non soddisfatte:
hpijs : Dipende: libhpmud0 (= 3.10.6-1u`untu10.2) ma la versione 3.10.6-1ubuntu10.2 è installata
E: Dipendenze non trovate. Riprovare usando -f.
luca@luca:~$


IL problema è sempre lo stesso, l'hpijs

Re: Problema aggiornamenti

Inviato: martedì 8 marzo 2011, 20:15
da karza
luca@luca:~$ cat /etc/apt/sources.list
# deb cdrom:[Ubuntu 10.10 _Maverick Meerkat_ - Release amd64 (20101007)]/ maverick main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://it.archive.ubuntu.com/ubuntu/ maverick main restricted
deb-src http://it.archive.ubuntu.com/ubuntu/ maverick main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://it.archive.ubuntu.com/ubuntu/ maverick-updates main restricted
deb-src http://it.archive.ubuntu.com/ubuntu/ maverick-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://it.archive.ubuntu.com/ubuntu/ maverick universe
deb-src http://it.archive.ubuntu.com/ubuntu/ maverick universe
deb http://it.archive.ubuntu.com/ubuntu/ maverick-updates universe
deb-src http://it.archive.ubuntu.com/ubuntu/ maverick-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://it.archive.ubuntu.com/ubuntu/ maverick multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ maverick multiverse
deb http://it.archive.ubuntu.com/ubuntu/ maverick-updates multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ maverick-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://it.archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse
# deb-src http://it.archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu maverick partner
# deb-src http://archive.canonical.com/ubuntu maverick partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu maverick main
deb-src http://extras.ubuntu.com/ubuntu maverick main

deb http://it.archive.ubuntu.com/ubuntu/ maverick-security main restricted
deb-src http://it.archive.ubuntu.com/ubuntu/ maverick-security main restricted
deb http://it.archive.ubuntu.com/ubuntu/ maverick-security universe
deb-src http://it.archive.ubuntu.com/ubuntu/ maverick-security universe
deb http://it.archive.ubuntu.com/ubuntu/ maverick-security multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ maverick-security multiverse
luca@luca:~$

Re: Problema aggiornamenti

Inviato: martedì 8 marzo 2011, 20:16
da Diabolik62
dai
sudo apt-get -f install
posta la risposta
che è sto
hpijs

Re: Problema aggiornamenti

Inviato: martedì 8 marzo 2011, 20:17
da Diabolik62
ah è un driver per stampante hp

Re: Problema aggiornamenti

Inviato: martedì 8 marzo 2011, 20:22
da karza
L'apt-get install l'ho già dato, ho postato l'immagine del terminale nel primo messaggio. Il problema è un pacchetto nominato in modo non corretto: tdsod'c.

Ma come risolvo?

Re: Problema aggiornamenti

Inviato: martedì 8 marzo 2011, 20:26
da Diabolik62
posta la risposta di questi comandi
sudo apt-get -f install
sudo apt-get update && sudo apt-get upgrade

Re: Problema aggiornamenti

Inviato: martedì 8 marzo 2011, 20:35
da karza
Scusa Diabolik, siamo in un circolo vizioso :)
le ho postate prima quelle risposte

Re: Problema aggiornamenti

Inviato: martedì 8 marzo 2011, 20:40
da Diabolik62
potresti spiegarmi come hai installato questo pacchetto??
tdsod'c

Re: Problema aggiornamenti

Inviato: martedì 8 marzo 2011, 20:45
da karza
Ma non l'ho installato manualmente, ho solo installato gli aggiornamenti rilevati in automatico

Re: Problema aggiornamenti

Inviato: martedì 8 marzo 2011, 20:49
da Diabolik62
da terminale
sudo mv /var/lib/dpkg/available /var/lib/dpkg/available-old1

sudo mv /var/lib/dpkg/available-old /var/lib/dpkg/available
e ripeti
sudo apt-get update && sudo apt-get upgrade

Re: Problema aggiornamenti

Inviato: martedì 8 marzo 2011, 21:14
da karza
Ottimo! Dopo i comandi che mi hai indicato (per chi si servisse di questa discussione, nel secondo manca "1" dopo old), ho dato apt-get install -f come suggerito dal terminale ed è andata!
Senonchè... ho lanciato il gestore aggiornamenti, che ha installato i pacchetti in sospeso eccetto uno, che risulta esser scaricato ma la cui installazione dà errore. Ma non voglio approfittare... magari richiederò aiuto nei prossimi giorni.
Grazie mille Diabolik

Re: [RISOLTO] Problema aggiornamenti

Inviato: mercoledì 9 marzo 2011, 14:56
da Diabolik62
no, il secondo comando è giusto il primo comando fa la copia del tuo vecchio availabe, in caso andasse storto qualcosa, il secondo ti copia l'availlabe old al posto di availabe che è corrotto infatti ti dava ancora errore hai copiato lo stesso  availabe che avevi prima