[Risolto] apt-get errore aggiornamenti

Problemi riscontrati durante l'installazione di Ubuntu, degli aggiornamenti e degli avanzamenti del sistema.
Scrivi risposta
Avatar utente
zetabar
Prode Principiante
Messaggi: 171
Iscrizione: lunedì 15 gennaio 2007, 18:43

[Risolto] apt-get errore aggiornamenti

Messaggio da zetabar »

salve a tutti, da qualche giorno, forse dopo un aggiornamento, l'icona di notifica degli aggiornamenti mi si impalla ogni volta che tento di fare gli aggiornamenti, restituendomi alla fine una finestra con il seguente messaggio:
E: Errore di lettura - read (5 Errore di I/O)
E: Impossibile analizzare o aprire l'elenco dei pacchetti o il file di stato.
E: _cache->open() failed, please report.


anche da terminale :

Codice: Seleziona tutto

enrico@enrico-laptop:~$ sudo synaptic
Traceback (most recent call last):
  File "/usr/sbin/update-apt-xapian-index", line 588, in <module>
    buildIndex(dbdir, addons, progress)
  File "/usr/sbin/update-apt-xapian-index", line 280, in buildIndex
    cache = apt.Cache(memonly=True)
  File "/usr/lib/python2.5/site-packages/apt/cache.py", line 52, in __init__
    self.open(progress)
  File "/usr/lib/python2.5/site-packages/apt/cache.py", line 65, in open
    self._cache = apt_pkg.GetCache(progress)
SystemError: E:Read error - read (5 Input/output error), E:The package lists or status file could not be parsed or opened.
e anche con apt-get update:

Codice: Seleziona tutto

enrico@enrico-laptop:~$ sudo apt-get upgrade 
Lettura della lista dei pacchetti in corso... Errore!
E: Errore di lettura - read (5 Errore di I/O)
E: La lista dei pacchetti o il file di status non possono essere letti o aperti.
enrico@enrico-laptop:~$ sudo apt-get upgrade 
non so che fare per risolvere e vi chiedo aiuto!!!
Ultima modifica di zetabar il martedì 21 aprile 2009, 22:05, modificato 1 volta in totale.
Avatar utente
Deino+
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 807
Iscrizione: lunedì 26 maggio 2008, 20:12
Località: Perugia

Re: apt-get errore aggiornamenti

Messaggio da Deino+ »

Magari postaci il tuo source.list, vediamo se c'è qualche problema lì
Avatar utente
zetabar
Prode Principiante
Messaggi: 171
Iscrizione: lunedì 15 gennaio 2007, 18:43

Re: apt-get errore aggiornamenti

Messaggio da zetabar »

ciao e grazie per l'interessamento, nn avevo pensato che dipendesse dal source.list comunque eccolo qua:

Codice: Seleziona tutto

# deb cdrom:[Ubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081029.5)]/ intrepid 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/ intrepid main restricted
deb-src http://it.archive.ubuntu.com/ubuntu/ intrepid main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://it.archive.ubuntu.com/ubuntu/ intrepid-updates main restricted
deb-src http://it.archive.ubuntu.com/ubuntu/ intrepid-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/ intrepid universe
deb-src http://it.archive.ubuntu.com/ubuntu/ intrepid universe
deb http://it.archive.ubuntu.com/ubuntu/ intrepid-updates universe
deb-src http://it.archive.ubuntu.com/ubuntu/ intrepid-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/ intrepid multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ intrepid multiverse
deb http://it.archive.ubuntu.com/ubuntu/ intrepid-updates multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ intrepid-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/ intrepid-backports main restricted universe multiverse
 deb-src http://it.archive.ubuntu.com/ubuntu/ intrepid-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 intrepid partner
deb-src http://archive.canonical.com/ubuntu intrepid partner

deb http://security.ubuntu.com/ubuntu intrepid-security main restricted
deb-src http://security.ubuntu.com/ubuntu intrepid-security main restricted
deb http://security.ubuntu.com/ubuntu intrepid-security universe
deb-src http://security.ubuntu.com/ubuntu intrepid-security universe
deb http://security.ubuntu.com/ubuntu intrepid-security multiverse
deb http://it.archive.ubuntu.com/ubuntu/ intrepid-proposed restricted main multiverse universe
deb-src http://security.ubuntu.com/ubuntu intrepid-security multiverse

##cairo doc
deb http://repository.cairo-dock.org/ubuntu intrepid cairo-dock
Avatar utente
zetabar
Prode Principiante
Messaggi: 171
Iscrizione: lunedì 15 gennaio 2007, 18:43

Re: apt-get errore aggiornamenti

Messaggio da zetabar »

fiducioso dell'esito ho cambiato, di poco, il source list con questo:

Codice: Seleziona tutto

# deb cdrom:[Ubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081029.5)]/ intrepid 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/ intrepid main restricted
deb-src http://it.archive.ubuntu.com/ubuntu/ intrepid main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://it.archive.ubuntu.com/ubuntu/ intrepid-updates main restricted
deb-src http://it.archive.ubuntu.com/ubuntu/ intrepid-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/ intrepid universe
deb-src http://it.archive.ubuntu.com/ubuntu/ intrepid universe
deb http://it.archive.ubuntu.com/ubuntu/ intrepid-updates universe
deb-src http://it.archive.ubuntu.com/ubuntu/ intrepid-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/ intrepid multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ intrepid multiverse
deb http://it.archive.ubuntu.com/ubuntu/ intrepid-updates multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ intrepid-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/ intrepid-backports main restricted universe multiverse
# deb-src http://it.archive.ubuntu.com/ubuntu/ intrepid-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 intrepid partner
deb-src http://archive.canonical.com/ubuntu intrepid partner

deb http://security.ubuntu.com/ubuntu intrepid-security main restricted
deb-src http://security.ubuntu.com/ubuntu intrepid-security main restricted
deb http://security.ubuntu.com/ubuntu intrepid-security universe
deb-src http://security.ubuntu.com/ubuntu intrepid-security universe
deb http://security.ubuntu.com/ubuntu intrepid-security multiverse
deb-src http://security.ubuntu.com/ubuntu intrepid-security multiverse
deb http://it.archive.ubuntu.com/ubuntu/ intrepid-proposed restricted main multiverse universe
ma non ha sortito alcun effetto infatti cliccando sulla notifica degli aggiornamenti mi da questo errore:

Immagine
Avatar utente
Deino+
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 807
Iscrizione: lunedì 26 maggio 2008, 20:12
Località: Perugia

Re: apt-get errore aggiornamenti

Messaggio da Deino+ »

L'immagine non mi si ingrandisce ??? Comunque non so puoi provare con

Codice: Seleziona tutto

sudo aptitude -f install
e vedere se ti propone qualche soluzione (controlla prima di dare yes cosa ti consiglia di fare)
Avatar utente
zetabar
Prode Principiante
Messaggi: 171
Iscrizione: lunedì 15 gennaio 2007, 18:43

Re: apt-get errore aggiornamenti

Messaggio da zetabar »

niente da fare, ho il presentimento che sia un problema hardware più che di ubuntu. qualche mese fa il pc ha avuto dei problemi e ho dovuto praticamente smontarlo tutto per resettare il bios (togliendo la batteria tampone) perchè, non so per quale motivo, non partiva più il bios. infatti ero gia partito con ricerche varie per cambiarlo ma poi smontandolo avevo risolto, anche se ho dovuto formattare tutto :'( :'(
questo è la risposta al install -f:

Codice: Seleziona tutto

enrico@enrico-laptop:~$ sudo aptitude -f install
Lettura della lista dei pacchetti in corso... Errore!
E: Errore di lettura - read (5 Errore di I/O)
E: Impossibile analizzare o aprire l'elenco dei pacchetti o il file di stato.
Lettura della lista dei pacchetti in corso... Errore!
E: Errore di lettura - read (5 Errore di I/O)
E: Impossibile analizzare o aprire l'elenco dei pacchetti o il file di stato.
spero di sbaglairmi......
furios_angel
Prode Principiante
Messaggi: 23
Iscrizione: domenica 19 aprile 2009, 0:28

Re: apt-get errore aggiornamenti

Messaggio da furios_angel »

zetabar ha scritto: niente da fare, ho il presentimento che sia un problema hardware più che di ubuntu. qualche mese fa il pc ha avuto dei problemi e ho dovuto praticamente smontarlo tutto per resettare il bios (togliendo la batteria tampone) perchè, non so per quale motivo, non partiva più il bios. infatti ero gia partito con ricerche varie per cambiarlo ma poi smontandolo avevo risolto, anche se ho dovuto formattare tutto
Ciao,
non credo che sia un problema di BIOS (però se fossi in te li darei una controllata), leggendo dal tuo ultimo messaggio. Sembra che il source.list non sia affetto da nessun errore. Comunque prova con questo sources.list:

Codice: Seleziona tutto

# deb cdrom:[Ubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081029.5)]/ intrepid main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb cdrom:[Ubuntu 7.04 _Feisty Fawn_ - Release i386 (20070415)]/ feisty main restricted
deb http://archive.ubuntu.com/ubuntu/ intrepid main restricted multiverse
## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu/ intrepid-updates main restricted multiverse
## 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://archive.ubuntu.com/ubuntu/ intrepid universe
deb http://archive.ubuntu.com/ubuntu/ intrepid-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.
## 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://archive.ubuntu.com/ubuntu/ intrepid-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 intrepid partner
deb-src http://archive.canonical.com/ubuntu intrepid partner
deb http://archive.ubuntu.com/ubuntu/ intrepid-security main restricted multiverse
deb http://archive.ubuntu.com/ubuntu/ intrepid-security universe
deb http://archive.ubuntu.com/ubuntu/ intrepid-proposed restricted main universe multiverse
Ultima modifica di furios_angel il domenica 19 aprile 2009, 0:47, modificato 1 volta in totale.
Avatar utente
Deino+
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 807
Iscrizione: lunedì 26 maggio 2008, 20:12
Località: Perugia

Re: apt-get errore aggiornamenti

Messaggio da Deino+ »

La lista pacchetti però è corrotta (o scomparsa). qualcuno sa dove si trova?
Avatar utente
zetabar
Prode Principiante
Messaggi: 171
Iscrizione: lunedì 15 gennaio 2007, 18:43

Re: apt-get errore aggiornamenti

Messaggio da zetabar »

@ furios_angel:
no non volevo dire che è un problema del bios, ma che secondo me il problema di lettura( read error I/O) sta nell'hardware del pc e non nel software o nel S.O.
cmq provo e vi faccio sapere...grazie mille!!!!!
Avatar utente
scolpi
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 4504
Iscrizione: giovedì 8 maggio 2008, 19:54
Località: Folgaria (Trento)
Contatti:

Re: apt-get errore aggiornamenti

Messaggio da scolpi »

mi sa che , sempre se sia possibile, l'unica possibilità sarebbe ricompilare apt exnovo, però non so come si faccia e nemmeno se sia possibile.

Non penso sia un problema hardware, piuttosto l'aggiornamento di un pacchetto di apt andato male
Acquista il nuovo cd postumo, solo 10 euro e tutti in beneficienza, per info:  www.valentinagiovagnini.it
Avatar utente
zetabar
Prode Principiante
Messaggi: 171
Iscrizione: lunedì 15 gennaio 2007, 18:43

Re: apt-get errore aggiornamenti

Messaggio da zetabar »

@ furius sembra che sia andato a posto sostituendo la lista con quella che hai postato tu!!!
meno complicato di quello che sembrava!!!!
grazieeeeeeeeeeeeeeeeee!!!!!!!!!!!!!!!!!
Avatar utente
Deino+
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 807
Iscrizione: lunedì 26 maggio 2008, 20:12
Località: Perugia

Re: apt-get errore aggiornamenti

Messaggio da Deino+ »

zetabar ha scritto: @ furius sembra che sia andato a posto sostituendo la lista con quella che hai postato tu!!!
meno complicato di quello che sembrava!!!!
grazieeeeeeeeeeeeeeeeee!!!!!!!!!!!!!!!!!
(good)
Scrivi risposta

Ritorna a “Installazione e aggiornamento del sistema operativo”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 1 ospite