Erro no Synaptic!!! (RESOLVIDO)

Iniciado por obaid, 18 de Agosto de 2008, 12:19

tópico anterior - próximo tópico

obaid

Ubuntu 8.04 - o Hardy Heron

quando vou dar o comando "sudo apt-get update" aparece a mensagem a seguir:
E: Tipo ''deb' não é conhecido na linha 56 na lista de fontes /etc/apt/sources.list


nao consigo entrar no "Synaptic" e nem no "Adicionar/ Remover" e nem atualizar nada

o q eu faço?  :-\

aki tem um print: http://images.orkut.com/orkut/albums3/ATgAAACmmMwrK53Q6b2hAVfDgBDn06JDLBCTCUUxnizqTDM-WbuXGxx-XXRBMsU0kvh6IC5WKjXyNvLvQQO3JXK69VKpAJtU9VD37NtTRMHbNs29lF8ej52h28zMOw.jpg

clcampos

Copie aqui o conteúdo do arquivo /etc/apt/sources.list.
Cristiano/Timóteo - MG
.: Como Fazer Perguntas de Forma Inteligente :.                
Com dúvida? pesquise!

obaid


clcampos

Citação de: obaid online 18 de Agosto de 2008, 12:32
como assim?  :-\

Edita o arquivo, copia o conteúdo (Ctrl + c) e cola ele numa mensagem aqui (Ctrl + V).
Cristiano/Timóteo - MG
.: Como Fazer Perguntas de Forma Inteligente :.                
Com dúvida? pesquise!

obaid

Citação de: clcampos online 18 de Agosto de 2008, 12:34
Citação de: obaid online 18 de Agosto de 2008, 12:32
como assim?  :-\

Edita o arquivo, copia o conteúdo (Ctrl + c) e cola ele numa mensagem aqui (Ctrl + V).

#deb cdrom:[Ubuntu 8.04 _Hardy Heron_ - Release amd64 (20080423)]/ hardy 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/ hardy main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ hardy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://br.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ hardy-updates main restricted

## 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
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://br.archive.ubuntu.com/ubuntu/ hardy universe
deb-src http://br.archive.ubuntu.com/ubuntu/ hardy universe
deb http://br.archive.ubuntu.com/ubuntu/ hardy-updates universe
deb-src http://br.archive.ubuntu.com/ubuntu/ hardy-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/ hardy multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ hardy multiverse
deb http://br.archive.ubuntu.com/ubuntu/ hardy-updates multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ hardy-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/ hardy-backports main restricted universe multiverse
# deb-src http://br.archive.ubuntu.com/ubuntu/ hardy-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 hardy partner
# deb-src http://archive.canonical.com/ubuntu hardy partner

deb http://security.ubuntu.com/ubuntu hardy-security main restricted
deb-src http://security.ubuntu.com/ubuntu hardy-security main restricted
deb http://security.ubuntu.com/ubuntu hardy-security universe
deb-src http://security.ubuntu.com/ubuntu hardy-security universe
deb http://security.ubuntu.com/ubuntu hardy-security multiverse
deb-src http://security.ubuntu.com/ubuntu hardy-security multiverse
'deb http://packages.medibuntu.org/ hardy free non-free'
sudo apt-key add -
sudo apt-get update
sudo apt-get install -y w32codecs libdvdcss2

clcampos

Edite o arquivo:

sudo   gedit   /etc/apt/sources.list

E remova as linhas que estão em vermelho e riscadas, e tire as aspas da linha que esta em negrito:

Citar#deb cdrom:[Ubuntu 8.04 _Hardy Heron_ - Release amd64 (20080423)]/ hardy 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/ hardy main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ hardy main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://br.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ hardy-updates main restricted

## 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
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://br.archive.ubuntu.com/ubuntu/ hardy universe
deb-src http://br.archive.ubuntu.com/ubuntu/ hardy universe
deb http://br.archive.ubuntu.com/ubuntu/ hardy-updates universe
deb-src http://br.archive.ubuntu.com/ubuntu/ hardy-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/ hardy multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ hardy multiverse
deb http://br.archive.ubuntu.com/ubuntu/ hardy-updates multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ hardy-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/ hardy-backports main restricted universe multiverse
# deb-src http://br.archive.ubuntu.com/ubuntu/ hardy-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 hardy partner
# deb-src http://archive.canonical.com/ubuntu hardy partner

deb http://security.ubuntu.com/ubuntu hardy-security main restricted
deb-src http://security.ubuntu.com/ubuntu hardy-security main restricted
deb http://security.ubuntu.com/ubuntu hardy-security universe
deb-src http://security.ubuntu.com/ubuntu hardy-security universe
deb http://security.ubuntu.com/ubuntu hardy-security multiverse
deb-src http://security.ubuntu.com/ubuntu hardy-security multiverse
deb http://packages.medibuntu.org/ hardy free non-free
sudo apt-key add -
sudo apt-get update
sudo apt-get install -y w32codecs libdvdcss2

Salve o arquivo e execute o comando abaixo:

sudo  apt-get   update
Cristiano/Timóteo - MG
.: Como Fazer Perguntas de Forma Inteligente :.                
Com dúvida? pesquise!

obaid


clcampos

Citação de: obaid online 18 de Agosto de 2008, 12:47
valeu ai pela a ajuda!

Na verdade a mensagem de erro já disse tudo, então eu mesmo fiz muito pouco, mas precisando estamos as ordens.
Cristiano/Timóteo - MG
.: Como Fazer Perguntas de Forma Inteligente :.                
Com dúvida? pesquise!

André Teixeira

#8
Ei pessoal estou com um problema no synaptic não consigo abrir ele ?
o erro que aparece é o seguinte..

E dpkg was interrupted you must manually run 'dpkg --configure -a' to correct the problem
E_cache->open() failed pleace report

valeu pessoal quem puder ajudar desde ja agradeço!!!

??? >:(

clcampos

Citação de: André Teixeira online 27 de Outubro de 2008, 21:47
Ei pessoal estou com um problema no synaptic não consigo abrir ele ?
o erro que aparece é o seguinte..

E dpkg was interrupted you must manually run 'dpkg --configure -a' to correct the problem
E_cache->open() failed pleace report

valeu pessoal quem puder ajudar desde ja agradeço!!!

??? >:(


Conforme a mensagem de erro execute no terminal:

sudo dpkg --configure -a
Cristiano/Timóteo - MG
.: Como Fazer Perguntas de Forma Inteligente :.                
Com dúvida? pesquise!

André Teixeira

Ei pessoal postei um problema que tive com o synaptic que dava erro e não abria mas ja concegui
a resposta aqui no forum mesmo e vou postar o link aqui valeu mesmo assim

http://ubuntuforum-pt.org/index.php/topic,37212.msg221652.html#msg221652

pŕa quem tiver o mesmo problema que eu ta ai... ;D