Sublime Forum

E: Malformed entry 1 in list file /etc/apt/sources.list.d/sublime-text.list (Component)

#1

I acted as instructed here:
https://www.sublimetext.com/docs/linux_repositories.html

while, after I input such in Ubuntu 20.04:
echo “deb https://download.sublimetext.com/ apt/dev/” | sudo tee /etc/apt/sources.list.d/sublime-text.list
sudo apt-get update

it was prompted:
E: Malformed entry 1 in list file /etc/apt/sources.list.d/sublime-text.list (Component)
E: The list of sources could not be read.

0 Likes

#2

What’s the result from cat /etc/apt/sources.list.d/sublime-text.list?

0 Likes

#3

‘deb [signed-by=/usr/share/keyrings/sublimehq.gpg] https://download.sublimetext.com/ apt/stable/’

0 Likes

#4

Are you having the same problem? What Linux Distribution are you using?

0 Likes

#5

I am having the same problem and my ‘/etc/apt/sources.list.d/sublime-text.list’ file looks like this:
“deb https://download.sublimetext.com/ apt/stable”
I’m trying to install this on remnux, which is a linux distro based on Ubuntu I believe.

@bschaaf (@'d you just incase I didn’t reply correctly)

0 Likes

#6

Can you provide the full output of apt update?

0 Likes

#7

I have this problem too.
Result of apt-get update : Malformed entry 1 in list file /etc/apt/sources.list.d/sublime-text.list (Component) The list of sources could not be read.

My os: debian12.

0 Likes