[03:22] good morning [12:15] ravage: you should not tell people to run commands like update-grub that can have side-effects just to get something that happens to be in their output [12:16] especially as in the worst possible case, a failed update-grub could make a system unbootable :) [12:17] the user didnt edit their grub? [12:17] it wa to list installed kernels on the system [12:17] was* [12:18] ah [12:20] dpkg --list | grep linux-image [12:27] that would be in accurate, as that lists the kernel packages on the machine, but wouldn't necessarily list the configured kernels for booting [12:27] *inaccurate === JanC is now known as Guest6880 === JanC_ is now known as JanC [12:28] so whats the best command without update-grub [12:31] update-grub is certainly a bit unorthodox way to get the list, but I don't see much issue in it. To me, at worst it would complete an incomplete setup from a interrupted update by apt. [12:32] its a reload mechanism that could be tricky 'after' grub edits [12:36] indeed it is, one could `ls -l /etc/initrd*` but there are symlinks that get returned with that [12:36] oops [12:36] too tird [12:36] indeed it is, one could `ls -l /boot/initrd*` but there are symlinks that get returned with that [12:36] or swap initrd with config [12:38] pragmaticenigma: worst case it writes an empty or incorrect grub.cfg ... [12:38] it's *unlikely* but not impossible :) [12:39] a bit too doom and gloom... if that were to happen, I think the user has bigger problems [12:39] but it's not needed, so why take the risk? [12:39] when you can use ls or the package manager [12:40] sudo apt update && sudo apt full-upgrade is also risky :p [12:41] that's not what I mean, obviously [12:43] they both have system wide impact. I see no differnce between running either one [12:45] I would never suggest you run either one as part of *diagnosing* a problem, that's the whole point [12:47] you haven't suggested an alternative. so I don't understand why you're getting upset when someone trying to help does something you don't agree with, but fail to offer a safer alternative. [12:47] the alternative was already given [12:49] I'm going to use your playbook. "that's not what I meant" [12:49] you didn't immediately offer something when you made your statement. someone else suggested something [12:50] I was busy trying to verify an alternative, which was to `cat /boot/grub/menu.lst` but that has long been outdated [12:51] an alternative was given in #ubuntu before the update-grub statement was made, so I didn't need to give one... [12:52] wow, just wow...