dist-upgrade cat: '/usr/share/flash-kernel/db/*.db': No such file or directory
Hi all,
System: Ubuntu 18.04.2 LTS (Raspberry 3) I have updated system today (04th July). Code:
sudo apt update Code:
ubuntu@ubuntu:~$ sudo apt autoremove /usr/share/flash-kernel/db/ is empty and no *.db files there. Any idea what is happening wrong here? |
This had 286 views, but no replies… Allow me to have a go.
Generating an initrd puts every conceivable piece of <expletive deleted> in a ramdisk. The mkinitrd script is it's own nest of issues. All we know is that it puked on Error 1, which is permissions. There are times when sudo ≠ root, and this might be one of them. There are even times when root doesn't have permission. Quick way out is to reinstall from a backup if you have one Presuming you don't, you should have, so make arrangements to get one as soon as you get out of this mess. Can you reinstall Ubuntu-18.04, saving /home & /etc? If not, Post a 'ls' of /boot, & /lib/modules. I'm thinking of uninstalling kernel & modules. It would be very handy if you had another to boot on. Theoretically, it can conceivably be done while running on the kernel you're uninstalling, as the box has it in memory. But it's very much a thing that should never be done. I prefer to play safe. |
Hi Business_kid, thank you for your reply.
I actually have found the the solution for my problem by following this link: https://www.blackmoreops.com/2014/09...conds-problem/ Syslog errors were exactly the same: Code:
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. Code:
vm.dirty_background_ratio = 5 Anyway, I hope this can help others. [UPDATE - 2019.07.17] After doing more stress tests (coping a lot of files in a loop) errors pop up again and hang the system Also, while updating system the problem sometimes appears too My guess is a bad quality SD card but I cannot check and confirm it now. |
All times are GMT -5. The time now is 08:37 AM. |