Advertisement
hee100

Untitled

Dec 7th, 2023 (edited)
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.24 KB | None | 0 0
  1. ubuntu@ubuntu:~$ sudo apt update
  2. 무시:1 cdrom://Ubuntu 20.04.4 LTS _Focal Fossa_ - Release amd64 (20220223) focal InRelease
  3. 기존:2 cdrom://Ubuntu 20.04.4 LTS _Focal Fossa_ - Release amd64 (20220223) focal Release
  4. 기존:4 http://archive.ubuntu.com/ubuntu focal InRelease
  5. 받기:5 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
  6. 받기:6 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
  7. 받기:7 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [2,604 kB]
  8. 받기:8 http://archive.ubuntu.com/ubuntu focal/main Translation-ko [204 kB]
  9. 받기:9 http://archive.ubuntu.com/ubuntu focal/restricted Translation-ko [716 B]
  10. 받기:10 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [2,994 kB]
  11. 받기:11 http://security.ubuntu.com/ubuntu focal-security/main Translation-en [402 kB]
  12. 받기:12 http://security.ubuntu.com/ubuntu focal-security/main amd64 DEP-11 Metadata [59.9 kB]
  13. 받기:13 http://security.ubuntu.com/ubuntu focal-security/main DEP-11 48x48 Icons [18.9 kB]
  14. 받기:14 http://security.ubuntu.com/ubuntu focal-security/main DEP-11 64x64 Icons [36.0 kB]
  15. 받기:15 http://security.ubuntu.com/ubuntu focal-security/main amd64 c-n-f Metadata [13.2 kB]
  16. 받기:16 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [2,411 kB]
  17. 받기:17 http://security.ubuntu.com/ubuntu focal-security/restricted Translation-en [336 kB]
  18. 받기:18 http://archive.ubuntu.com/ubuntu focal-updates/main Translation-en [484 kB]
  19. 받기:19 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 DEP-11 Metadata [275 kB]
  20. 받기:20 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 c-n-f Metadata [552 B]
  21. 받기:21 http://archive.ubuntu.com/ubuntu focal-updates/main DEP-11 48x48 Icons [60.8 kB]
  22. 받기:22 http://archive.ubuntu.com/ubuntu focal-updates/main DEP-11 64x64 Icons [98.3 kB]
  23. 받기:23 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 c-n-f Metadata [17.2 kB]
  24. 받기:24 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [2,528 kB]
  25. 받기:25 http://archive.ubuntu.com/ubuntu focal-updates/restricted Translation-en [353 kB]
  26. 받기:26 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 c-n-f Metadata [552 B]
  27. 내려받기 13.1 M바이트, 소요시간 7초 (1,820 k바이트/초)
  28. 패키지 목록을 읽는 중입니다... 완료
  29. 의존성 트리를 만드는 중입니다
  30. 상태 정보를 읽는 중입니다... 완료
  31. 561 packages can be upgraded. Run 'apt list --upgradable' to see them.
  32.  
  33. ubuntu@ubuntu:~$ sudo apt install kmod
  34. 패키지 목록을 읽는 중입니다... 완료
  35. 의존성 트리를 만드는 중입니다
  36. 상태 정보를 읽는 중입니다... 완료
  37. The following additional packages will be installed:
  38. libkmod2
  39. 다음 패키지를 업그레이드할 것입니다:
  40. kmod libkmod2
  41. 2개 업그레이드, 0개 새로 설치, 0개 제거 및 559개 업그레이드 안 함.
  42. 140 k바이트 아카이브를 받아야 합니다.
  43. 이 작업 후 8,192 바이트의 디스크 공간을 더 사용하게 됩니다.
  44. 계속 하시겠습니까? [Y/n] Y
  45. 받기:1 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 kmod amd64 27-1ubuntu2.1 [94.8 kB]
  46. 받기:2 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 libkmod2 amd64 27-1ubuntu2.1 [45.3 kB]
  47. 내려받기 140 k바이트, 소요시간 2초 (83.4 k바이트/초)
  48. (데이터베이스 읽는중 ...현재 187727개의 파일과 디렉터리가 설치되어 있습니다.)
  49. Preparing to unpack .../kmod_27-1ubuntu2.1_amd64.deb ...
  50. Unpacking kmod (27-1ubuntu2.1) over (27-1ubuntu2) ...
  51. Preparing to unpack .../libkmod2_27-1ubuntu2.1_amd64.deb ...
  52. Unpacking libkmod2:amd64 (27-1ubuntu2.1) over (27-1ubuntu2) ...
  53. libkmod2:amd64 (27-1ubuntu2.1) 설정하는 중입니다 ...
  54. kmod (27-1ubuntu2.1) 설정하는 중입니다 ...
  55. update-initramfs is disabled since running on read-only media
  56. Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
  57. Processing triggers for systemd (245.4-4ubuntu3.15) ...
  58. Processing triggers for man-db (2.9.1-1) ...
  59.  
  60. ubuntu@ubuntu:~$ sudo -s
  61.  
  62. root@ubuntu:/home/ubuntu# sudo apt update
  63. 무시:1 cdrom://Ubuntu 20.04.4 LTS _Focal Fossa_ - Release amd64 (20220223) focal InRelease
  64. 기존:2 cdrom://Ubuntu 20.04.4 LTS _Focal Fossa_ - Release amd64 (20220223) focal Release
  65. 기존:4 http://security.ubuntu.com/ubuntu focal-security InRelease
  66. 기존:5 http://archive.ubuntu.com/ubuntu focal InRelease
  67. 기존:6 http://archive.ubuntu.com/ubuntu focal-updates InRelease
  68. 패키지 목록을 읽는 중입니다... 완료
  69. 의존성 트리를 만드는 중입니다
  70. 상태 정보를 읽는 중입니다... 완료
  71. 559 packages can be upgraded. Run 'apt list --upgradable' to see them.
  72.  
  73. root@ubuntu:/home/ubuntu# sudo apt install kmod
  74. 패키지 목록을 읽는 중입니다... 완료
  75. 의존성 트리를 만드는 중입니다
  76. 상태 정보를 읽는 중입니다... 완료
  77. kmod is already the newest version (27-1ubuntu2.1).
  78. 0개 업그레이드, 0개 새로 설치, 0개 제거 및 559개 업그레이드 안 함.
  79.  
  80. root@ubuntu:/home/ubuntu# /usr/sbin/update-initramfs.orig.initramfs-tools
  81. bash: /usr/sbin/update-initramfs.orig.initramfs-tools: No such file or directory
  82.  
  83. root@ubuntu:/home/ubuntu# cd /usr/sbom
  84. bash: cd: /usr/sbom: No such file or directory
  85.  
  86. root@ubuntu:/home/ubuntu# cd ~
  87. root@ubuntu:~# cd /usr/sbin
  88. root@ubuntu:/usr/sbin# initramfs.orig.initramfs-tools
  89. initramfs.orig.initramfs-tools: command not found
  90.  
  91. root@ubuntu:/usr/sbin# update-initramfs
  92. update-initramfs is disabled since running on read-only media
  93.  
  94.  
  95. root@ubuntu:/usr/sbin# ls
  96. .
  97. .
  98. .
  99. dbufstat lvmdump update-info-dir
  100. debugfs lvmpolld update-initramfs
  101. debugreiserfs lvmsadc update-initramfs.distrib
  102. delgroup lvmsar update-locale
  103. deluser lvreduce update-mime
  104. e4defrag mklost+found vgimportclone
  105. ebtables mkntfs vgmerge
  106. ebtables-nft mkreiserfs vgmknodes
  107. ebtables-nft-restore mkswap vgreduce
  108. ebtables-nft-save modinfo vgremove
  109. ebtables-restore modprobe vgrename
  110. ebtables-save mount.cifs vgs
  111. era_check mount.fuse vgscan
  112. era_dump mount.lowntfs-3g vgsplit
  113. era_invalidate mount.ntfs vigr
  114. era_restore mount.ntfs-3g vipw
  115. faillock mount.zfs visudo
  116. .
  117. .
  118. .
  119.  
  120. root@ubuntu:/usr/sbin# which modprobe
  121. /usr/sbin/modprobe
  122.  
  123. root@ubuntu:/usr/sbin# whereis modprobe
  124. modprobe: /usr/sbin/modprobe /usr/lib/modprobe.d /etc/modprobe.d /usr/share/man/man8/modprobe.8.gz
  125.  
  126. root@ubuntu:/usr/sbin# file /sbin/modprobe
  127. /sbin/modprobe: symbolic link to /bin/kmod
  128.  
  129. root@ubuntu:/usr/sbin# sudo mount /dev/sda6 /mnt
  130. root@ubuntu:/usr/sbin# for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt/$i; done
  131. root@ubuntu:/usr/sbin# chroot /mnt
  132.  
  133. root@ubuntu:/# update-initramfs -u -k 5.15.0-88-generic
  134. update-initramfs: Generating /boot/initrd.img-5.15.0-88-generic
  135. /usr/sbin/mkinitramfs: 75: modprobe: not found
  136. /usr/sbin/mkinitramfs: 76: modprobe: not found
  137. /usr/sbin/mkinitramfs: 75: modprobe: not found
  138. /usr/sbin/mkinitramfs: 76: modprobe: not found
  139. /usr/sbin/mkinitramfs: 75: modprobe: not found
  140. /usr/sbin/mkinitramfs: 76: modprobe: not found
  141. /usr/sbin/mkinitramfs: 75: modprobe: not found
  142. /usr/sbin/mkinitramfs: 76: modprobe: not found
  143. /usr/sbin/mkinitramfs: 75: modprobe: not found
  144. /usr/sbin/mkinitramfs: 76: modprobe: not found
  145. /usr/sbin/mkinitramfs: 75: modprobe: not found
  146. /usr/sbin/mkinitramfs: 76: modprobe: not found
  147. /usr/sbin/mkinitramfs: 75: modprobe: not found
  148. /usr/sbin/mkinitramfs: 76: modprobe: not found
  149. /usr/sbin/mkinitramfs: 75: modprobe: not found
  150. /usr/sbin/mkinitramfs: 76: modprobe: not found
  151. /usr/sbin/mkinitramfs: 75: modprobe: not found
  152. /usr/sbin/mkinitramfs: 76: modprobe: not found
  153. /usr/sbin/mkinitramfs: 75: modprobe: not found
  154. /usr/sbin/mkinitramfs: 76: modprobe: not found
  155. /usr/sbin/mkinitramfs: 75: modprobe: not found
  156. /usr/sbin/mkinitramfs: 76: modprobe: not found
  157. /usr/sbin/mkinitramfs: 75: modprobe: not found
  158. /usr/sbin/mkinitramfs: 76: modprobe: not found
  159. /usr/sbin/mkinitramfs: 75: modprobe: not found
  160. /usr/sbin/mkinitramfs: 76: modprobe: not found
  161. /usr/sbin/mkinitramfs: 75: modprobe: not found
  162. /usr/sbin/mkinitramfs: 76: modprobe: not found
  163. /usr/sbin/mkinitramfs: 75: modprobe: not found
  164. /usr/sbin/mkinitramfs: 76: modprobe: not found
  165. /usr/sbin/mkinitramfs: 75: modprobe: not found
  166. /usr/sbin/mkinitramfs: 76: modprobe: not found
  167. /usr/sbin/mkinitramfs: 75: modprobe: not found
  168. /usr/sbin/mkinitramfs: 76: modprobe: not found
  169. /usr/sbin/mkinitramfs: 75: modprobe: not found
  170. /usr/sbin/mkinitramfs: 76: modprobe: not found
  171. /usr/sbin/mkinitramfs: 75: modprobe: not found
  172. /usr/sbin/mkinitramfs: 76: modprobe: not found
  173. /usr/sbin/mkinitramfs: 75: modprobe: not found
  174. /usr/sbin/mkinitramfs: 76: modprobe: not found
  175. /usr/sbin/mkinitramfs: 75: modprobe: not found
  176. /usr/sbin/mkinitramfs: 76: modprobe: not found
  177. /usr/sbin/mkinitramfs: 75: modprobe: not found
  178. /usr/sbin/mkinitramfs: 76: modprobe: not found
  179. /usr/sbin/mkinitramfs: 75: modprobe: not found
  180. /usr/sbin/mkinitramfs: 76: modprobe: not found
  181. /usr/sbin/mkinitramfs: 75: modprobe: not found
  182. /usr/sbin/mkinitramfs: 76: modprobe: not found
  183. /usr/sbin/mkinitramfs: 75: modprobe: not found
  184. /usr/sbin/mkinitramfs: 76: modprobe: not found
  185. /usr/sbin/mkinitramfs: 75: modprobe: not found
  186. /usr/sbin/mkinitramfs: 76: modprobe: not found
  187. /usr/sbin/mkinitramfs: 75: modprobe: not found
  188. /usr/sbin/mkinitramfs: 76: modprobe: not found
  189. /usr/sbin/mkinitramfs: 75: modprobe: not found
  190. /usr/sbin/mkinitramfs: 76: modprobe: not found
  191. /usr/sbin/mkinitramfs: 75: modprobe: not found
  192. /usr/sbin/mkinitramfs: 76: modprobe: not found
  193. /usr/sbin/mkinitramfs: 75: modprobe: not found
  194. /usr/sbin/mkinitramfs: 76: modprobe: not found
  195. E: /usr/share/initramfs-tools/hooks/fuse failed with return 1.
  196. update-initramfs: failed for /boot/initrd.img-5.15.0-88-generic with 1.
  197.  
  198. root@ubuntu:/# ls
  199. bin etc lib lost+found proc snap tmp
  200. boot home lib32 media root srv usr
  201. cdrom initrd.img-4.9.0-0.bpo.8-amd64 lib64 mnt run swapfile var
  202. dev initrd.img-5.13.0-30-generic libx32 opt sbin sys
  203.  
  204. root@ubuntu:/usr/sbin# ls
  205. .
  206. .
  207. .
  208. e2undo mkfs.cramfs update-info-dir
  209. e4crypt mkfs.ext2 update-initramfs
  210. e4defrag mkfs.ext3 update-java-alternatives
  211. ebtables mkfs.ext4 update-locale
  212. ebtables-nft mkfs.fat update-mime
  213. ebtables-nft-restore mkfs.minix update-passwd
  214. ebtables-nft-save mkfs.msdos update-pciids
  215. ebtables-restore mkfs.ntfs update-rc.d
  216. ebtables-save mkfs.vfat update-secureboot-policy
  217. escapesrc mkhomedir_helper update-xmlcatalog
  218. faillock mkinitramfs upgrade-from-grub-legacy
  219. fatlabel mklost+found usb_modeswitch
  220. fdformat mkntfs usb_modeswitch_dispatcher
  221. fdisk mkswap usbmuxd
  222. filefrag modinfo useradd
  223. findfs modprobe userdel
  224. fixparts mount.fuse usermod
  225. fsck mount.lowntfs-3g uuidd
  226. fsck.cramfs mount.ntfs v4l2-dbg
  227. fsck.ext2 mount.ntfs-3g validlocale
  228. fsck.ext3 mysqld vcstime
  229. fsck.ext4 netplan vigr
  230. fsck.minix nfnl_osf visudo
  231. fsck.msdos nologin vpddecode
  232. fsck.vfat ntfsclone wipefs
  233. .
  234. .
  235. .
  236.  
  237.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement