1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

kali linuxでUnable to locate package * 発生

Last updated at Posted at 2022-09-20

環境

Kali GNU/Linux 2022.3

概要

apt installコマンドで E: Unable to locate package となった

┌──(kali㉿kali)-[~]
└─$ sudo apt install man2html -y                                 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package man2html

結論

/etc/apt/sources.list ファイルを編集する

詳細

┌──(kali㉿kali)-[~]
└─$ sudo vi /etc/apt/sources.list
┌──(kali㉿kali)-[~]
└─$ cat /etc/apt/sources.list
deb http://http.kali.org/kali kali-rolling main non-free contrib
deb http://http.kali.org/kali kali-last-snapshot main non-free contrib
deb http://http.kali.org/kali kali-experimental main non-free contrib
deb-src http://http.kali.org/kali kali-rolling main non-free contrib
# ↑必要なものを適宜追記(何が必要かわからなければ全部記載してしまおう、、、)

┌──(kali㉿kali)-[~]
└─$ sudo apt update && sudo apt -y full-upgrade -y && sudo reboot
# 以下省略

おわりに

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?