[RISOLTO] Errore Gestore aggiornamenti

Configurazione e uso delle applicazioni del desktop manager alla base di Xubuntu.
Avatar utente
vlangogh
Prode Principiante
Messaggi: 37
Iscrizione: lunedì 28 novembre 2011, 17:29
Contatti:

[RISOLTO] Errore Gestore aggiornamenti

Messaggio da vlangogh »

Ciao
sul pc di un mio amico, che monta Xubuntu 11.10, da sempre errore nell'aprire il gestore aggiornamenti, l'errore è questo:

E:Encountered a section with no Package: header, E:Problem with MergeList /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_oneiric-security_universe_binary-i386_Packages, E:The package lists or status file could not be parsed or opened.

Sapete aiutarmi?
Grazie in anticipo
Ultima modifica di vlangogh il domenica 22 gennaio 2012, 16:07, modificato 1 volta in totale.
Avatar utente
drudox
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1057
Iscrizione: mercoledì 7 aprile 2010, 20:43
Località: Cagliari

Re: Errore Gestore aggiornamenti

Messaggio da drudox »

posta il risultato di

Codice: Seleziona tutto

sudo apt-get update 

cat /etc/apt/sources.list
Avatar utente
vlangogh
Prode Principiante
Messaggi: 37
Iscrizione: lunedì 28 novembre 2011, 17:29
Contatti:

Re: Errore Gestore aggiornamenti

Messaggio da vlangogh »

con sudo apt-get update:

E: Impossibile aprire il file di blocco /var/lib/apt/lists/lock - open (13: Permesso negato)
E: Impossibile bloccare la directory /var/lib/apt/lists/
E: Impossibile aprire il file di blocco /var/lib/dpkg/lock - open (13: Permesso negato)
E: Impossibile acquisire il blocco sulla directory di amministrazione (/var/lib/dpkg/). È necessario essere root.

con
cat /etc/apt/sources.list

# deb cdrom:[Xubuntu 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 restricted main multiverse universe #Added by software-properties

## 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 restricted main multiverse universe #Added by software-properties

## 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 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 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 #Added by software-properties

deb http://security.ubuntu.com/ubuntu oneiric-security main restricted
deb-src http://security.ubuntu.com/ubuntu oneiric-security restricted main multiverse universe #Added by software-properties
deb http://security.ubuntu.com/ubuntu oneiric-security universe
deb 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 http://it.archive.ubuntu.com/ubuntu/ oneiric-proposed restricted main multiverse universe
deb-src http://it.archive.ubuntu.com/ubuntu/ oneiric-proposed restricted main multiverse universe #Added by software-properties
deb-src http://extras.ubuntu.com/ubuntu oneiric main
Avatar utente
drudox
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1057
Iscrizione: mercoledì 7 aprile 2010, 20:43
Località: Cagliari

Re: Errore Gestore aggiornamenti

Messaggio da drudox »

ma non e` che hai synaptic o ubu software center aperto ???
hai inserito la pass di sudo correttavemente immagino .. o meglio non ti avrebbe dato risultati
Avatar utente
Diabolik62
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 16046
Iscrizione: domenica 20 dicembre 2009, 16:29
Distribuzione: wind 10049 archfce4.12

Re: Errore Gestore aggiornamenti

Messaggio da Diabolik62 »

Ciao,
prova con questa soluzione,vediamo se funge
sudo rm -rf /var/lib/apt/lists/*
sudo mkdir -p /var/lib/apt/lists/partial
sudo apt-get update
Avatar utente
vlangogh
Prode Principiante
Messaggi: 37
Iscrizione: lunedì 28 novembre 2011, 17:29
Contatti:

Re: Errore Gestore aggiornamenti

Messaggio da vlangogh »

prova con questa soluzione,vediamo se funge
sudo rm -rf /var/lib/apt/lists/*
sudo mkdir -p /var/lib/apt/lists/partial
sudo apt-get update
(good) Risolto!!! Lettura elenco pacchetti funziona da terminale e anche da applicazione.

Grazie mille ragazzi!

Una domanda Diabolik, ma come si imparano tutti questi sudo!?!?  :-\  :)

alla prossima ciao!
stesamo
Prode Principiante
Messaggi: 1
Iscrizione: sabato 24 marzo 2012, 10:53

Re: [RISOLTO] Errore Gestore aggiornamenti

Messaggio da stesamo »

Avevo il problema di "Richiede l'installazione di pacchetti non fidati" quando provavo a installare qualsiasi cosa da Ubuntu S. Center.
Dopo averne provate mille ho inserito la soluzione di Diabolik62 ;
prova con questa soluzione,vediamo se funge
sudo rm -rf /var/lib/apt/lists/*
sudo mkdir -p /var/lib/apt/lists/partial
sudo apt-get update
e si è sbloccato tutto
grazie ancora al forum

prima avevo inserito anche
sudo apt-get update
sudo apt-get upgrade
ma senza apparenti miglioramenti
Scrivi risposta

Ritorna a “Xfce”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 4 ospiti