apt-get update não funciona [RESOLVIDO]

13. Re: apt-get update não funciona [RESOLVIDO]

Thiago Henrique Hüpner
Thihup

(usa Manjaro Linux)

Enviado em 03/12/2014 - 15:04h

Remova as linhas parecidas com essas do /etc/apt/sources.list :


cdrom://Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120425)/dists/precise/main/binary-i386/Packages


Depois :

$ sudo apt-get update

Espero ter ajudado

[]'s

T+


  


14. Re: apt-get update não funciona [RESOLVIDO]

Thalles Maciel
thallesmac

(usa Ubuntu)

Enviado em 03/12/2014 - 16:16h

clodoaldops escreveu:

programas-atualizações >> atualizações >> desmarque CD-ROM >> atualize novamente (update && upgrade)


Fiz isso, mas a opção já estava desmarcada.


15. Re: apt-get update não funciona [RESOLVIDO]

Thalles Maciel
thallesmac

(usa Ubuntu)

Enviado em 03/12/2014 - 16:17h

Thihup escreveu:

Remova as linhas parecidas com essas do /etc/apt/sources.list :


cdrom://Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120425)/dists/precise/main/binary-i386/Packages


Depois :

$ sudo apt-get update

Espero ter ajudado

[]'s

T+


Funcionou :D mas apareceram alguns erros :|

W: Duplicate sources.list entry http://br.archive.ubuntu.com/ubuntu/ precise/multiverse amd64 Packages (/var/lib/apt/lists/br.archive.ubuntu.com_ubuntu_dists_precise_multiverse_binary-amd64_Packages)
W: Duplicate sources.list entry http://br.archive.ubuntu.com/ubuntu/ precise/multiverse i386 Packages (/var/lib/apt/lists/br.archive.ubuntu.com_ubuntu_dists_precise_multiverse_binary-i386_Packages)
W: Duplicate sources.list entry http://br.archive.ubuntu.com/ubuntu/ precise-updates/restricted amd64 Packages (/var/lib/apt/lists/br.archive.ubuntu.com_ubuntu_dists_precise-updates_restricted_binary-amd64_Packages)
W: Duplicate sources.list entry http://br.archive.ubuntu.com/ubuntu/ precise-updates/restricted i386 Packages (/var/lib/apt/lists/br.archive.ubuntu.com_ubuntu_dists_precise-updates_restricted_binary-i386_Packages)
W: Você terá que executar apt-get update para corrigir estes problemas

(já usei o apt-get update)



16. Re: apt-get update não funciona [RESOLVIDO]

Thiago Henrique Hüpner
Thihup

(usa Manjaro Linux)

Enviado em 03/12/2014 - 16:21h

Se aparecerem esses erros :


W: Duplicate sources.list entry http://br.archive.ubuntu.com/ubuntu/ precise/multiverse amd64 Packages (/var/lib/apt/lists/br.archive.ubuntu.com_ubuntu_dists_precise_multiverse_binary-amd64_Packages)
W: Duplicate sources.list entry http://br.archive.ubuntu.com/ubuntu/ precise/multiverse i386 Packages (/var/lib/apt/lists/br.archive.ubuntu.com_ubuntu_dists_precise_multiverse_binary-i386_Packages)
W: Duplicate sources.list entry http://br.archive.ubuntu.com/ubuntu/ precise-updates/restricted amd64 Packages (/var/lib/apt/lists/br.archive.ubuntu.com_ubuntu_dists_precise-updates_restricted_binary-amd64_Packages)
W: Duplicate sources.list entry http://br.archive.ubuntu.com/ubuntu/ precise-updates/restricted i386 Packages (/var/lib/apt/lists/br.archive.ubuntu.com_ubuntu_dists_precise-updates_restricted_binary-i386_Packages)
W: Você terá que executar apt-get update para corrigir estes problemas


Apague as linhas que tiverem o 'i386' , em outras palavras , apague as linhas parecidas com essas :


deb http://br.archive.ubuntu.com/ubuntu/ precise/multiverse i386 Packages

deb http://br.archive.ubuntu.com/ubuntu/ precise-updates/restricted i386 Packages


Espero ter ajudado

[]'s

T+


17. Re: apt-get update não funciona [RESOLVIDO]

Clodoaldo Santos
clodoaldops

(usa Linux Mint)

Enviado em 03/12/2014 - 16:31h

-remove repositorios 32bits/i386 do seu ubuntu uma vez que vc usa ubuntu-64bits
programas-atualizações >> outros-programas >> atualizações


18. Re: apt-get update não funciona [RESOLVIDO]

Thalles Maciel
thallesmac

(usa Ubuntu)

Enviado em 04/12/2014 - 14:45h

Thihup escreveu:

Se aparecerem esses erros :


W: Duplicate sources.list entry http://br.archive.ubuntu.com/ubuntu/ precise/multiverse amd64 Packages (/var/lib/apt/lists/br.archive.ubuntu.com_ubuntu_dists_precise_multiverse_binary-amd64_Packages)
W: Duplicate sources.list entry http://br.archive.ubuntu.com/ubuntu/ precise/multiverse i386 Packages (/var/lib/apt/lists/br.archive.ubuntu.com_ubuntu_dists_precise_multiverse_binary-i386_Packages)
W: Duplicate sources.list entry http://br.archive.ubuntu.com/ubuntu/ precise-updates/restricted amd64 Packages (/var/lib/apt/lists/br.archive.ubuntu.com_ubuntu_dists_precise-updates_restricted_binary-amd64_Packages)
W: Duplicate sources.list entry http://br.archive.ubuntu.com/ubuntu/ precise-updates/restricted i386 Packages (/var/lib/apt/lists/br.archive.ubuntu.com_ubuntu_dists_precise-updates_restricted_binary-i386_Packages)
W: Você terá que executar apt-get update para corrigir estes problemas


Apague as linhas que tiverem o 'i386' , em outras palavras , apague as linhas parecidas com essas :


deb http://br.archive.ubuntu.com/ubuntu/ precise/multiverse i386 Packages

deb http://br.archive.ubuntu.com/ubuntu/ precise-updates/restricted i386 Packages


Espero ter ajudado

[]'s

T+


Removi todas as linhas com i386, porém, depois que usei apt-ge update, deu o mesmo erro de duplicatas


19. Re: apt-get update não funciona [RESOLVIDO]

Thalles Maciel
thallesmac

(usa Ubuntu)

Enviado em 04/12/2014 - 14:46h

clodoaldops escreveu:

-remove repositorios 32bits/i386 do seu ubuntu uma vez que vc usa ubuntu-64bits
programas-atualizações >> outros-programas >> atualizações


Não achei a opção para remover repositórios aqui programas-atualizações >> outros-programas >> atualizações


20. Re: apt-get update não funciona [RESOLVIDO]

Thiago Henrique Hüpner
Thihup

(usa Manjaro Linux)

Enviado em 04/12/2014 - 17:52h

Bom amigo , coloque sua /etc/apt/sources.list aqui.

[]'s

T+


21. Re: apt-get update não funciona [RESOLVIDO]

Thalles Maciel
thallesmac

(usa Ubuntu)

Enviado em 04/12/2014 - 18:36h

Thihup escreveu:

Bom amigo , coloque sua /etc/apt/sources.list aqui.

[]'s

T+


# added by the release upgrader
#deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120425)]/ precise main restricted
# deb cdrom:[Kubuntu 10.04.1 LTS _Lucid Lynx_ - Release amd64 (20100816.2)]/ lucid main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://br.archive.ubuntu.com/ubuntu/ precise main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ precise main restricted

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

## Uncomment the following two lines to add software from the 'backports'
## repository.
## 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://br.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
# deb-src http://br.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe 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 lucid partner

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

deb http://br.archive.ubuntu.com/ubuntu/ precise multiverse
deb http://br.archive.ubuntu.com/ubuntu/ precise-updates restricted
deb http://br.archive.ubuntu.com/ubuntu/ precise-proposed universe main multiverse restricted
deb http://br.archive.ubuntu.com/ubuntu/ precise-backports universe main multiverse restricted



22. Re: apt-get update não funciona [RESOLVIDO]

Thalles Maciel
thallesmac

(usa Ubuntu)

Enviado em 04/12/2014 - 19:05h

Thihup escreveu:

Tente trocando o seu sources.list por esse , mas save o antigo em algum outro local :


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

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


Tente com o apt-get update.

Se não der , faça o que nesse link[1] está mandando

Espero ter ajudado

[]'s

T+

[1]http://ubuntuforum-br.org/index.php?topic=96530.0




Amigo, não sei se acredita em Deus, mas cara, muito obrigado! Deus te abençoe. Resolveu sim o problema, fiz exatamente como disse e deu certo!


23. apt-get update não funciona

Thalles Maciel
thallesmac

(usa Ubuntu)

Enviado em 04/12/2014 - 19:07h

Muito obrigado a todos que ajudaram. Deu certo. Vlw



01 02



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts