problema con apt-get update

Installazione, configurazione e uso di programmi e strumenti.
Mattia94
Prode Principiante
Messaggi: 13
Iscrizione: martedì 7 agosto 2012, 20:26
Distribuzione: ubuntu

problema con apt-get update

Messaggio da Mattia94 »

Ciao a tutti ho ho un problema con apt-get update, perchè dopo che l'ho digitato e dopo che ha analizzato il tutto mi viene fuori questo :

W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ precise/partner i386 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_precise_partner_binary-i386_Packages)
W: È consigliato eseguire "apt-get update" per correggere questi problemi


come faccio a risolverlo?
daigo

Re: problema con apt-get update

Messaggio da daigo »

posta da terminale

Codice: Seleziona tutto

cat /etc/apt/sources.list 
e

Codice: Seleziona tutto

ls /etc/apt/sources.list.d/
Mattia94
Prode Principiante
Messaggi: 13
Iscrizione: martedì 7 agosto 2012, 20:26
Distribuzione: ubuntu

Re: problema con apt-get update

Messaggio da Mattia94 »

ecco quello del cat

# 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

## Uncomment the following two lines to add software from Ubuntu's
## 'extras' repository.
## 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
deb http://it.archive.ubuntu.com/ubuntu/ precise-proposed restricted main multiverse universe



e quello del ls

dropbox.list
dropbox.list.save
ffmulticonverter-stable-precise.list
ffmulticonverter-stable-precise.list.save
google-talkplugin.list
google-talkplugin.list.save
markjtully-ppa-precise.list
markjtully-ppa-precise.list.save
precise-partner.list
precise-partner.list.save
scopes-packagers-ppa-precise.list
scopes-packagers-ppa-precise.list.save
ubuntu-defaults.list
ubuntu-defaults.list.save
daigo

Re: problema con apt-get update

Messaggio da daigo »

hai il repo partner anche in sources.list.d,rimuovilo, dai

Codice: Seleziona tutto

sudo rm -r /etc/apt/sources.list.d/precise-partner.list

Codice: Seleziona tutto

sudo rm -r /etc/apt/sources.list.d/precise-partner.list.save
e poi dai

Codice: Seleziona tutto

sudo apt-get update
e vedi se hai ancora errori
Mattia94
Prode Principiante
Messaggi: 13
Iscrizione: martedì 7 agosto 2012, 20:26
Distribuzione: ubuntu

Re: problema con apt-get update

Messaggio da Mattia94 »

ok grazie tutto a posto. In poche parole sai spiegarmi cosa è successo? Se vuoi
Avatar utente
giulux
Amministratore
Amministratore
Messaggi: 25440
Iscrizione: domenica 10 gennaio 2010, 12:17
Desktop: ubuntu 18.04
Distribuzione: Ubuntu 18.04.3 LTS x86_64
Sesso: Maschile
Località: Roma

Re: problema con apt-get update

Messaggio da giulux »

in attesa dei chiarimenti di daigo modifica il primo post mettendo [Risolto] davanti al titolo
ciao
"Non è una segno di buona salute l'essere ben adattato ad una società malata". (Jiddu Krishnarmurti)
daigo

Re: problema con apt-get update

Messaggio da daigo »

sinceramente non saprei come è successo,comunque l'errore diceva che avevi un repo duplicato,il repository partner, che infatti vedi in sources.list

Codice: Seleziona tutto

deb http://archive.canonical.com/ubuntu precise partner
deb-src http://archive.canonical.com/ubuntu precise partner
e in sources.list .d

Codice: Seleziona tutto

precise-partner.list
precise-partner.list.save
rimosso questo è tornato tutto in ordine,ciao :ciao:
Mattia94
Prode Principiante
Messaggi: 13
Iscrizione: martedì 7 agosto 2012, 20:26
Distribuzione: ubuntu

Re: problema con apt-get update

Messaggio da Mattia94 »

Ok capito grazie mille!!
Scrivi risposta

Ritorna a “Applicazioni”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 12 ospiti