Problema no terminal Ubuntu-16.04 [RESOLVIDO]

1. Problema no terminal Ubuntu-16.04 [RESOLVIDO]

thorpw medaca
thorpw

(usa Ubuntu)

Enviado em 23/04/2016 - 21:06h

Quando uso o comando " sudo apt-get update" no terminal eu recebo o seguinte erro
E : Malformed entry 52 in list file /etc/apt/sources.list (component)
E: A lista de fontes não pode ser lida.
---
Desculpe minha ignorancia, instalei o o.s recentemente...
Alguém sabe como arrumo isso?


  


2. MELHOR RESPOSTA

Marcelo Oliver
msoliver

(usa Debian)

Enviado em 23/04/2016 - 22:27h

thorpw escreveu:

Infelizmente não deu :(, obrigado por tentar ajudar...
Teria mais alguma sugestão?

Boa noite.
Comente a linha "52" do sources.list, com o comando abaixo:
sudo sed -i '52s/^/#/' /etc/apt/sources.list

att.:
marcelo oliver

3. Re: Problema no terminal Ubuntu-16.04 [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 23/04/2016 - 21:09h

Copie o conteúdo do arquivo /etc/apt/sources.list para o fórum.
E se tiver, o conteúdo dos arquivos do diretório /etc/apt/sources.list.d/ também.

Grato.

----------------------------------------------------------------------------------------------------------------
# apt-get purge systemd (não é prá digitar isso!)

Encryption works. Properly implemented strong crypto systems are one of the few things that you can rely on. Unfortunately, endpoint security is so terrifically weak that NSA can frequently find ways around it. — Edward Snowden



4. Re: Problema no terminal Ubuntu-16.04 [RESOLVIDO]

Bruno Lima
brunnometal

(usa Fedora)

Enviado em 23/04/2016 - 21:15h

Está parecendo erro no link dos repositórios, posta aqui sua source list, utiliza algum editor tipo gedit, kedit, nano etc... utilizando nano por exemplo seria sudo nano /etc/apt/sources.list










Signed by brunnometal:
------------------------------------------------------------
- User: Bruno Lima.
- Nasc: 25/04/1983.
- Local: Recife/PE.
- Distro Principal: openSUSE Tumbleweed (KDE).
- Distro Experimental: Slackware 14.1 (Testing Current) (KDE).



5. Re: Problema no terminal Ubuntu-16.04 [RESOLVIDO]

thorpw medaca
thorpw

(usa Ubuntu)

Enviado em 23/04/2016 - 21:15h

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to

# newer versions of the distribution.
deb http://br.archive.ubuntu.com/ubuntu/ xenial main restricted
# deb-src http://br.archive.ubuntu.com/ubuntu/ xenial main restricted

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

deb http://security.ubuntu.com/ubuntu xenial-security main restricted
# deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
deb http://security.ubuntu.com/ubuntu xenial-security universe
# deb-src http://security.ubuntu.com/ubuntu xenial-security universe
deb http://security.ubuntu.com/ubuntu xenial-security multiverse
deb http://archive.canocial.com/ partner
# deb-src http://archive.canocial.com/ partner
# deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse



6. Re: Problema no terminal Ubuntu-16.04 [RESOLVIDO]

thorpw medaca
thorpw

(usa Ubuntu)

Enviado em 23/04/2016 - 21:57h

Seria isso?


7. Re: Problema no terminal Ubuntu-16.04 [RESOLVIDO]

thorpw medaca
thorpw

(usa Ubuntu)

Enviado em 23/04/2016 - 22:03h

Infelizmente não deu :(, obrigado por tentar ajudar...
Teria mais alguma sugestão?


8. Re: Problema no terminal Ubuntu-16.04 [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 23/04/2016 - 22:09h

Boa noite,

[ deb http://archive.canocial.com/ partner
# deb-src http://archive.canocial.com/ partner
# deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse ]


Você mexeu aí? Veja que está canocial quando, creio eu, deveria ser canonical


Usuário de Slackware 14.2
GNU/Linux se resume em: Perfeição !!


9. Re: Problema no terminal Ubuntu-16.04 [RESOLVIDO]

Bruno Lima
brunnometal

(usa Fedora)

Enviado em 23/04/2016 - 22:13h

Realmente está canocial onde também acredito que era pra ser canonical










Signed by brunnometal:
------------------------------------------------------------
- User: Bruno Lima.
- Nasc: 25/04/1983.
- Local: Recife/PE.
- Distro Principal: openSUSE Tumbleweed (KDE).
- Distro Experimental: Slackware 14.1 (Testing Current) (KDE).



10. Re: Problema no terminal Ubuntu-16.04 [RESOLVIDO]

thorpw medaca
thorpw1

(usa Ubuntu)

Enviado em 23/04/2016 - 22:28h

Bom, não resolveu também..., como havia dito, faz pouco tempo que instalei o o.s...
acabei formatando meu pc, agora o comando voltou a funcionar.


11. Re: Problema no terminal Ubuntu-16.04 [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 23/04/2016 - 22:43h

thorpw1 escreveu:

Bom, não resolveu também..., como havia dito, faz pouco tempo que instalei o o.s...
acabei formatando meu pc, agora o comando voltou a funcionar.


Formatou por causa de uma linha? kkk

O problema era muito simples de se resolver.
A linha 52 aponta pra isso:

deb http://archive.canocial.com/ partner


O correto é canonical. Mas já que usou o raciocínio Windows like (tem problema? então formata), então ta tudo resolvido. :-)

--
LinuxCounter: #596371






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts