E: Unable to locate package ubuntu-desktop [RESOLVIDO]

1. E: Unable to locate package ubuntu-desktop [RESOLVIDO]

mauro lucio pereira da silva
mauroslucios

(usa Ubuntu)

Enviado em 13/03/2014 - 13:47h

Boa tarde,
Sou iniciante no linux e instalei o ubuntu server 12.04 e gostaria de instalar a interface gráfica, mais da o "erro: E: Unable to locate package ubuntu-desktop", o sudo apt-get update só pesquisa no cd-rom!
Sei que muitos irão dize: "Instala o desktop"! Já tenho uma máquina com desktop e estou precisando aprender o server!
Dou um ping pro meu roteador e tudo corre ok! Entrei no router e minha máquina está ativa, ou seja, a internet esta ok!
Alguém poderia me ajudar?
Obrigado!



  


2. MELHOR RESPOSTA

Pires
pinguintux

(usa Debian)

Enviado em 14/03/2014 - 20:06h

mauroslucios escreveu:

Boa tarde,
Sou iniciante no linux e instalei o ubuntu server 12.04 e gostaria de instalar a interface gráfica, mais da o "erro: E: Unable to locate package ubuntu-desktop", o sudo apt-get update só pesquisa no cd-rom!
Sei que muitos irão dize: "Instala o desktop"! Já tenho uma máquina com desktop e estou precisando aprender o server!
Dou um ping pro meu roteador e tudo corre ok! Entrei no router e minha máquina está ativa, ou seja, a internet esta ok!
Alguém poderia me ajudar?
Obrigado!


Boa noite!

Tente executar os procedimentos abaixo:

a. Abra o terminal (Ctr+Alt+T):

b. Digite os comandos abaixo:

$ sudo -i (insira a senha e tecle Enter)

b. Use um editor de texto de sua preferência (vi, gedit, mc, nano ....)

# gedit /etc/apt/sources.list

c. Comente (insira o símbolo # na frente da linha) as primeiras linhas (normalmente são as três primeiras linhas) e deixe-as, conforme exemplo abaixo, salve e saia:

# deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120425)]/ dists/precise/main/binary-i386/

# deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120425)]/ dists/precise/restricted/binary-i386/
# deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120425)]/ precise main restricted

d. Execute os comandos abaixo:

# apt-get update

# apt-get dist-upgrade (aguarde o término da atualização)

e. Agora tente novamente o que estavas tentando fazer!

OBS:. Caso o seu problema seja solucionado, não esqueça de marcar o tópico como resolvido e se possível descreva a solução para que outras pessoas também possam se beneficiar!

Boa sorte!


3. Consegui apt-get update!

mauro lucio pereira da silva
mauroslucios

(usa Ubuntu)

Enviado em 14/03/2014 - 23:02h

Muito obrigado a equipe viva o linux!
Minha sources.list estava somente com esta linha:
# deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120425)]/ precise main restricted
Criei um arquivo seguindo este exemplo:
https://help.ubuntu.com/12.04/sample/sources.list

Agora esta atualizando meu sistema.

Obrigado!




4. Re: E: Unable to locate package ubuntu-desktop [RESOLVIDO]

Alberto Federman Neto.
albfneto

(usa openSUSE)

Enviado em 16/03/2014 - 22:46h

se resolvido,marcar como resolvido e a melhor resposta.



5. Ubuntu não acha packeges

willian jose boela
djwillian

(usa Outra)

Enviado em 13/09/2014 - 15:22h

olá, quero só tirar uma dúvida.
Minha máquina é uma "QBEX placa NM70I memória 4GB HD 500gb"
Istalação sem sistema (UBUNTU Linux i386)
Estou enfrentando o seguinte problema:
Recem instalado o UBUNTU, ele funciona tudo perfeitamente, porem não consigo fazer updates e baixar os drivers da máquina.
recem feito o que está ai em cima, ela acontece isto aqui:

willian@willian-NM70-I:~$ sudo apt-get update
[sudo] password for willian:
Ign http://br.archive.ubuntu.com quantal InRelease
Ign http://br.archive.ubuntu.com quantal-updates InRelease
Ign http://br.archive.ubuntu.com quantal-backports InRelease
Ign http://br.archive.ubuntu.com quantal Release.gpg
Ign http://br.archive.ubuntu.com quantal-updates Release.gpg
Ign http://br.archive.ubuntu.com quantal-backports Release.gpg
Ign http://security.ubuntu.com quantal-security InRelease
Ign http://br.archive.ubuntu.com quantal Release
Ign http://br.archive.ubuntu.com quantal-updates Release
Ign http://br.archive.ubuntu.com quantal-backports Release
Ign http://extras.ubuntu.com quantal InRelease
Ign http://security.ubuntu.com quantal-security Release.gpg
Ign http://security.ubuntu.com quantal-security Release
Hit http://extras.ubuntu.com quantal Release.gpg
Hit http://extras.ubuntu.com quantal Release
Hit http://extras.ubuntu.com quantal/main Sources
Hit http://extras.ubuntu.com quantal/main i386 Packages
Ign http://extras.ubuntu.com quantal/main Translation-en_US
Ign http://extras.ubuntu.com quantal/main Translation-en
Err http://br.archive.ubuntu.com quantal/main Sources
404 Not Found
Err http://br.archive.ubuntu.com quantal/restricted Sources
404 Not Found
Err http://br.archive.ubuntu.com quantal/universe Sources
404 Not Found
Err http://br.archive.ubuntu.com quantal/multiverse Sources
404 Not Found
Err http://br.archive.ubuntu.com quantal/main i386 Packages
404 Not Found
Err http://br.archive.ubuntu.com quantal/restricted i386 Packages
404 Not Found
Err http://br.archive.ubuntu.com quantal/universe i386 Packages
404 Not Found
Err http://br.archive.ubuntu.com quantal/multiverse i386 Packages
404 Not Found
Ign http://br.archive.ubuntu.com quantal/main Translation-en_US
Ign http://br.archive.ubuntu.com quantal/main Translation-en
Ign http://br.archive.ubuntu.com quantal/multiverse Translation-en_US
Ign http://br.archive.ubuntu.com quantal/multiverse Translation-en
Ign http://br.archive.ubuntu.com quantal/restricted Translation-en_US
Ign http://br.archive.ubuntu.com quantal/restricted Translation-en
Ign http://br.archive.ubuntu.com quantal/universe Translation-en_US
Ign http://br.archive.ubuntu.com quantal/universe Translation-en
Err http://br.archive.ubuntu.com quantal-updates/main Sources
404 Not Found
Err http://br.archive.ubuntu.com quantal-updates/restricted Sources
404 Not Found
Err http://br.archive.ubuntu.com quantal-updates/universe Sources
404 Not Found
Err http://br.archive.ubuntu.com quantal-updates/multiverse Sources
404 Not Found
Err http://br.archive.ubuntu.com quantal-updates/main i386 Packages
404 Not Found
Err http://br.archive.ubuntu.com quantal-updates/restricted i386 Packages
404 Not Found
Err http://br.archive.ubuntu.com quantal-updates/universe i386 Packages
404 Not Found
Err http://br.archive.ubuntu.com quantal-updates/multiverse i386 Packages
404 Not Found
Ign http://br.archive.ubuntu.com quantal-updates/main Translation-en_US
Ign http://br.archive.ubuntu.com quantal-updates/main Translation-en
Ign http://br.archive.ubuntu.com quantal-updates/multiverse Translation-en_US
Ign http://br.archive.ubuntu.com quantal-updates/multiverse Translation-en
Ign http://br.archive.ubuntu.com quantal-updates/restricted Translation-en_US
Ign http://br.archive.ubuntu.com quantal-updates/restricted Translation-en
Ign http://br.archive.ubuntu.com quantal-updates/universe Translation-en_US
Ign http://br.archive.ubuntu.com quantal-updates/universe Translation-en
Err http://br.archive.ubuntu.com quantal-backports/main Sources
404 Not Found
Err http://br.archive.ubuntu.com quantal-backports/restricted Sources
404 Not Found
Err http://br.archive.ubuntu.com quantal-backports/universe Sources
404 Not Found
Err http://br.archive.ubuntu.com quantal-backports/multiverse Sources
404 Not Found
Err http://br.archive.ubuntu.com quantal-backports/main i386 Packages
404 Not Found
Err http://br.archive.ubuntu.com quantal-backports/restricted i386 Packages
404 Not Found
Err http://br.archive.ubuntu.com quantal-backports/universe i386 Packages
404 Not Found
Err http://br.archive.ubuntu.com quantal-backports/multiverse i386 Packages
404 Not Found
Ign http://br.archive.ubuntu.com quantal-backports/main Translation-en_US
Ign http://br.archive.ubuntu.com quantal-backports/main Translation-en
Ign http://br.archive.ubuntu.com quantal-backports/multiverse Translation-en_US
Ign http://br.archive.ubuntu.com quantal-backports/multiverse Translation-en
Ign http://br.archive.ubuntu.com quantal-backports/restricted Translation-en_US
Ign http://br.archive.ubuntu.com quantal-backports/restricted Translation-en
Ign http://br.archive.ubuntu.com quantal-backports/universe Translation-en_US
Ign http://br.archive.ubuntu.com quantal-backports/universe Translation-en
Err http://security.ubuntu.com quantal-security/main Sources
404 Not Found [IP: 91.189.91.13 80]
Err http://security.ubuntu.com quantal-security/restricted Sources
404 Not Found [IP: 91.189.91.13 80]
Err http://security.ubuntu.com quantal-security/universe Sources
404 Not Found [IP: 91.189.91.13 80]
Err http://security.ubuntu.com quantal-security/multiverse Sources
404 Not Found [IP: 91.189.91.13 80]
Err http://security.ubuntu.com quantal-security/main i386 Packages
404 Not Found [IP: 91.189.91.13 80]
Err http://security.ubuntu.com quantal-security/restricted i386 Packages
404 Not Found [IP: 91.189.91.13 80]
Err http://security.ubuntu.com quantal-security/universe i386 Packages
404 Not Found [IP: 91.189.91.13 80]
Err http://security.ubuntu.com quantal-security/multiverse i386 Packages
404 Not Found [IP: 91.189.91.13 80]
Ign http://security.ubuntu.com quantal-security/main Translation-en_US
Ign http://security.ubuntu.com quantal-security/main Translation-en
Ign http://security.ubuntu.com quantal-security/multiverse Translation-en_US
Ign http://security.ubuntu.com quantal-security/multiverse Translation-en
Ign http://security.ubuntu.com quantal-security/restricted Translation-en_US
Ign http://security.ubuntu.com quantal-security/restricted Translation-en
Ign http://security.ubuntu.com quantal-security/universe Translation-en_US
Ign http://security.ubuntu.com quantal-security/universe Translation-en
W: Failed to fetch http://br.archive.ubuntu.com/ubuntu/dists/quantal/main/source/Sources 404 Not Found

W: Failed to fetch http://br.archive.ubuntu.com/ubuntu/dists/quantal/restricted/source/Sources 404 Not Found

W: Failed to fetch http://br.archive.ubuntu.com/ubuntu/dists/quantal/universe/source/Sources 404 Not Found

W: Failed to fetch http://br.archive.ubuntu.com/ubuntu/dists/quantal/multiverse/source/Sources 404 Not Found

W: Failed to fetch http://br.archive.ubuntu.com/ubuntu/dists/quantal/main/binary-i386/Packages 404 Not Found

W: Failed to fetch http://br.archive.ubuntu.com/ubuntu/dists/quantal/restricted/binary-i386/Packages 404 Not Found

W: Failed to fetch http://br.archive.ubuntu.com/ubuntu/dists/quantal/universe/binary-i386/Packages 404 Not Found

W: Failed to fetch http://br.archive.ubuntu.com/ubuntu/dists/quantal/multiverse/binary-i386/Packages 404 Not Found

W: Failed to fetch http://br.archive.ubuntu.com/ubuntu/dists/quantal-updates/main/source/Sources 404 Not Found

W: Failed to fetch http://br.archive.ubuntu.com/ubuntu/dists/quantal-updates/restricted/source/Sources 404 Not Found

W: Failed to fetch http://br.archive.ubuntu.com/ubuntu/dists/quantal-updates/universe/source/Sources 404 Not Found

W: Failed to fetch http://br.archive.ubuntu.com/ubuntu/dists/quantal-updates/multiverse/source/Sources 404 Not Found

W: Failed to fetch http://br.archive.ubuntu.com/ubuntu/dists/quantal-updates/main/binary-i386/Packages 404 Not Found

W: Failed to fetch http://br.archive.ubuntu.com/ubuntu/dists/quantal-updates/restricted/binary-i386/Packages 404 Not Found

W: Failed to fetch http://br.archive.ubuntu.com/ubuntu/dists/quantal-updates/universe/binary-i386/Packages 404 Not Found

W: Failed to fetch http://br.archive.ubuntu.com/ubuntu/dists/quantal-updates/multiverse/binary-i386/Packages 404 Not Found

W: Failed to fetch http://br.archive.ubuntu.com/ubuntu/dists/quantal-backports/main/source/Sources 404 Not Found

W: Failed to fetch http://br.archive.ubuntu.com/ubuntu/dists/quantal-backports/restricted/source/Sources 404 Not Found

W: Failed to fetch http://br.archive.ubuntu.com/ubuntu/dists/quantal-backports/universe/source/Sources 404 Not Found

W: Failed to fetch http://br.archive.ubuntu.com/ubuntu/dists/quantal-backports/multiverse/source/Sources 404 Not Found

W: Failed to fetch http://br.archive.ubuntu.com/ubuntu/dists/quantal-backports/main/binary-i386/Packages 404 Not Found

W: Failed to fetch http://br.archive.ubuntu.com/ubuntu/dists/quantal-backports/restricted/binary-i386/Packages 404 Not Found

W: Failed to fetch http://br.archive.ubuntu.com/ubuntu/dists/quantal-backports/universe/binary-i386/Packages 404 Not Found

W: Failed to fetch http://br.archive.ubuntu.com/ubuntu/dists/quantal-backports/multiverse/binary-i386/Packages 404 Not Found

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/quantal-security/main/source/Sources 404 Not Found [IP: 91.189.91.13 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/quantal-security/restricted/source/Sources 404 Not Found [IP: 91.189.91.13 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/quantal-security/universe/source/Sources 404 Not Found [IP: 91.189.91.13 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/quantal-security/multiverse/source/Sources 404 Not Found [IP: 91.189.91.13 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/quantal-security/main/binary-i386/Packages 404 Not Found [IP: 91.189.91.13 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/quantal-security/restricted/binary-i386/Packages 404 Not Found [IP: 91.189.91.13 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/quantal-security/universe/binary-i386/Packages 404 Not Found [IP: 91.189.91.13 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/quantal-security/multiverse/binary-i386/Packages 404 Not Found [IP: 91.189.91.13 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.
willian@willian-NM70-I:~$ apt-get dist-upgrade
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
willian@willian-NM70-I:~$
---------------------------------------

e esses pacotes não são encontrados... Por que? e como eu faço para eu fazer update na minha máquina?







Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts