3 ms·
> It makes me appreciate the simplicity of design of Linux and macOS. You realize that the Ubuntu update system has been broken for years? It's not possible t
by user5994461 10y ago
> It makes me appreciate the simplicity of design of Linux and macOS.
You realize that the Ubuntu update system has been broken for years?
It's not possible to perform an update without writing cryptic 100 characters long command that might destroy your system.
- Sylos 10y agoRight. Do you really need someone to tell you that millions of people use and update Ubuntu regularly without typing in a cryptic 100 character long command or can you figure out yourself that it has to be you who's wrong here?
- user5994461 10y agoRight. I'll help you figure out that you are the one who is wrong. Millions of people run Ubuntu and can NOT upgrade it at all. The cause: After a few kernel updates, the /boot partition gets full. Then all future updates simply fail because of disk full. (the updater never clean the old stuff). The issue is well known and well documented. For instances, read these two questions which are over 100k views each: https://askubuntu.com/questions/171209/my-boot-partition-hit-100-and-now-i-cant-upgrade-cant-remove-old-kernels-to https://askubuntu.com/questions/171209/my-boot-partition-hit... https://askubuntu.com/questions/298487/not-enough-free-disk-space-when-upgrading https://askubuntu.com/questions/298487/not-enough-free-disk-... And here the magic one liner command you need to fix it: sudo apt-get purge $(dpkg -l linux-{image,headers}-"[0-9]*" | awk '/ii/{print $2}' | grep -ve "$(uname -r | sed -r 's/-[a-z]+//')")
- yoasif_ 10y agoHas a separate boot partition ever been the installer default? I know every time I have installed Ubuntu in the last few years, it doesn't offer to set up separate boot or home partitions -- those are allowed manually. It'd be nice if the issue you linked to didn't occur (I guess by removing old kernels), but it seems to be something that mostly advanced users would come across -- or I guess they are people that think they are advanced (since they are playing with customizing the install).
- user5994461 10y agoThe installation default is to make a separate 100MB /boot partition. The issue happens systematically after a few updates (let's say 5 in average to fill the 100MB space). That means all users will come across this issue after a few months of usage and regular updates.
- witty_username 10y ago$ sudo apt update $ sudo apt upgrade That's a lot less than 100 characters. I haven't experienced any upgrade that has broken my system. At worst, once or twice I shut down while upgrading (poweroff bypasses any protection I guess) and so I needed to do "sudo dpkg --configure -a" to fix an application.