1

In Linux Mint, when I run the command sudo apt-get update I receive the error:

Malformed entry 1 in list file /etc/apt/sources.list.d/lst_debian_repo.list (Component)

I see the following in that file:

deb http://rpms.litespeedtech.com/debian/  main

I ask this question because I want to install PHP for Litespeed using the command

sudo apt install lsphp72 lsphp72-curl lsphp72-imap lsphp72-mysql lsphp72-intl lsphp72-pgsql lsphp72-sqlite3 lsphp72-tidy lsphp72-snmp

But I receive the following error when I run the command above:

E: Malformed entry 1 in list file /etc/apt/sources.list.d/lst_debian_repo.list (Component) E: The list of sources could not be read.
E: Malformed entry 1 in list file /etc/apt/sources.list.d/lst_debian_repo.list (Component) E: The list of sources could not be read.
1

distro is missing in syntax, edit the entry, for example

"deb http://rpms.litespeedtech.com/debian jessie main"

then register LiteSpeed GPG key and update the repo

sudo xed /etc/apt/sources.list.d/lst_debian_repo.list
sudo wget -O /etc/apt/trusted.gpg.d/lst_debian_repo.gpg http://rpms.litespeedtech.com/debian/lst_debian_repo.gpg
sudo apt-get update

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.