Debian GNU/Linux スレッド Ver.97[ワ有] (822レス)
1-

21: (ワッチョイ b6e3-Efo6) 2021/06/20(日)03:34 ID:tdu+ItCw0(3/21) AAS
$ sudo dkms install 8192cu/1.11

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area...
make -j3 KERNELRELEASE=4.19.0-16-amd64 -C /lib/modules/4.19.0-16-amd64/build M=/var/lib/dkms/8192cu/1.11/build.............
cleaning build area...

DKMS: build completed.

8192cu.ko:
Running module version sanity check.
- Original module
省4
22: (ワッチョイ b6e3-Efo6) 2021/06/20(日)03:35 ID:tdu+ItCw0(4/21) AAS
Backing up initrd.img-4.19.0-16-amd64 to /boot/initrd.img-4.19.0-16-amd64.old-dkms
Making new initrd.img-4.19.0-16-amd64
(If next boot fails, revert to initrd.img-4.19.0-16-amd64.old-dkms image)
update-initramfs......(bad exit status: 1)

-------- Uninstall Beginning --------
Module: 8192cu
Version: 1.11
Kernel: 4.19.0-16-amd64 (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.
23: (ワッチョイ b6e3-Efo6) 2021/06/20(日)03:35 ID:tdu+ItCw0(5/21) AAS
8192cu.ko:
- Uninstallation
- Deleting from: /lib/modules/4.19.0-16-amd64/updates/dkms/
rmdir: 'updates/dkms' を削除できません: ディレクトリは空ではありません
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.

depmod...

update-initramfs......(bad exit status: 1)
Warning: There was a problem remaking your initrd. You must manually remake it
省5
24
(1): (ワッチョイ b6e3-Efo6) 2021/06/20(日)03:36 ID:tdu+ItCw0(6/21) AAS
>>20
> add/remove/install/uninstallの区別ついてないんじゃねーの?

はい、わかりません
25: (ワッチョイ b6e3-Efo6) 2021/06/20(日)03:43 ID:tdu+ItCw0(7/21) AAS
update-initramfs......(bad exit status: 1)

の回避の仕方はわかっています

-------------------
所持の最古のスナップショット(現在の環境)では

sudo apt-get update
sudo apt-get install git linux-headers-amd64 build-essential dkms
git clone 外部リンク[git]:github.com
sudo dkms add ./rtl8192cu-fixes
--------
ここまで通った状態
省6
26: (アウアウカー Sa43-J3sS) 2021/06/20(日)04:06 ID:iXbcIqLRa(1) AAS
>>24
$ man 8 dkms

必要部分の文字列翻訳くらいは自分でやる事
27: (ワッチョイ b6e3-Efo6) 2021/06/20(日)09:22 ID:tdu+ItCw0(8/21) AAS
ビルド前へ

$ アプリの設定が読み込まれました: /etc/timeshift/timeshift.json
Mounted '/dev/sda2' at '/run/timeshift/backup'
******************************************************************************
バックアップ デバイス: /dev/sda2
******************************************************************************
******************************************************************************
スナップショット: 2021-06-19_09-46-35 ~
******************************************************************************
システムのサブボリュームから復元前のスナップショットを作成しています...
省10
28
(1): (ワッチョイ b6e3-Efo6) 2021/06/20(日)10:09 ID:tdu+ItCw0(9/21) AAS
全体の流れ

sudo apt-get update
sudo apt-get install git linux-headers-amd64 build-essential dkms
git clone 外部リンク[git]:github.com
sudo dkms add ./rtl8192cu-fixes

sudo dkms install 8192cu/1.11  <<< ここで注意点がある
sudo depmod -a
sudo cp ./rtl8192cu-fixes/blacklist-native-rtl8192.conf /etc/modprobe.d/

------------------------
ということで、やり直し。
省6
29
(1): (ワッチョイ b6e3-Efo6) 2021/06/20(日)10:20 ID:tdu+ItCw0(10/21) AAS
> add/remove/install/uninstallの区別ついてないんじゃねーの?

man は見ても理解できない
こちらを参考
外部リンク[A4]:wiki.archlinux.jp

モジュールの確認
モジュールの現在の状態、バージョンやツリーのカーネルを確認するには:
$ sudo dkms status
8192cu, 1.11: added
r8168, 8.046.00, 4.19.0-14-amd64, x86_64: installed
r8168, 8.046.00, 4.19.0-16-amd64, x86_64: installed
省3
30: (ワッチョイ 3a7e-5JPi) 2021/06/20(日)10:22 ID:q1GmI6Tf0(1/12) AAS
>>28
> sudo dkms install 8192cu/1.11  <<< ここで注意点がある
$ sudo dkms install 8192cu/1.11

Building module:
・・・
cleaning build area...
・・・
DKMS: build completed.
・・・
depmod...
省5
31
(1): (ワッチョイ 3a7e-5JPi) 2021/06/20(日)10:25 ID:q1GmI6Tf0(2/12) AAS
>>29
> - Deleting from: /lib/modules/4.19.0-16-amd64/updates/dkms/
> rmdir: 'updates/dkms' を削除できません: 【【【ディレクトリは空ではありません】】】←
32: (ワッチョイ 3a7e-5JPi) 2021/06/20(日)10:28 ID:q1GmI6Tf0(3/12) AAS
>>31
起こったこと
/lib/modules/4.19.0-16-amd64/updates/dkms が空でない為に削除できなかった

だからと言って中身を確認せず闇雲に消すのはヤバイ
33
(2): (ワッチョイ b6e3-Efo6) 2021/06/20(日)10:31 ID:tdu+ItCw0(11/21) AAS
ありがとうございます!自分の環境の場合 ttf-dejavu を消しており(フォント削りまくりで)
$ sudo apt install ttf-dejavu
$ sudo apt upgrade
$ sudo update-initramfs -c -k all

update-initramfs......(bad exit status: 1)
を回避できます。
現在のスナップショットは未処置です。
-------------------------------
以下の処置はやる必要があるでしょうか? また推測は正しいですか?
省7
34
(1): (ワッチョイ 3a7e-5JPi) 2021/06/20(日)10:36 ID:q1GmI6Tf0(4/12) AAS
>>33
> r8168なんか使ってないなら
まずここは後回しにしましょう

$ ls -R /lib/modules/4.19.0-16-amd64/updates
35: (ワッチョイ 3a7e-5JPi) 2021/06/20(日)10:41 ID:q1GmI6Tf0(5/12) AAS
>>33
2chスレ:linux
> 打つ手がわからず、なんか近いなと思ってやみくもにやっただけ。

普通こんな質問の仕方したら「クリーンインストールすれば?」で終わる
36
(1): (ワッチョイ b6e3-Efo6) 2021/06/20(日)11:08 ID:tdu+ItCw0(12/21) AAS
>>34
$ ls -R /lib/modules/4.19.0-16-amd64/updates
/lib/modules/4.19.0-16-amd64/updates:
dkms

/lib/modules/4.19.0-16-amd64/updates/dkms:
r8168.ko

$
37: (ワッチョイ 3a7e-5JPi) 2021/06/20(日)11:23 ID:q1GmI6Tf0(6/12) AAS
>>36
なんでそれがそこにあるかわからんけど、どうせダメでも戻せるんだから抹殺しようか

$ sudo rm -rf /lib/modules/4.19.0-16-amd64/updates
38: (ワッチョイ b6e3-Efo6) 2021/06/20(日)12:53 ID:tdu+ItCw0(13/21) AAS
レスが遅く失礼
$ sudo rm -rf /lib/modules/4.19.0-16-amd64/updates

$
39: (ワッチョイ 3a7e-5JPi) 2021/06/20(日)12:59 ID:q1GmI6Tf0(7/12) AAS
これでつっかえてたコマンドが通るはず
40: (ワッチョイ b6e3-Efo6) 2021/06/20(日)20:00 ID:tdu+ItCw0(14/21) AAS
$ sudo rm -rf /lib/modules/4.19.0-16-amd64/updates

$ sudo dkms add ./rtl8192cu-fixes
Error! DKMS tree already contains: 8192cu-1.11
You cannot add the same module/version combo more than once.

$
ダメなようです。
1-
あと 782 レスあります
スレ情報 赤レス抽出 画像レス抽出 歴の未読スレ AAサムネイル

ぬこの手 ぬこTOP 0.788s*