I'd like to begin by stating that I am a new user and would like to ask that you all go easy on me. I've read other post with this problem, except my issue is slightly different and the solutions offered didn't effectuate a solution in my case, so here it is...
When I attempt to input sudo apt-get update
, I encounter the following error message...
E: Malformed entry 57 in list file /etc/apt/sources.list(Component)
E: The list of sources could not be read.
After reading the responses to similar issues,
I tried sudo -H gedit /etc/apt/sources.list
and that command opened up my sources list:
# deb http://us.archive.ubuntu.com/ubuntu/bionic main restricted
# deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
# deb http://security.ubuntu.com/ubuntu bionic-security main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ bionic universe main restricted multiverse
## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-updates universe main restricted multiverse
## 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://us.archive.ubuntu.com/ubuntu/ bionic universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic universe
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates universe
# deb-src http://us.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://us.archive.ubuntu.com/ubuntu/ bionic multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
# deb-src http://us.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://us.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://us.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 universe main restricted multiverse
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://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/ cosmicmain
# deb-src https://dl.winehq.org/wine-builds/ubuntu/ cosmicmain
# deb-src https://dl.winehq.org/wine-builds/ubuntu/ cosmicmain
deb https://dl.winehq.org/wine-builds/ubuntu/ bionicmain
# deb-src https://dl.winehq.org/wine-builds/ubuntu/ bionicmain
deb https://dl.winehq.org/wine-builds/ubuntu/ xenialmain
# deb-src https://dl.winehq.org/wine-builds/ubuntu/ xenialmain
deb https://dl.winehq.org/wine-builds/ubuntu/ trustymain
# deb-src https://dl.winehq.org/wine-builds/ubuntu/ trustymain
I read that running commands that remove lines from your sources list can wreck your list file entirely, so I am hesitant to do that and I do not know how to uncomment a line.
Also, in order to circumvent the 8 link limitation imposed on members with less that 10 reputation points. I was forced to add spaces in the links of my sources list to avoid it being registered as a link, in order to be able to post this question. So please ignore the extra spaces that will be represented as an underscore in the following example...
Ex: http_://us.archive.ubunt....etc etc.
Can anyone please assist, Thanks.
http
and:
everywhere. Remove the spaces. I wonder how they got there. – Pilot6 Sep 12 '19 at 17:19Ex: http_://us.archive.ubunt....etc etc.
– The_Official_Mundo Sep 12 '19 at 17:25{}
button. – Pilot6 Sep 12 '19 at 17:26trustymain
, etc are wrong. I suggest removing the last 9 lines. – Pilot6 Sep 12 '19 at 17:31