I had tried to install Albert on ubuntu by using the following codes. The Ubuntu version I have is 20.04
curl | sudo apt-key add -
echo 'deb | sudo tee /etc/apt/sources.list.d/home:manuelschneid3r.list
sudo wget -nv -O "/etc/apt/trusted.gpg.d/home:manuelschneid3r.asc"
sudo apt update
sudo apt install AlbertBut I got this error:
Desktop:~$ sudo apt update
E: Malformed entry 1 in list file /etc/apt/sources.list.d/home:manuelschneid3r.list (Suite)
E: The list of sources could not be read.Now everytime I open my terminal and try to install some package and use sudo apt update. I get the above error.
I've reset and cleared the terminal, but I still get the same error. How can I clear the terminal so that I can work on terminal?
01 Answer
Visiting the URL you provided for the repository in a browser results in this response:
As a result, there's little chance of installing Albert from that location.
HOWEVER, if you ditch the - in the URL and use this:
Then it will work.
So, with this in mind, edit your manuelschneid3r.list file like this:
- Open Terminal (if it's not already open)
- Edit the
.listfile withsudo:
Note: You may want to do something about that file name. Rather thansudo {editor of choice} /etc/apt/sources.list.d/home:manuelschneid3r.listhome:manuelschneid3r.list, perhaps rename it tomanuelschneid3r.list - Edit the URL, to remove the erroneous dash. The file should now look like:
deb / - Update
apt:sudo apt update
From here, you should be able to install Albert.
1