Arreglar "W: Duplicate sources.list entry"

Imagen de pablovera
0 puntos

Hola, como están.

Despues de mucho tiempo volví a Ubuntu.

Pero tengo un pequeño problema: al ingresar el comando apt-get update me aparecen estos mensajes de duplicacion

Leyendo lista de paquetes... Hecho
W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ saucy-security/main amd64 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_saucy-security_main_binary-amd64_Packages)
W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ saucy-security/restricted amd64 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_saucy-security_restricted_binary-amd64_Packages)
W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ saucy-security/universe amd64 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_saucy-security_universe_binary-amd64_Packages)
W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ saucy-security/multiverse amd64 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_saucy-security_multiverse_binary-amd64_Packages)
W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ saucy-security/main i386 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_saucy-security_main_binary-i386_Packages)
W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ saucy-security/restricted i386 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_saucy-security_restricted_binary-i386_Packages)
W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ saucy-security/universe i386 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_saucy-security_universe_binary-i386_Packages)
W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ saucy-security/multiverse i386 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_saucy-security_multiverse_binary-i386_Packages)
W: Tal vez quiera ejecutar «apt-get update» para corregir estos problemas

He visto que muchos lo arreglan borrando las entradas repetidas desde el sources.list pero, realmente, no las encuentro.

Aqui mi source.list:

# deb cdrom:[Ubuntu 13.10 _Saucy Salamander_ - Release amd64 (20131016.1)]/ saucy main restricted
deb-src http://archive.ubuntu.com/ubuntu saucy main restricted #Added by software-properties

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://ar.archive.ubuntu.com/ubuntu/ saucy main restricted
deb-src http://ar.archive.ubuntu.com/ubuntu/ saucy restricted main multiverse universe #Added by software-properties

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

## 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 saucy partner
deb-src http://archive.canonical.com/ubuntu saucy 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 saucy main
deb-src http://extras.ubuntu.com/ubuntu saucy main
deb http://security.ubuntu.com/ubuntu/ saucy-security restricted multiverse universe main

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb-src http://ar.archive.ubuntu.com/ubuntu/ saucy main restricted

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

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.

Les agradecería mucho la ayuda.

Saludos.

Imagen de .doc
+1
0
-1

pues, como a todos nos da mucha pereza leer ese tocho que has puesto, léelo tu, y cuando veas una linea (sin la almohadilla (#) delante), o algun repositorio, duplicado, le pones la almohadilla (#), con lo cual estás indicando al sources.list que no haga caso de esa línea. (esta es una forma de eliminar datos sin tener que borrarlos, cosa que también podrías hacer, claro, pero siempre es más seguro, por si metes la pata, lo de la almohadilla)

Y también podrías anteponer la almohadilla en las líneas que comienzan por deb-src: son los repositorios de los 'archivos fuente' que, si no van a compilar nada, tampoco los necesitas.

Por cierto, importante: esto tienes que hacerlo editando el archivo con prerrogativas de root (o sea, de superusuario), así que tienes que abrir el archivo escribiendo, en consola
gksudo gedit /etc/apt/sources.list
o, si quieres emplear un editor de textos independiente del entorno gráfico, con
sudo nano /etc/apt/sources.list

(en cualquier caso, hechos los cambios, guardas el archivo (modificado), y cierras el editor). Y luego haces el consabido
sudo apt-get update
para recargar los repositorios y ver si te sigue dando 'Warnings' (W)

+1
0
-1