Pagina 1 di 1

[RISOLTO] Errore Gestore aggiornamenti

Inviato: domenica 22 gennaio 2012, 12:19
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

Re: Errore Gestore aggiornamenti

Inviato: domenica 22 gennaio 2012, 12:23
da drudox
posta il risultato di

Codice: Seleziona tutto

sudo apt-get update 

cat /etc/apt/sources.list

Re: Errore Gestore aggiornamenti

Inviato: domenica 22 gennaio 2012, 12:31
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

Re: Errore Gestore aggiornamenti

Inviato: domenica 22 gennaio 2012, 12:39
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

Re: Errore Gestore aggiornamenti

Inviato: domenica 22 gennaio 2012, 12:49
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

Re: Errore Gestore aggiornamenti

Inviato: domenica 22 gennaio 2012, 16:05
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!

Re: [RISOLTO] Errore Gestore aggiornamenti

Inviato: sabato 24 marzo 2012, 11:04
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