remover linha no sources.list [RESOLVIDO]

1. remover linha no sources.list [RESOLVIDO]

RAIMUNDO ALVES VIEIRA FILHO
raimundo.28

(usa Ubuntu)

Enviado em 05/02/2011 - 13:15h

Olha tou precisando excluir esta linha do souces.list e não sei como:

# deb cdrom:[Kubuntu 8.04.1 _Hardy Heron_ - Release i386 (20080701.2)]/ 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
PPA: ubuntu-wine/ppaPPA: ubuntu-wine/ppamec@Servidor:~$

É ESTA ULTIMA QUE EU ESTOU PRECISANDO EXCLUIR ELA!



  


2. Re: remover linha no sources.list [RESOLVIDO]

Osiel
mrtuxys

(usa Outra)

Enviado em 05/02/2011 - 13:33h

Digite:
$sudo vim /etc/apt/sources.list

Segure a tecla "j" até a linha determinada.
Ao chegar lá dê dois cliques na tecla "d" bem rápidos.

Para salvar dê dois cliques em "z" segurando o shift, para sair ZZ.
pronto.

Ps. Estude vim.
Se não tiver vim no seu linux use o vi.


3. Re: remover linha no sources.list [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 05/02/2011 - 13:36h

tente aí no terminal:

$ sudo nano /etc/apt/sources.list


daí, mova-se com as setas até a linha desejada e tecle Ctrl + K (a tecla CONTROL e a letra K), depois tecle na sequência: Ctrl+O , dê ENTER e después Ctrl+X.


no modo gráfico cê faz assim:

$ sudo gedit /etc/apt/sources.list

delete a linha, salve e pronto


4. Re: remover linha no sources.list [RESOLVIDO]

RAIMUNDO ALVES VIEIRA FILHO
raimundo.28

(usa Ubuntu)

Enviado em 05/02/2011 - 13:39h

Olha fiz o que vc falou só que só aparece isso e não acontece nada


~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
"/etc/apt/source.list" [New File]

eu fico apertando "j" e nada
troquei o vim por vi!


5. Re: remover linha no sources.list [RESOLVIDO]

Osiel
mrtuxys

(usa Outra)

Enviado em 05/02/2011 - 13:42h

Amigo, eu errei ao escrever o nome do arquivo no outro tópico, foi mal.
ja corrigi.

/etc/apt/sources.list
Eu comi o "s" do sources.list

Caso ainda esteja vendo essa tela que você postou, digite :q! para sair sem salvar.


Faça de novo.



6. Re: remover linha no sources.list [RESOLVIDO]

RAIMUNDO ALVES VIEIRA FILHO
raimundo.28

(usa Ubuntu)

Enviado em 05/02/2011 - 13:48h

Vlw amigos!
Com a ajuda de vcs consegui solucionar o problema!
O forum é nota 10!






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts