gpg:有効なOpenPGPデータがありません。 Carly Linuxに適切なリポジトリを追加する

gpg:有効なOpenPGPデータがありません。 Carly Linuxに適切なリポジトリを追加する

ストアを追加しようとすると、次のエラーが発生します。

root@Hacknonimous:~# sudo add-apt-repository ppa:agornostal/ulauncher  
 Application launcher for Linux
 More info: https://launchpad.net/~agornostal/+archive/ubuntu/ulauncher
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keybox '/tmp/tmpb55cnwbo/pubring.gpg' created  
gpg: /tmp/tmpb55cnwbo/trustdb.gpg: trustdb created  
gpg: key FAF1020699503176: public key "Launchpad PPA for Aleksandr Gornostal" imported  
gpg: Total number processed: 1  
gpg:               imported: 1  
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).  
**gpg: no valid OpenPGP data found**.
root@Hacknonimous:~# apt update  
Hit:1 http://packages.microsoft.com/repos/vscode stable InRelease  
Ign:2 http://ppa.launchpad.net/agornostal/ulauncher/ubuntu hirsute InRelease                                                                 
Hit:4 http://ftp.debian.org/debian stable InRelease                                                          
Hit:3 http://kali.cs.nctu.edu.tw/kali kali-rolling InRelease               
Err:6 http://ppa.launchpad.net/agornostal/ulauncher/ubuntu hirsute Release  
  404  Not Found [IP: 91.189.95.85 80]  
Hit:5 http://kali.cs.nctu.edu.tw/kali kali-last-snapshot InRelease    
Hit:7 http://kali.cs.nctu.edu.tw/kali kali-experimental InRelease  
Reading package lists... Done  
**E**: The repository 'http://ppa.launchpad.net/agornostal/ulauncher/ubuntu hirsute Release' does not have a Release file.  
**N**: Updating from such a repository can't be done securely, and is therefore disabled by default.  
**N**: See apt-secure(8) manpage for repository creation and user configuration details.  
**W**: Target Packages (non-free/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3  
**W**: Target Packages (non-free/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3  
**W**: Target Translations (non-free/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3  
**W**: Target Translations (non-free/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3  
**W**: Target DEP-11 (non-free/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3  
**W**: Target DEP-11 (non-free/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3  
**W**: Target DEP-11-icons-small (non-free/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3  
**W**: Target DEP-11-icons (non-free/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3  
**W**: Target Packages (non-free/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3  
**W**: Target Packages (non-free/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3  
**W**: Target Translations (non-free/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3  
**W**: Target Translations (non-free/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3  
**W**: Target DEP-11 (non-free/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3  
**W**: Target DEP-11 (non-free/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3  
**W**: Target DEP-11-icons-small (non-free/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3  
**W**: Target DEP-11-icons (non-free/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3  

ベストアンサー1

**W**: Target DEP-11-icons (non-free/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:3  

/etc/apt/sources.list最初の行と重複する行3を削除してコードを編集する必要があります。apt同じソースが複数回構成されている場合、このエラーが印刷されます。

kali分岐(kali-experimentalとkali-last-snapshot)を混在させないでください。

Ubuntuリポジトリを削除すると、インストールが中断されます。

非Kaliリポジトリ

Kaliに別のオペレーティングシステムのストレージを追加すると(たとえば、KaliにUbuntuをインストールしようとすると)、インストールが中断されます。これがKali Linuxシステムクラッシュの最も一般的な理由です。

ターミナルから:

sudo rm /etc/apt/sources.list.d/*
echo "deb http://http.kali.org/kali kali-rolling main non-free contrib" |sudo tee /etc/apt/sources.list
sudo apt update

おすすめ記事