2

I had tried to install Albert on ubuntu by using the following codes. The Ubuntu version I have is 20.04

curl https://build.opensuse.org/projects/home:manuelschneid3r/public_key | sudo apt-key add -

echo 'deb http://download.opensuse.org/repositories/home:/-manuelschneid3r/xUbuntu_20.04//' | sudo tee /etc/apt/sources.list.d/home:manuelschneid3r.list

sudo wget -nv https://download.opensuse.org/repositories/home:manuelschneid3r/xUbuntu_20.04/Release.key -O "/etc/apt/trusted.gpg.d/home:manuelschneid3r.asc"

sudo apt update

sudo apt install Albert

But 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?

muru
  • 197,895
  • 55
  • 485
  • 740
Siddharamesh
  • 21
  • 1
  • 3

1 Answers1

2

Visiting the URL you provided for the repository in a browser results in this response:

Resource is no longer available!

As a result, there's little chance of installing Albert from that location.

HOWEVER, if you ditch the - in the URL and use this:

http://download.opensuse.org/repositories/home:/manuelschneid3r/xUbuntu_20.04/

Then it will work.

So, with this in mind, edit your manuelschneid3r.list file like this:

  1. Open Terminal (if it's not already open)
  2. Edit the .list file with sudo:
    sudo {editor of choice} /etc/apt/sources.list.d/home:manuelschneid3r.list
    
    Note: You may want to do something about that file name. Rather than home:manuelschneid3r.list, perhaps rename it to manuelschneid3r.list
  3. Edit the URL, to remove the erroneous dash. The file should now look like:
    deb http://download.opensuse.org/repositories/home:/manuelschneid3r/xUbuntu_20.04/ /
    
  4. Update apt:
    sudo apt update 
    

From here, you should be able to install Albert.

Source

Error404
  • 7,440
matigo
  • 22,138
  • 7
  • 45
  • 75