Foro de elhacker.net

Sistemas Operativos => GNU/Linux => Mensaje iniciado por: adgellida en 30 Abril 2012, 02:26 am



Título: "Duplicate sources.list entry" de medibuntu (SOLVED)
Publicado por: adgellida en 30 Abril 2012, 02:26 am
Después de hacer un

Código:
apt-get update
me sale:

Código:
W: Duplicate sources.list entry http://packages.medibuntu.org/ precise/free i386 Packages (/var/lib/apt/lists/packages.medibuntu.org_dists_precise_free_binary-i386_Packages)
W: Duplicate sources.list entry http://packages.medibuntu.org/ precise/non-free i386 Packages (/var/lib/apt/lists/packages.medibuntu.org_dists_precise_non-free_binary-i386_Packages)
W: Tal vez quiera ejecutar «apt-get update» para corregir estos problemas

Se que eliminando una de las 2 entradas solucionará el error pero:

1.Cuál de las 2?
2.Qué diferencia hay entre cada una?
3.Vale la pena conservar los repositorios de medibuntu?

Como ven respuesta fácil. Gracias por mostrar su interés.


Título: Re: "Duplicate sources.list entry" de medibuntu
Publicado por: dato000 en 30 Abril 2012, 05:34 am
ummmmmmm no soy el experto, quiero ver la respuesta de algun experto...

Yo dejaria free, viene siendo lo mismo, saber que cuando necesito algo urgente pongo un repositorio debian XDD


Título: Re: "Duplicate sources.list entry" de medibuntu
Publicado por: Slava_TZD en 30 Abril 2012, 08:51 am
¿No puedes tener ambos?

Código
  1. deb http://ffff.ffff.org/ ffff free non-free

Deja tu /etc/apt/sources.list.


Título: Re: "Duplicate sources.list entry" de medibuntu
Publicado por: adgellida en 30 Abril 2012, 16:11 pm
Tengo lubuntu 12.04 Fui aquí http://repogen.simplylinux.ch/ (http://repogen.simplylinux.ch/) y creé el source.list, borré el que tenía y lo puse.

1.Qué diferencia hay entre

 Main - Officially supported software.
 Main Sources Repository?

Es decir qué diferencia hay entre elegir de cada grupo de 2 uno de los 2 o los 2?

2.Aquí está mi sourcesl.ist realizado bajo la recomendación de http://www.tuxgarage.com/2011/01/restore-your-sources-list-to-defaults.html (http://www.tuxgarage.com/2011/01/restore-your-sources-list-to-defaults.html) por qué me da error en medibuntu siendo que en el 11.10 nunca me dio problema?

Código:
#############################################################
################### OFFICIAL UBUNTU REPOS ###################
#############################################################

###### Ubuntu Main Repos
deb http://es.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
deb-src http://es.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse

###### Ubuntu Update Repos
deb http://es.archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb http://es.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
deb-src http://es.archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb-src http://es.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse

###### Ubuntu Partner Repo
deb http://archive.canonical.com/ubuntu precise partner
deb-src http://archive.canonical.com/ubuntu precise partner

###### Ubuntu Extras Repo
deb http://extras.ubuntu.com/ubuntu precise main
deb-src http://extras.ubuntu.com/ubuntu precise main

##############################################################
##################### UNOFFICIAL  REPOS ######################
##############################################################

###### 3rd Party Binary Repos

#### Audacity - http://audacity.sourceforge.net/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys     1024R/BB901940
deb http://ppa.launchpad.net/audacity-team/daily/ubuntu precise main

#### Google Linux Software Repositories - http://www.google.com/linuxrepositories/
## Run this command: wget -q https://dl-ssl.google.com/linux/linux_signing_key.pub -O- | sudo apt-key add -
deb http://dl.google.com/linux/deb/ stable non-free

#### Gwibber (Daily) - https://launchpad.net/gwibber
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 72D340A3
deb http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu precise main

#### LibreOffice - http://www.documentfoundation.org/download/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1378B444
deb http://ppa.launchpad.net/libreoffice/ppa/ubuntu precise main

#### Medibuntu - http://www.medibuntu.org/
## Run this command: sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update
deb http://packages.medibuntu.org/ precise free non-free

#### muCommander - http://www.mucommander.com/
## Run this command: sudo wget -O - http://apt.mucommander.com/apt.key | sudo apt-key add -
deb http://apt.mucommander.com stable main non-free contrib  

#### Pidgin - http://pidgin.im
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A1F196A8
deb http://ppa.launchpad.net/pidgin-developers/ppa/ubuntu precise main

#### PlayOnLinux - http://www.playonlinux.com/en
## Run this command: wget -q "http://deb.playonlinux.com/public.gpg" -O- | sudo apt-key add -
deb http://deb.playonlinux.com/ precise main

#### qBittorrent - http://qbittorrent.sourceforge.net/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 47B4D1C4
deb http://ppa.launchpad.net/hydr0g3n/ppa/ubuntu precise main

#### Ubuntu Tweak - http://ubuntu-tweak.com/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0624A220
deb http://ppa.launchpad.net/tualatrix/ubuntu precise main

#### UNetbootin - http://unetbootin.sourceforge.net/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys FC91AE7E
deb http://ppa.launchpad.net/gezakovacs/ppa/ubuntu precise main

#### VirtualBox - http://www.virtualbox.org
## Run this command: wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
deb http://download.virtualbox.org/virtualbox/debian precise contrib

#### Wine - https://launchpad.net/~ubuntu-wine/+archive/ppa/
## Run this command:  sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F9CB8DB0
deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu precise main

#### X Updates - https://launchpad.net/~ubuntu-x-swat/+archive/x-updates/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys AF1CDFA9
deb http://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu precise main


####### 3rd Party Source Repos

#### Audacity (Source) - http://audacity.sourceforge.net/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys     1024R/BB901940
deb-src http://ppa.launchpad.net/audacity-team/daily/ubuntu precise main

#### Gwibber (Daily) (Source) - https://launchpad.net/gwibber
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 72D340A3
deb-src http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu precise main

#### LibreOffice (Source) - http://www.documentfoundation.org/download/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1378B444
deb-src http://ppa.launchpad.net/libreoffice/ppa/ubuntu precise main

#### Medibuntu (Source) - http://www.medibuntu.org/
## Run this command: sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update
deb-src http://packages.medibuntu.org/ precise free non-free

#### Pidgin (Source) - http://pidgin.im
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A1F196A8
deb-src http://ppa.launchpad.net/pidgin-developers/ppa/ubuntu precise main

#### qBittorrent (Source) - http://qbittorrent.sourceforge.net/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 47B4D1C4
deb-src http://ppa.launchpad.net/hydr0g3n/ppa/ubuntu precise main

#### Ubuntu Tweak (Source) - http://ubuntu-tweak.com/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0624A220
deb-src http://ppa.launchpad.net/tualatrix/ubuntu precise main

#### UNetbootin (Source) - http://unetbootin.sourceforge.net/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys FC91AE7E
deb-src http://ppa.launchpad.net/gezakovacs/ppa/ubuntu precise main

#### Wine (Source) - https://launchpad.net/~ubuntu-wine/+archive/ppa/
## Run this command:  sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F9CB8DB0
deb-src http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu precise main

#### X Updates (Source) - https://launchpad.net/~ubuntu-x-swat/+archive/x-updates/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys AF1CDFA9
deb-src http://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu precise main


Título: Re: "Duplicate sources.list entry" de medibuntu
Publicado por: Slava_TZD en 30 Abril 2012, 16:42 pm
Es raro que te diga que tienes esas entradas duplicadas, mas que nada, porque no las tienes duplicadas, a no ser que a parte de poner las líneas en el sources.list hayas creado dentro de sources.list.d/ un fichero con las mismas líneas (cosa muy probable, ya que es lo que recomiendad en la página de medibuntu)... Pega la salida del siguiente comando para saber que tienes ahí dentro:

Código:
$ cat /etc/apt/sources.list.d/*


PD: Respecto a lo otro que dices, no entiendo a que te refieres, en una parte hay paquetes y en la otra los src de esos paquetes.


Título: Re: "Duplicate sources.list entry" de medibuntu
Publicado por: adgellida en 1 Mayo 2012, 11:01 am
Entonces se necesitan siempre sí o sí las 2 cosas para que los paquetes sean descargados correctamente no? paquetes son .deb y src qué es, la dirección donde están o es algo reference a "programación"?

Etaba ejecutando lubuntu en vmware en el cual tenía el problema antes descrito, me lo instalé normal, pegué esto:

Código:
#############################################################
################### OFFICIAL UBUNTU REPOS ###################
#############################################################

###### Ubuntu Main Repos
deb http://es.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
deb-src http://es.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse

###### Ubuntu Update Repos
deb http://es.archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb http://es.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
deb-src http://es.archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb-src http://es.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse

##############################################################
##################### UNOFFICIAL  REPOS ######################
##############################################################

###### 3rd Party Binary Repos

#### Audacity - http://audacity.sourceforge.net/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys     1024R/BB901940
deb http://ppa.launchpad.net/audacity-team/daily/ubuntu precise main

#### Google Linux Software Repositories - http://www.google.com/linuxrepositories/
## Run this command: wget -q https://dl-ssl.google.com/linux/linux_signing_key.pub -O- | sudo apt-key add -
deb http://dl.google.com/linux/deb/ stable non-free

#### Gwibber (Daily) - https://launchpad.net/gwibber
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 72D340A3
deb http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu precise main

#### LibreOffice - http://www.documentfoundation.org/download/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1378B444
deb http://ppa.launchpad.net/libreoffice/ppa/ubuntu precise main

#### Medibuntu - http://www.medibuntu.org/
## Run this command: sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update
deb http://packages.medibuntu.org/ precise free non-free

#### muCommander - http://www.mucommander.com/
## Run this command: sudo wget -O - http://apt.mucommander.com/apt.key | sudo apt-key add -
deb http://apt.mucommander.com stable main non-free contrib  

#### Pidgin - http://pidgin.im
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A1F196A8
deb http://ppa.launchpad.net/pidgin-developers/ppa/ubuntu precise main

#### PlayOnLinux - http://www.playonlinux.com/en
## Run this command: wget -q "http://deb.playonlinux.com/public.gpg" -O- | sudo apt-key add -
deb http://deb.playonlinux.com/ precise main

#### qBittorrent - http://qbittorrent.sourceforge.net/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 47B4D1C4
deb http://ppa.launchpad.net/hydr0g3n/ppa/ubuntu precise main

#### Ubuntu Tweak - http://ubuntu-tweak.com/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0624A220
deb http://ppa.launchpad.net/tualatrix/ubuntu precise main

#### UNetbootin - http://unetbootin.sourceforge.net/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys FC91AE7E
deb http://ppa.launchpad.net/gezakovacs/ppa/ubuntu precise main

#### VirtualBox - http://www.virtualbox.org
## Run this command: wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
deb http://download.virtualbox.org/virtualbox/debian precise contrib

#### Wine - https://launchpad.net/~ubuntu-wine/+archive/ppa/
## Run this command:  sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F9CB8DB0
deb http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu precise main

#### X Updates - https://launchpad.net/~ubuntu-x-swat/+archive/x-updates/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys AF1CDFA9
deb http://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu precise main


####### 3rd Party Source Repos

#### Audacity (Source) - http://audacity.sourceforge.net/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys     1024R/BB901940
deb-src http://ppa.launchpad.net/audacity-team/daily/ubuntu precise main

#### Gwibber (Daily) (Source) - https://launchpad.net/gwibber
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 72D340A3
deb-src http://ppa.launchpad.net/gwibber-daily/ppa/ubuntu precise main

#### LibreOffice (Source) - http://www.documentfoundation.org/download/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1378B444
deb-src http://ppa.launchpad.net/libreoffice/ppa/ubuntu precise main

#### Medibuntu (Source) - http://www.medibuntu.org/
## Run this command: sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update
deb-src http://packages.medibuntu.org/ precise free non-free

#### Pidgin (Source) - http://pidgin.im
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A1F196A8
deb-src http://ppa.launchpad.net/pidgin-developers/ppa/ubuntu precise main

#### qBittorrent (Source) - http://qbittorrent.sourceforge.net/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 47B4D1C4
deb-src http://ppa.launchpad.net/hydr0g3n/ppa/ubuntu precise main

#### Ubuntu Tweak (Source) - http://ubuntu-tweak.com/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0624A220
deb-src http://ppa.launchpad.net/tualatrix/ubuntu precise main

#### UNetbootin (Source) - http://unetbootin.sourceforge.net/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys FC91AE7E
deb-src http://ppa.launchpad.net/gezakovacs/ppa/ubuntu precise main

#### Wine (Source) - https://launchpad.net/~ubuntu-wine/+archive/ppa/
## Run this command:  sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F9CB8DB0
deb-src http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu precise main

#### X Updates (Source) - https://launchpad.net/~ubuntu-x-swat/+archive/x-updates/
## Run this command: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys AF1CDFA9
deb-src http://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu precise main/

Luego agregué las keys desde el terminal:

Código:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys     1024R/BB901940
wget -q https://dl-ssl.google.com/linux/linux_signing_key.pub -O- | sudo apt-key add -
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 72D340A3
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 1378B444
sudo apt-get update && sudo apt-get install medibuntu-keyring && sudo apt-get update
sudo wget -O - http://apt.mucommander.com/apt.key | sudo apt-key add -
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A1F196A8
wget -q "http://deb.playonlinux.com/public.gpg" -O- | sudo apt-key add -
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 47B4D1C4
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0624A220
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys FC91AE7E
wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add -
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F9CB8DB0
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys AF1CDFA9

y problema solucionado, no logro entender qué pasaba en el vmware siendo que esas líneas no existen duplicadas.

Bueno responde a lo pendiente si puedes, lo demás está solucionado. Gracias!


Título: Re: "Duplicate sources.list entry" de medibuntu (SOLVED)
Publicado por: Slava_TZD en 1 Mayo 2012, 15:52 pm
Arriba te he respondido a lo de las entradas duplicadas. La respuesta a la otra pregunta es no, no hacen falta 2 de cada, pues quitar los src si no los usas.


Título: Re: "Duplicate sources.list entry" de medibuntu (SOLVED)
Publicado por: adgellida en 1 Mayo 2012, 22:28 pm
Vale los src o sources que es el código fuente del programa para modificarlo?


Título: Re: "Duplicate sources.list entry" de medibuntu (SOLVED 100%)
Publicado por: adgellida en 3 Mayo 2012, 22:30 pm
Ya se lo q pasaba. en sources.list.d se agregaban tb, por tanto sí que estaban repes, así que quité el comando que recomiendan en la web para agregar repo y sólo agregar la instrucción para agregar la key