me ajuda como apagar a souce list

Iniciado por enchaqueca, 15 de Junho de 2008, 16:00

tópico anterior - próximo tópico

enchaqueca

tentei adicionar o medibuntu na minha source list

e esta dando o seguinte erro

entao busquei como adicionar este repositorio ai fui la e coloquei... agora ta me dando este erro
E: Tipo 'http://www.medibuntu.org/sources.list.d/hardy.listdeb'; não é conhecido na linha 56 na lista de fontes /etc/apt/sources.list
E: A lista de fontes não pôde ser lida.
Configure as opções de repositórios para corrigir o problema.
E: _cache->open() failed, please report.

e o pior de tudo... quando eu dou ok ou fecho a janela de erro... ele fecha o adept e eu nao consigo remover isso

e agora quando eu digito no terminal apt-get update ou apt-get install...... ele me da este erro da source list...

alguem sabe um comando no terminal pra eu apagar a minha source list?????

agradeço

clcampos

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

enchaqueca

este é o arquivo medibuntu.list que tem isto escrito

## Medibuntu - Ubuntu 8.04 LTS "hardy heron"
## Please report any bug on https://bugs.launchpad.net/medibuntu/
deb http://packages.medibuntu.org/ hardy free non-free
#deb-src http://packages.medibuntu.org/ hardy free non-free

e tem outro arquivo que se chama medibuntu.list.save que ta escrito

## Medibuntu - Ubuntu 8.04 LTS "hardy heron"
## Please report any bug on https://bugs.launchpad.net/medibuntu/
deb http://packages.medibuntu.org/ hardy free non-free
# deb-src http://packages.medibuntu.org/ hardy free non-free

eu gostaria de editar ou excluir a source list... reiniciei o pc agora e apareceu que tem uma atualizacao dizponivel mas quando fui atualizar ele deu o mesmo erro.... quando eu tentei excluir ou deletar o que estava escrito... ele nao deixou

clcampos

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

enchaqueca

como assim... sao estes dois arquivos que eu citei acima e o que esta escrito neles

o que voce precisa eu nao entendi

clcampos

Citação de: enchaqueca online 15 de Junho de 2008, 16:21
como assim... sao estes dois arquivos que eu citei acima e o que esta escrito neles

o que voce precisa eu nao entendi

Você não tem mais um arquivo /etc/apt/sources.list??

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

enchaqueca

desculpa... no arquivo chamado source.list ta assim

# deb cdrom:[Kubuntu 8.04 _Hardy Heron_ - Release i386 (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
http://www.medibuntu.org/sources.list.d/hardy.listdeb http://br.archive.ubuntu.com/ubuntu/ hardy-proposed restricted main multiverse universe
deb http://br.archive.ubuntu.com/ubuntu/ hardy-proposed restricted main multiverse universe

clcampos

A linha com problema é a em negrito:

Citar# deb cdrom:[Kubuntu 8.04 _Hardy Heron_ - Release i386 (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
http://www.medibuntu.org/sources.list.d/hardy.listdeb http://br.archive.ubuntu.com/ubuntu/ hardy-proposed restricted main multiverse universe
deb http://br.archive.ubuntu.com/ubuntu/ hardy-proposed restricted main multiverse universe

Experimente comentar ela (colocar o caracter # no início da linha):

Citar# http://www.medibuntu.org/sources.list.d/hardy.listdeb http://br.archive.ubuntu.com/ubuntu/ hardy-proposed restricted main multiverse universe

Ou dividir:

Citarhttp://www.medibuntu.org/sources.list.d/hardy.listdeb
http://br.archive.ubuntu.com/ubuntu/ hardy-proposed restricted main multiverse universe

Depois execute o comando abaixo:

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

enchaqueca

mas como eu faço pra editar ela...
com qual programa que eu edito... pois nos normais que sao apenas pra ler nao deixa que eu grave alteraçoes... fala que eu nao tenho acesso a escrita... tentei instalar o gedit no terminal... mas por causa dessa linha ele nao instala o gedit... como vou fazer pra conseguir fazer alteraçoes neste arquivo????

clcampos

Abra o terminal (Aplicações > Acessórios > Terminal ou Consola) e digite o comando:

sudo  gedit  /etc/apt/sources.list

Mas primeiro faça um backup para evitar das coisas piorarem.

sudo  cp  /etc/apt/sources.list   /etc/apt/sources.list.bkp.20080615
Cristiano/Timóteo - MG
.: Como Fazer Perguntas de Forma Inteligente :.                
Com dúvida? pesquise!

clcampos

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

enchaqueca

entao eu tentei dar um sudo pra instalar o gedti mas por causa deste erro nao consegui instalar

mas achei este tutorial pro kubuntu que me ajudou
http://www.vivaolinux.com.br/artigos/verArtigo.php?codigo=7949&pagina=2

resolvido o meu problema... milhoes de agradecimento pra voce... me ajudou muito!!!

valeuuuuuuuuuuuuuuuuu

clcampos

A sim, você usa KDE... foi mal, é o costume de usar o gnome e nem reparei.

Você pode usar também (no futuro) o editor nano que é mais fácil de usar que o vim.

Mas que bom que resolveu.

[]'s

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