Advertisement
hee100

Untitled

Dec 9th, 2023
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.16 KB | None | 0 0
  1. ubuntu@ubuntu:~$ sudo apt update
  2. Ign:1 cdrom://Ubuntu 20.04.4 LTS _Focal Fossa_ - Release amd64 (20220223) focal InRelease
  3. Hit:2 cdrom://Ubuntu 20.04.4 LTS _Focal Fossa_ - Release amd64 (20220223) focal Release
  4. Hit:4 http://archive.ubuntu.com/ubuntu focal InRelease
  5. Get:5 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
  6. Get:6 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
  7. Get:7 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [3,015 kB]
  8. Get:8 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [2,610 kB]
  9. Get:9 http://archive.ubuntu.com/ubuntu focal-updates/main Translation-en [487 kB]
  10. Get:10 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 DEP-11 Metadata [275 kB]
  11. Get:11 http://archive.ubuntu.com/ubuntu focal-updates/main DEP-11 48x48 Icons [60.8 kB]
  12. Get:12 http://archive.ubuntu.com/ubuntu focal-updates/main DEP-11 64x64 Icons [98.3 kB]
  13. Get:13 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 c-n-f Metadata [17.2 kB]
  14. Get:14 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [2,562 kB]
  15. Get:15 http://archive.ubuntu.com/ubuntu focal-updates/restricted Translation-en [358 kB]
  16. Get:16 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 c-n-f Metadata [552 B]
  17. Get:17 http://security.ubuntu.com/ubuntu focal-security/main Translation-en [402 kB]
  18. Get:18 http://security.ubuntu.com/ubuntu focal-security/main amd64 DEP-11 Metadata [59.9 kB]
  19. Get:19 http://security.ubuntu.com/ubuntu focal-security/main DEP-11 48x48 Icons [18.9 kB]
  20. Get:20 http://security.ubuntu.com/ubuntu focal-security/main DEP-11 64x64 Icons [36.0 kB]
  21. Get:21 http://security.ubuntu.com/ubuntu focal-security/main amd64 c-n-f Metadata [13.2 kB]
  22. Get:22 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [2,411 kB]
  23. Get:23 http://security.ubuntu.com/ubuntu focal-security/restricted Translation-en [336 kB]
  24. Get:24 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 c-n-f Metadata [552 B]
  25. Fetched 13.0 MB in 5s (2,703 kB/s)
  26. Reading package lists... Done
  27. Building dependency tree
  28. Reading state information... Done
  29. 561 packages can be upgraded. Run 'apt list --upgradable' to see them.
  30.  
  31. ubuntu@ubuntu:~$ sudo apt install kmod
  32. Reading package lists... Done
  33. Building dependency tree
  34. Reading state information... Done
  35. The following additional packages will be installed:
  36. libkmod2
  37. The following packages will be upgraded:
  38. kmod libkmod2
  39. 2 upgraded, 0 newly installed, 0 to remove and 559 not upgraded.
  40. Need to get 140 kB of archives.
  41. After this operation, 8,192 B of additional disk space will be used.
  42. Do you want to continue? [Y/n] Y
  43. Get:1 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 kmod amd64 27-1ubuntu2.1 [94.8 kB]
  44. Get:2 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libkmod2 amd64 27-1ubuntu2.1 [45.3 kB]
  45. Fetched 140 kB in 2s (80.9 kB/s)
  46. (Reading database ... 187727 files and directories currently installed.)
  47. Preparing to unpack .../kmod_27-1ubuntu2.1_amd64.deb ...
  48. Unpacking kmod (27-1ubuntu2.1) over (27-1ubuntu2) ...
  49. Preparing to unpack .../libkmod2_27-1ubuntu2.1_amd64.deb ...
  50. Unpacking libkmod2:amd64 (27-1ubuntu2.1) over (27-1ubuntu2) ...
  51. Setting up libkmod2:amd64 (27-1ubuntu2.1) ...
  52. Setting up kmod (27-1ubuntu2.1) ...
  53. update-initramfs is disabled since running on read-only media
  54. Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
  55. Processing triggers for systemd (245.4-4ubuntu3.15) ...
  56. Processing triggers for man-db (2.9.1-1) ...
  57.  
  58. ubuntu@ubuntu:~$ /usr/sbin/update-initramfs.orig.initramfs-tools
  59. bash: /usr/sbin/update-initramfs.orig.initramfs-tools: No such file or directory
  60.  
  61. ubuntu@ubuntu:~$ sudo mount /dev/sda6 /mnt
  62. ubuntu@ubuntu:~$ for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt/$i; done
  63. ubuntu@ubuntu:~$ /usr/sbin/update-initramfs.orig.initramfs-tools
  64. bash: /usr/sbin/update-initramfs.orig.initramfs-tools: No such file or directory
  65.  
  66. ubuntu@ubuntu:~$ sudo chroot /mnt
  67. root@ubuntu:/# /usr/sbin/update-initramfs.orig.initramfs-tools
  68. bash: /usr/sbin/update-initramfs.orig.initramfs-tools: No such file or directory
  69.  
  70. root@ubuntu:/#
  71.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement