Isuse with sources.list. Unable to update system nor able to do backups.
I am receiving the following error:
E: Malformed entry 51 in list file /etc/apt/
I haver a copy of my sources.list file below. The issue appears to be with line 51. How do I correct this issue?
# deb cdrom:[Ubuntu 18.04 LTS _Bionic Beaver_ - Release amd64 (20180426)]/ bionic main restricted
# See http://
# newer versions of the distribution.
deb http://
# deb-src http://
## Major bug fix updates produced after the final release of the
## distribution.
deb http://
# deb-src http://
## 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://
# deb-src http://
deb http://
# deb-src http://
## 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://
# deb-src http://
deb http://
# deb-src http://
## 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://
# deb-src http://
## 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://
deb-src http://
deb http://
# deb-src http://
deb http://
# deb-src http://
deb http://
deb https:/
deb-src https:/
# deb-src http://
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Manfred Hampl
- Solved:
- 2018-11-30
- Last query:
- 2018-11-30
- Last reply:
- 2018-11-30
|
#1 |
I assume the wrong lines are these:
deb https:/
deb-src https:/
they should probably be
deb https:/
deb-src https:/
(with a space preceding the word xenial).
But if you are running Ubuntu bionic, then in addition to adding the space character, the word "xenial" in these lines should be replaced by "bionic"
Anthony Mazzola (tonym472) said : | #2 |
Manfred - Thank you. Your edits have fixed the issue. Also, you are
correct, I am running Ubuntu bionic. Are there any other lines that I need
to change 'xenial' to 'bionic'?
On Fri, Nov 30, 2018 at 10:03 AM Manfred Hampl <
<email address hidden>> wrote:
> Your question #676473 on update-manager in Ubuntu changed:
>
> https:/
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> I assume the wrong lines are these:
>
> deb https:/
> deb-src https:/
>
> they should probably be
>
> deb https:/
> deb-src https:/
>
> (with a space preceding the word xenial).
>
> But if you are running Ubuntu bionic, then in addition to adding the
> space character, the word "xenial" in these lines should be replaced by
> "bionic"
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
>
> https:/
>
> You received this question notification because you asked the question.
>
--
Tony Mazzola
Anthony Mazzola (tonym472) said : | #3 |
No, the issue is corrected. Just wondering if all lines with 'xenial'
should be changed to 'bionic'?
On Fri, Nov 30, 2018 at 11:27 AM Anthony Mazzola <
<email address hidden>> wrote:
> Your question #676473 on update-manager in Ubuntu changed:
>
> https:/
>
> Status: Answered => Open
>
> You are still having a problem:
> Manfred - Thank you. Your edits have fixed the issue. Also, you are
> correct, I am running Ubuntu bionic. Are there any other lines that I need
> to change 'xenial' to 'bionic'?
>
> On Fri, Nov 30, 2018 at 10:03 AM Manfred Hampl <
> <email address hidden>> wrote:
>
> > Your question #676473 on update-manager in Ubuntu changed:
> >
> >
> https:/
> >
> > Status: Open => Answered
> >
> > Manfred Hampl proposed the following answer:
> > I assume the wrong lines are these:
> >
> > deb https:/
> > deb-src https:/
> >
> > they should probably be
> >
> > deb https:/
> > deb-src https:/
> >
> > (with a space preceding the word xenial).
> >
> > But if you are running Ubuntu bionic, then in addition to adding the
> > space character, the word "xenial" in these lines should be replaced by
> > "bionic"
> >
> > --
> > If this answers your question, please go to the following page to let us
> > know that it is solved:
> >
> >
> https:/
> >
> > If you still need help, you can reply to this email or go to the
> > following page to enter your feedback:
> >
> >
> https:/
> >
> > You received this question notification because you asked the question.
> >
>
>
> --
> Tony Mazzola
>
> You received this question notification because you asked the question.
>
--
Tony Mazzola
Anthony Mazzola (tonym472) said : | #4 |
Thanks Manfred Hampl, that solved my question.
Christian (chrixthegamer) said : | #5 |
when I run the command to get update I get an error:
E: Malformed entry 21 in list file /etc/apt/
E: The list of sources could not be read.
I already tried deleting the source throught software & updates and tried sudo nano /etc/apt/
Manfred Hampl (m-hampl) said : | #6 |
@Christian: Please do not piggyback on somebody else's question, but create a question document of your own
(already done - https:/