Linha mal formada no Arquivo de Fontes /etc/apt/sources.list.d/

1. Linha mal formada no Arquivo de Fontes /etc/apt/sources.list.d/

jack films
jackfilms

(usa Ubuntu)

Enviado em 28/03/2018 - 13:23h

Boa tarde a todos, sou iniciante no linux e utilizo o Ubunt Gnome 17.10, realizei a instalação do Sublime text e não estou conseguindo mais instalar nada no terminal, andei pesquisando aqui no VivaoLinux e consegui entender o motivo do erro, mas não como resolver.

Erro no Terminal: sudo apt-get update

E: Linha mal formada 2 no arquivo de fontes /etc/apt/sources.list.d/sublime-text.list (tipo)
E: A lista de fontes não pode ser lida.

Realizei a pesquisa no Terminal: cat /etc/apt/sources.list

# deb cdrom:[Ubuntu-GNOME 17.04 _Zesty Zapus_ - Release amd64 (20170412)]/ zesty main multiverse restricted universe

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

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

deb http://archive.ubuntu.com/ubuntu artful-security main restricted
# deb-src http://security.ubuntu.com/ubuntu zesty-security main restricted
deb http://archive.ubuntu.com/ubuntu artful-security universe
# deb-src http://security.ubuntu.com/ubuntu zesty-security universe
deb http://archive.ubuntu.com/ubuntu artful-security multiverse
# deb-src http://security.ubuntu.com/ubuntu zesty-security multiverse



  


2. Re: Linha mal formada no Arquivo de Fontes /etc/apt/sources.list.d/

Mauriciodez
Mauriciodez

(usa Debian)

Enviado em 28/03/2018 - 13:56h

jackfilms escreveu:

Boa tarde a todos, sou iniciante no linux e utilizo o Ubunt Gnome 17.10, realizei a instalação do Sublime text e não estou conseguindo mais instalar nada no terminal, andei pesquisando aqui no VivaoLinux e consegui entender o motivo do erro, mas não como resolver.

Erro no Terminal: sudo apt-get update

E: Linha mal formada 2 no arquivo de fontes /etc/apt/sources.list.d/sublime-text.list (tipo)
E: A lista de fontes não pode ser lida.


velho ... vc pode simplesmente deletar essa fonte
sudo rm -rvf /etc/apt/sources.list.d/sublime-text.list 


ou vc pode postar ela aqui pra gente tentar resolver
cat /etc/apt/sources.list.d/sublime-text.list 


------------------------------------------| Linux User #621728 |-----------------------------------------

" Nem sempre é amigo aquele que te tira do buraco !!! ( Saddam Hussein )"

------------------------------------------| Linux User #621728 |-----------------------------------------



3. Re: Linha mal formada no Arquivo de Fontes /etc/apt/sources.list.d/

skjdeecedcnfncvnrfcnrncjvnjrnfvjcnjrjvcjrvcj
Londreslondres

(usa Parabola)

Enviado em 28/03/2018 - 14:12h

Vá em Programas e Atualizações >> Outros Programas.

Remova o repositório problemático. Adicione o repositório:

deb https://download.sublimetext.com/ apt/stable/

Mas antes, instale o pacote: apt-transport-https

--------------------------------------------------------------------
#voltalisteiro






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts