problemas com sudo apt-get update

Iniciado por adadk, 08 de Julho de 2015, 17:48

tópico anterior - próximo tópico

adadk

tentei atualizar o meu Ubuntu 14.10 (os pacotes) e apareceu isso no final dps de ''lendo lista de pacotes...pronto''

W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ utopic-security/main amd64 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_utopic-security_main_binary-amd64_Packages)
W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ utopic-security/restricted amd64 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_utopic-security_restricted_binary-amd64_Packages)
W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ utopic-security/main i386 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_utopic-security_main_binary-i386_Packages)
W: Duplicate sources.list entry http://security.ubuntu.com/ubuntu/ utopic-security/restricted i386 Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_utopic-security_restricted_binary-i386_Packages)
W: Você terá que executar apt-get update para corrigir estes problemas

como resolver?

selvaking

Corrigindo o seu arquivo etc/apt/sources.list. Ele está com entradas duplicadas.

copie e cola o conteudo do seu /etc/apt/sources.list
Dê-me um computador com o Tux que movo o mundo!

Linux User #323049

adadk

# deb cdrom:[Ubuntu 14.10 _Utopic Unicorn_ - Release amd64 (20141022.1)]/ utopic main restricted
# deb cdrom:[Ubuntu 14.10 _Utopic Unicorn_ - Release amd64 (20141022.1)]/ utopic main restricted
deb http://archive.ubuntu.com/ubuntu/ utopic main restricted
deb http://security.ubuntu.com/ubuntu/ utopic-security main restricted
deb http://archive.ubuntu.com/ubuntu/ utopic-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://br.archive.ubuntu.com/ubuntu/ utopic universe
deb http://br.archive.ubuntu.com/ubuntu/ utopic-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://br.archive.ubuntu.com/ubuntu/ utopic multiverse
deb http://br.archive.ubuntu.com/ubuntu/ utopic-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 utopic-security main restricted
deb http://security.ubuntu.com/ubuntu utopic-security universe
deb http://security.ubuntu.com/ubuntu utopic-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 utopic partner
# deb-src http://archive.canonical.com/ubuntu utopic 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 utopic main


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

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

selvaking

Limpe ao máximo o seu arquivo deixando somente as linhas abaixo:


deb http://br.archive.ubuntu.com/ubuntu utopic main restricted universe multiverse
#deb-src http://br.archive.ubuntu.com/ubuntu utopic main restricted universe multiverse

deb http://br.archive.ubuntu.com/ubuntu utopic-updates main restricted universe multiverse
#deb-src http://br.archive.ubuntu.com/ubuntu utopic-updates main restricted universe multiverse

deb http://br.archive.ubuntu.com/ubuntu utopic-security main restricted universe multiverse
#deb-src http://br.archive.ubuntu.com/ubuntu utopic-security main restricted universe multiverse

deb http://br.archive.ubuntu.com/ubuntu utopic-backports main restricted universe multiverse
#deb-src http://br.archive.ubuntu.com/ubuntu utopic-backports main restricted universe multiverse

## 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 utopic main

## 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 utopic partner
Dê-me um computador com o Tux que movo o mundo!

Linux User #323049

adadk

resolveu meu problema
mt obrigado msm