Problema negli aggiornamenti automatici

Problemi riscontrati durante l'installazione di Ubuntu, degli aggiornamenti e degli avanzamenti del sistema.
Avatar utente
jonajams
Prode Principiante
Messaggi: 179
Iscrizione: sabato 23 gennaio 2010, 11:49

Problema negli aggiornamenti automatici

Messaggio da jonajams »

salve, sono in possesso di ubuntu versione "stabile", cioè quella che si aggiorna ogni tot di anni (non ricordo il num ora :D )
comunque sia, quando avvio gli aggiornamenti automatici ricevo questo errore:
W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ lucid/partner Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_lucid_partner_binary-i386_Packages)
come posso risolvere?
lgsalvati
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 2519
Iscrizione: mercoledì 4 ottobre 2006, 12:24
Località: SALERNO

Re: Problema negli aggiornamenti automatici

Messaggio da lgsalvati »

C'è una riga duplicata nel file sources.list,aprilo con i permessi di root,da terminale:

Codice: Seleziona tutto

sudo gedit /etc/apt/sources.list
e cerca la riga in questione,se trovi difficoltà posta il contenuto del file e vediamo qual'è :)
Avatar utente
jonajams
Prode Principiante
Messaggi: 179
Iscrizione: sabato 23 gennaio 2010, 11:49

Re: Problema negli aggiornamenti automatici

Messaggio da jonajams »

ho paura di fare dei casini, questo è source list :D

# deb cdrom:[Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5)]/ karmic 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/ karmic-backports main restricted universe multiverse
# deb-src http://it.archive.ubuntu.com/ubuntu/ karmic-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 karmic partner
# deb-src http://archive.canonical.com/ubuntu karmic 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
deb http://archive.ubuntu.com/ubuntu/ karmic multiverse universe
Avatar utente
Megatux
Tenace Tecnocrate
Tenace Tecnocrate
Messaggi: 11793
Iscrizione: lunedì 21 settembre 2009, 12:47
Desktop: Ubuntu
Distribuzione: Ubuntu 22.04.3 LTS x86_64
Sesso: Maschile

Re: Problema negli aggiornamenti automatici

Messaggio da Megatux »

Hai un repository di Karmic... se stai usando Lucid non ti serve... da Terminale dai ancora:

Codice: Seleziona tutto

sudo gedit /etc/apt/sources.list
e raggiungi l'ultima riga, cioè:
deb http://archive.ubuntu.com/ubuntu/ karmic multiverse universe
e ci metti davanti un # poi salvi e ridai:

Codice: Seleziona tutto

sudo apt-get update
Il mondo sarebbe migliore con Gnu/Linux Ubuntu!
Avatar utente
jonajams
Prode Principiante
Messaggi: 179
Iscrizione: sabato 23 gennaio 2010, 11:49

Re: Problema negli aggiornamenti automatici

Messaggio da jonajams »

fatto come hai scritto ma ora in apt-get update mi da questo:
mpossibile aprire il file di blocco /var/lib/apt/lists/lock - open (13: Permesso negato)
E: Impossibile bloccare la directory
Scrivi risposta

Ritorna a “Installazione e aggiornamento del sistema operativo”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 8 ospiti