Pagina 1 di 1

[Risolto] Errore nel gestore pacchetti e aggiornamenti

Inviato: domenica 13 marzo 2011, 11:31
da Minkowski
Salve a tutti, premettendo che sono un caso disperato e che sono profondamente ignorante in materia vi prego di essere precisi come se parlaste con uno che non ha mai usato Ubuntu.
ho un problema con il gestore degli aggiornamenti e dell'installazione pacchetti: tutte le volte che lo apro o comunque che il sistema ne richiede l'utilizzo mi esce fuori una finestra di errore di questo genere:

Si è verificato un errore

Sono forniti i seguenti dettagli:

E: La riga 5 nel file /etc/apt/sources.list non è corretta (dist)
E: Impossibile leggere l'elenco delle sorgenti.
Correggere il problema nella configurazione del repository.
E: _cache->open() failed, please report.

Come devo procedere per approfondire meglio l'errore in modo che possiate avere informazioni in più per aiutarmi?

Grazie per l'attenzione, spero la sezione sia giusta ho provato con il search ma non ho avuto delucidazioni, magari ho usato criteria sbagliati :s.

Re: Errore nel gestore pacchetti e aggiornamenti

Inviato: domenica 13 marzo 2011, 11:32
da frug75
apri il terminale e dai:

Codice: Seleziona tutto

cat -n /etc/apt/sources.list
posta cosa esce.

Re: Errore nel gestore pacchetti e aggiornamenti

Inviato: domenica 13 marzo 2011, 11:38
da Minkowski

Codice: Seleziona tutto

matteo@matteo-desktop:~$ cat -n /etc/apt/sources.list
     1	# deb cdrom:[Ubuntu 9.04 _Jaunty Jackalope_ - Release i386 (20090421.3)]/ jaunty main restricted
     2	# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     3	# newer versions of the distribution.
     4	deb cdrom:[Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007)]/ maverick main restricted
     5	deb http://asher256-repository.tuxfamily.org/
     6	deb http://it.archive.ubuntu.com/ubuntu/ karmic main restricted
     7	deb-src http://it.archive.ubuntu.com/ubuntu/ karmic main restricted
     8	
     9	## Major bug fix updates produced after the final release of the
    10	## distribution.
    11	deb http://it.archive.ubuntu.com/ubuntu/ karmic-updates main restricted
    12	deb-src http://it.archive.ubuntu.com/ubuntu/ karmic-updates main restricted
    13	
    14	## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    15	## team. Also, please note that software in universe WILL NOT receive any
    16	## review or updates from the Ubuntu security team.
    17	deb http://it.archive.ubuntu.com/ubuntu/ karmic universe
    18	deb-src http://it.archive.ubuntu.com/ubuntu/ karmic universe
    19	deb http://it.archive.ubuntu.com/ubuntu/ karmic-updates universe
    20	deb-src http://it.archive.ubuntu.com/ubuntu/ karmic-updates universe
    21	
    22	## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    23	## team, and may not be under a free licence. Please satisfy yourself as to
    24	## your rights to use the software. Also, please note that software in
    25	## multiverse WILL NOT receive any review or updates from the Ubuntu
    26	## security team.
    27	deb http://it.archive.ubuntu.com/ubuntu/ karmic multiverse
    28	deb-src http://it.archive.ubuntu.com/ubuntu/ karmic multiverse
    29	deb http://it.archive.ubuntu.com/ubuntu/ karmic-updates multiverse
    30	deb-src http://it.archive.ubuntu.com/ubuntu/ karmic-updates multiverse
    31	
    32	## Uncomment the following two lines to add software from the 'backports'
    33	## repository.
    34	## N.B. software from this repository may not have been tested as
    35	## extensively as that contained in the main release, although it includes
    36	## newer versions of some applications which may provide useful features.
    37	## Also, please note that software in backports WILL NOT receive any review
    38	## or updates from the Ubuntu security team.
    39	# deb http://it.archive.ubuntu.com/ubuntu/ jaunty-backports main restricted universe multiverse
    40	# deb-src http://it.archive.ubuntu.com/ubuntu/ jaunty-backports main restricted universe multiverse
    41	
    42	## Uncomment the following two lines to add software from Canonical's
    43	## 'partner' repository.
    44	## This software is not part of Ubuntu, but is offered by Canonical and the
    45	## respective vendors as a service to Ubuntu users.
    46	# deb http://archive.canonical.com/ubuntu jaunty partner
    47	# deb-src http://archive.canonical.com/ubuntu jaunty partner
    48	#Wine
    49	# deb http://wine.budgetdedicated.com/apt karmic main # disabilitato durante l'avanzamento a karmic
    50	deb http://security.ubuntu.com/ubuntu karmic-security main restricted
    51	deb-src http://security.ubuntu.com/ubuntu karmic-security main restricted
    52	deb http://security.ubuntu.com/ubuntu karmic-security universe
    53	deb-src http://security.ubuntu.com/ubuntu karmic-security universe
    54	deb http://security.ubuntu.com/ubuntu karmic-security multiverse
    55	deb-src http://security.ubuntu.com/ubuntu karmic-security multiverse
    56	# deb http://ppa.launchpad.net/chromium-daily/ppa/ubuntu karmic main #chromium-browser disabilitato durante l'avanzamento a karmic
    57	

Re: Errore nel gestore pacchetti e aggiornamenti

Inviato: domenica 13 marzo 2011, 11:50
da frug75
il problema è la riga 5, forse hai aggiunto in modo errato un repository esterno, devi rieditare il sources.list:

Codice: Seleziona tutto

gksudo gedit /etc/apt/sources.list
ti si apre l'editor con il file che hai visualizzato prima, puoi o cancellare la quinta riga:
oppure mettergli davanti il cancelletto per escluderlo:
Salvi il file ed esci, poi da terminale ricarichi:

Codice: Seleziona tutto

sudo apt-get update
e aggiorni:

Codice: Seleziona tutto

sudo apt-get upgrade

Re: Errore nel gestore pacchetti e aggiornamenti

Inviato: domenica 13 marzo 2011, 12:49
da Minkowski
Ti ringrazio, adesso sembra essere passato oltre l'errore. Mi serve solo più un modo per poter interfacciare la chiavetta wireless in modo da poter leggere la rete. così potrà finalmente fare gli upgrade del caso. C'è forse un modo offline di poter configurare un driver per ovviare quest'altro inconveniente? O è meglio che apra un altro topic in sezione più consona?

Re: Errore nel gestore pacchetti e aggiornamenti

Inviato: domenica 13 marzo 2011, 12:57
da frug75
Sheon ha scritto: Ti ringrazio, adesso sembra essere passato oltre l'errore. Mi serve solo più un modo per poter interfacciare la chiavetta wireless in modo da poter leggere la rete. così potrà finalmente fare gli upgrade del caso. C'è forse un modo offline di poter configurare un driver per ovviare quest'altro inconveniente? O è meglio che apra un altro topic in sezione più consona?
Me non sei collegato?

Comunque metti risolto qui e apri un novo topic per l'altro problema: così hai più visibilità.  ;)