Hi I'm new in Ubuntu, I have 18.04

Questions about Wine on Linux
Locked
Chingis16
Newbie
Newbie
Posts: 1
Joined: Sat Nov 10, 2018 8:10 am

Hi I'm new in Ubuntu, I have 18.04

Post by Chingis16 »

I thought i had 18.10 and installed every command from there and i accidentally wrote the home: wrong and when i try to install it show me this now.
sudo apt-get install --install-recommends winehq-stable
E: Malformed entry 61 in list file /etc/apt/sources.list (Component)
E: The list of sources could not be read.
E: Malformed entry 61 in list file /etc/apt/sources.list (Component)
E: The list of sources could not be read.


I tried to purge it but i doesn't work
sudo apt-get --purge remove wine
E: Malformed entry 61 in list file /etc/apt/sources.list (Component)
E: The list of sources could not be read.
E: Malformed entry 61 in list file /etc/apt/sources.list (Component)
E: The list of sources could not be read.


here is my 66 line Error, well at least i think that's the problem
# deb cdrom:[Ubuntu 18.04.1 LTS _Bionic Beaver_ - Release amd64 (20180725)]/ bionic main restricted

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

## Major bug fix updates produced after the final release of the
## distribution.
deb http://ch.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
# deb-src http://ch.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://ch.archive.ubuntu.com/ubuntu/ bionic universe
# deb-src http://ch.archive.ubuntu.com/ubuntu/ bionic universe
deb http://ch.archive.ubuntu.com/ubuntu/ bionic-updates universe
# deb-src http://ch.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://ch.archive.ubuntu.com/ubuntu/ bionic multiverse
# deb-src http://ch.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://ch.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
# deb-src http://ch.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://ch.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
# deb-src http://ch.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 bionic partner
# deb-src 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://ch.archive.ubuntu.com/ubuntu/ bionic multiverse
# deb-src http://ch.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://ch.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
# deb-src http://ch.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://ch.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
# deb-src http://ch.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 bionic partner
# deb-src 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-src http://security.ubuntu.com/ubuntu bionic-security multiverse
deb https://download.opensuse.org/repositor ... 0_standard ./
# deb-src https://download.opensuse.org/repositor ... 0_standard ./
# deb-src https://download.opensuse.org/repositor ... 0_standard ./
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://download.opensuse.org/repositor ... 0_standard ./
# deb-src https://download.opensuse.org/repositor ... 0_standard ./
# deb-src https://dl.winehq.org/wine-builds/ubuntu/ bionic main
deb https://download.opensuse.org/repositor ... 0_standard ./.3
# deb-src https://download.opensuse.org/repositor ... 0_standard ./.3
# deb-src https://download.opensuse.org/repositor ... 0_standard ./
# 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


Thanks if you're up with the challenge i have no idea what i have to do
:?
User avatar
dimesio
Moderator
Moderator
Posts: 13202
Joined: Tue Mar 25, 2008 10:30 pm

Re: Hi I'm new in Ubuntu, I have 18.04

Post by dimesio »

Well, I don't know why you think line 66 is the problem when the console output clearly says the malformed entry is in line 61. The line you said was 66 can't be the problem, because it's commented out.

If you are really on 18.04 and mistakenly added the OBS repository for 18.10, what you need to do is open /etc/apt/sources.list in a text editor and remove all references to the OBS repository.
Locked