重要なファイルやツールがたくさんインストールされているため、Kaliのバージョンを2020.1から2020.3に更新しようとしましたが、更新されません。
私はこのウェブサイトを参照しましたhttps://www.kali.org/docs/general-use/updating-kali/
試してみましたが、sudo apt full-upgrade
何も起こりませんでした。バージョンはまだ2020.1です。
$ lsb_release -a
No LSB modules are available.
Distributor ID: Kali
Description: Kali GNU/Linux Rolling
Release: 2020.1
Codename: kali-rolling
$ sudo apt full-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
clang-9 libclang-common-9-dev libclang-cpp9 libz3-dev llvm-9 llvm-9-dev llvm-9-runtime llvm-9-tools
The following packages will be upgraded:
clang libomp-8-dev libomp5-8 libpocl2 libpocl2-common pocl-opencl-icd
6 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
Need to get 47.2 MB/61.0 MB of archives.
After this operation, 310 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 https://kali.mirror.garr.it/mirrors/kali kali-rolling/main amd64 libpocl2 amd64 1.4-6 [15.8 MB]
Get:2 https://kali.mirror.garr.it/mirrors/kali kali-rolling/main amd64 libpocl2-common all 1.4-6 [79.2 kB]
Get:3 https://kali.mirror.garr.it/mirrors/kali kali-rolling/main amd64 libz3-dev amd64 4.8.7-4 [87.3 kB]
Get:4 https://kali.mirror.garr.it/mirrors/kali kali-rolling/main amd64 llvm-9-runtime amd64 1:9.0.1-9 [212 kB]
Get:5 https://kali.mirror.garr.it/mirrors/kali kali-rolling/main amd64 llvm-9 amd64 1:9.0.1-9 [4,850 kB]
Get:6 https://kali.mirror.garr.it/mirrors/kali kali-rolling/main amd64 llvm-9-tools amd64 1:9.0.1-9 [328 kB]
Get:7 https://kali.mirror.garr.it/mirrors/kali kali-rolling/main amd64 llvm-9-dev amd54 1:9.0.1-9 [25.9 MB]
Fetched 39.9 MB in 13s (2,990 kB/s)
Selecting previously unselected package libclang-ccp9.
(Reading database ... 251246 files and directories currently installed.)
Preparing to unpack .../00-libclang-ccp9_1%3a9.0.1-9_amd64.deb ...
Unpacking libclang-cpp9 (1:9.0.1-9) ...
Selecting previously unselected package libclang-common-9-dev.
Preparing to unpack .../01-libclang-common-9-dev_1%3a9.0.1-9_amd64.deb ...
Unpacking libclang-common-9-dev (1:9.0.1-9) ...
Selecting previously unselected package clang-9.
Preparing to unpack .../02-clang-9_1%3a9.0.1-9_amd64.deb ...
Unpacking clang-9 (1:9.0.1-9) ...
Preparing to unpack .../03-clang_1%3a9.0-49_amd64.deb ...
Unpacking clang (1:9.0-49) over (1:8.0-48.3) ...
Preparing to unpack .../04-libomp-8-dev_1%3a8.0.1-8_amd64.deb ...
Unpacking libomp-8-dev (1:8.0.1-8) over (1:8.0.1-4) ...
Preparing to unpack .../05-libomp5-8_1%3a8.0.1-8_amd64.deb ...
Unpacking libomp5-8:amd64 (1:8.0.1-8) over (1:8.0.1-4) ...
Preparing to unpack .../06-pocl-opencl-icd_1.4-6_amd64.deb ...
Unpacking pocl-opencl-icd:amd64 (1.4-6) over (1.3-10) ...
Preparing to unpack .../07-libpocl2_1.4-6_amd64.deb ...
Unpacking ibpocl2:amd64 (1.4-6) over (1.3-10) ...
Preparing to unpack .../08-libpocl2-common_1.4-6_amd64.deb ...
Unpacking ibpocl2-common (1.4-6) over (1.3-10) ...
Selecting previously unselected package libz3-dev:amd64.
Preparing to unpack .../09-libz3-dev_4.8.7-4_amd64.deb ...
Unpacking libz3-dev:amd64 (4.8.7-4) ...
Selecting previously unselected package llvm-9-runtime.
Preparing to unpack .../10-llvm-9-runtime_1%3a9.0.1-9_amd64.deb ...
Unpacking llvm-9-runtime (1:9.0.1-9) ...
Selecting previously unselected package llvm-9.
Preparing to unpack .../11-llvm-9_1%3a9.0.1-9_amd64.deb ...
Unpacking llvm-9 (1:9.0.1-9) ...
Selecting previously unselected package llvm-9-tools.
Preparing to unpack .../12-llvm-9-tools_1%3a9.0.1-9_amd64.deb ...
Unpacking llvm-9-tools (1:9.0.1-9) ...
Selecting previously unselected package llvm-9-dev.
Preparing to unpack .../13-llvm-9-dev_1%3a9.0.1-9_amd64.deb ...
Unpacking llvm-9-dev (1:9.0.1-9) ...
Setting up libz3-dev:amd64 (4.8.7-4) ...
$ grep Version /etc/os-release
VERSION="2020.1"
VERSION_ID="2020.1"
VERSION_CODENAME="kali-rolling"
$ sudo apt full-uprade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
$ sudo apt update
Hit:1 http://kali.mirror.garr.it/mirrors/kali kali-rolling InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
sources.list
次のような
deb http://kali.mirror.garr.it/mirrors/kali kali-rolling main non-free contrib
deb-src http://kali.mirror.garr.it/mirrors/kali kali-rolling main non-free contrib
まだ新しいKali 2020.3をインストールできますが、すべてのツールをダウンロードしてインストールするのに時間がかかります。インターネットの速度は非常に遅いです。
助けてください。
答え1
ミラーを使用していますhttp://kali.mirror.garr.it/mirrors/kali
。現在、Kali Linuxリポジトリの古いスナップショットがあります。たとえば、base-files
バージョンは1:2020.1.0で、Kali Linux 2020.3では1:2020.3.1です。これが今構成を使用して2020.3にアップグレードできない理由です。
kali.org Wikiによると、あなたはsources.list
含める必要がありますただapt
最も近い最新のミラーに自動リダイレクトされるデフォルトホスト:
deb http://http.kali.org/kali kali-rolling main non-free contrib
sources.list
この行に変更してもう一度やり直してください。
1行でsources.list
十分です。プログラムのソースコードに別の行を追加することもできます。kali.orgで説明したように。sources.list
で始まる行は、deb
実行する準備が整ったプリコンパイル済みバイナリパッケージです。で始まる行は、deb-src
実行する前にバイナリでコンパイルする必要があるソースコードです。それが必要かどうか疑問に思うなら、おそらくそうではないでしょう。deb
間のdeb-src
違いsources.list
前に説明した。