
付録2 - terdonの後続のコメント/質問に対する回答として追加されました。
terdonのコメント/質問に応じて付録が追加されました。
Linux Mintのアップデート/アップグレードに問題があります。 7日前に、コマンドラインでasudo apt update -y
とaを実行しましたsudo apt upgrade -y
。どちらのコマンドも問題なく正常に実行されるようです。
今夜は問題が発生しました。私のバージョンを確認してください。
$ cat /etc/issue
プログラム
Linux Mint 20.3 Una \n \l
今夜私は次のような命令を出しました:
steve@steve-H97-D3H:~$ sudo apt update -y
それは与えた
steve@steve-H97-D3H:~$ sudo apt update -y
Hit:1 https://dl.winehq.org/wine-builds/ubuntu focal InRelease
Hit:2 https://dl.google.com/linux/chrome/deb stable InRelease
Hit:3 http://ppa.launchpad.net/obsproject/obs-studio/ubuntu focal InRelease
Ign:4 http://packages.linuxmint.com una InRelease
Hit:5 http://packages.linuxmint.com una Release
Hit:7 http://archive.canonical.com/ubuntu focal InRelease
Get:8 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Hit:9 http://archive.ubuntu.com/ubuntu focal InRelease
Get:10 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Get:11 http://archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
Fetched 336 kB in 11s (29.7 kB/s)
steve@steve-H97-D3H:~$ . 65%
Ctrl-C
1分待ってからコマンドラインを再起動しました。
それから発行されました。
steve@steve-H97-D3H:~$ sudo apt upgrade
生産
steve@steve-H97-D3H:~$ . 65%
Ctrl-C
コマンドラインを再度復元しました。
その後、Update Manager GUIを呼び出しました。 GUIの下部にメッセージを表示し、使用中でprocessing updates
あることを示す回転矢印を表示します。
システムを定期的に更新/アップグレードするには、どのように問題を調査して解決する必要がありますか?
付録
terdonのコメント/質問に答えます。
私は引退したプログラマーですが、Linuxの内部処理についての私の理解は非常に表面的です。以前に以下にリストされた症状を見たことがないので、これについて知りたいです。
これらの症状がアップデートやアップグレードが不要であることを示すLinux Mintの方法を示している場合は問題ありません。これは確かに過去のFedoraの通信方式とは異なります。
簡単に間違える私の盲目的で教育を受けていない推測は、リポジトリの1つにアクセスするのに問題があるということです。これが数日以内に自然に消える一時的な問題であれば、私には問題になりません。しかし、症状を評価して明確に説明するには、この分野について非常に知識のある人が必要です。
コマンド
update
は次のとおりです。終わるメッセージの65%が次のコマンドラインに漏洩しているようです。
私は以前このような行動を見たことがありません。通常、コマンドが完了すると、行に何もないコマンドプロンプトに戻ります。または命令が届いたらこんにちは、何らかの理由でコマンドプロンプトは返されません。
この異常な動作の原因は何ですか?
また、これのポイントは何ですか?65%情報? 65%何?コマンド
upgrade
も完了しました。したがって、そのコマンドについても同様の質問が提起されました。GUI
update manager
らしい保留。実際、実験ではこのGUIを一晩実行しておき、朝はまだGUIを実行していません。完全。
私はUpdate Manager GUIの異常な動作が偶然だとは思わない。私はこれら3つの症状を説明するための基本的な異常があると思います。
システムを健康に保つには、異常現象の原因を理解する必要があります。
付録2
terdonのフォローアップコメント/質問への回答です。
Ctrl + CのようにEnterキーを押すだけでクリアされることを確認できますか? GUIヒンジがより心配です。
いいえ、何が押されたのか確認できません。Enter
会議完成した。を押すことができるように状況を再現しようとするだけですEnter
。今回の試みでは、アップデートプロセスとアップグレードプロセスの両方がスムーズに行われているように見えました。結果はこの付録2の終わりに記載されています。だからこれ部分例外は、解決された一時(リモート)リポジトリの問題のようです。
その場合、一時的なエラーの原因を調査する必要はありません。離れて質問。
ただし、すべてのアップグレードが処理された後、GUIを再呼び出ししましたupdate manager
。以前と同様に、Update Manager GUI はprocessing updates
GUI の下部にメッセージを表示し (以前と同様)、GUI は使用中であることを示す回転矢印も表示します。
また、sudo -i`を実行してルートシェルを取得し、そのシェル内でapt updateを実行してみてください。
アップデートとアップグレードがうまくいっているようで、この作業を遅らせました。したがって、保留中の唯一の例外はupdate manager
GUIですが、とにかく私は一度も使ったことがありません。特定の問題が解決しない場合は、次の日曜日の夜に更新を実行し、次の月曜日の朝にコールドスタートを実行し、必要に応じてupdate manager
別々のunix.stackexchangeリリースを開始します。
注文の実行update
:
steve@steve-H97-D3H:~$ sudo apt update -y
与えられた:
[sudo] password for steve:
Hit:1 https://dl.winehq.org/wine-builds/ubuntu focal InRelease
Hit:2 https://dl.google.com/linux/chrome/deb stable InRelease
Hit:3 http://archive.canonical.com/ubuntu focal InRelease
Hit:4 http://archive.ubuntu.com/ubuntu focal InRelease
Ign:5 http://packages.linuxmint.com una InRelease
Hit:6 http://packages.linuxmint.com una Release
Get:7 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Hit:8 http://ppa.launchpad.net/obsproject/obs-studio/ubuntu focal InRelease
Get:9 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Get:11 http://archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
Get:12 http://archive.ubuntu.com/ubuntu focal-updates/main i386 Packages [687 kB]
Get:13 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [1,589 kB]
Get:14 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [1,946 kB]
Get:15 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 DEP-11 Metadata [278 kB]
Get:16 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 c-n-f Metadata [15.6 kB]
Get:17 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [924 kB]
Get:18 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 DEP-11 Metadata [391 kB]
Get:19 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 c-n-f Metadata [20.9 kB]
Get:20 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [24.5 kB]
Get:21 http://archive.ubuntu.com/ubuntu focal-updates/multiverse i386 Packages [8,468 B]
Get:22 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 DEP-11 Metadata [944 B]
Get:23 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 c-n-f Metadata [592 B]
Get:24 http://archive.ubuntu.com/ubuntu focal-backports/main amd64 DEP-11 Metadata [7,984 B]
Get:25 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 DEP-11 Metadata [30.5 kB]
Get:26 http://security.ubuntu.com/ubuntu focal-security/main i386 Packages [461 kB]
Get:27 http://security.ubuntu.com/ubuntu focal-security/main amd64 DEP-11 Metadata [40.7 kB]
Get:28 http://security.ubuntu.com/ubuntu focal-security/main amd64 c-n-f Metadata [10.6 kB]
Get:29 http://security.ubuntu.com/ubuntu focal-security/universe amd64 DEP-11 Metadata [66.2 kB]
Get:30 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 DEP-11 Metadata [2,464 B]
Fetched 6,841 kB in 12s (562 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
8 packages can be upgraded. Run 'apt list --upgradable' to see them.
steve@steve-H97-D3H:~$
注文の実行upgrade
:
steve@steve-H97-D3H:~$ sudo apt upgrade -y
与えられた:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
linux-headers-5.4.0-100 linux-headers-5.4.0-100-generic linux-headers-5.4.0-104
linux-headers-5.4.0-104-generic linux-headers-5.4.0-99 linux-headers-5.4.0-99-generic
linux-image-5.4.0-100-generic linux-image-5.4.0-104-generic linux-image-5.4.0-99-generic
linux-modules-5.4.0-100-generic linux-modules-5.4.0-104-generic linux-modules-5.4.0-99-generic
linux-modules-extra-5.4.0-100-generic linux-modules-extra-5.4.0-104-generic
linux-modules-extra-5.4.0-99-generic
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
curl firefox firefox-locale-en isc-dhcp-client isc-dhcp-common libcurl3-gnutls libcurl3-gnutls:i386 libcurl4
8 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 64.2 MB of archives.
After this operation, 1,407 kB disk space will be freed.
Get:1 http://packages.linuxmint.com una/upstream amd64 firefox amd64 102.0+linuxmint1+una [62.3 MB]
Get:2 http://archive.ubuntu.com/ubuntu focal-updates/main i386 libcurl3-gnutls i386 7.68.0-1ubuntu2.12 [260 kB]
Get:3 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libcurl3-gnutls amd64 7.68.0-1ubuntu2.12 [232 kB]
Get:4 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 isc-dhcp-client amd64 4.4.1-2.1ubuntu5.20.04.3 [246 kB]
Get:5 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 isc-dhcp-common amd64 4.4.1-2.1ubuntu5.20.04.3 [44.9 kB]
Get:6 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 curl amd64 7.68.0-1ubuntu2.12 [161 kB]
Get:7 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libcurl4 amd64 7.68.0-1ubuntu2.12 [235 kB]
Get:8 http://packages.linuxmint.com una/upstream amd64 firefox-locale-en amd64 102.0+linuxmint1+una [697 kB]
Fetched 64.2 MB in 7s (9,254 kB/s)
(Reading database ... 685528 files and directories currently installed.)
Preparing to unpack .../0-firefox_102.0+linuxmint1+una_amd64.deb ...
Unpacking firefox (102.0+linuxmint1+una) over (101.0.1+linuxmint1+una) ...
Preparing to unpack .../1-libcurl3-gnutls_7.68.0-1ubuntu2.12_amd64.deb ...
De-configuring libcurl3-gnutls:i386 (7.68.0-1ubuntu2.11) ...
Unpacking libcurl3-gnutls:amd64 (7.68.0-1ubuntu2.12) over (7.68.0-1ubuntu2.11) ...
Preparing to unpack .../2-libcurl3-gnutls_7.68.0-1ubuntu2.12_i386.deb ...
Unpacking libcurl3-gnutls:i386 (7.68.0-1ubuntu2.12) over (7.68.0-1ubuntu2.11) ...
Preparing to unpack .../3-isc-dhcp-client_4.4.1-2.1ubuntu5.20.04.3_amd64.deb ...
Unpacking isc-dhcp-client (4.4.1-2.1ubuntu5.20.04.3) over (4.4.1-2.1ubuntu5.20.04.2) ...
Preparing to unpack .../4-isc-dhcp-common_4.4.1-2.1ubuntu5.20.04.3_amd64.deb ...
Unpacking isc-dhcp-common (4.4.1-2.1ubuntu5.20.04.3) over (4.4.1-2.1ubuntu5.20.04.2) ...
Preparing to unpack .../5-curl_7.68.0-1ubuntu2.12_amd64.deb ...
Unpacking curl (7.68.0-1ubuntu2.12) over (7.68.0-1ubuntu2.11) ...
Preparing to unpack .../6-libcurl4_7.68.0-1ubuntu2.12_amd64.deb ...
Unpacking libcurl4:amd64 (7.68.0-1ubuntu2.12) over (7.68.0-1ubuntu2.11) ...
Preparing to unpack .../7-firefox-locale-en_102.0+linuxmint1+una_amd64.deb ...
Unpacking firefox-locale-en (102.0+linuxmint1+una) over (101.0.1+linuxmint1+una) ...
Setting up firefox (102.0+linuxmint1+una) ...
Setting up isc-dhcp-client (4.4.1-2.1ubuntu5.20.04.3) ...
Installing new version of config file /etc/apparmor.d/sbin.dhclient ...
Setting up libcurl3-gnutls:amd64 (7.68.0-1ubuntu2.12) ...
Setting up libcurl3-gnutls:i386 (7.68.0-1ubuntu2.12) ...
Setting up firefox-locale-en (102.0+linuxmint1+una) ...
Setting up libcurl4:amd64 (7.68.0-1ubuntu2.12) ...
Setting up isc-dhcp-common (4.4.1-2.1ubuntu5.20.04.3) ...
Setting up curl (7.68.0-1ubuntu2.12) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.9) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for mintsystem (8.5.3) ...
Processing triggers for desktop-file-utils (0.24+linuxmint1) ...
steve@steve-H97-D3H:~$