• 4 Posts
  • 38 Comments
Joined 1 year ago
cake
Cake day: June 7th, 2023

help-circle








  • Phone flashlights are optimized for photos. They don’t shine very bright for example. You need to see even a good 30€ flashlight. Super bright compared to that. Also if you are in a situation that means you need to have battery on your phone, using the flashlight drains it a lot. Also on some flashlights you can use as a powerbank. For someone living in a city, it’s maybe not it but if you are even a bit remote or like to do hiking or something its super useful. Idk I probably have read too much r/flashlights. It’s like collecting knives man.







  • aapo@pop-os:~$ sudo apt-get install --reinstall libklibc
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 169 not upgraded.
    2 not fully installed or removed.
    Need to get 0 B/45.6 kB of archives.
    After this operation, 0 B of additional disk space will be used.
    Setting up linux-firmware (20230629.gitee91452d-0ubuntu1+system76~1689594960~22.04~9d563bf) ...
    update-initramfs: Generating /boot/initrd.img-6.2.6-76060206-generic
    cp: cannot stat '/lib/klibc-*.so': No such file or directory
    E: /usr/share/initramfs-tools/hooks/klibc-utils failed with return 1.
    update-initramfs: failed for /boot/initrd.img-6.2.6-76060206-generic with 1.
    dpkg: error processing package linux-firmware (--configure):
     installed linux-firmware package post-installation script subprocess returned error exit status 1
    Errors were encountered while processing:
     linux-firmware
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    

    Tried that already. The installation tries to run but the problem blocks it from running.



  • aapo@pop-os:~$ sudo dpkg -i initramfs-tools_0.140ubuntu13.2_all.deb
    (Reading database ... 292735 files and directories currently installed.)
    Preparing to unpack initramfs-tools_0.140ubuntu13.2_all.deb ...
    Unpacking initramfs-tools (0.140ubuntu13.2) over (0.140ubuntu13.2) ...
    Setting up initramfs-tools (0.140ubuntu13.2) ...
    update-initramfs: deferring update (trigger activated)
    Processing triggers for man-db (2.10.2-1) ...
    Processing triggers for initramfs-tools (0.140ubuntu13.2) ...
    update-initramfs: Generating /boot/initrd.img-6.2.6-76060206-generic
    cp: cannot stat '/lib/klibc-*.so': No such file or directory
    E: /usr/share/initramfs-tools/hooks/klibc-utils failed with return 1.
    update-initramfs: failed for /boot/initrd.img-6.2.6-76060206-generic with 1.
    dpkg: error processing package initramfs-tools (--install):
     installed initramfs-tools package post-installation script subprocess returned error exit status 1
    Errors were encountered while processing:
     initramfs-tools
    

    Yea the problem’s pretty bad it seems.


  • Thanks! Yea it seems like initramfs-tools is broken.

    aapo@pop-os:~$ sudo dpkg-reconfigure initramfs-tools
    /usr/sbin/dpkg-reconfigure: initramfs-tools is broken or not fully installed
    
    aapo@pop-os:~$ sudo apt-get install --reinstall initramfs-tools
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 169 not upgraded.
    55 not fully installed or removed.
    After this operation, 0 B of additional disk space will be used.
    E: Internal Error, No file name for initramfs-tools:amd64
    

    The problem is that apt can’t find the initramfs-tools file. I don’t think I have seen that error before.