[SOLVED] Can't run Update Manager after grub update
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
That was an adventure! I had to use the spacebar to select the item. Here is the output:
Code:
thor@thor-linuxmint:~$ sudo apt install grub-pc
[sudo] password for thor:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
grub-pc
0 upgraded, 1 newly installed, 0 to remove and 144 not upgraded.
Need to get 137 kB of archives.
After this operation, 573 kB of additional disk space will be used.
Get:1 http://mirror.zetup.net/ubuntu bionic-updates/main amd64 grub-pc amd64 2.02-2ubuntu8.4 [137 kB]
Fetched 137 kB in 1s (183 kB/s)
Preconfiguring packages ...
Selecting previously unselected package grub-pc.
(Reading database ... 347755 files and directories currently installed.)
Preparing to unpack .../grub-pc_2.02-2ubuntu8.4_amd64.deb ...
Unpacking grub-pc (2.02-2ubuntu8.4) ...
Setting up grub-pc (2.02-2ubuntu8.4) ...
Creating config file /etc/default/grub with new version
Installing for i386-pc platform.
Installation finished. No error reported.
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.15.0-30-generic
Found initrd image: /boot/initrd.img-4.15.0-30-generic
Found linux image: /boot/vmlinuz-4.15.0-24-generic
Found initrd image: /boot/initrd.img-4.15.0-24-generic
Found linux image: /boot/vmlinuz-4.15.0-20-generic
Found initrd image: /boot/initrd.img-4.15.0-20-generic
Found Windows 10 on /dev/nvme0n1p1
Found linux image: /boot/vmlinuz-4.15.0-30-generic
Found initrd image: /boot/initrd.img-4.15.0-30-generic
Found linux image: /boot/vmlinuz-4.15.0-24-generic
Found initrd image: /boot/initrd.img-4.15.0-24-generic
Found linux image: /boot/vmlinuz-4.15.0-20-generic
Found initrd image: /boot/initrd.img-4.15.0-20-generic
Found Windows 10 on /dev/nvme0n1p1
done
Processing triggers for man-db (2.8.3-2) ...
thor@thor-linuxmint:~$
Great. Now, before you update the machine (144 packages is a lot of packages), do you have TimeShift installed or do you have another means of making a system backup/image/snapshot?
Great. Can I suggest that on the next thread you create you mention the version of Mint that you're using. Going by your sidebar info, I assumed that you were running Mint 18.2 (you may want to update that info). It was only when I saw you were using the bionic repo that I realised you were running Mint 19. Although, maybe I missed it somewhere.
Ok, next you want to run:
Code:
apt update
and then, if the output from that is warning- and error-free:
It reports All packages are up to date. Before running these commands I run the System Update Manager. Now it worked flawlessly and did all the updates.
Also, I've done a system restart to check the grub bootloader. It works. I have the option to choose either Linux or Windows 10.
Thank You very much hydrurga! I was worried I had to reinstall Linux Mint. It should have been a big job reinstalling all programs and do all the system settings. You have really been a great help for me!
I should just point out that in your last output you ran the apt update command twice, not the apt update then the apt upgrade commands. But that is of no concern as updating through Mint's Update Manager effectively does the same thing, or near enough the same thing, anyway.
Also note that Mint does not now need the sudo before apt commands - they've written wrappers so that, for example, you can just use apt update or apt upgrade. You'll still need to enter your password, of course, but it saves you a few keystrokes.
Anyway, my pleasure. Let us know if anything else goes awry but, in the meantime, happy Minting!
P.S. Remember to update your LQ profile to show that you're now running Mint 19 Cinnamon.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.