Pagina 1 di 1

[Risolto] strano comportamento del gestore aggiornamenti

Inviato: martedì 6 luglio 2010, 9:34
da stanchissimo
come da titolo, dopo che ieri ho installato i nuovi aggiornamenti compreso il kernel 2.6.32-23 il gestore aggiornamenti si fa i cavoli suoi, continua ad apparirmi l'icona rossa triangolare sulla barra superiore, e cliccandoci sopra si avvia in auto il gestore aggiornamenti, la prima cosa strana che si nota è che dice che le info sui pacchetti sono state aggiornate 11 giorni fa, poi quando clikko su verifica ottengo una sfilza interminabile di errori che vi riporto:
"Impossibile recuperare cdrom://Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100426)/dists/lucid/main/binary-i386/Packages.gz  Usare apt-cdrom per far riconoscere questo CD-ROM da APT. apt-get update non può essere usato per aggiungere nuovi CD-ROM
Impossibile recuperare cdrom://Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100426)/dists/lucid/restricted/binary-i386/Packages.gz  Usare apt-cdrom per far riconoscere questo CD-ROM da APT. apt-get update non può essere usato per aggiungere nuovi CD-ROM
Impossibile recuperare cdrom://Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429)/dists/lucid/main/binary-i386/Packages.gz  Usare apt-cdrom per far riconoscere questo CD-ROM da APT. apt-get update non può essere usato per aggiungere nuovi CD-ROM
Impossibile recuperare cdrom://Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429)/dists/lucid/restricted/binary-i386/Packages.gz  Usare apt-cdrom per far riconoscere questo CD-ROM da APT. apt-get update non può essere usato per aggiungere nuovi CD-ROM
Impossibile scaricare alcuni file di indice: saranno ignorati o verranno usati quelli vecchi"
Infine chiudendo tutto l'icona rossa scompare per tornare dopo un pò di tempo, dipende come gli gira
a parte questo non ho riscontrato altri difetti nel S.O anzi mi sembra che con il nuovo kernel sia più veloce quindi mi dispiacerebbe rimuoverlo, qualcuno può aiutarmi?

Re: strano comportamento del gestore aggiornamenti

Inviato: martedì 6 luglio 2010, 9:35
da vaillant
Posta il risultato di

Codice: Seleziona tutto

cat /etc/apt/sources.list

Re: strano comportamento del gestore aggiornamenti

Inviato: martedì 6 luglio 2010, 9:39
da stanchissimo
grazie della rapidità. eccotelo;

fra@fra:~$ cat /etc/apt/sources.list
deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100426)]/ lucid main restricted
deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429)]/ lucid 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/ lucid main restricted
deb-src http://it.archive.ubuntu.com/ubuntu/ lucid main restricted

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

deb http://security.ubuntu.com/ubuntu lucid-security main restricted
deb-src http://security.ubuntu.com/ubuntu lucid-security main restricted
deb http://security.ubuntu.com/ubuntu lucid-security universe
deb-src http://security.ubuntu.com/ubuntu lucid-security universe
deb http://security.ubuntu.com/ubuntu lucid-security multiverse
deb-src http://security.ubuntu.com/ubuntu lucid-security multiverse

Re: strano comportamento del gestore aggiornamenti

Inviato: martedì 6 luglio 2010, 9:40
da Lemmy K.
Devi solo togliere la spunta dal cd come fonte per gli aggiornamenti... o fare


gedit /etc/apt/sources.list

e sovrascrivere

deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100426)]/ lucid main restricted
deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429)]/ lucid main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

con questo:

#deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100426)]/ lucid main restricted
#deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429)]/ lucid main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

Re: strano comportamento del gestore aggiornamenti

Inviato: martedì 6 luglio 2010, 9:41
da Megatux
Devi commentare le voci relative al cd rom... e già che ci sei, vedo che hai un repository partner attivo e uno commentato... o li attivi entrambi, o li commenti entrambi...

Re: strano comportamento del gestore aggiornamenti

Inviato: martedì 6 luglio 2010, 9:41
da vaillant
Dai

Codice: Seleziona tutto

sudo gedit /etc/apt/sources.list
e modifica queste due voci
stanchissimo ha scritto: deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100426)]/ lucid main restricted
deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429)]/ lucid main restricted
in questo modo
stanchissimo ha scritto: # deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100426)]/ lucid main restricted
# deb cdrom:[Ubuntu 10.04 LTS _Lucid Lynx_ - Release i386 (20100429)]/ lucid main restricted
cioè anteponendo un # davanti e uno spazio.

Salva il file, chiudi e dai

Codice: Seleziona tutto

sudo apt-get update
e vedi come si comporta

Re: strano comportamento del gestore aggiornamenti

Inviato: martedì 6 luglio 2010, 9:42
da vaillant
Megatux ha scritto: ...e già che ci sei, vedo che hai un repository partner attivo e uno commentato... o li attivi entrambi, o li commenti entrambi...
Per quale motivo? Quello abilitato è per i pacchetti binari, l'altro è per i sorgenti. Se i sorgenti non gli servono può lasciare così come si trova

Re: strano comportamento del gestore aggiornamenti

Inviato: martedì 6 luglio 2010, 9:43
da Megatux
Appunto per quello... se non gli serve o meno non lo so...

Re: strano comportamento del gestore aggiornamenti

Inviato: martedì 6 luglio 2010, 9:52
da stanchissimo
fatto adesso dice che gli aggiornamenti sono stati effettuati meno di un'ora fa e non mi da più errori, metto risolto, ma già che ci siamo giusto per legittima curiosità e per capire,mi potreste dire cosa è successo e perchè gli errori me li ha dati solo dopo l'ultimo aggiornamento di kernel mentre prima non avevo riscontrato mai problemi, pur essendo le stesse le informazioni sui repostry?

Re: [Risolto] strano comportamento del gestore aggiornamenti

Inviato: martedì 6 luglio 2010, 9:54
da vaillant
Il problema era scaturito dal fatto che apt cercava le "fonti di informazione" nei repository e nei cd rom di installazione. Di default, il cd è disabilitato come fonte... tu ne avevi addirittura due abilitati!

Dubito che si siano abilitati da soli  ;)

Re: [Risolto] strano comportamento del gestore aggiornamenti

Inviato: martedì 6 luglio 2010, 10:06
da stanchissimo
no non si sono abilitati da soli, è una cosa che ho dovuto fare perchè non mi installava ndiswrapper e dipendenze per poter installare i driver della chiavette wifi, non so perchè continuava a dire filed to mount cd rom quindi ho provato ad inserirne un'altro ed avviare il gestore pacchetti e mi ha installato ciò che serviva, ma questa è storia, accadeva 2 mesi fa, quello che mi incuriosisce è il fatto che appunto questi errori siano saltati fuori dopo 2 mesi e solo dopo avere aggiornato il kernel