“Unable to get list of updates” [duplicate]
This question already has an answer here:
How do I remove a malformed line from my sources.list?
9 answers
How do I restore the default repositories?
3 answers
im extremely new to ubuntu, and since yesterday i've been unable to update directly from the software center. i open terminal and try sudo apt-get update, but i get the error "
E: Malformed entry 52 in list file /etc/apt/sources.list (Component)
E: The list of sources could not be read.
E: Malformed entry 52 in list file /etc/apt/sources.list (Component)
E: The list of sources could not be read
Contents of sources.list:
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://us.archive.ubuntu.com/ubuntu/ bionic main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
## 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 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://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
:
Answer by SirCharlo on How do I restore the default repositories? was my saving grace.
apt package-management updates
marked as duplicate by Kulfy, mikewhatever, N0rbert, Community♦ Feb 1 at 22:07
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
|
show 8 more comments
This question already has an answer here:
How do I remove a malformed line from my sources.list?
9 answers
How do I restore the default repositories?
3 answers
im extremely new to ubuntu, and since yesterday i've been unable to update directly from the software center. i open terminal and try sudo apt-get update, but i get the error "
E: Malformed entry 52 in list file /etc/apt/sources.list (Component)
E: The list of sources could not be read.
E: Malformed entry 52 in list file /etc/apt/sources.list (Component)
E: The list of sources could not be read
Contents of sources.list:
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://us.archive.ubuntu.com/ubuntu/ bionic main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
## 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 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://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
:
Answer by SirCharlo on How do I restore the default repositories? was my saving grace.
apt package-management updates
marked as duplicate by Kulfy, mikewhatever, N0rbert, Community♦ Feb 1 at 22:07
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
2
It would be useful to know what the 52nd entry in /etc/apt/sources.list is.
– Jos
Feb 1 at 21:29
how do i find out? ill post the info if i can figure that out...
– DPS
Feb 1 at 21:30
Open Terminal and runcat /etc/apt/sources.listand check line 52
– Kulfy
Feb 1 at 21:31
thank you, ill be right back
– DPS
Feb 1 at 21:31
In a terminal, doless /etc/apt/sources.listand count the entries (which ought to begin withdeb) until the 52nd. Then copy that line and paste it into your question, so we can have a look at it.
– Jos
Feb 1 at 21:31
|
show 8 more comments
This question already has an answer here:
How do I remove a malformed line from my sources.list?
9 answers
How do I restore the default repositories?
3 answers
im extremely new to ubuntu, and since yesterday i've been unable to update directly from the software center. i open terminal and try sudo apt-get update, but i get the error "
E: Malformed entry 52 in list file /etc/apt/sources.list (Component)
E: The list of sources could not be read.
E: Malformed entry 52 in list file /etc/apt/sources.list (Component)
E: The list of sources could not be read
Contents of sources.list:
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://us.archive.ubuntu.com/ubuntu/ bionic main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
## 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 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://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
:
Answer by SirCharlo on How do I restore the default repositories? was my saving grace.
apt package-management updates
This question already has an answer here:
How do I remove a malformed line from my sources.list?
9 answers
How do I restore the default repositories?
3 answers
im extremely new to ubuntu, and since yesterday i've been unable to update directly from the software center. i open terminal and try sudo apt-get update, but i get the error "
E: Malformed entry 52 in list file /etc/apt/sources.list (Component)
E: The list of sources could not be read.
E: Malformed entry 52 in list file /etc/apt/sources.list (Component)
E: The list of sources could not be read
Contents of sources.list:
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://us.archive.ubuntu.com/ubuntu/ bionic main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
## 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 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://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
:
Answer by SirCharlo on How do I restore the default repositories? was my saving grace.
This question already has an answer here:
How do I remove a malformed line from my sources.list?
9 answers
How do I restore the default repositories?
3 answers
apt package-management updates
apt package-management updates
edited Feb 2 at 8:44
Kulfy
4,70151642
4,70151642
asked Feb 1 at 21:27
DPSDPS
327
327
marked as duplicate by Kulfy, mikewhatever, N0rbert, Community♦ Feb 1 at 22:07
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
marked as duplicate by Kulfy, mikewhatever, N0rbert, Community♦ Feb 1 at 22:07
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
2
It would be useful to know what the 52nd entry in /etc/apt/sources.list is.
– Jos
Feb 1 at 21:29
how do i find out? ill post the info if i can figure that out...
– DPS
Feb 1 at 21:30
Open Terminal and runcat /etc/apt/sources.listand check line 52
– Kulfy
Feb 1 at 21:31
thank you, ill be right back
– DPS
Feb 1 at 21:31
In a terminal, doless /etc/apt/sources.listand count the entries (which ought to begin withdeb) until the 52nd. Then copy that line and paste it into your question, so we can have a look at it.
– Jos
Feb 1 at 21:31
|
show 8 more comments
2
It would be useful to know what the 52nd entry in /etc/apt/sources.list is.
– Jos
Feb 1 at 21:29
how do i find out? ill post the info if i can figure that out...
– DPS
Feb 1 at 21:30
Open Terminal and runcat /etc/apt/sources.listand check line 52
– Kulfy
Feb 1 at 21:31
thank you, ill be right back
– DPS
Feb 1 at 21:31
In a terminal, doless /etc/apt/sources.listand count the entries (which ought to begin withdeb) until the 52nd. Then copy that line and paste it into your question, so we can have a look at it.
– Jos
Feb 1 at 21:31
2
2
It would be useful to know what the 52nd entry in /etc/apt/sources.list is.
– Jos
Feb 1 at 21:29
It would be useful to know what the 52nd entry in /etc/apt/sources.list is.
– Jos
Feb 1 at 21:29
how do i find out? ill post the info if i can figure that out...
– DPS
Feb 1 at 21:30
how do i find out? ill post the info if i can figure that out...
– DPS
Feb 1 at 21:30
Open Terminal and run
cat /etc/apt/sources.list and check line 52– Kulfy
Feb 1 at 21:31
Open Terminal and run
cat /etc/apt/sources.list and check line 52– Kulfy
Feb 1 at 21:31
thank you, ill be right back
– DPS
Feb 1 at 21:31
thank you, ill be right back
– DPS
Feb 1 at 21:31
In a terminal, do
less /etc/apt/sources.list and count the entries (which ought to begin with deb) until the 52nd. Then copy that line and paste it into your question, so we can have a look at it.– Jos
Feb 1 at 21:31
In a terminal, do
less /etc/apt/sources.list and count the entries (which ought to begin with deb) until the 52nd. Then copy that line and paste it into your question, so we can have a look at it.– Jos
Feb 1 at 21:31
|
show 8 more comments
1 Answer
1
active
oldest
votes
Several lines appear to have gone missing, and a ":" has appeared where it shouldn't be.
- In a terminal, enter
sudo nano /etc/apt/sources.listand enter your password.
Remove the ":" and replace it by:
deb http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse
Press Ctrl + O to save the file, and Ctrl + X to exit from nano.
- Do
sudo apt update.
It should work from here on.
thank you. right now, everything has started updating and my little i5 is currently "going through the motions". once this is finished, i will return to the terminal and correct the issues that youve found. if i can find them. lol. this wasnt an easy install, but you guys have been a life saver. thank you!
– DPS
Feb 1 at 22:14
ALAS! A full restart, and not a single error! Thank you!
– DPS
Feb 1 at 22:27
If you think my answer helped you, and you think this is not a duplicate of the questions above, please mark this question as "answered" by clicking the tick mark next to it.
– Jos
Feb 1 at 22:29
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Several lines appear to have gone missing, and a ":" has appeared where it shouldn't be.
- In a terminal, enter
sudo nano /etc/apt/sources.listand enter your password.
Remove the ":" and replace it by:
deb http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse
Press Ctrl + O to save the file, and Ctrl + X to exit from nano.
- Do
sudo apt update.
It should work from here on.
thank you. right now, everything has started updating and my little i5 is currently "going through the motions". once this is finished, i will return to the terminal and correct the issues that youve found. if i can find them. lol. this wasnt an easy install, but you guys have been a life saver. thank you!
– DPS
Feb 1 at 22:14
ALAS! A full restart, and not a single error! Thank you!
– DPS
Feb 1 at 22:27
If you think my answer helped you, and you think this is not a duplicate of the questions above, please mark this question as "answered" by clicking the tick mark next to it.
– Jos
Feb 1 at 22:29
add a comment |
Several lines appear to have gone missing, and a ":" has appeared where it shouldn't be.
- In a terminal, enter
sudo nano /etc/apt/sources.listand enter your password.
Remove the ":" and replace it by:
deb http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse
Press Ctrl + O to save the file, and Ctrl + X to exit from nano.
- Do
sudo apt update.
It should work from here on.
thank you. right now, everything has started updating and my little i5 is currently "going through the motions". once this is finished, i will return to the terminal and correct the issues that youve found. if i can find them. lol. this wasnt an easy install, but you guys have been a life saver. thank you!
– DPS
Feb 1 at 22:14
ALAS! A full restart, and not a single error! Thank you!
– DPS
Feb 1 at 22:27
If you think my answer helped you, and you think this is not a duplicate of the questions above, please mark this question as "answered" by clicking the tick mark next to it.
– Jos
Feb 1 at 22:29
add a comment |
Several lines appear to have gone missing, and a ":" has appeared where it shouldn't be.
- In a terminal, enter
sudo nano /etc/apt/sources.listand enter your password.
Remove the ":" and replace it by:
deb http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse
Press Ctrl + O to save the file, and Ctrl + X to exit from nano.
- Do
sudo apt update.
It should work from here on.
Several lines appear to have gone missing, and a ":" has appeared where it shouldn't be.
- In a terminal, enter
sudo nano /etc/apt/sources.listand enter your password.
Remove the ":" and replace it by:
deb http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse
Press Ctrl + O to save the file, and Ctrl + X to exit from nano.
- Do
sudo apt update.
It should work from here on.
edited Feb 2 at 8:37
Kulfy
4,70151642
4,70151642
answered Feb 1 at 22:08
JosJos
14.5k53951
14.5k53951
thank you. right now, everything has started updating and my little i5 is currently "going through the motions". once this is finished, i will return to the terminal and correct the issues that youve found. if i can find them. lol. this wasnt an easy install, but you guys have been a life saver. thank you!
– DPS
Feb 1 at 22:14
ALAS! A full restart, and not a single error! Thank you!
– DPS
Feb 1 at 22:27
If you think my answer helped you, and you think this is not a duplicate of the questions above, please mark this question as "answered" by clicking the tick mark next to it.
– Jos
Feb 1 at 22:29
add a comment |
thank you. right now, everything has started updating and my little i5 is currently "going through the motions". once this is finished, i will return to the terminal and correct the issues that youve found. if i can find them. lol. this wasnt an easy install, but you guys have been a life saver. thank you!
– DPS
Feb 1 at 22:14
ALAS! A full restart, and not a single error! Thank you!
– DPS
Feb 1 at 22:27
If you think my answer helped you, and you think this is not a duplicate of the questions above, please mark this question as "answered" by clicking the tick mark next to it.
– Jos
Feb 1 at 22:29
thank you. right now, everything has started updating and my little i5 is currently "going through the motions". once this is finished, i will return to the terminal and correct the issues that youve found. if i can find them. lol. this wasnt an easy install, but you guys have been a life saver. thank you!
– DPS
Feb 1 at 22:14
thank you. right now, everything has started updating and my little i5 is currently "going through the motions". once this is finished, i will return to the terminal and correct the issues that youve found. if i can find them. lol. this wasnt an easy install, but you guys have been a life saver. thank you!
– DPS
Feb 1 at 22:14
ALAS! A full restart, and not a single error! Thank you!
– DPS
Feb 1 at 22:27
ALAS! A full restart, and not a single error! Thank you!
– DPS
Feb 1 at 22:27
If you think my answer helped you, and you think this is not a duplicate of the questions above, please mark this question as "answered" by clicking the tick mark next to it.
– Jos
Feb 1 at 22:29
If you think my answer helped you, and you think this is not a duplicate of the questions above, please mark this question as "answered" by clicking the tick mark next to it.
– Jos
Feb 1 at 22:29
add a comment |
2
It would be useful to know what the 52nd entry in /etc/apt/sources.list is.
– Jos
Feb 1 at 21:29
how do i find out? ill post the info if i can figure that out...
– DPS
Feb 1 at 21:30
Open Terminal and run
cat /etc/apt/sources.listand check line 52– Kulfy
Feb 1 at 21:31
thank you, ill be right back
– DPS
Feb 1 at 21:31
In a terminal, do
less /etc/apt/sources.listand count the entries (which ought to begin withdeb) until the 52nd. Then copy that line and paste it into your question, so we can have a look at it.– Jos
Feb 1 at 21:31