Alguém pode fornecer um sources.list real, correto e genuíno para o Ubuntu 15.04? [duplicado]

6

Eu tenho usado o Ubuntu há algum tempo e tenho tido todos os problemas que eu precisei para não postar um tópico para obter respostas, até que eu recentemente atualizei para o Ubuntu Vivid.

O Ubuntu é ótimo, mas cada vez que executo sudo apt-get update , tenho uma boa execução de atualização que retorna um aviso de uma duplicata em /var/lib/apt/lists .

Isso não é mesmo onde está o problema. O que é muito frustrante é que, mesmo quando executo a atualização proposta, ela ainda produz o mesmo resultado.

Eu estava usando o Ubuntu 14.04 e atualizei para o Ubuntu Utopic antes de atualizar para o Vivid.

Tudo que eu preciso é que alguém forneça um compacto sem duplicar a lista de fontes.

Por favor.

Obrigado a todos antecipadamente.

Edit: Este é o novo erro que recebi ao recarregar o software-properties-gtk.

W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ vivid-security/restricted i386 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_vivid-security_restricted_binary-i386_Packages)
W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ vivid-security/universe i386 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_vivid-security_universe_binary-i386_Packages)
W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ vivid-security/multiverse i386 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_vivid-security_multiverse_binary-i386_Packages)
W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ vivid-security/main i386 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_vivid-security_main_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems
    
por Mr One ZED 17.04.2015 / 12:59

2 respostas

4

Aqui está minha virgem sources.list

Duplicações também podem surgir quando entradas são incluídas em sources.list e nos arquivos da pasta /etc/apt/sources.list.d .

# deb cdrom:[Ubuntu-GNOME 15.04 _Vivid Vervet_ - Alpha amd64 (20150316)]/ vivid main multiverse restricted universe

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

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

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

Você pode remover duplicatas com o Y PPA Manager :

sudo add-apt-repository ppa:webupd8team/y-ppa-manager
sudo apt-get update
sudo apt-get install y-ppa-manager

Executar Y PPA Manager

Selecione Avançado

Selecione Analisar e remover os PPAs duplicados

Quando isso estiver concluído, inicie uma atualização:

sudo apt-get update
    
por A.B. 17.04.2015 / 13:03
3

Esse deve ser o caso (não se esqueça de substituir us pelo prefixo de seu país):

deb http://us.archive.ubuntu.com/ubuntu/ vivid main universe restricted multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ vivid main universe restricted multiverse

deb http://us.archive.ubuntu.com/ubuntu/ vivid-security main universe restricted multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ vivid-security main universe restricted multiverse

deb http://us.archive.ubuntu.com/ubuntu/ vivid-updates main universe restricted multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ vivid-updates main universe restricted multiverse
    
por kos 17.04.2015 / 13:02