[RISOLTO]Problemi apt-get update

Problemi riscontrati durante l'installazione di Ubuntu, degli aggiornamenti e degli avanzamenti del sistema.
siero_
Prode Principiante
Messaggi: 226
Iscrizione: mercoledì 9 marzo 2011, 22:30

[RISOLTO]Problemi apt-get update

Messaggio da siero_ »

Ciao a tutti,
facendo apt-get update da terminale in Ubuntu 12.04, alla fine del processo mi esce questo:

Codice: Seleziona tutto

W: Duplicate sources.list entry http://dl.google.com/linux/chrome/deb/ stable/main amd64 Packages (/var/lib/apt/lists/dl.google.com_linux_chrome_deb_dists_stable_main_binary-amd64_Packages)
W: Duplicate sources.list entry http://dl.google.com/linux/chrome/deb/ stable/main i386 Packages (/var/lib/apt/lists/dl.google.com_linux_chrome_deb_dists_stable_main_binary-i386_Packages)
W: È consigliato eseguire "apt-get update" per correggere questi problemi
Come posso risolvere?
Ultima modifica di siero_ il sabato 5 maggio 2012, 1:10, modificato 1 volta in totale.
daigo

Re: Problemi apt-get update

Messaggio da daigo »

posta questi

Codice: Seleziona tutto

cat /etc/apt/sources.list

Codice: Seleziona tutto

ls /etc/apt/sources.list.d/  
siero_
Prode Principiante
Messaggi: 226
Iscrizione: mercoledì 9 marzo 2011, 22:30

Re: Problemi apt-get update

Messaggio da siero_ »

daigo ha scritto:posta questi

Codice: Seleziona tutto

cat /etc/apt/sources.list

Codice: Seleziona tutto

ls /etc/apt/sources.list.d/  
cat /etc/apt/sources.list

Codice: Seleziona tutto

## deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120425)]/ dists/precise/main/binary-i386/

## deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120425)]/ dists/precise/restricted/binary-i386/
## deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120425)]/ precise 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/ precise main restricted
deb-src http://it.archive.ubuntu.com/ubuntu/ precise main restricted

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

deb http://security.ubuntu.com/ubuntu precise-security main restricted
deb-src http://security.ubuntu.com/ubuntu precise-security main restricted
deb http://security.ubuntu.com/ubuntu precise-security universe
deb-src http://security.ubuntu.com/ubuntu precise-security universe
deb http://security.ubuntu.com/ubuntu precise-security multiverse
deb-src http://security.ubuntu.com/ubuntu precise-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 precise partner
deb-src http://archive.canonical.com/ubuntu precise 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 precise main
deb-src http://extras.ubuntu.com/ubuntu precise main
ls /etc/apt/sources.list.d/

Codice: Seleziona tutto

danielrichter2007-grub-customizer-precise.list
danielrichter2007-grub-customizer-precise.list.save
diesch-testing-precise.list
diesch-testing-precise.list.save
google-chrome.list
google-chrome.list.save
google-earth.list
google-earth.list.save
google.list
google.list.save
gwendal-lebihan-dev-cinnamon-stable-precise.list
gwendal-lebihan-dev-cinnamon-stable-precise.list.save
medibuntu.list
medibuntu.list.save
tualatrix-ppa-precise.list
tualatrix-ppa-precise.list.save
ubuntu-wine-ppa-precise.list
ubuntu-wine-ppa-precise.list.save
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: Problemi apt-get update

Messaggio da Megatux »

Per cominciare, direi di disabilitare i repository backports e quelli proposed... se non ne hai un'esigenza particolare, non ti servono...
Il mondo sarebbe migliore con Gnu/Linux Ubuntu!
daigo

Re: Problemi apt-get update

Messaggio da daigo »

si dovrebbe trovare il ppa che ti da errore sia in sources. list che in sources.list.d ,quindi un doppione ,dall'errore che ti da, ma io non lo vedo ,lo vedo solo in sources.list .d
sei sicuro di aver postato tutto l'output di questo?

Codice: Seleziona tutto

cat /etc/apt/sources.list
se lo hai postato tutto allora io non so aiutarti perchè il doppione in tutti e due i file non lo vedo.verifica se puoi il primo comando,se no aspetta se qualcuno più esperto ti risponde
siero_
Prode Principiante
Messaggi: 226
Iscrizione: mercoledì 9 marzo 2011, 22:30

Re: Problemi apt-get update

Messaggio da siero_ »

Grazie a tutti, ho risolto:
in "Sorgenti Software" ho notato due voci identiche: "http://dl.google.com/linux/chrome/deb/", ne ho disattivata una e ora non mi viene più l'errore.
Avatar utente
giulux
Amministratore
Amministratore
Messaggi: 25422
Iscrizione: domenica 10 gennaio 2010, 12:17
Desktop: ubuntu 18.04
Distribuzione: Ubuntu 18.04.3 LTS x86_64
Sesso: Maschile
Località: Roma

Re: Problemi apt-get update

Messaggio da giulux »

siero_ ha scritto:Grazie a tutti, ho risolto:
scrivilo davanti al titolo del primo post
"Non è una segno di buona salute l'essere ben adattato ad una società malata". (Jiddu Krishnarmurti)
Scrivi risposta

Ritorna a “Installazione e aggiornamento del sistema operativo”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 19 ospiti