LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux Mint (https://www.linuxquestions.org/questions/linux-mint-84/)
-   -   After Cinnamon lock-up can’t access one particular program (https://www.linuxquestions.org/questions/linux-mint-84/after-cinnamon-lock-up-can%92t-access-one-particular-program-4175628573/)

paxolin 04-27-2018 10:33 PM

After Cinnamon lock-up can’t access one particular program
 
In the past four weeks Cinnamon has locked up eleven times. However, I’ll raise that separately later. I have Cinnamon 18.2 64 bit with 12Gb RAM

The last time it locked up, I was running Simple Scan, which allows me to access my printer/scanner. After I reset Cinnamon I found that when I clicked on the icon to run Simple Scan, it does nothing at all. It doesn’t pause and not run, it just seems to ignore it completely.

Is there something straightforward I can do to get it working again?

Keith Hedger 04-29-2018 06:51 PM

You have probably coruptted one or more of the app files, re-install

paxolin 04-29-2018 09:50 PM

I followed the suggestion to re-install Simple Scan.

First went into Synaptic Package Manager and found Simple Scan, highlighted it ‘Mark for Complete Removal’, then ‘Apply’.
It appeared to have removed it. It disappeared from the Menu.
I seem to remember it said all the configuration files were removed too.

Then I followed the instructions I saved when another member helped me install it a year ago:

Code:

sudo apt-get update
sudo apt-get install simple-scan

Simple Scan re-appeared on the Menu, but it still won’t run. Same problem as before – clicking on it does nothing at all.

As an aside, I notice originally it said it was ubuntu, now it is linuxmint.
I have a copy of what was reported in terminal when I re-installed. If necessary I can post that.

paxolin 05-13-2018 10:04 AM

Does anyone have any ideas how I can get Simple Scan working again?

hydrurga 05-13-2018 10:14 AM

If running an application through the GUI fails to work, one of the first things to try is to run the application on the command line and see if any errors/warnings are generated.

So, enter simple-scan on the command line and see what output you get.

paxolin 05-13-2018 10:22 AM

Quote:

Originally Posted by hydrurga (Post 5854091)
If running an application through the GUI fails to work, one of the first things to try is to run the application on the command line and see if any errors/warnings are generated.

So, enter simple-scan on the command line and see what output you get.

Hi hydrurga!
This is what happened:
Code:

~ $ simple-scan
Segmentation fault


hydrurga 05-13-2018 10:30 AM

That indicates that simple-scan tried to use a memory address outside the memory that was allocated to it. Generally not a great sign. This might tie in with the Cinnamon errors you've been getting. How long have you been getting these lockups, and do you have a system image or backup before they started to which you can roll back? Are you running TimeShift?

Can I check which kernel you're using?

Code:

uname -r

paxolin 05-13-2018 10:45 AM

Quote:

Originally Posted by hydrurga (Post 5854102)
That indicates that simple-scan tried to use a memory address outside the memory that was allocated to it. Generally not a great sign. This might tie in with the Cinnamon errors you've been getting. How long have you been getting these lockups, and do you have a system image or backup before they started to which you can roll back? Are you running TimeShift?

Can I check which kernel you're using?

Code:

uname -r

The lockups have been happening for nearly six weeks now. In that time there's been fifteen of them.

System image or backup? No.
I have a Seagate USB backup drive that works fine with Windows software, but trying to use it under Linux - I've given up, as I don't know what I should be backing up or how.
I can use it in Cinnamon, but only for straightforward reading/copying.
TimeShift - no idea what that means?

Code:

~ $ uname -r
4.4.0-122-generic


hydrurga 05-13-2018 10:52 AM

Ok, it's a separate issue, but you should be doing two things: (i) backing up your data regularly; (ii) making system images/snapshots regularly. If you had done the latter, you could have rewound back to before the Cinnamon problem started occurring. You should start a new thread and ask for advice if you don't know how to do this.

Because you've experiencing intermittent problems, I'm going to go back to basics and check that your package system is fine.

Please paste the output from the following commands (if there is any output).

Code:

apt check

dpkg --audit


paxolin 05-13-2018 09:20 PM

Quote:

Originally Posted by hydrurga (Post 5854115)
Ok, it's a separate issue, but you should be doing two things: (i) backing up your data regularly; (ii) making system images/snapshots regularly. If you had done the latter, you could have rewound back to before the Cinnamon problem started occurring. You should start a new thread and ask for advice if you don't know how to do this.

Because you've experiencing intermittent problems, I'm going to go back to basics and check that your package system is fine.

Please paste the output from the following commands (if there is any output).

Code:

apt check

dpkg --audit



First things first:
Code:

$ apt check
[sudo] password for watt:
Reading package lists... Done
Building dependency tree     
Reading state information... Done

Code:

~ $ dpkg --audit
That produced nothing.

I assume I'll need to ask about snapshots and system images separately, whatever they are?

hydrurga 05-14-2018 03:35 AM

Thanks. Yes, it's probably best to ask about those separately, but I'll give you some pointers before you do.

Next, let's check that the packages are up to date:

Code:

apt update

apt list --upgradable


paxolin 05-14-2018 05:53 AM

Quote:

Originally Posted by hydrurga (Post 5854452)
Thanks. Yes, it's probably best to ask about those separately, but I'll give you some pointers before you do.

Next, let's check that the packages are up to date:

Code:

apt update

apt list --upgradable


Okey kokey, here are all the details:

Code:

~ $ apt update
[sudo] password for watt:
Hit:1 https://repo.skype.com/deb stable InRelease
Hit:2 https://deb.opera.com/opera-stable stable InRelease                     
Hit:3 http://ppa.launchpad.net/dlech/keepass2-plugins/ubuntu xenial InRelease 
Ign:4 http://packages.linuxmint.com sonya InRelease                           
Get:5 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB]   
Hit:6 http://archive.canonical.com/ubuntu xenial InRelease                   
Hit:7 http://archive.ubuntu.com/ubuntu xenial InRelease                       
Hit:8 http://ppa.launchpad.net/jtaylor/keepass/ubuntu xenial InRelease       
Get:9 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]     
Hit:10 http://deb.torproject.org/torproject.org xenial InRelease             
Hit:11 http://packages.linuxmint.com sonya Release                           
Get:13 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]   
Get:14 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [627 kB]
Get:15 http://archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [577 kB]
Get:16 http://archive.ubuntu.com/ubuntu xenial-updates/universe Translation-en [252 kB]
Fetched 1,779 kB in 3s (475 kB/s)                               
Reading package lists... Done
Building dependency tree     
Reading state information... Done
34 packages can be upgraded. Run 'apt list --upgradable' to see them.


Code:

~ $ apt list --upgradable
Listing... Done
cinnamon-screensaver/sonya,sonya 3.4.4+sonya all [upgradable from: 3.4.2+sonya]
cinnamon-screensaver-pam-helper/sonya 3.4.4+sonya amd64 [upgradable from: 3.4.2+sonya]
cinnamon-screensaver-x-plugin/sonya,sonya 3.4.4+sonya all [upgradable from: 3.4.2+sonya]
grub-common/xenial-updates 2.02~beta2-36ubuntu3.17 amd64 [upgradable from: 2.02~beta2-36ubuntu3.11]
grub-pc/xenial-updates 2.02~beta2-36ubuntu3.17 amd64 [upgradable from: 2.02~beta2-36ubuntu3.11]
grub-pc-bin/xenial-updates 2.02~beta2-36ubuntu3.17 amd64 [upgradable from: 2.02~beta2-36ubuntu3.11]
grub2-common/xenial-updates 2.02~beta2-36ubuntu3.17 amd64 [upgradable from: 2.02~beta2-36ubuntu3.11]
libcaja-extension1/sonya 1.18.5-1+sonya amd64 [upgradable from: 1.18.3-1+sonya]
libcscreensaver0/sonya 3.4.4+sonya amd64 [upgradable from: 3.4.2+sonya]
libegl1-mesa/xenial-updates 17.2.8-0ubuntu0~16.04.1 amd64 [upgradable from: 12.0.6-0ubuntu0.16.04.1]
libgbm1/xenial-updates 17.2.8-0ubuntu0~16.04.1 amd64 [upgradable from: 12.0.6-0ubuntu0.16.04.1]
libgl1-mesa-dri/xenial-updates 17.2.8-0ubuntu0~16.04.1 i386 [upgradable from: 12.0.6-0ubuntu0.16.04.1]
libgl1-mesa-glx/xenial-updates 17.2.8-0ubuntu0~16.04.1 i386 [upgradable from: 12.0.6-0ubuntu0.16.04.1]
libglapi-mesa/xenial-updates 17.2.8-0ubuntu0~16.04.1 i386 [upgradable from: 12.0.6-0ubuntu0.16.04.1]
libgles1-mesa/xenial-updates,xenial-updates 17.2.8-0ubuntu0~16.04.1 amd64 [upgradable from: 12.0.6-0ubuntu0.16.04.1]
libgles2-mesa/xenial-updates 17.2.8-0ubuntu0~16.04.1 amd64 [upgradable from: 12.0.6-0ubuntu0.16.04.1]
libmozjs-24-0v5/xenial-updates 24.2.0-3ubuntu2.1 amd64 [upgradable from: 24.2.0-3ubuntu2]
libpam-systemd/xenial-updates 229-4ubuntu21.2 amd64 [upgradable from: 229-4ubuntu21.1]
libsystemd0/xenial-updates 229-4ubuntu21.2 amd64 [upgradable from: 229-4ubuntu21.1]
libudev1/xenial-updates 229-4ubuntu21.2 amd64 [upgradable from: 229-4ubuntu21.1]
libwayland-egl1-mesa/xenial-updates 17.2.8-0ubuntu0~16.04.1 amd64 [upgradable from: 12.0.6-0ubuntu0.16.04.1]
libxatracker2/xenial-updates 17.2.8-0ubuntu0~16.04.1 amd64 [upgradable from: 12.0.6-0ubuntu0.16.04.1]
linux-kernel-generic/sonya,sonya 4.8.0-53.1 all [upgradable from: 4.4.0-21]
ndiswrapper/xenial-updates 1.60-3~ubuntu16.04.2 amd64 [upgradable from: 1.60-3~ubuntu16.04.1]
ndiswrapper-dkms/xenial-updates,xenial-updates 1.60-3~ubuntu16.04.2 all [upgradable from: 1.60-3~ubuntu16.04.1]
ndiswrapper-utils-1.9/xenial-updates,xenial-updates 1.60-3~ubuntu16.04.2 all [upgradable from: 1.60-3~ubuntu16.04.1]
systemd/xenial-updates 229-4ubuntu21.2 amd64 [upgradable from: 229-4ubuntu21.1]
systemd-sysv/xenial-updates 229-4ubuntu21.2 amd64 [upgradable from: 229-4ubuntu21.1]
udev/xenial-updates 229-4ubuntu21.2 amd64 [upgradable from: 229-4ubuntu21.1]
watt@PCMint ~ $

Does that tell you anything?

hydrurga 05-14-2018 10:31 AM

Quote:

Originally Posted by paxolin (Post 5854486)
Does that tell you anything?

It tells me that your system isn't entirely up-to-date. The more that this is true, the greater the possibility that problems may be encountered when it is eventually brought up-to-date.

Before we upgrade those packages, let's just check your software sources. Please paste the output from:

Code:

inxi -r

paxolin 05-14-2018 10:48 AM

Here you are:
Code:

~ $ inxi -r
Repos:    Active apt sources in file: /etc/apt/sources.list.d/dlech-keepass2-plugins-xenial.list
          deb http://ppa.launchpad.net/dlech/keepass2-plugins/ubuntu xenial main
          deb-src http://ppa.launchpad.net/dlech/keepass2-plugins/ubuntu xenial main
          Active apt sources in file: /etc/apt/sources.list.d/jtaylor-keepass-xenial.list
          deb http://ppa.launchpad.net/jtaylor/keepass/ubuntu xenial main
          deb-src http://ppa.launchpad.net/jtaylor/keepass/ubuntu xenial main
          Active apt sources in file: /etc/apt/sources.list.d/official-package-repositories.list
          deb http://packages.linuxmint.com sonya main upstream import backport #id:linuxmint_main
          deb http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse
          deb http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse
          deb http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse
          deb http://security.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
          deb http://archive.canonical.com/ubuntu/ xenial partner
          Active apt sources in file: /etc/apt/sources.list.d/opera-stable.list
          deb https://deb.opera.com/opera-stable/ stable non-free #Opera Browser (final releases)
          Active apt sources in file: /etc/apt/sources.list.d/skype-stable.list
          deb [arch=amd64] https://repo.skype.com/deb stable main
          Active apt sources in file: /etc/apt/sources.list.d/tor-xenial.list
          deb http://deb.torproject.org/torproject.org xenial main
          deb-src http://deb.torproject.org/torproject.org xenial main
watt@PCMint ~ $


hydrurga 05-14-2018 11:05 AM

Ok. That appears to be ok. Is there any particular reason that you are running Mint 18.2 and not 18.3?

I would suggest updating those 34 packages that were listed before, but perhaps it would be a good idea for you first to install TimeShift and back up your system, and also to back up your data using whatever method is decided upon. Your call. Do you have an external hard disk to which you can back up your data?


All times are GMT -5. The time now is 09:35 AM.