Mensagem no Terminal

1. Mensagem no Terminal

MAURICIO SANTOS DA SILVA
MauricioSadaSi

(usa Ubuntu)

Enviado em 17/04/2020 - 08:31h

Olá!
Sou iniciante no Linux e, desde já, agradeço pela ajuda.
Instalei recentemente o Ubuntu, via pendrive de boot. Agora, estou tentando instalar o Wine para usar meus programas .exe.
Porém, não estou conseguindo instalar um repositório do Wine pelo terminal com o seguinte comando:
sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/ -y

Acontece que recebo a seguinte mensagem no terminal:
E: Malformed entry 51 in list file /etc/apt/sources.list (Component)
E: A lista de fontes não pode ser lida.

Acessei o arquivo sources.list e o conteúdo é o seguinte:
# deb cdrom:[Ubuntu 18.04.4 LTS _Bionic Beaver_ - Release amd64 (20200203.1)]/ bionic 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/ bionic main restricted
# deb-src http://br.archive.ubuntu.com/ubuntu/ bionic main restricted

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

deb http://security.ubuntu.com/ubuntu bionic-security main restricted
# deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
# deb-src http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse
deb http://archive.canonical.com/precise">http://archive.canonical.com/precise partner
# deb-src http://archive.canonical.com/precise">http://archive.canonical.com/precise partner
deb http://archive.canonical.com/ precise partner
# deb-src http://archive.canonical.com/ precise partner
deb https://dl.winehq.org/wine-builds/ubuntu/bionic main
# deb-src https://dl.winehq.org/wine-builds/ubuntu/bionic main
# deb-src https://dl.winehq.org/wine-builds/ubuntu/bionic main
deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main
# deb-src https://dl.winehq.org/wine-builds/ubuntu/ bionic main
deb https://dl.winehq.org/wine-builds/ubuntu/ artful main
# deb-src https://dl.winehq.org/wine-builds/ubuntu/ artful main
# deb-src https://dl.winehq.org/wine-builds/ubuntu/ artful main
deb https bionic main
# deb-src https bionic main
# deb-src https bionic main
deb https://dl.winehq.org/wine-builds/ubuntu/ -y
# deb-src https://dl.winehq.org/wine-builds/ubuntu/ -y
deb https://dl.winehq.org/wine-builds/ubuntu/-y bionic main
# deb-src https://dl.winehq.org/wine-builds/ubuntu/-y bionic main
# deb-src https://dl.winehq.org/wine-builds/ubuntu/ -y
# deb-src https://dl.winehq.org/wine-builds/ubuntu/-y bionic main
# deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse



  


2. Re: Mensagem no Terminal

Raimundo Oliveira da Silva
rausilva

(usa Linux Mint)

Enviado em 17/04/2020 - 08:49h

Leia este tópico: https://www.edivaldobrito.com.br/versao-mais-recente-do-wine-no-ubuntu/


3. Re: Mensagem no Terminal

aguamole
aguamole

(usa KUbuntu)

Enviado em 17/04/2020 - 10:05h

Você crio duplicatas no source.list e o seu comando esta errado.
Delete todas as linhas que contem "dl.winehq.org" do source.list e salva.
Após instala o Wine corretamente é só fazer igual diz na pagina do WineHQ você não precisa fazer nada a mais e nem a menos só o que diz na pagina:
https://wiki.winehq.org/Ubuntu

Faça só o que esta em "Installing WineHQ packages" porque o que esta em "Installing without Internet" já não funciona.
Sei que esta em inglês se tem dificuldade de ler inglês use o https://translate.google.com.br

CPU i5-8400 GTX 750 SofRaid 4xSSD 16GB DDR4 mesmo assim uso Lubuntu.


4. Re: Mensagem no Terminal

MAURICIO SANTOS DA SILVA
MauricioSadaSi

(usa Ubuntu)

Enviado em 18/04/2020 - 11:01h

Continuo sem sucesso.

Inicialmente, apaguei as duplicatas dl.winehq que estavam em sources.list

Depois dei o comando
sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main
que está em https://wiki.winehq.org/Ubuntu.

continua aparecendo a mensagem abaixo no Terminal (essa mesma mensagem aparece para apt update e apt upgrade):

E: Malformed entry 51 in list file /etc/apt/sources.list (URI)
E: A lista de fontes não pode ser lida.

=================================================

deb cdrom:[Ubuntu 18.04.4 LTS _Bionic Beaver_ - Release amd64 (20200203.1)]/ bionic 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/ bionic main restricted
# deb-src http://br.archive.ubuntu.com/ubuntu/ bionic main restricted

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

deb http://security.ubuntu.com/ubuntu bionic-security main restricted
# deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
# deb-src http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse
deb http://archive.canonical.com/precise">http://archive.canonical.com/precise">http://archive.canonical.com/precise">http://archive.canonical.com/precise partner
# deb-src http://archive.canonical.com/precise">http://archive.canonical.com/precise">http://archive.canonical.com/precise">http://archive.canonical.com/precise partner
deb http://archive.canonical.com/ precise partner
# deb-src http://archive.canonical.com/ precise partner
deb https bionic main
# deb-src https bionic main
# deb-src https bionic main
deb https://dl.winehq.org/wine-buids/ubuntu/bionic main
# deb-src https://dl.winehq.org/wine-buids/ubuntu/bionic main
deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main
# deb-src https://dl.winehq.org/wine-builds/ubuntu/ bionic main
deb https://dl.winehq.org/wine-builds/ubuntu/bionic main
# deb-src https://dl.winehq.org/wine-builds/ubuntu/bionic main
# deb-src https://dl.winehq.org/wine-builds/ubuntu/bionic main
# deb-src https://dl.winehq.org/wine-builds/ubuntu/bionic main
deb https://dl.winehq.org/wine-builds/ubuntu/dist bionic main binary-i386
# deb-src https://dl.winehq.org/wine-builds/ubuntu/dist bionic main binary-i386
# deb-src https://dl.winehq.org/wine-builds/ubuntu/bionic main
# deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse




5. Re: Mensagem no Terminal

Paulo Jr
Pebis

(usa Debian)

Enviado em 18/04/2020 - 11:52h

MauricioSadaSi escreveu:


deb cdrom:[Ubuntu 18.04.4 LTS _Bionic Beaver_ - Release amd64 (20200203.1)]/ bionic 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/ bionic main restricted
# deb-src http://br.archive.ubuntu.com/ubuntu/ bionic main restricted

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

deb http://security.ubuntu.com/ubuntu bionic-security main restricted
# deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
# deb-src http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse
deb http://archive.canonical.com/precise">http://archive.canonical.com/precise">http://archive.canonical.com/precise">http://archive.canonical.com/precise partner
# deb-src http://archive.canonical.com/precise">http://archive.canonical.com/precise">http://archive.canonical.com/precise">http://archive.canonical.com/precise partner
deb http://archive.canonical.com/ precise partner
# deb-src http://archive.canonical.com/ precise partner
deb https bionic main
# deb-src https bionic main
# deb-src https bionic main
deb https://dl.winehq.org/wine-buids/ubuntu/bionic main
# deb-src https://dl.winehq.org/wine-buids/ubuntu/bionic main
deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main
# deb-src https://dl.winehq.org/wine-builds/ubuntu/ bionic main
deb https://dl.winehq.org/wine-builds/ubuntu/bionic main
# deb-src https://dl.winehq.org/wine-builds/ubuntu/bionic main
# deb-src https://dl.winehq.org/wine-builds/ubuntu/bionic main
# deb-src https://dl.winehq.org/wine-builds/ubuntu/bionic main
deb https://dl.winehq.org/wine-builds/ubuntu/dist bionic main binary-i386
# deb-src https://dl.winehq.org/wine-builds/ubuntu/dist bionic main binary-i386
# deb-src https://dl.winehq.org/wine-builds/ubuntu/bionic main
# deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse



Tá meio cagado esse repositório

isso está errado:

repositório do Precise no Bionic

deb http://archive.canonical.com/precise">http://archive.canonical.com/precise">http://archive.canonical.com/precise">http://archive.canonical.com/precise partner
# deb-src http://archive.canonical.com/precise">http://archive.canonical.com/precise">http://archive.canonical.com/precise">http://archive.canonical.com/precise partner
deb http://archive.canonical.com/ precise partner
# deb-src http://archive.canonical.com/ precise partner

Aqui está tudo errado

deb https bionic main
# deb-src https bionic main
# deb-src https bionic main








6. Re: Mensagem no Terminal

aguamole
aguamole

(usa KUbuntu)

Enviado em 18/04/2020 - 12:03h

Apaga de novo todas as linhas "dl.winehq.org" e antes de salvar adicione estas:
deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main
# deb-src https://dl.winehq.org/wine-builds/ubuntu/ bionic main

É que o que ocorre é que não pode ter duplicatas então você vai apagar e depois adicionar elas usando o editor de texto assim ficara só uma.
E salva
E instala o Wine.

Delete também as 2 linhas que contém "partner" e adicione estas:
deb http://archive.canonical.com/ubuntu bionic partner
# deb-src http://archive.canonical.com/ubuntu bionic partner


CPU i5-8400 GTX 750 SofRaid 4xSSD 16GB DDR4 mesmo assim uso Lubuntu.


7. Re: Mensagem no Terminal

Perfil removido
removido

(usa Nenhuma)

Enviado em 18/04/2020 - 12:20h

-vc tem fontes do bionic-1804 do precise-1204 do artful-1710
-vá em programas/atualizações e remova as fontes do precise/1204 e artful-1710
-deixe apenas as fontes do bionic/1804



8. Re: Mensagem no Terminal

aguamole
aguamole

(usa KUbuntu)

Enviado em 18/04/2020 - 13:37h

Verdade abra o source.list de novo e delete todas as linhas que contém "precise" e "artful"

CPU i5-8400 GTX 750 SofRaid 4xSSD 16GB DDR4 mesmo assim uso Lubuntu.


9. Re: Mensagem no Terminal

MAURICIO SANTOS DA SILVA
MauricioSadaSi

(usa Ubuntu)

Enviado em 18/04/2020 - 15:42h

aguamole escreveu:

Apaga de novo todas as linhas "dl.winehq.org" e antes de salvar adicione estas:
deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main
# deb-src https://dl.winehq.org/wine-builds/ubuntu/ bionic main

É que o que ocorre é que não pode ter duplicatas então você vai apagar e depois adicionar elas usando o editor de texto assim ficara só uma.
E salva
E instala o Wine.

Delete também as 2 linhas que contém "partner" e adicione estas:
deb http://archive.canonical.com/ubuntu bionic partner
# deb-src http://archive.canonical.com/ubuntu bionic partner


CPU i5-8400 GTX 750 SofRaid 4xSSD 16GB DDR4 mesmo assim uso Lubuntu.

========================================================================
Opa!!!!

Consegui passar por essa fase, após as suas orientações. Obrigado!!

Agora não estou conseguindo instalar os pacotes Stable branch, Development branch e Staging branch citados no site https://wiki.winehq.org/Ubuntu por problema de dependências (lá mesmo diz que isso pode acontecer).

Porém, dei o comando sudo apt --fix-broken install que o Terminal sugeriu quando tentei instalar os pacotes, e, depois disso, aparece a seguinte mensagem no terminal:

A) para o comando: sudo apt install --install-recommends winehq-stable, aparece a mensagem:
Lendo listas de pacotes... Pronto
Construindo árvore de dependências
Lendo informação de estado... Pronto
Alguns pacotes não puderam ser instalados. Isto pode significar que
você solicitou uma situação impossível ou, se você está usando a
distribuição instável, que alguns pacotes requeridos não foram
criados ainda ou foram retirados da "Incoming".
A informação a seguir pode ajudar a resolver a situação:
Os pacotes a seguir têm dependências desencontradas:
winehq-stable : Depende: wine-stable (= 5.0.0~bionic)
E: Impossível corrigir problemas, você manteve (hold) pacotes quebrados.

B) para o comando: sudo apt install --install-recommends winehq-devel, aparece a mensagem:
Lendo listas de pacotes... Pronto
Construindo árvore de dependências
Lendo informação de estado... Pronto
Alguns pacotes não puderam ser instalados. Isto pode significar que
você solicitou uma situação impossível ou, se você está usando a
distribuição instável, que alguns pacotes requeridos não foram
criados ainda ou foram retirados da "Incoming".
A informação a seguir pode ajudar a resolver a situação:
Os pacotes a seguir têm dependências desencontradas:
winehq-devel : Depende: wine-devel (= 5.6~bionic)
E: Impossível corrigir problemas, você manteve (hold) pacotes quebrados.

C) para o comando: sudo apt install --install-recommends winehq-staging, a aparece a mensagem:

Lendo listas de pacotes... Pronto
Construindo árvore de dependências
Lendo informação de estado... Pronto
Alguns pacotes não puderam ser instalados. Isto pode significar que
você solicitou uma situação impossível ou, se você está usando a
distribuição instável, que alguns pacotes requeridos não foram
criados ainda ou foram retirados da "Incoming".
A informação a seguir pode ajudar a resolver a situação:
Os pacotes a seguir têm dependências desencontradas:
winehq-staging : Depende: wine-staging (= 5.6~bionic)
E: Impossível corrigir problemas, você manteve (hold) pacotes quebrados.







Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts