LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 05-17-2018, 01:27 AM   #46
paxolin
Member
 
Registered: Jan 2017
Location: Thailand
Distribution: Mint 20.3 Cinnamon 64-bit 12Gb RAM (Linux newbie, Dummies level)
Posts: 412

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by hydrurga View Post
Don't worry about the en_GB.utf8 warnings - I get those as well and I'm in the UK.

However, you do have more kernels than you need (I usually only keep three of those at at time, the active one and two previous ones).

Please open the Update Manager, choose View->Linux kernels, and tell me which kernel is marked as "Active".
The one marked Active is 4.4.0-124 It says I have ten installed altogether - see attached.
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2018-05-17 13-22-18.png
Views:	12
Size:	34.6 KB
ID:	27654  
 
Old 05-17-2018, 01:39 AM   #47
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
Good. If you scroll down, you should see that you have a total of 12 installed (see the list in your previous post).

For all the kernels apart from the active one and the two beneath it (4.4.0-124, 122 and 121), click on the kernel and select "remove" (you will need to enter your password for each one).

At the moment, there is no facility in Mint for telling the system how many kernels you want it to hang on to, so deletion of old kernels has to be done manually like this.
 
Old 05-17-2018, 02:49 AM   #48
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
I'm away for a few hours. Once you've sorted out the kernels, you need to work through the upgrade from 18.2 to 18.3 (https://blog.linuxmint.com/?p=3462) - you can ignore the spices, as we discussed earlier.
 
Old 05-17-2018, 05:45 AM   #49
paxolin
Member
 
Registered: Jan 2017
Location: Thailand
Distribution: Mint 20.3 Cinnamon 64-bit 12Gb RAM (Linux newbie, Dummies level)
Posts: 412

Original Poster
Rep: Reputation: Disabled
I deleted the kernels as you said.
How did you know I missed two that were right at the bottom of the list? I had wrongly assumed they would all be listed together.

Did the upgrade.
All seemed to be fine until right at the end when I was told there had been an error. Another window offered details and when clicked it took me to terminal. I've listed the errors terminal showed right at the end.
Code:
Warning: No support for locale: en_GB.utf8
Errors were encountered while processing:
 mintinstall
 mint-meta-core
 mint-meta-cinnamon
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up mintinstall (7.8.9) ...
Setting up mint-meta-core (2017.09.19) ...
Setting up mint-meta-cinnamon (2017.09.19) ...
See all the images as well. I restarted as told, and included a shot of System Info.
There is an Update notice about a kernel. I haven't done anything about it yet.
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2018-05-17 17-11-58.png
Views:	9
Size:	23.3 KB
ID:	27655   Click image for larger version

Name:	Screenshot from 2018-05-17 17-17-07.png
Views:	8
Size:	33.5 KB
ID:	27656   Click image for larger version

Name:	Screenshot from 2018-05-17 17-22-05.png
Views:	10
Size:	43.4 KB
ID:	27657   Click image for larger version

Name:	Screenshot from 2018-05-17 17-25-59.png
Views:	10
Size:	27.3 KB
ID:	27658  
 
Old 05-17-2018, 06:19 AM   #50
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
Thanks, I knew about the number of kernels because they were listed in post #44.

Ok, it didn't go entirely smoothly but may nevertheless be fine.

Let's check the current situation with an:

Code:
apt update

apt list --upgradable
We'll leave the kernel update for the moment.

Last edited by hydrurga; 05-17-2018 at 06:21 AM.
 
Old 05-17-2018, 06:26 AM   #51
paxolin
Member
 
Registered: Jan 2017
Location: Thailand
Distribution: Mint 20.3 Cinnamon 64-bit 12Gb RAM (Linux newbie, Dummies level)
Posts: 412

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
Thanks, I knew about the number of kernels because they were listed in post #44.

Ok, it didn't go entirely smoothly but may nevertheless be fine.

Let's check the current situation with an:

Code:
apt update

apt list --upgradable
We'll leave the kernel update for the moment.
The result of the above only threw up that same "Warning: No support for locale: en_GB.utf8" again, nothing else.
 
Old 05-17-2018, 06:48 AM   #52
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 paxolin View Post
The result of the above only threw up that same "Warning: No support for locale: en_GB.utf8" again, nothing else.
Ok, I wouldn't have expected to see that warning there (which of the two commands produced it?).

Just to check that the packages which threw errors are up-to-date, can you please paste the output from:

Code:
apt policy mintinstall mint-meta-cinnamon mint-meta-core
Thanks.
 
Old 05-17-2018, 06:58 AM   #53
paxolin
Member
 
Registered: Jan 2017
Location: Thailand
Distribution: Mint 20.3 Cinnamon 64-bit 12Gb RAM (Linux newbie, Dummies level)
Posts: 412

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
Ok, I wouldn't have expected to see that warning there (which of the two commands produced it?).

Just to check that the packages which threw errors are up-to-date, can you please paste the output from:

Code:
apt policy mintinstall mint-meta-cinnamon mint-meta-core
Thanks.
Err, I think it was the second command.
Code:
 ~ $ apt policy mintinstall mint-meta-cinnamon mint-meta-core
mintinstall:
  Installed: 7.8.9
  Candidate: 7.8.9
  Version table:
 *** 7.8.9 500
        500 http://packages.linuxmint.com sylvia/main amd64 Packages
        500 http://packages.linuxmint.com sylvia/main i386 Packages
        100 /var/lib/dpkg/status
mint-meta-cinnamon:
  Installed: 2017.09.19
  Candidate: 2017.09.19
  Version table:
 *** 2017.09.19 500
        500 http://packages.linuxmint.com sylvia/main amd64 Packages
        500 http://packages.linuxmint.com sylvia/main i386 Packages
        100 /var/lib/dpkg/status
mint-meta-core:
  Installed: 2017.09.19
  Candidate: 2017.09.19
  Version table:
 *** 2017.09.19 500
        500 http://packages.linuxmint.com sylvia/main amd64 Packages
        500 http://packages.linuxmint.com sylvia/main i386 Packages
        100 /var/lib/dpkg/status
 
Old 05-17-2018, 07:07 AM   #54
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
Ok, that's great.

Let's get that new kernel installed.

In the Update Manager: View->Linux kernels. Then click on the latest kernel in the 4.13.x range (so that we're ahead of the game regarding Meltdown and Spectre) and select "Install". If all goes well, reboot.
 
1 members found this post helpful.
Old 05-17-2018, 07:43 AM   #55
paxolin
Member
 
Registered: Jan 2017
Location: Thailand
Distribution: Mint 20.3 Cinnamon 64-bit 12Gb RAM (Linux newbie, Dummies level)
Posts: 412

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
Ok, that's great.

Let's get that new kernel installed.

In the Update Manager: View->Linux kernels. Then click on the latest kernel in the 4.13.x range (so that we're ahead of the game regarding Meltdown and Spectre) and select "Install". If all goes well, reboot.
Installed 4.13.0-41 and having rebooted, this is confirmed in System Info.
 
Old 05-17-2018, 07:50 AM   #56
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
Good stuff.

If you are so inclined, and I would advise that you be so, you could create another system image of your Linux partition in its current state. This means that if anything goes awry in the future, you can roll back to now, Mint 18.3, rather than have to roll back all the way to 18.2 and upgrade again.

Just for info, Mint 19 will be available next month, most probably, and you will be able to upgrade from 18.3 to 19 as you did from 18.2 to 18.3 (remember to make a system image before carrying out the upgrade).

Anyway, let's go right back to the reason for this thread. Is Simple Scan working again or is there still an issue with it?
 
Old 05-17-2018, 08:02 AM   #57
paxolin
Member
 
Registered: Jan 2017
Location: Thailand
Distribution: Mint 20.3 Cinnamon 64-bit 12Gb RAM (Linux newbie, Dummies level)
Posts: 412

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
Good stuff.

If you are so inclined, and I would advise that you be so, you could create another system image of your Linux partition in its current state. This means that if anything goes awry in the future, you can roll back to now, Mint 18.3, rather than have to roll back all the way to 18.2 and upgrade again.

Just for info, Mint 19 will be available next month, most probably, and you will be able to upgrade from 18.3 to 19 as you did from 18.2 to 18.3 (remember to make a system image before carrying out the upgrade).

Anyway, let's go right back to the reason for this thread. Is Simple Scan working again or is there still an issue with it?
Crikey, you're on the ball! I've been so involved in this upgrade, that wasn't even on my mind!
No it's not working.
Quick recap: After Mint locked up one of many times, restarted and Simple scan wouldn't run. Another member suggested I un-install and re-install.
Did that, noting that Simple Scan was originally listed in Synaptic Package Manager as Unbuntu, after re-install it was listed as 32.20.0-0linuxmint1, but still wouldn't run. In terminal, typing simple-scan produces: Segmentation fault
 
Old 05-17-2018, 08:12 AM   #58
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 paxolin View Post
Crikey, you're on the ball! I've been so involved in this upgrade, that wasn't even on my mind!
No it's not working.
Quick recap: After Mint locked up one of many times, restarted and Simple scan wouldn't run. Another member suggested I un-install and re-install.
Did that, noting that Simple Scan was originally listed in Synaptic Package Manager as Unbuntu, after re-install it was listed as 32.20.0-0linuxmint1, but still wouldn't run. In terminal, typing simple-scan produces: Segmentation fault
Darn, I wish I hadn't remembered.

Try the following:
Code:
rm -r ~/.cache/simple-scan/autosaves/

rm ~/.cache/simple-scan/state
Then try simple-scan again.
 
1 members found this post helpful.
Old 05-17-2018, 08:22 AM   #59
paxolin
Member
 
Registered: Jan 2017
Location: Thailand
Distribution: Mint 20.3 Cinnamon 64-bit 12Gb RAM (Linux newbie, Dummies level)
Posts: 412

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
Darn, I wish I hadn't remembered.

Try the following:
Code:
rm -r ~/.cache/simple-scan/autosaves/

rm ~/.cache/simple-scan/state
Then try simple-scan again.
Hell.....! It works! Thanks so much. What in layman's terms is a segmentation fault, and how did you get rid of it?
 
Old 05-17-2018, 08:30 AM   #60
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 paxolin View Post
Hell.....! It works! Thanks so much. What in layman's terms is a segmentation fault, and how did you get rid of it?
Yay!

A segmentation fault is where a process tries to access memory that doesn't belong to it (or so it says on a web page I found).

I just used my Google-fu, searching for "simple-scan" segmentation fault, which returned the following page:

https://askubuntu.com/questions/5164...un-in-terminal

and suggested you try the top answer. We all stand on the shoulders of giants.

I suppose I could have just done that right at the start, but then we would have missed out on all the fun of providing you with an up-to-date version of Mint with some servicing thrown in, and showing you how to make system images. Thanks for bearing with me!
 
  


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
Mint 18 Cinnamon - can I use the Mint-X background as the lock screen? EssCee Linux - Newbie 2 11-20-2016 05:23 AM
Where is Ubuntu, Unity or Cinnamon password program defined? mfoley Ubuntu 2 01-09-2016 06:07 PM
should my program lock /etc/.pwd.lock when reading /etc/passwd? fpemud Linux - Server 1 10-09-2014 01:22 PM
LXer: How to disable lock screen in Linux Mint 13 Cinnamon LXer Syndicated Linux News 0 06-30-2012 10:50 PM
deian yum lock [ ERR] Reading state information E: Could not get lock /var/lock/aptit jayakumar01 Linux - Server 1 12-05-2011 11:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint

All times are GMT -5. The time now is 02:37 PM.

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