Bom eu fui solucionar um erro e cometi outro [RESOLVIDO]

1. Bom eu fui solucionar um erro e cometi outro [RESOLVIDO]

Braga
bragaXT

(usa Debian)

Enviado em 01/08/2012 - 11:45h

Eu estava tentando solucionar o erro de chave aqui; que com algumas ajuda conseguir solucionar; acontece que eu entrei dentro do diretorio /etc/apt via terminal e sem querer excluir o arquivo 'sources.list', pelo comando rm ( rm /etc/apt/sources.list ).
Alguem sabe como reverter isso?




Grato,

"O mundo é perfeito, torto são os habitantes dele"


  


2. MELHOR RESPOSTA

Perfil removido
removido

(usa Nenhuma)

Enviado em 01/08/2012 - 12:11h

Aqui está o Sources.list do meu Precise:


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

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

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

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

## 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
deb http://archive.ubuntu.com/ubuntu precise-proposed restricted main multiverse universe


No terminal, faça:

$ sudo gedit /etc/apt/sources.list

Se houver algo nele que seja igual ao que está acima, não cole esta parte.
Depois salve (clicando no botão 'Salvar' do GEdit) e feche o arquivo.

Novamente no terminal:

$ sudo apt-get update

Se não retornar nenhum erro: Sucesso!
Se retornar, poste aqui.

3. Re: Bom eu fui solucionar um erro e cometi outro [RESOLVIDO]

Daniel Lara Souza
danniel-lara

(usa Fedora)

Enviado em 01/08/2012 - 11:46h

qual versão que tu usa ?



4. Re: Bom eu fui solucionar um erro e cometi outro [RESOLVIDO]

Bruno
BrunoTecnico

(usa Sabayon)

Enviado em 01/08/2012 - 11:52h

# Pegue o "sources.list" que tem no CD de instalação e copie para seu Linux.


5. Re: Bom eu fui solucionar um erro e cometi outro [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 01/08/2012 - 11:54h

Deve voltar ao tópico que resolveu seu problema e marcar a Melhor Resposta.
No caso, para o Pinduvoz. Sempre faça isso quando um colaborador resolver um problema. Ok?


Bom, quem já não fez kakas com seus sistemas, que atire o primeiro bit (como dizia um colega).
Como solicita o inoxidável colega Daniel, diga qual a versão de seu Ubuntu para que possamos lhe enviar uma lista pra ele.


------------
* Edit_

Ôpa!
Também como orienta o colega Bruno. Pode usar o LiveCD do Ubuntu para isso.



6. Re: Bom eu fui solucionar um erro e cometi outro [RESOLVIDO]

Braga
bragaXT

(usa Debian)

Enviado em 01/08/2012 - 12:05h

danniel-lara escreveu:

qual versão que tu usa ?


12.04 LTS a versão


7. Re: Bom eu fui solucionar um erro e cometi outro [RESOLVIDO]

Braga
bragaXT

(usa Debian)

Enviado em 01/08/2012 - 12:07h

izaias escreveu:

Deve voltar ao tópico que resolveu seu problema e marcar a Melhor Resposta.
No caso, para o Pinduvoz. Sempre faça isso quando um colaborador resolver um problema. Ok?


Bom, quem já não fez kakas com seus sistemas, que atire o primeiro bit (como dizia um colega).
Como solicita o inoxidável colega Daniel, diga qual a versão de seu Ubuntu para que possamos lhe enviar uma lista pra ele.


------------
* Edit_

Ôpa!
Também como orienta o colega Bruno. Pode usar o LiveCD do Ubuntu para isso.


Ok farei isso, é que sou novo aqui.


8. Re: Bom eu fui solucionar um erro e cometi outro [RESOLVIDO]

Daniel Lara Souza
danniel-lara

(usa Fedora)

Enviado em 01/08/2012 - 12:26h

faz o que o Izaias falou

No terminal, faça:

$sudo gedit /etc/apt/sources.list

Se houver algo nele que seja igual ao que está acima, não cole esta parte.
Depois salve (clicando no botão 'Salvar' do GEdit) e feche o arquivo.

Novamente no terminal:

$sudo apt-get update


espero que ajude


9. Valeu pela força pessoal

Braga
bragaXT

(usa Debian)

Enviado em 01/08/2012 - 16:24h

Agradecido...

Uma otima fim de tarde....



  



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts