Instalação de programas - Problemas no apt-get update

1. Instalação de programas - Problemas no apt-get update

Lucas Penteado
lucaspenteado

(usa Lubuntu)

Enviado em 05/07/2015 - 12:52h

Bom dia.

Sou novo no Linux.

Baixei a última versão do Lubuntu, e estou instalando alguns programas.

Inicialmente estou tentando resolver o problema do Chromium, que não roda alguns players.
Mas o principal problema é que, após tentar instalar alguns codecs e outras recomendações, foi orientado que usasse o apt-get update.

Porém não funcionou.

Aparece a seguinte mensagem "E: Linha mal formada 51 no arquivo de fontes /etc/apt/sources.list (análise de distribuição)
E: A lista de fontes não pode ser lida."

Alguém pode me ajudar?

Lembrando que sou novo no OS linux.


  


2. Re: Instalação de programas - Problemas no apt-get update

Clodoaldo Santos
clodoaldops

(usa Linux Mint)

Enviado em 05/07/2015 - 13:16h

Veja que fazer após instalar xubuntu
http://www.vivaolinux.com.br/dica/O-que-fazer-apos-instalar-o-Ubuntu-1404


3. Re: Instalação de programas - Problemas no apt-get update

shoujo
shoujo

(usa Slackware)

Enviado em 05/07/2015 - 13:17h

como está o conteudo do arquivo sources.list?


4. Re: Instalação de programas - Problemas no apt-get update

Lucas Penteado
lucaspenteado

(usa Lubuntu)

Enviado em 05/07/2015 - 14:07h

shoujo escreveu:

como está o conteudo do arquivo sources.list?


Tentei abrir o sources.list e apareceu isso:

# deb cdrom:[Lubuntu 15.04 _Vivid Vervet_ - Release amd64 (20150422)]/ vivid ma$

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

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

deb http://security.ubuntu.com/ubuntu vivid-security main restricted

## 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/ vivid-backports main restricted univer$
deb-src http://br.archive.ubuntu.com/ubuntu/ vivid-backports main restricted un$

deb http://security.ubuntu.com/ubuntu vivid-security main restricted
deb-src http://security.ubuntu.com/ubuntu vivid-security main restricted
deb http://security.ubuntu.com/ubuntu vivid-security universe
deb-src http://security.ubuntu.com/ubuntu vivid-security universe
deb http://security.ubuntu.com/ubuntu vivid-security multiverse
deb-src http://security.ubuntu.com/ubuntu vivid-security 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.

É isso? Como encontro alguma informação que realmente ajude??


5. Re: Instalação de programas - Problemas no apt-get update

shoujo
shoujo

(usa Slackware)

Enviado em 05/07/2015 - 22:11h

como diz o seu erro a url tá mal formada na linha 51, tente comentar ela, coloque o simbolo # antes dessa linha
lembrando que para editar o sources.list é como root


6. sem sucesso

Lucas Penteado
lucaspenteado

(usa Lubuntu)

Enviado em 09/07/2015 - 21:11h


Ainda não consegui resolver o problema da linha 51;

Alguém??


7. Re: Instalação de programas - Problemas no apt-get update

Wellingthon Dias Queiroz - @tonyhts
tonyhts

(usa Arch Linux)

Enviado em 09/07/2015 - 21:25h

sudo sed -i '51s/^/#/' /etc/apt/sources.list
sudo apt-get update


abs
---
Eu Acredito, que ás vezes são as pessoas que ninguém espera nada que fazem as coisas que ninguém consegue imaginar.

--- Mestre dos Mestres - Alan Turing ---






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts