Debian GNU/Linux スレッド Ver.97[ワ有] (815レス)
Debian GNU/Linux スレッド Ver.97[ワ有] http://mao.5ch.net/test/read.cgi/linux/1624015965/
上
下
前
次
1-
新
通常表示
512バイト分割
レス栞
181: login:Penguin (ワッチョイ ffe3-jrG3) [sage] 2021/06/26(土) 17:22:56.37 ID:F5FfVWLO0 削除。 http://mao.5ch.net/test/read.cgi/linux/1624015965/181
182: login:Penguin (ワッチョイ 3f7e-jrG3) [sage] 2021/06/26(土) 17:23:51.97 ID:ztNanLbL0 それは大いにある だがもうやり直すの面倒でしょ? RAID組んだり透過圧縮かけてたり等の特殊な事やってなけりゃ Btrfsはそこまでヤワじゃないから大丈夫 http://mao.5ch.net/test/read.cgi/linux/1624015965/182
183: login:Penguin (ワッチョイ 3f7e-jrG3) [sage] 2021/06/26(土) 17:25:24.19 ID:ztNanLbL0 て言うかホームディレクトリをそのまんまFAT32にコピーしては駄目じゃん パーミッションが失われるぞ(確か) http://mao.5ch.net/test/read.cgi/linux/1624015965/183
184: login:Penguin (ワッチョイ ffe3-jrG3) [sage] 2021/06/26(土) 17:53:23.85 ID:F5FfVWLO0 >>182 > だがもうやり直すの面倒でしょ? ラジャー。 >て言うかホームディレクトリをそのまんまFAT32にコピーしては駄目じゃん パーミッションが失われるぞ(確か) コピーしたのは、 :/media/jin/C9EA-8480/2021-06-06_23-12-03$ ls -a . Desktop Downloads Pictures rtl8192cu-fixes .. Documents Music Videos だけです。中身を逐一チェックして いる、イラン、いる、いらんした。 サイズは1ギガまで減らした。 ゆえに --------------------------------- https://www.debian.org/releases/bullsey ... tml#backup アップグレードの過程自体は、/home ディレクトリ以下は一切変更しません。とはいえ、(Mozilla スイートの一部や、GNOME・KDE といったデスクトップ環境のように) ユーザが初めて新しいバージョンのアプリケーションを起動するときに、既存のユーザ設定を新たなデフォルト値で上書きしてしまうものがあるのも事実です。 万一に備えて、ユーザのホームディレクトリにある隠しファイルと隠しディレクトリ (いわゆる 「ドットファイル」) をバックアップしておくのがよいでしょう。古い状態に戻したり、再度設定する場合に役立つはずです。 --------------------------------- >ホームディレクトリにある隠しファイルと隠しディレクトリ (いわゆる 「ドットファイル」) をバックアップしておく この教えを実行してない。次回します。 いまからカレー作るための買い出し、そのあとめし食って寝る デビアンスレのみんな!あんがとよ!! 君もありがとう http://mao.5ch.net/test/read.cgi/linux/1624015965/184
185: login:Penguin (ワッチョイ 3f7e-jrG3) [sage] 2021/06/26(土) 18:03:39.81 ID:ztNanLbL0 俺はそのような事に真摯に取り組む限りは 俺に可能な助言は惜しまない 某所でおいたせずちゃんと休むんだぞ http://mao.5ch.net/test/read.cgi/linux/1624015965/185
186: login:Penguin (ワッチョイ ffe3-jrG3) [sage] 2021/06/27(日) 16:08:28.27 ID:MojTi1K50 jin@kyo:/var/run/timeshift/backup$ sudo btrfs sub del 昇級前退避home ERROR: Could not statfs: No such file or directory <<消せません ここがどうしたら? http://mao.5ch.net/test/read.cgi/linux/1624015965/186
187: login:Penguin (ワッチョイ ffe3-jrG3) [sage] 2021/06/27(日) 16:29:19.87 ID:MojTi1K50 新しい"USB Drivを準備。 >ホームディレクトリにある隠しファイルと隠しディレクトリ (いわゆる 「ドットファイル」) をバックアップ のため $ sudo mkfs.fat -F 32 /dev/sdb1 -n "USB Drive" mkfs.fat 4.1 (2017-01-24) mkfs.fat: warning - lowercase labels might not work properly with DOS or Windows 警告-小文字のラベルは、DOSまたはWindowsでは正しく機能しない可能性があります。 http://mao.5ch.net/test/read.cgi/linux/1624015965/187
188: login:Penguin (ワッチョイ ffe3-jrG3) [sage] 2021/06/27(日) 16:45:29.76 ID:MojTi1K50 よろしくおねがいします >ホームディレクトリにある隠しファイルと隠しディレクトリ (いわゆる 「ドットファイル」) のサイズが4.4ギガあり"USB Drive"へのコピーでは時間がかかりすぎます。 こういう場合どうするのか? http://mao.5ch.net/test/read.cgi/linux/1624015965/188
189: login:Penguin (ワッチョイ 3f7e-BQ0L) [sage] 2021/06/27(日) 16:53:08.38 ID:jFWg3LnG0 >>186 $ ls http://mao.5ch.net/test/read.cgi/linux/1624015965/189
190: login:Penguin (ワッチョイ ffe3-jrG3) [sage] 2021/06/27(日) 19:50:29.57 ID:MojTi1K50 jin@kyo:~$ cd /var/run/timeshift/backup jin@kyo:/var/run/timeshift/backup$ sudo btrfs sub del 昇級前退避home ERROR: Could not statfs: No such file or directory jin@kyo:/var/run/timeshift/backup$ ls @ @home timeshift-btrfs 昇級前退避 昇級前退避home jin@kyo:/var/run/timeshift/backup$ http://mao.5ch.net/test/read.cgi/linux/1624015965/190
191: login:Penguin (ワッチョイ 3f7e-wfqF) [sage] 2021/06/27(日) 19:58:40.89 ID:jFWg3LnG0 >>190 $ sudo btrfs sub list . http://mao.5ch.net/test/read.cgi/linux/1624015965/191
192: login:Penguin (ワッチョイ ffe3-jrG3) [sage] 2021/06/27(日) 20:08:43.97 ID:MojTi1K50 $ sudo btrfs sub list . ID 2333 gen 171991 top level 5 path timeshift-btrfs/snapshots/2021-06-22_22-32-03/@ ID 2334 gen 168748 top level 5 path timeshift-btrfs/snapshots/2021-06-22_22-32-03/@home ID 2343 gen 172433 top level 5 path @home ID 2344 gen 172433 top level 5 path @ ID 2355 gen 171015 top level 5 path 昇級前退避 ID 2356 gen 171018 top level 5 path 昇級前退避home ID 2375 gen 172321 top level 5 path timeshift-btrfs/snapshots/2021-06-27_16-24-22/@ ID 2376 gen 172322 top level 5 path timeshift-btrfs/snapshots/2021-06-27_16-24-22/@home どうやってbtrfsのコマンド類をマスターしたのでしょう? まとまったいいページありますか? http://mao.5ch.net/test/read.cgi/linux/1624015965/192
193: login:Penguin (ワッチョイ 3f7e-wfqF) [sage] 2021/06/27(日) 20:15:27.15 ID:jFWg3LnG0 >>192 $ sudo btrfs sub del '昇級前退避' $ sudo btrfs sub del '昇級前退避home' > どうやってbtrfsのコマンド類をマスターしたのでしょう? バックアップを抜かりなくやった上でいじくりまくった > まとまったいいページありますか? Btrfs - ArchWiki https://wiki.archlinux.jp/index.php/Btrfs http://mao.5ch.net/test/read.cgi/linux/1624015965/193
194: login:Penguin (ワッチョイ ffe3-jrG3) [sage] 2021/06/27(日) 20:16:21.52 ID:MojTi1K50 どのページを見てもこんな抽象的なことを 図解もなしに理解できるひとの意味がわかんない http://mao.5ch.net/test/read.cgi/linux/1624015965/194
195: login:Penguin (ワッチョイ ffe3-jrG3) [sage] 2021/06/27(日) 20:19:26.92 ID:MojTi1K50 jin@kyo:/var/run/timeshift/backup$ sudo btrfs sub del '昇級前退避' Delete subvolume (no-commit): '/run/timeshift/backup/昇級前退避' こちらは消えた jin@kyo:/var/run/timeshift/backup$ sudo btrfs sub del '昇級前退避home' ERROR: Could not statfs: No such file or directory jin@kyo:/var/run/timeshift/backup$ こちらは消せない http://mao.5ch.net/test/read.cgi/linux/1624015965/195
196: login:Penguin (ワッチョイ ffe3-jrG3) [sage] 2021/06/27(日) 20:26:25.07 ID:MojTi1K50 btrfs error could not statfs no such file or directory でググって https://bbs.archlinux.org/viewtopic.php?id=211161 Can't delete a btrfs snapshot スナップショットを削除しようとすると btrfs subvolume delete 2/snapshot/4/snapshot 私は得る ERROR: cannot access subvolume 2/snapshot/4/snapshot: No such file or directory <<まったく一緒と思う、自分のと http://mao.5ch.net/test/read.cgi/linux/1624015965/196
197: login:Penguin (ワッチョイ ffe3-jrG3) [sage] 2021/06/27(日) 20:28:30.98 ID:MojTi1K50 (回答者) サブボリュームのフルパスを指定する必要があります。rootとしてどのサブボリュームをマウントしましたか? (質問者) お返事ありがとうございます。rootのfstabエントリは次のとおりです。 UUID=xxxxxxxxxxxxxxx / btrfs rw,noatime,compress=lzo,space_cache,subvolid=257,subvol=/ROOT,subvol=ROOT 0 0 --------- (俺)意味がわかんねえ、このやり取り http://mao.5ch.net/test/read.cgi/linux/1624015965/197
198: login:Penguin (ワッチョイ 3f7e-wfqF) [sage] 2021/06/27(日) 20:38:35.82 ID:jFWg3LnG0 >>197 ひとつ気になった事があるので以下を実施 $ 使ってるファイルマネージャ . & $ ls ファイルマネージャから端末エミュレータへ「昇級前退避home」をドラッグしてエンター http://mao.5ch.net/test/read.cgi/linux/1624015965/198
199: login:Penguin (ワッチョイ 3f7e-jrG3) [sage] 2021/06/27(日) 20:54:20.75 ID:jFWg3LnG0 >>198 何が言いたいかと言うと、こういうこと https://i.imgur.com/NC1TqwO.png http://mao.5ch.net/test/read.cgi/linux/1624015965/199
200: login:Penguin (ワッチョイ ffe3-jrG3) [sage] 2021/06/27(日) 21:05:25.55 ID:MojTi1K50 jin@kyo:~$ caja . & [1] 9047 jin@kyo:~$ ls '/var/run/timeshift/backup/昇級前退避home ' jin ありがとうございます。おれでも分かりました。昇級前退避home のあとに余分な空白が全角で一個入ってます http://mao.5ch.net/test/read.cgi/linux/1624015965/200
201: login:Penguin (ワッチョイ ffe3-jrG3) [sage] 2021/06/27(日) 21:07:47.51 ID:MojTi1K50 jin@kyo:~$ sudo btrfs sub del '/var/run/timeshift/backup/昇級前退避home ' Delete subvolume (no-commit): '/run/timeshift/backup/昇級前退避home ' jin@kyo:~$ 消せました! http://mao.5ch.net/test/read.cgi/linux/1624015965/201
202: login:Penguin (ワッチョイ 3f7e-jrG3) [sage] 2021/06/27(日) 21:08:35.62 ID:jFWg3LnG0 >>200 という事で、 $ sudo btrfs sub del '昇級前退避home ' http://mao.5ch.net/test/read.cgi/linux/1624015965/202
203: login:Penguin (ワッチョイ ffe3-jrG3) [sage] 2021/06/27(日) 21:09:40.92 ID:MojTi1K50 アップグレード終わるのに、今のペースで続けると、時間どのくらいかかるものですか? http://mao.5ch.net/test/read.cgi/linux/1624015965/203
204: login:Penguin (ワッチョイ 3f7e-jrG3) [sage] 2021/06/27(日) 21:09:49.91 ID:jFWg3LnG0 >>201 おっと一歩遅くレスしてしまった 今日はもう終いにしておいた方が良いだろう http://mao.5ch.net/test/read.cgi/linux/1624015965/204
205: login:Penguin (ワッチョイ 3f7e-jrG3) [sage] 2021/06/27(日) 21:11:26.85 ID:jFWg3LnG0 >>203 SSDなら30〜1時間 HDDならだいたい2時間強 http://mao.5ch.net/test/read.cgi/linux/1624015965/205
206: login:Penguin (ワッチョイ ffe3-jrG3) [sage] 2021/06/27(日) 21:11:49.10 ID:MojTi1K50 >>193 > バックアップを抜かりなくやった上でいじくりまくった これか... http://mao.5ch.net/test/read.cgi/linux/1624015965/206
207: login:Penguin (ワッチョイ ffe3-jrG3) [sage] 2021/06/27(日) 21:14:56.33 ID:MojTi1K50 >>188 アップグレード前のバックアップとして > >ホームディレクトリにある隠しファイルと隠しディレクトリ (いわゆる 「ドットファイル」) > の合計サイズが4.4ギガあり"USB Drive"へのコピーでは時間がかかりすぎます。 こういう場合どうするのか? http://mao.5ch.net/test/read.cgi/linux/1624015965/207
208: login:Penguin (ワッチョイ 3f7e-jrG3) [sage] 2021/06/27(日) 21:20:39.82 ID:jFWg3LnG0 >>207 ちょっと前に別のHDDへ新規インストールしようとしていたはず そこへ退避用パテを作ってバックアップしとけばいいじゃん http://mao.5ch.net/test/read.cgi/linux/1624015965/208
209: login:Penguin (ワッチョイ ffe3-jrG3) [sage] 2021/06/27(日) 21:29:18.60 ID:MojTi1K50 >>208 了解。 http://mao.5ch.net/test/read.cgi/linux/1624015965/209
210: login:Penguin (ワッチョイ ffe3-jrG3) [sage] 2021/06/27(日) 21:31:46.45 ID:MojTi1K50 ほんとうは、今やってることに...確信がない というのは、メモリ消費が700MBになるという報告があったから メモリ消費が増えることが、実はいちばん嫌だ。非力マシンなので しかし一方で、新規インストールはむずかしいという教えもあった http://mao.5ch.net/test/read.cgi/linux/1624015965/210
211: login:Penguin (ワッチョイ ffe3-jrG3) [sage] 2021/06/27(日) 21:37:00.94 ID:MojTi1K50 元来の目的はWIFIの問題でした これがWIFIアダプタのハードウェアの問題なのか、OSの問題なのか、そこを切り分けるための アップグレードと捉えている もししからば、DEBIAN10のbtrfsでの新規インストールがむずかしいならば、 一時的に、空きハードディスクに、mint等をふつうにインストールすることはワンコでもできるはずだ。 そのmint上において、8192cu fix ドライバで、同じ問題が出現するのか検討するほうがよくないだろうか? http://mao.5ch.net/test/read.cgi/linux/1624015965/211
212: login:Penguin (ワッチョイ 3f7e-jrG3) [sage] 2021/06/27(日) 21:38:48.16 ID:jFWg3LnG0 >>210 大して変わんなかったけどねえ 確か ただし / ファイルシステムをext4->Btrfsとかにする場合はさすがに差分はある 許容できるメモリ消費量じゃなかったらtimeshiftでもとに戻すだけじゃん 余裕余裕 http://mao.5ch.net/test/read.cgi/linux/1624015965/212
213: login:Penguin (ワッチョイ 3f7e-jrG3) [sage] 2021/06/27(日) 21:41:35.40 ID:jFWg3LnG0 >>211 > 空きハードディスクに、mint等をふつうにインストールすることは..... > そのmint上において、..... この選択をするならば悪いがMintスレに行ってね http://mao.5ch.net/test/read.cgi/linux/1624015965/213
214: login:Penguin (ワッチョイ ffe3-jrG3) [sage] 2021/06/27(日) 21:52:20.35 ID:MojTi1K50 >>212 > ただし / ファイルシステムをext4->Btrfsとかにする場合はさすがに差分はある ext4->Btrfs にすると元のext4のときのdebianよりBtrfsのdebian の方が重いという意味? > 許容できるメモリ消費量じゃなかったらtimeshiftでもとに戻すだけじゃん 余裕余裕 『 HDDならだいたい2時間強 』もかかる変更が瞬時に戻る? 今夜もたくさん教えてくれてありがとう。では失礼します。 http://mao.5ch.net/test/read.cgi/linux/1624015965/214
215: login:Penguin (ワッチョイ 3f7e-jrG3) [sage] 2021/06/27(日) 21:56:37.71 ID:jFWg3LnG0 >>214 > ext4->Btrfs にすると メモリ使用は増加するよ CoWファイルシステムはそういうものなので > 瞬時に戻る? timeshiftのBtrfsモードをナメてもらっては困る http://mao.5ch.net/test/read.cgi/linux/1624015965/215
216: login:Penguin (ワッチョイ 4fe3-0Xmg) [] 2021/06/28(月) 04:13:01.08 ID:nv3FO+YT0 牛さんパワーくるー http://mao.5ch.net/test/read.cgi/linux/1624015965/216
217: login:Penguin (ワッチョイ ffe3-jrG3) [sage] 2021/06/28(月) 20:48:44.42 ID:e+HW8ivX0 こんばんわ ウイン上で このwifi子機問題ありません。つまりハードウェア問題の可能性低い。 アップグレード前のバックアップとして > >ホームディレクトリにある隠しファイルと隠しディレクトリ (いわゆる 「ドットファイル」) > の合計サイズが4.4ギガ 別のHDD退避用パテを作ってバックアップ -------------------- 以上をやります。ぜんごくのdebianファンの皆さん応援して下さい、成功を祈って下さい http://mao.5ch.net/test/read.cgi/linux/1624015965/217
218: login:Penguin (ワッチョイ ffe3-jrG3) [sage] 2021/06/28(月) 21:09:22.53 ID:e+HW8ivX0 問題なく単純コピーしました http://mao.5ch.net/test/read.cgi/linux/1624015965/218
219: login:Penguin (ワッチョイ ffe3-jrG3) [sage] 2021/06/28(月) 21:42:04.17 ID:e+HW8ivX0 >4.2. 「ピュア」 Debian からの開始 この章で説明しているアップグレードのプロセスは、「純粋な」安定版の Debian システムを想定して書かれています。 >もし、APT の設定が buster 以外で追加のソースを指定している、あるいは他のリリースやサードパーティからパッケージをインストール している場合、確実にアップグレード作業を遂行するため、事態をややこしくするこれらの要因を取り除くことから始めると良いでしょう。 >APT の設定が buster 以外で追加のソースを指定している はずだ。 >事態をややこしくするこれらの要因を取り除く とは具体的には何をヤルのだろう? >APT がどのソースからパッケージをダウンロードするべきかを判断するのに使っている主要設定ファイルは/etc/apt/sources.listですが、/etc/apt/sources.list.d/ディレクトリ内のファイルを使用することもできます。詳細は sources.list(5) を参照してください。もしシステムで複数の source-list ファイルを使用しているのであれば、設定に一貫性があることを確認する必要があるでしょう。 http://mao.5ch.net/test/read.cgi/linux/1624015965/219
220: login:Penguin (ワッチョイ 3f7e-BQ0L) [sage] 2021/06/28(月) 22:14:33.16 ID:Av3Iz72e0 >>219 こうした機会に野良リポジトリがあると少々厄介なわけ 取り敢えずsources.list の野良の部分をコメントアウトかな http://mao.5ch.net/test/read.cgi/linux/1624015965/220
221: login:Penguin (ワッチョイ ffe3-jrG3) [sage] 2021/06/28(月) 22:34:06.71 ID:e+HW8ivX0 $ cat /etc/apt/sources.list # deb cdrom:[Debian GNU/Linux 10.2.0 _Buster_ - Unofficial amd64 DVD Binary-1 with firmware 20191116-09:57]/ buster contrib main non-free # deb cdrom:[Debian GNU/Linux 10.2.0 _Buster_ - Unofficial amd64 DVD Binary-1 with firmware 20191116-09:57]/ buster contrib main non-free deb http://deb.debian.org/debian/ buster main contrib non-free deb-src http://deb.debian.org/debian/ buster main contrib non-free deb http://security.debian.org/debian-security buster/updates main contrib non-free deb-src http://security.debian.org/debian-security buster/updates main contrib non-free # buster-updates, previously known as 'volatile' deb http://deb.debian.org/debian/ buster-updates main contrib non-free deb-src http://deb.debian.org/debian/ buster-updates main contrib non-free # This system was installed using small removable media # (e.g. netinst, live or single CD). The matching "deb cdrom" # entries were disabled at the end of the installation process. # For information about how to configure apt package sources, # see the sources.list(5) manual. deb http://deb.debian.org/debian/ buster-backports main contrib non-free deb-src http://deb.debian.org/debian/ buster-backports main contrib non-free # deb https://dl.winehq.org/wine-builds/debian/ buster main << 処置、野良リポジトリとはこれだけと思う # deb-src https://dl.winehq.org/wine-builds/debian/ buster main $ http://mao.5ch.net/test/read.cgi/linux/1624015965/221
222: login:Penguin (ワッチョイ 3f7e-BQ0L) [sage] 2021/06/28(月) 22:39:34.30 ID:Av3Iz72e0 >>221 そしたらリポジトリを書き換えて更新情報を得る $ sudo sed -i 's/buster/bullseye/' /etc/apt/sources.list $ sudo apt update http://mao.5ch.net/test/read.cgi/linux/1624015965/222
223: login:Penguin (ワッチョイ ffe3-jrG3) [sage] 2021/06/28(月) 22:41:10.63 ID:e+HW8ivX0 4.2.1. Debian 10 (buster) からのアップグレード $ cat /etc/debian_version 10.10 4.2.2. Debian 由来でないパッケージを削除する $ cat /etc/debian_version 10.10 $ aptitude search '?narrow(?installed, ?not(?origin(Debian)))' bash: aptitude: コマンドが見つかりません $ sudo apt install aptitude << ふだん使わないがaptitudeはインストールしないとダメですか? この操作後に追加で 20.3 MB のディスク容量が消費されます。 続行しますか? [Y/n] http://mao.5ch.net/test/read.cgi/linux/1624015965/223
224: login:Penguin (ワッチョイ 3f7e-BQ0L) [sage] 2021/06/28(月) 22:45:07.95 ID:Av3Iz72e0 >>223 公式の言う事がいちばんの安牌ではあるねえ 俺はいちいち何か消したりしなかったしaptitudeも入れなかったけど http://mao.5ch.net/test/read.cgi/linux/1624015965/224
225: login:Penguin (ワッチョイ ffe3-jrG3) [sage] 2021/06/28(月) 22:52:39.85 ID:e+HW8ivX0 ざっと見た限り、このコマンド sed はbuster の箇所をことごとくbullseyeに置換した $ sudo sed -i 's/buster/bullseye/' /etc/apt/sources.list $ cat /etc/apt/sources.list # deb cdrom:[Debian GNU/Linux 10.2.0 _Buster_ - Unofficial amd64 DVD Binary-1 with firmware 20191116-09:57]/ bullseye contrib main non-free # deb cdrom:[Debian GNU/Linux 10.2.0 _Buster_ - Unofficial amd64 DVD Binary-1 with firmware 20191116-09:57]/ bullseye contrib main non-free deb http://deb.debian.org/debian/ bullseye main contrib non-free deb-src http://deb.debian.org/debian/ bullseye main contrib non-free deb http://security.debian.org/debian-security bullseye/updates main contrib non-free deb-src http://security.debian.org/debian-security bullseye/updates main contrib non-free # bullseye-updates, previously known as 'volatile' deb http://deb.debian.org/debian/ bullseye-updates main contrib non-free deb-src http://deb.debian.org/debian/ bullseye-updates main contrib non-free # This system was installed using small removable media # (e.g. netinst, live or single CD). The matching "deb cdrom" # entries were disabled at the end of the installation process. # For information about how to configure apt package sources, # see the sources.list(5) manual. deb http://deb.debian.org/debian/ bullseye-backports main contrib non-free deb-src http://deb.debian.org/debian/ bullseye-backports main contrib non-free # deb https://dl.winehq.org/wine-builds/debian/ bullseye main # deb-src https://dl.winehq.org/wine-builds/debian/ bullseye main $ http://mao.5ch.net/test/read.cgi/linux/1624015965/225
226: login:Penguin (ワッチョイ ffe3-jrG3) [sage] 2021/06/28(月) 22:54:00.32 ID:e+HW8ivX0 >>224 了解、略します http://mao.5ch.net/test/read.cgi/linux/1624015965/226
227: login:Penguin (ワッチョイ ffe3-jrG3) [sage] 2021/06/28(月) 22:56:53.77 ID:e+HW8ivX0 $ sudo apt update ヒット:1 http://dl.google.com/linux/chrome/deb stable InRelease << 野良か? 取得:2 http://deb.debian.org/debian bullseye InRelease [150 kB] 無視:3 http://security.debian.org/debian-security bullseye/updates InRelease ヒット:4 http://repo.radeon.com/rocm/apt/debian xenial InRelease エラー:5 http://security.debian.org/debian-security bullseye/updates Release 404 Not Found [IP: 151.101.90.132 80] 取得:6 http://deb.debian.org/debian bullseye-updates InRelease [40.1 kB] 取得:7 http://deb.debian.org/debian bullseye-backports InRelease [37.0 kB] 取得:8 http://deb.debian.org/debian bullseye/contrib Sources [43.0 kB] 取得:9 http://deb.debian.org/debian bullseye/non-free Sources [80.8 kB] 取得:10 http://deb.debian.org/debian bullseye/main Sources [8,618 kB] 取得:11 http://deb.debian.org/debian bullseye/main i386 Packages [8,125 kB] 取得:12 http://deb.debian.org/debian bullseye/main amd64 Packages [8,186 kB] http://mao.5ch.net/test/read.cgi/linux/1624015965/227
228: login:Penguin (ワッチョイ ffe3-jrG3) [sage] 2021/06/28(月) 22:56:57.68 ID:e+HW8ivX0 取得:13 http://deb.debian.org/debian bullseye/main Translation-en [6,247 kB] 取得:14 http://deb.debian.org/debian bullseye/main Translation-ja [799 kB] 取得:15 http://deb.debian.org/debian bullseye/main all Contents (deb) [30.5 MB] 取得:16 http://deb.debian.org/debian bullseye/main amd64 Contents (deb) [10.0 MB] 取得:17 http://deb.debian.org/debian bullseye/main i386 Contents (deb) [9,880 kB] 取得:18 http://deb.debian.org/debian bullseye/contrib amd64 Packages [50.5 kB] 取得:19 http://deb.debian.org/debian bullseye/contrib i386 Packages [45.3 kB] 取得:20 http://deb.debian.org/debian bullseye/contrib Translation-en [46.9 kB] 取得:21 http://deb.debian.org/debian bullseye/contrib amd64 Contents (deb) [54.6 kB] 取得:22 http://deb.debian.org/debian bullseye/contrib all Contents (deb) [57.3 kB] 取得:23 http://deb.debian.org/debian bullseye/contrib i386 Contents (deb) [33.6 kB] 取得:24 http://deb.debian.org/debian bullseye/non-free amd64 Packages [93.9 kB] 取得:25 http://deb.debian.org/debian bullseye/non-free i386 Packages [76.9 kB] 取得:26 http://deb.debian.org/debian bullseye/non-free Translation-en [91.5 kB] 取得:27 http://deb.debian.org/debian bullseye/non-free all Contents (deb) [889 kB] 取得:28 http://deb.debian.org/debian bullseye/non-free i386 Contents (deb) [28.0 kB] 取得:29 http://deb.debian.org/debian bullseye/non-free amd64 Contents (deb) [75.1 kB] パッケージリストを読み込んでいます... 完了 E: リポジトリ http://security.debian.org/debian-security bullseye/updates Release には Release ファイルがありません。 N: このようなリポジトリから更新を安全に行うことができないので、デフォルトでは更新が無効になっています。 N: リポジトリの作成とユーザ設定の詳細は、apt-secure(8) man ページを参照してください。 $ http://mao.5ch.net/test/read.cgi/linux/1624015965/228
229: login:Penguin (ワッチョイ 3f7e-BQ0L) [sage] 2021/06/28(月) 23:49:00.06 ID:Av3Iz72e0 >>228 chromeのリポジトリは野良だね http://mao.5ch.net/test/read.cgi/linux/1624015965/229
230: login:Penguin (ワッチョイ 3f7e-BQ0L) [sage] 2021/06/28(月) 23:53:39.65 ID:Av3Iz72e0 >>228 $ sudo sed -i 's/^deb/#deb/' /etc/apt/sources.list.d/* $ sudo apt update http://mao.5ch.net/test/read.cgi/linux/1624015965/230
231: login:Penguin (ワッチョイ 3f7e-BQ0L) [sage] 2021/06/29(火) 00:13:44.59 ID:Us3V6ji+0 >>228 もう1か所置換必要箇所があったわ $ sudo sed -i 's/bullseye\/updates/bullseye-security/' /etc/apt/sources.list $ sudo apt update http://mao.5ch.net/test/read.cgi/linux/1624015965/231
232: login:Penguin (ワッチョイ ffe3-jrG3) [sage] 2021/06/29(火) 01:49:48.16 ID:rKmBEHbB0 >>229 > chromeのリポジトリは野良だね /etc/apt/sources.list を見ても コメントアウトすべき chromeのリポジトリの行がどこかわからなかった http://mao.5ch.net/test/read.cgi/linux/1624015965/232
233: login:Penguin (ワッチョイ ffe3-jrG3) [sage] 2021/06/29(火) 01:55:28.57 ID:rKmBEHbB0 $ sudo sed -i 's/^deb/#deb/' /etc/apt/sources.list.d/* jin@kyo:~$ cd /etc/apt/sources.list.d/ jin@kyo:/etc/apt/sources.list.d$ ls -a . .. google-chrome.list google-chrome.list.save rocm.list jin@kyo:/etc/apt/sources.list.d$ cat google-chrome.list ### THIS FILE IS AUTOMATICALLY CONFIGURED ### # You may comment out this entry, but any other modifications may be lost. #deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main jin@kyo:/etc/apt/sources.list.d$ すばらしい... http://mao.5ch.net/test/read.cgi/linux/1624015965/233
234: login:Penguin (ワッチョイ ffe3-jrG3) [sage] 2021/06/29(火) 02:00:19.99 ID:rKmBEHbB0 もう注意力が散漫でどこが変化したのか追えなくなりました jin@kyo:~$ sudo sed -i 's/bullseye\/updates/bullseye-security/' /etc/apt/sources.list jin@kyo:~$ cat /etc/apt/sources.list # deb cdrom:[Debian GNU/Linux 10.2.0 _Buster_ - Unofficial amd64 DVD Binary-1 with firmware 20191116-09:57]/ bullseye contrib main non-free # deb cdrom:[Debian GNU/Linux 10.2.0 _Buster_ - Unofficial amd64 DVD Binary-1 with firmware 20191116-09:57]/ bullseye contrib main non-free deb http://deb.debian.org/debian/ bullseye main contrib non-free deb-src http://deb.debian.org/debian/ bullseye main contrib non-free deb http://security.debian.org/debian-security bullseye-security main contrib non-free deb-src http://security.debian.org/debian-security bullseye-security main contrib non-free # bullseye-updates, previously known as 'volatile' deb http://deb.debian.org/debian/ bullseye-updates main contrib non-free deb-src http://deb.debian.org/debian/ bullseye-updates main contrib non-free # This system was installed using small removable media # (e.g. netinst, live or single CD). The matching "deb cdrom" # entries were disabled at the end of the installation process. # For information about how to configure apt package sources, # see the sources.list(5) manual. deb http://deb.debian.org/debian/ bullseye-backports main contrib non-free deb-src http://deb.debian.org/debian/ bullseye-backports main contrib non-free # deb https://dl.winehq.org/wine-builds/debian/ bullseye main # deb-src https://dl.winehq.org/wine-builds/debian/ bullseye main jin@kyo:~$ http://mao.5ch.net/test/read.cgi/linux/1624015965/234
235: login:Penguin (ワッチョイ ffe3-jrG3) [sage] 2021/06/29(火) 02:10:54.24 ID:rKmBEHbB0 227の 無視:3 http://security.debian.org/debian-security bullseye/updates InRelease と エラー:5 http://security.debian.org/debian-security bullseye/updates Release 404 Not Found [IP: E: リポジトリ http://security.debian.org/debian-security bullseye/updates Release には Release ファイルがありません。 に注目して、bullseye/updates の文字列を bullseye-security に置き換えた。 それをsources.list手作業編集でなく、コマンドで表現すると $ sudo sed -i 's/bullseye\/updates/bullseye-security/' /etc/apt/sources.list であると推測される http://mao.5ch.net/test/read.cgi/linux/1624015965/235
236: login:Penguin (ワッチョイ ffe3-jrG3) [sage] 2021/06/29(火) 02:12:28.79 ID:rKmBEHbB0 $ sudo apt update 取得:1 http://security.debian.org/debian-security bullseye-security InRelease [44.1 kB] 取得:2 http://deb.debian.org/debian bullseye InRelease [150 kB] 取得:3 http://security.debian.org/debian-security bullseye-security/main Sources [780 B] 取得:4 http://security.debian.org/debian-security bullseye-security/main i386 Packages [808 B] 取得:5 http://security.debian.org/debian-security bullseye-security/main amd64 Packages [812 B] 取得:6 http://security.debian.org/debian-security bullseye-security/main Translation-en [596 B] 取得:7 http://deb.debian.org/debian bullseye-updates InRelease [40.1 kB] 取得:8 http://deb.debian.org/debian bullseye-backports InRelease [37.0 kB] 274 kB を 2秒 で取得しました (157 kB/s) パッケージリストを読み込んでいます... 完了 依存関係ツリーを作成しています 状態情報を読み取っています... 完了 アップグレードできるパッケージが 1621 個あります。表示するには 'apt list --upgradable' を実行してください。 $ 深夜なので、ここまでに。ありがとうございました http://mao.5ch.net/test/read.cgi/linux/1624015965/236
237: login:Penguin (ワッチョイ 3f7e-BQ0L) [sage] 2021/06/29(火) 03:33:20.59 ID:Us3V6ji+0 >>235 推測と言うか追加で書いてあげてるし http://mao.5ch.net/test/read.cgi/linux/1624015965/237
238: login:Penguin (オッペケ Sra3-teAF) [sage] 2021/06/29(火) 04:02:31.06 ID:Fg6INBCWr 今ってdist-upgradeじゃなくてもアップグレード出来るの? http://mao.5ch.net/test/read.cgi/linux/1624015965/238
239: login:Penguin (ワッチョイ ffe3-jrG3) [sage] 2021/06/29(火) 07:55:34.07 ID:PnMDKyyv0 >>231 > >>228 > もう1か所置換必要箇所があったわ > $ sudo sed -i 's/bullseye\/updates/bullseye-security/' /etc/apt/sources.list このコマンドが何をしてるかちんぷんかんぷんで最初おまじない状態でした。内容をある程度把握しないといけない。 1, sed でググってなんとなく分かった。 2, 's/bullseye\/updates/bullseye-security/' この部分の変更の由来はなにか?把握しようとした。 変更前のsources.listを227のカキコに記録してあるから見た。 ----------------------- 無視:3 http://security.debian.org/debian-security bullseye/updates InRelease と エラー:5 http://security.debian.org/debian-security bullseye/updates Release 404 Not Found [IP: E: リポジトリ http://security.debian.org/debian-security bullseye/updates Release には Release ファイルがありません。 ----------------------- ああ、この箇所に注目するんだなと気付いた。以上が自分の思考の流れです。 『であると推測される』は誤解を受ける表現でしたw ググると https://kimamani89.com/2020/01/12/%E3%80%90linux-debian%E3%80%91apt-get-update-%E3%81%A7%E3%82%A8%E3%83%A9%E3%83%BC%E3%81%8C%E5%87%BA%E3%81%9F%E6%99%82%E3%81%AE%E5%AF%BE%E7%AD%96/ Releaseファイルってなにするもの? 今回は、Releaseファイルがなんちゃらとか言われてしまった。そもそもReleaseファイルは、通常アーカイブに必ず存在するものです。このファイルがあることによって、書き換え等を防止し正確なパッケージをインストールすることができる。そのため、アーカイブに署名のないReleaseファイルがある場合や、Releaseファイルが存在しない場合に apt-get updateを行うと、APTがダウンロード拒否をするようにデォルトで設定されているそうです。Releaseファイルは安全にパッケージをインストールするために存在するファイルになります。(この内容はマニュアルにも記載されています。) http://mao.5ch.net/test/read.cgi/linux/1624015965/239
240: login:Penguin (ワッチョイ ffe3-jrG3) [sage] 2021/06/29(火) 08:01:35.70 ID:PnMDKyyv0 bullseye/updates を bullseye-security に置換だという答えは15分ググっても発見できませんでした http://mao.5ch.net/test/read.cgi/linux/1624015965/240
241: login:Penguin (ワッチョイ 3f7e-BQ0L) [sage] 2021/06/29(火) 08:22:31.22 ID:Us3V6ji+0 >>240 busterからbullseyeにアップグレードする手順に書いてあるよ 第4章 Debian 10 (buster) からのアップグレード https://www.debian.org/releases/bullseye/amd64/release-notes/ch-upgrading.ja.html これ以降つまずくまでこの文献に従っていれば大丈夫 正直言うとbuster->bullseye/sid->bullseyeと言う過程を辿る上でほぼテケトーな自己流だったので 胡散臭いおれより公式先生の言う事を聞いた方が間違いが無いでしょう http://mao.5ch.net/test/read.cgi/linux/1624015965/241
242: login:Penguin (ワッチョイ ffe3-jrG3) [sage] 2021/06/29(火) 17:22:11.14 ID:PnMDKyyv0 5.1.3. レポジトリのセキュリティに関するアーカイブ構成が変更されます bullseye では buster/updates から bullseye-security に変更されます。OS のアップグレード時に、ユーザが自分で APT のファイルのソースリストを更新してください。 例えば APT のセキュリティのソースラインは、以下のようになります。 deb https://deb.debian.org/debian-security bullseye-security main contrib http://mao.5ch.net/test/read.cgi/linux/1624015965/242
243: login:Penguin (ワッチョイ ffe3-jrG3) [sage] 2021/06/29(火) 17:29:35.91 ID:PnMDKyyv0 4.2.6. 残っている設定ファイルを取り除く # find /etc -name '*.dpkg-*' -o -name '*.ucf-*' -o -name '*.merge-error' /etc/default/grub.ucf-dist /etc/ca-certificates.conf.dpkg-old # findしただけ、消してない http://mao.5ch.net/test/read.cgi/linux/1624015965/243
244: login:Penguin (ワッチョイ ffe3-jrG3) [sage] 2021/06/29(火) 17:45:09.11 ID:PnMDKyyv0 >>223 4.2.2. Debian 由来でないパッケージを削除する<< 念の為にチェックする aptitude はサイズが大きいのでapt-forktracerをインストール ----------------------- この操作後に追加で 27.1 MB のディスク容量が消費されます。 続行しますか? [Y/n] n 中断しました。 # exit ログアウト jin@kyo:~$ sudo apt install apt-forktracer パッケージリストを読み込んでいます... 完了 http://mao.5ch.net/test/read.cgi/linux/1624015965/244
245: login:Penguin (ワッチョイ ffe3-jrG3) [sage] 2021/06/29(火) 17:58:16.39 ID:PnMDKyyv0 https://www.debian.org/releases/bullseye/amd64/release-notes/ch-upgrading. ja.html#unofficial-sources 4.2.9. 非公式なソース システムに Debian 以外のパッケージがインストールされている場合、依存関係の衝 突のためアップグレード中に削除されるかもしれないことに注意してください。当該 パッケージが APT source-list ファイルに Debian 以外のパッケージアーカイブを 追加することでインストールされたのなら、そのアーカイブが bullseye 用にコンパ イルされたパッケージも提供しているかをチェックし、Debian パッケージ用のソー ス項目と同時にそれも適切に修正してください。 非公式に バックポートされた 「より新しい」 バージョンのパッケージが存在して いる buster がインストールされている Debian システムを使っているユーザもいる ことでしょう。そのようなパッケージはファイルが競合する可能性があるので、まず 間違いなくアップグレード中に問題を起こします[4]。「アップグレード中の注意 点」には、もしそのような競合が起きた場合にどうやって対処するのか、という情報 があります。 ----------------------- $ apt-forktracer | sort appmenu-qt (0.2.6-2) cpp-8 (8.3.0-6) enchant (1.6.0-11.1+b1) fcitx-frontend-qt4 (1:4.2.9.6-5+deb10u1) folder-color-caja (0.0.88) folder-color-common (0.0.88) g++-8 (8.3.0-6) g++-8-multilib (8.3.0-6) gcc-8 (8.3.0-6) gcc-8-base (8.3.0-6) gcc-8-base (8.3.0-6) http://mao.5ch.net/test/read.cgi/linux/1624015965/245
246: login:Penguin (ワッチョイ ffe3-jrG3) [sage] 2021/06/29(火) 17:58:30.61 ID:PnMDKyyv0 gcc-8-multilib (8.3.0-6) gir1.2-appindicator3-0.1 (0.4.92-7) google-chrome-stable (91.0.4472.114-1) intel-microcode (3.20210608.2~deb10u1) [Debian: 3.20210216.1] lib32gcc-8-dev (8.3.0-6) lib32gcc1 (1:8.3.0-6) lib32mpx2 (8.3.0-6) lib32stdc++-8-dev (8.3.0-6) libappindicator3-1 (0.4.92-7) libapt-inst2.0 (1.8.2.3) libapt-pkg5.0 (1.8.2.3) libbotan-2-9 (2.9.0-2) libbrlapi0.6 (5.6-10+deb10u1) libcdio18 (2.0.0-2) libcodec2-0.8.1 (0.8.1-2) libcodec2-0.8.1 (0.8.1-2) libcroco3 (0.6.12-3) libcroco3 (0.6.12-3) libcrystalhd3 (1:0.0~git20110715.fdd2f19-13) libcrystalhd3 (1:0.0~git20110715.fdd2f19-13) libdbusmenu-qt2 (0.9.3+16.04.20160218-1) libdc1394-22 (2.2.5-1) libdleyna-core-1.0-3 (0.4.0-1+b2) libdns-export1104 (1:9.11.5.P4+dfsg-5.1+deb10u5) libdns1104 (1:9.11.5.P4+dfsg-5.1+deb10u5) libdouble-conversion1 (3.1.0-3) libdvdread4 (6.0.1-1) libenchant1c2a (1.6.0-11.1+b1) libept1.5.0 (1.1+nmu3+b1) libevent-2.1-6 (2.1.8-stable-4) http://mao.5ch.net/test/read.cgi/linux/1624015965/246
247: login:Penguin (ワッチョイ ffe3-jrG3) [sage] 2021/06/29(火) 17:58:53.14 ID:PnMDKyyv0 libffi6 (3.2.1-9) libffi6 (3.2.1-9) libfluidsynth1 (1.1.11-1+deb10u1) libgcc-8-dev (8.3.0-6) libgcc1 (1:8.3.0-6) libgcc1 (1:8.3.0-6) libgnome-desktop-3-17 (3.30.2.1-2) libgspell-1-1 (1.6.1-2) libgssdp-1.0-3 (1.0.5-0+deb10u1) libgtk2-perl (2:1.24992-1+b2) libgupnp-1.0-4 (1.0.5-0+deb10u1) libgweather-3-15 (3.28.2-2) libhavege1 (1.9.1-7) libhogweed4 (3.4.1-1+deb10u1) libhogweed4 (3.4.1-1+deb10u1) libhwloc5 (1.11.12-3) libicu63 (63.1-6+deb10u1) libicu63 (63.1-6+deb10u1) libigdgmm5 (18.4.1+ds1-1) libigdgmm5 (18.4.1+ds1-1) libilmbase23 (2.2.1-2) libindicator3-7 (0.5.0-4) libip4tc0 (1.8.2-4) libip6tc0 (1.8.2-4) libisc-export1100 (1:9.11.5.P4+dfsg-5.1+deb10u5) libisc1100 (1:9.11.5.P4+dfsg-5.1+deb10u5) libisl19 (0.20-2) libjim0.77 (0.77+dfsg0-3) libjson-c3 (0.12.1+ds-2+deb10u1) libldb1 (2:1.5.1+really1.4.6-3+deb10u1) http://mao.5ch.net/test/read.cgi/linux/1624015965/247
248: login:Penguin (ワッチョイ ffe3-jrG3) [sage] 2021/06/29(火) 17:59:21.96 ID:PnMDKyyv0 libllvm7 (1:7.0.1-8+deb10u2) libllvm7 (1:7.0.1-8+deb10u2) liblouis17 (3.8.0-2) libmarco-private1 (1.20.3-1) libmpdec2 (2.4.2-2) libmpx2 (8.3.0-6) libmysofa0 (0.6~dfsg0-3+deb10u1) libnettle6 (3.4.1-1+deb10u1) libnettle6 (3.4.1-1+deb10u1) libnfs12 (3.0.0-2) libopenexr23 (2.2.1-4.1+deb10u1) libparse-debianchangelog-perl (1.2.0-13) libpeas-1.0-python2loader (1.22.0-4) libperl5.28 (5.28.1-6+deb10u1) libperl5.28 (5.28.1-6+deb10u1) libpgm-5.2-0 (5.2.122~dfsg-3) libplymouth4 (0.9.4-1.1) libpolkit-backend-1-0 (0.105-25) libpoppler82 (0.71.0-5) libprocps7 (2:3.3.15-2) libprotobuf17 (3.6.1.3-2) libpython-stdlib (2.7.16-1) libpython3.7 (3.7.3-2+deb10u3) libpython3.7-dbg (3.7.3-2+deb10u3) libpython3.7-minimal (3.7.3-2+deb10u3) libpython3.7-stdlib (3.7.3-2+deb10u3) libqt4-dbus (4:4.8.7+dfsg-18+deb10u1) libqt4-xml (4:4.8.7+dfsg-18+deb10u1) libqtcore4 (4:4.8.7+dfsg-18+deb10u1) libqtdbus4 (4:4.8.7+dfsg-18+deb10u1) http://mao.5ch.net/test/read.cgi/linux/1624015965/248
249: login:Penguin (ワッチョイ ffe3-jrG3) [sage] 2021/06/29(火) 17:59:43.76 ID:PnMDKyyv0 libqtgui4 (4:4.8.7+dfsg-18+deb10u1) libreadline7 (7.0-5) libsnmp30 (5.7.3+dfsg-5+deb10u2) libsnmp30 (5.7.3+dfsg-5+deb10u2) libstdc++-8-dev (8.3.0-6) libtexlua52 (2018.20181218.49446-1) libusbmuxd4 (1.1.0~git20181007.07a493a-1) libvpx5 (1.7.0-3+deb10u1) libvpx5 (1.7.0-3+deb10u1) libx264-155 (2:0.155.2917+git0a84d98-2) libx264-155 (2:0.155.2917+git0a84d98-2) libx265-165 (2.9-4) libx265-165 (2.9-4) libx32gcc-8-dev (8.3.0-6) libx32gcc1 (1:8.3.0-6) libx32stdc++-8-dev (8.3.0-6) libxcb-util0 (0.3.8-3+b2) linux-compiler-gcc-8-x86 (4.19.194-1) linux-headers-4.19.0-10-amd64 (4.19.132-1) linux-headers-4.19.0-10-common (4.19.132-1) linux-headers-4.19.0-12-amd64 (4.19.152-1) linux-headers-4.19.0-12-common (4.19.152-1) linux-headers-4.19.0-16-amd64 (4.19.181-1) linux-headers-4.19.0-16-common (4.19.181-1) linux-headers-4.19.0-17-amd64 (4.19.194-1) linux-headers-4.19.0-17-common (4.19.194-1) linux-image-4.19.0-16-amd64 (4.19.181-1) linux-image-4.19.0-17-amd64 (4.19.194-1) linux-kbuild-4.19 (4.19.194-1) mate-icon-theme-faenza (1.20.0+dfsg1-2) http://mao.5ch.net/test/read.cgi/linux/1624015965/249
250: login:Penguin (ワッチョイ ffe3-jrG3) [sage] 2021/06/29(火) 18:00:04.30 ID:PnMDKyyv0 obex-data-server (0.4.6-1+b2) perl-modules-5.28 (5.28.1-6+deb10u1) python (2.7.16-1) python-bson (3.7.1-1.1) python-bson-ext (3.7.1-1.1) python-cairo (1.16.2-1+b1) python-caja (1.20.2-1) python-dbus (1.2.8-3) python-funcparserlib (0.3.6-7) python-funcsigs (1.0.2-4) python-gi (3.30.4-1) python-gi-cairo (3.30.4-1) python-gobject (3.30.4-1) python-gobject-2 (2.28.6-13+b1) python-gridfs (3.7.1-1.1) python-ldap (3.1.0-2) python-mate-menu (1.20.2-1) python-minimal (2.7.16-1) python-mock (2.0.0-4) python-mocker (1.0-2) python-mockldap (0.3.0-2) python-mockupdb (1.7.0-2) python-pbr (4.2.0-5) python-pyasn1 (0.4.2-3) python-pyasn1-modules (0.2.1-0.2) python-pyldap (3.1.0-2) python-pymongo (3.7.1-1.1) python-pymongo-ext (3.7.1-1.1) python-talloc (2.1.14-2) python3.7 (3.7.3-2+deb10u3) http://mao.5ch.net/test/read.cgi/linux/1624015965/250
251: login:Penguin (ワッチョイ ffe3-jrG3) [sage] 2021/06/29(火) 18:00:36.77 ID:PnMDKyyv0 python3.7-dbg (3.7.3-2+deb10u3) python3.7-minimal (3.7.3-2+deb10u3) qt-at-spi (0.4.0-9) qtcore4-l10n (4:4.8.7+dfsg-18+deb10u1) timeshift-autosnap-apt (0.0.1+202012110818~ubuntu20.04.1) ttf-dejavu (2.37-1) ttf-dejavu-core (2.37-1) ttf-dejavu-extra (2.37-1) wine-stable (6.0.1~buster-1) wine-stable-amd64 (6.0.1~buster-1) wine-stable-i386 (6.0.1~buster-1) winehq-stable (6.0.1~buster-1) $ どれが削除したほうがいいパッケージですか? http://mao.5ch.net/test/read.cgi/linux/1624015965/251
252: login:Penguin (ワッチョイ 4fe3-cWMv) [] 2021/06/29(火) 18:17:26.17 ID:gERTZwyJ0 >>239 s/前/後/ はsedに限らずよく使うから覚えときな substitute 前 with 後 の略 withをw/にすることもあるな つまり substitute 前 with 後 → substitute 前 w/ 後 → s/前/後/ >>245-251 せっかくの簡単にやり直せる環境なんだから とりあえずやってみて問題が起きたらそのとき考えればいくね? http://mao.5ch.net/test/read.cgi/linux/1624015965/252
253: login:Penguin (ワッチョイ ffe3-jrG3) [sage] 2021/06/29(火) 18:26:54.58 ID:PnMDKyyv0 バージョンを見て要らないカーネル パッケージを sudo apt purge で削除するだけです。 最低限は linux-image-X.X.X...... のカーネル イメージを削除すれば事足りますが、同じバージョンのヘッダーやモジュールも不要になるはずなので大抵は一緒に削除してしまいますね。なお、新しいバージョンのカーネルだけを残して他を削除するお手軽コマンドは寡聞にして存じません。 $ dpkg -l 'linux-*' | grep '^ii' | awk '{print $2 "\t" $3}' | grep 'image\|headers\|modules' | sort -V -k2 linux-headers-amd64 4.19+105+deb10u12 linux-image-amd64 4.19+105+deb10u12 linux-headers-4.19.0-10-amd64 4.19.132-1 < linux-headers-4.19.0-10-common 4.19.132-1 < linux-headers-4.19.0-12-amd64 4.19.152-1 < linux-headers-4.19.0-12-common 4.19.152-1 < linux-headers-4.19.0-16-amd64 4.19.181-1 linux-headers-4.19.0-16-common 4.19.181-1 linux-image-4.19.0-16-amd64 4.19.181-1 linux-headers-4.19.0-17-amd64 4.19.194-1 linux-headers-4.19.0-17-common 4.19.194-1 linux-image-4.19.0-17-amd64 4.19.194-1 >バージョンを見て 4.19.0-17 と 同-16 を残します。 削除するターゲットは < をつけたやつと思います 参考元 https://qiita.com/ytkumasan/items/d6cc70f151f130d58e9b 古いカーネルの削除方法メモ sudo apt-get autoremove --purge linux-headers-4.19.0-{10,12} http://mao.5ch.net/test/read.cgi/linux/1624015965/253
254: login:Penguin (ワッチョイ ffe3-jrG3) [sage] 2021/06/29(火) 18:28:25.38 ID:PnMDKyyv0 linux-headers-4.19.0-10-amd64 (4.19.132-1) を削除しています ... dpkg: 警告: linux-headers-4.19.0-10-amd64 の削除中、ディレクトリ '/lib/modules/4.19.0-10-amd64' が空でないため削除できませんでした linux-headers-4.19.0-10-common (4.19.132-1) を削除しています ... linux-headers-4.19.0-12-amd64 (4.19.152-1) を削除しています ... dpkg: 警告: linux-headers-4.19.0-12-amd64 の削除中、ディレクトリ '/lib/modules/4.19.0-12-amd64' が空でないため削除できませんでした linux-headers-4.19.0-12-common (4.19.152-1) を削除しています ... $ http://mao.5ch.net/test/read.cgi/linux/1624015965/254
255: login:Penguin (ワッチョイ ffe3-jrG3) [sage] 2021/06/29(火) 18:33:26.42 ID:PnMDKyyv0 s/前/後/ はsedに限らずよく使うから覚えときな substitute 前 with 後 の略 withをw/にすることもあるな つまり substitute 前 with 後 → substitute 前 w/ 後 → s/前/後/ --------------- ていねいにありがとう。憶えられ使いこなせるといいけど >>245-251 >せっかくの簡単にやり直せる環境なんだから とりあえずやってみて問題が起きたらそのとき考えればいくね? 次に何をしたらいいか教えてくれるひとがいないので、待機中時間のムダなので $ apt-forktracer | sort をしてみました http://mao.5ch.net/test/read.cgi/linux/1624015965/255
256: login:Penguin (ワッチョイ ffe3-jrG3) [sage] 2021/06/29(火) 18:34:39.01 ID:PnMDKyyv0 自分の頭がまともに動くときと動かんときがありまして http://mao.5ch.net/test/read.cgi/linux/1624015965/256
257: login:Penguin (ワッチョイ 3f7e-BQ0L) [sage] 2021/06/29(火) 19:15:26.79 ID:Us3V6ji+0 >>255 ここまで来たらやることは決まってるでしょうに もちろんアップグレードの実施 $ sudo apt upgrade --without-new-pkgs $ sudo apt full-upgrade http://mao.5ch.net/test/read.cgi/linux/1624015965/257
258: login:Penguin (ワッチョイ ffe3-jrG3) [sage] 2021/06/29(火) 22:14:42.45 ID:PnMDKyyv0 いろいろあって、いまからです。 >>257 > ここまで来たらやることは決まってるでしょうに > もちろんアップグレードの実施 > > $ sudo apt upgrade --without-new-pkgs > > $ sudo apt full-upgrade 2時間もかかるということ。そして怖いので、後で意を決してから。 http://mao.5ch.net/test/read.cgi/linux/1624015965/258
259: login:Penguin (ワッチョイ 3f7e-BQ0L) [sage] 2021/06/29(火) 23:34:41.64 ID:Us3V6ji+0 >>258 パッケージいろいろ入れてなければ そこまで時間かからないかもよ http://mao.5ch.net/test/read.cgi/linux/1624015965/259
260: login:Penguin (ワッチョイ ffe3-jrG3) [sage] 2021/06/29(火) 23:43:16.14 ID:PnMDKyyv0 では、行ってきます。 $ sudo apt upgrade --without-new-pkgs パッケージリストを読み込んでいます... 完了 依存関係ツリーを作成しています 状態情報を読み取っています... 完了 アップグレードパッケージを検出しています... 完了 以下のパッケージが自動でインストールされましたが、もう必要とされていません: fcitx-frontend-qt4 gir1.2-mate-panel libopenobex2 obex-data-server これを削除するには 'sudo apt autoremove' を利用してください。 .......... 略 -- Santiago Ruano Rincón <santiago@debian.org> Mon, 09 Nov 2020 10:57:22 +0100 (終了するには q を押して下さい) http://mao.5ch.net/test/read.cgi/linux/1624015965/260
261: login:Penguin (ワッチョイ 3f7e-BQ0L) [sage] 2021/06/29(火) 23:47:42.50 ID:Us3V6ji+0 q http://mao.5ch.net/test/read.cgi/linux/1624015965/261
メモ帳
(0/65535文字)
上
下
前
次
1-
新
書
関
写
板
覧
索
設
栞
歴
あと 554 レスあります
スレ情報
赤レス抽出
画像レス抽出
歴の未読スレ
AAサムネイル
Google検索
Wikipedia
ぬこの手
ぬこTOP
0.017s