Linux Mintエラー:「リストファイル/etc/apt/sources.list.d/lst_debian_repo.list(コンポーネント)のエントリ1の形式が正しくありません。」

Linux Mintエラー:「リストファイル/etc/apt/sources.list.d/lst_debian_repo.list(コンポーネント)のエントリ1の形式が正しくありません。」

Linux Mint でコマンドを実行するとsudo apt-get updateエラーが発生します。

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

ファイルに以下が表示されます。

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

次のコマンドを使用してLitespeed用のPHPをインストールしたいので、この質問をします。

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

ただし、上記のコマンドを実行すると、次のエラーが発生します。

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

文法にリリースはありません。アイテムを編集します。

「デップhttp://rpms.litespeedtech.com/debianジェシーメイン」

次に、LiteSpeed GPGキーを登録してリポジトリを更新します。

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

おすすめ記事