LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 09-21-2018, 09:34 AM   #16
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925

Quote:
Originally Posted by thort View Post
I got stuck when I run sudo apt install grub-pc. I don't know how to use the keyboard to select the first option and then proceed.
As I said, use the Tab key.
 
1 members found this post helpful.
Old 09-21-2018, 09:38 AM   #17
thort
Member
 
Registered: Nov 2003
Location: Sweden
Distribution: Linux Mint Cinnamon 19
Posts: 215

Original Poster
Rep: Reputation: 43
Sorry, I posted the wrong attachment. Here is the window I got stuck at. I don't know how to select the first option.
Attached Thumbnails
Click image for larger version

Name:	screenshot_1.png
Views:	15
Size:	56.1 KB
ID:	28639  
 
Old 09-21-2018, 09:39 AM   #18
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
You can use the up and down arrow keys to move between choices and the space bar to select a choice. Probably.
 
1 members found this post helpful.
Old 09-21-2018, 09:45 AM   #19
thort
Member
 
Registered: Nov 2003
Location: Sweden
Distribution: Linux Mint Cinnamon 19
Posts: 215

Original Poster
Rep: Reputation: 43
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:~$
What's next?
 
Old 09-21-2018, 09:48 AM   #20
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
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?
 
1 members found this post helpful.
Old 09-21-2018, 09:48 AM   #21
thort
Member
 
Registered: Nov 2003
Location: Sweden
Distribution: Linux Mint Cinnamon 19
Posts: 215

Original Poster
Rep: Reputation: 43
Yes, I have.
 
Old 09-21-2018, 09:51 AM   #22
thort
Member
 
Registered: Nov 2003
Location: Sweden
Distribution: Linux Mint Cinnamon 19
Posts: 215

Original Poster
Rep: Reputation: 43
I just created a snapshot using Timeshift.
 
Old 09-21-2018, 09:54 AM   #23
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
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:

Code:
apt upgrade
 
1 members found this post helpful.
Old 09-21-2018, 10:19 AM   #24
thort
Member
 
Registered: Nov 2003
Location: Sweden
Distribution: Linux Mint Cinnamon 19
Posts: 215

Original Poster
Rep: Reputation: 43
Here is the result:

Code:
thor@thor-linuxmint:~$ sudo apt update
[sudo] password for thor: 
Ign:1 http://mirror.zetup.net/linuxmint/packages tara InRelease
Hit:2 http://mirror.zetup.net/ubuntu bionic InRelease
Get:3 http://mirror.zetup.net/ubuntu bionic-updates InRelease [88,7 kB]
Get:4 http://mirror.zetup.net/ubuntu bionic-backports InRelease [74,6 kB]      
Hit:5 http://mirror.zetup.net/linuxmint/packages tara Release                  
Hit:6 https://repo.skype.com/deb stable InRelease                              
Hit:7 http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu bionic InRelease
Get:8 http://mirror.zetup.net/ubuntu bionic-updates/main i386 Packages [293 kB]
Get:9 http://mirror.zetup.net/ubuntu bionic-updates/main amd64 Packages [328 kB]
Hit:10 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu bionic InRelease 
Get:11 http://mirror.zetup.net/ubuntu bionic-updates/universe amd64 Packages [199 kB]
Hit:12 http://archive.canonical.com/ubuntu bionic InRelease                    
Get:13 http://mirror.zetup.net/ubuntu bionic-updates/universe i386 Packages [199 kB]
Get:15 http://security.ubuntu.com/ubuntu bionic-security InRelease [83,2 kB]   
Fetched 1 265 kB in 1s (1 620 kB/s)                                            
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
thor@thor-linuxmint:~$ sudo apt update
Ign:1 http://mirror.zetup.net/linuxmint/packages tara InRelease
Hit:2 http://mirror.zetup.net/ubuntu bionic InRelease
Hit:3 http://mirror.zetup.net/ubuntu bionic-updates InRelease
Get:4 http://mirror.zetup.net/ubuntu bionic-backports InRelease [74,6 kB]      
Hit:5 http://mirror.zetup.net/linuxmint/packages tara Release                  
Hit:6 https://repo.skype.com/deb stable InRelease                              
Hit:7 http://archive.canonical.com/ubuntu bionic InRelease                     
Hit:8 http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu bionic InRelease
Get:9 http://security.ubuntu.com/ubuntu bionic-security InRelease [83,2 kB]
Hit:10 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu bionic InRelease 
Fetched 158 kB in 1s (249 kB/s)                                                
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.
thor@thor-linuxmint:~$
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!
 
Old 09-21-2018, 10:27 AM   #25
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
That's great. You should be good to go now.

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.
 
1 members found this post helpful.
Old 09-21-2018, 12:58 PM   #26
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
Ah, I forgot to mention, thort. If you want to mark this thread as "Solved" then see "Thread Tools" at the top of the thread. Cheers.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Hi. I have this error when I run update manager. That is also as far as I can go..Tha Carfyd Linux - Newbie 2 08-14-2013 01:22 AM
GRUB Prompt after running Update Manager??? TheFatBassPlayer Ubuntu 3 05-24-2012 02:19 PM
Cannot run update manager wb7sdxgary Ubuntu 3 11-08-2009 05:12 PM
Can not run Update Manager; Synaptic broken sixgun Linux - General 3 08-12-2006 01:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration