R Rupa New Member Joined May 4, 2021 Messages 5 Reaction score 2 Credits 35 May 4, 2021 #1 Not sure how to resolve the following error when I try to update using 'sudo apt update. Please help. E: Malformed entry 1 in list file /etc/apt/sources.list.d/packagecloud-shiftky-desktop.list (URI) E: The list of sources could not be read.
Not sure how to resolve the following error when I try to update using 'sudo apt update. Please help. E: Malformed entry 1 in list file /etc/apt/sources.list.d/packagecloud-shiftky-desktop.list (URI) E: The list of sources could not be read.
Brickwizard Well-Known Member Joined Apr 28, 2021 Messages 5,488 Reaction score 3,715 Credits 40,614 May 4, 2021 #2 welcome @Rupa try sudo apt-get update
K KGIII Super Moderator Staff member Gold Supporter Joined Jul 23, 2020 Messages 11,498 Reaction score 9,992 Credits 95,326 May 4, 2021 #3 You can fix the entry, or you can reset the default repositories.
f33dm3bits Gold Member Gold Supporter Joined Dec 11, 2019 Messages 6,864 Reaction score 5,276 Credits 50,344 May 4, 2021 #4 Rupa said: E: Malformed entry 1 in list file /etc/apt/sources.list.d/packagecloud-shiftky-desktop.list (URI) E: The list of sources could not be read. Click to expand... What does the content of that file look like?
Rupa said: E: Malformed entry 1 in list file /etc/apt/sources.list.d/packagecloud-shiftky-desktop.list (URI) E: The list of sources could not be read. Click to expand... What does the content of that file look like?
OP R Rupa New Member Joined May 4, 2021 Messages 5 Reaction score 2 Credits 35 May 5, 2021 #5 Hello f33dm3bits, Thanks for your help. Please see the image of the file content below and it is unwritable. Not sure how to manage the error. f33dm3bits said: What does the content of that file look like? Click to expand...
Hello f33dm3bits, Thanks for your help. Please see the image of the file content below and it is unwritable. Not sure how to manage the error. f33dm3bits said: What does the content of that file look like? Click to expand...
OP R Rupa New Member Joined May 4, 2021 Messages 5 Reaction score 2 Credits 35 May 5, 2021 #6 brickwizard said: welcome @Rupa try sudo apt-get update Click to expand...
OP R Rupa New Member Joined May 4, 2021 Messages 5 Reaction score 2 Credits 35 May 5, 2021 #7 Unfortunately, that didn't work. It gave the same error message.
D Deleted member 108694 Guest May 5, 2021 #8 You need to edit the file to read https://packagecloud.io/shiftkey/desktop/ubuntu/ focal main instead of https://packagecloud.io/shiftkey/desktop/any/ any main - that is there now - it is malformed because it does not know which distro to go to to edit Code: sudo gedit /etc/apt/sourced.list.d/packagecloud-shiftkey-desktop.list Last edited by a moderator: May 5, 2021
You need to edit the file to read https://packagecloud.io/shiftkey/desktop/ubuntu/ focal main instead of https://packagecloud.io/shiftkey/desktop/any/ any main - that is there now - it is malformed because it does not know which distro to go to to edit Code: sudo gedit /etc/apt/sourced.list.d/packagecloud-shiftkey-desktop.list
OP R Rupa New Member Joined May 4, 2021 Messages 5 Reaction score 2 Credits 35 May 5, 2021 #9 Thank you. I have deleted the file and my update is working alright now. Thanks for the help.