Pagina 1 di 1

[RISOLTO]Problema con aggiornamento software

Inviato: martedì 5 giugno 2012, 13:21
da tincathebest
Buongiorno a tutti..!
Sono Stefano e sono nuovo del mondo di linux... L'ho sempre trovato interessante e adesso che lo sto utilizzando da qualche mese, mi ha dato soddisfazioni...
Non sono un genio dei pc e quindi son qui per chiedere aiuto...
Ier, durante l'aggiornamento del software, sono incappato in un problema che si ripropone ormai da 24h...
Non riesco a installare il pacchetto Linux Kernel image for version 3.0.0 on x86/x86_64
Mi dice che i pacchetti sono danneggiati e quando parte la riparazione degli stessi, non si risolve la cosa... Ho provato anche il comando sudo apt-get install -f da terminale, ma nemmeno lì riesce a funzionare...
Il messaggio da terminale che appare è questo:

Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
Correzione delle dipendenze... Fatto
I seguenti pacchetti saranno inoltre installati:
linux-image-3.0.0-20-generic
Pacchetti suggeriti:
fdutils linux-doc-3.0.0 linux-source-3.0.0 linux-tools
I seguenti pacchetti NUOVI saranno installati:
linux-image-3.0.0-20-generic
0 aggiornati, 1 installati, 0 da rimuovere e 0 non aggiornati.
2 non completamente installati o rimossi.
È necessario scaricare 0 B/36,5 MB di archivi.
Dopo quest'operazione, verranno occupati 117 MB di spazio su disco.
Continuare [S/n]? s
(Lettura del database... 259576 file e directory attualmente installati.)
Estrazione di linux-image-3.0.0-20-generic (da .../linux-image-3.0.0-20-generic_3.0.0-20.34_i386.deb)...
Done.
dpkg-deb (sottoprocesso): dati: errore interno di lettura di bzip2: "DATA_ERROR"
dpkg-deb: errore: il sottoprocesso <decompressione> ha restituito lo stato di errore 2
dpkg: errore nell'elaborare /var/cache/apt/archives/linux-image-3.0.0-20-generic_3.0.0-20.34_i386.deb (--unpack):
il sottoprocesso dpkg-deb --fsys-tarfile ha restituito lo stato di errore 2
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.0.0-20-generic /boot/vmlinuz-3.0.0-20-generic
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.0.0-20-generic /boot/vmlinuz-3.0.0-20-generic
Si sono verificati degli errori nell'elaborazione:
/var/cache/apt/archives/linux-image-3.0.0-20-generic_3.0.0-20.34_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

qualcuno mi può aiutare..?

Re: Problema con aggiornamento software

Inviato: martedì 5 giugno 2012, 13:49
da ^alessio^
Ciao,apri un terminale e dai

Codice: Seleziona tutto

sudo apt-get clean && sudo apt-get update && sudo apt-get upgrade

Re: Problema con aggiornamento software

Inviato: martedì 5 giugno 2012, 15:44
da tincathebest
Fatto...

Solo che è arrivato a questo punto:

Lettura elenco dei pacchetti... Fatto
W: Si è verificato un errore nel verificare la firma. Il repository non è aggiornato e verranno usati i file indice precedenti. Errore GPG: http://archive.canonical.com oneiric Release: Le seguenti firme non erano valide: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>

W: Impossibile recuperare http://ftp.debian.org/dists/etch/main/source/Sources 404 Not Found

W: Impossibile recuperare http://ftp.debian.org/dists/etch/main/b ... 6/Packages 404 Not Found

W: Impossibile recuperare http://archive.canonical.com/ubuntu/dis ... ic/Release

W: Impossibile recuperare http://it.archive.ubuntu.com/ubuntu/dis ... i18n/Index Nessuna voce Hash nel file Release /var/lib/apt/lists/partial/it.archive.ubuntu.com_ubuntu_dists_oneiric_main_i18n_Index

W: Impossibile recuperare http://it.archive.ubuntu.com/ubuntu/dis ... i18n/Index Nessuna voce Hash nel file Release /var/lib/apt/lists/partial/it.archive.ubuntu.com_ubuntu_dists_oneiric_multiverse_i18n_Index

W: Impossibile recuperare http://it.archive.ubuntu.com/ubuntu/dis ... i18n/Index Nessuna voce Hash nel file Release /var/lib/apt/lists/partial/it.archive.ubuntu.com_ubuntu_dists_oneiric_restricted_i18n_Index

W: Impossibile recuperare http://it.archive.ubuntu.com/ubuntu/dis ... i18n/Index Nessuna voce Hash nel file Release /var/lib/apt/lists/partial/it.archive.ubuntu.com_ubuntu_dists_oneiric_universe_i18n_Index

W: Impossibile scaricare alcuni file di indice: saranno ignorati o verranno usati quelli vecchi.
W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ oneiric/partner i386 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_oneiric_partner_binary-i386_Packages)
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:
linux-image-generic : Dipende: linux-image-3.0.0-20-generic ma non è installato
E: Dipendenze non trovate. Riprovare usando -f.

Ho usato apt-get install -f ed è andato tutto a posto...!^_^

Prima di chiudere e di mettere RISOLTO, posso sapere che cosa mi hai fatto fare..?

Re: Problema con aggiornamento software

Inviato: martedì 5 giugno 2012, 16:30
da ^alessio^
prima di mettere risolto posta

Codice: Seleziona tutto

cat /etc/apt/sources.list
che hai dei repo di Debian Etch che vanno rimossi, oppure se sai come fare rimuovili, per postare i messaggi che appaiono nel terminale usa il tasto Code, copi il messaggio che appare nel terminale clicchi su Code e lo incolli in mezzo.

Re: Problema con aggiornamento software

Inviato: martedì 5 giugno 2012, 18:20
da StephanBoy2030
Quando devi postare l'output del terminale usa sempre il TAG Code. Renderai tutto più leggibile

Re: Problema con aggiornamento software

Inviato: lunedì 11 giugno 2012, 18:35
da tincathebest
^alessio^ ha scritto:prima di mettere risolto posta

Codice: Seleziona tutto

cat /etc/apt/sources.list
che hai dei repo di Debian Etch che vanno rimossi, oppure se sai come fare rimuovili, per postare i messaggi che appaiono nel terminale usa il tasto Code, copi il messaggio che appare nel terminale clicchi su Code e lo incolli in mezzo.

Codice: Seleziona tutto

# deb cdrom:[Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111012)]/ oneiric 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/ oneiric main restricted
deb-src http://it.archive.ubuntu.com/ubuntu/ oneiric main restricted

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

## 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/ oneiric-backports main restricted universe multiverse
deb-src http://it.archive.ubuntu.com/ubuntu/ oneiric-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu oneiric-security main restricted
deb-src http://security.ubuntu.com/ubuntu oneiric-security main restricted
deb http://security.ubuntu.com/ubuntu oneiric-security universe
deb-src http://security.ubuntu.com/ubuntu oneiric-security universe
deb http://security.ubuntu.com/ubuntu oneiric-security multiverse
deb-src http://security.ubuntu.com/ubuntu oneiric-security 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 oneiric partner
# deb-src http://archive.canonical.com/ubuntu oneiric 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 oneiric main
deb-src http://extras.ubuntu.com/ubuntu oneiric main