Author Topic: Scangearmp2 SOLVED.  (Read 1914 times)

0 Members and 1 Guest are viewing this topic.

Offline Keith

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1321
  • Karma: 20
  • Gender: Male
  • Linux Novice
    • View Profile
    • Awards
Re: Scangearmp2
« Reply #45 on: December 28, 2020, 03:56:24 pm »
Hmmm.  This is very similar to the error you had right at the beginning.  I don't know what's causing it but it looks like some library files are screwed up. 

Sorry, Old Bean, I am flummoxed. 
If simple-scan is not working I suggest that remove it and re-install it - at least that is easy.  Let me know if you want to do that. 

Keith

Offline 19goalie50nxQ

  • Jr. Member
  • **
  • Posts: 96
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Scangearmp2
« Reply #46 on: December 28, 2020, 04:09:10 pm »
Hi Keith.

I'm sorry I've caused you so much hassle, I go along with the suggestion about Simple Scan. Is it worth having another look at Rich J suggestions which got Simple Scan working with the Canon scanner before I started getting the abortive Scangear updates? or should I try removingt and re-install Simple Scan first.

Goalie

The Linux Community Forum

Re: Scangearmp2
« Reply #46 on: December 28, 2020, 04:09:10 pm »

Offline Keith

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1321
  • Karma: 20
  • Gender: Male
  • Linux Novice
    • View Profile
    • Awards
Re: Scangearmp2
« Reply #47 on: December 28, 2020, 04:21:40 pm »
Hi Goalie.

Not to worry - it's what we're here for. 
The error message indicated a "broken pipe" so it looks like a file is missing in one of the libraries. 
OK, so let's try re-installing simple-scan:
Code: [Select]
sudo apt --purge remove simple-scan
Supply your password when asked and answer "y" when asked to continue.

Then
Code: [Select]
sudo apt install simple-scan
and report the result.

Offline 19goalie50nxQ

  • Jr. Member
  • **
  • Posts: 96
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Scangearmp2
« Reply #48 on: December 28, 2020, 04:32:23 pm »
Hi Keith.

No joy removed and reinstalled Simple Scan a couple of times and each time couldn't connect to Canon scanner. Not to worry I'll try Rich J suggestions again and will let you know how I get on later.

Once again many thanks for your assistance and patience with this problem. One more thing could you explain how I use the Text Editor which I find that its Xed that is the default editor in Mint which I didn't spot is also installed.

Goalie

Offline Keith

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1321
  • Karma: 20
  • Gender: Male
  • Linux Novice
    • View Profile
    • Awards
Re: Scangearmp2
« Reply #49 on: December 28, 2020, 04:46:19 pm »
Is this the Canon Pixma TR8550 printer that you mentioned ages ago? If so, can you print to it or is that function dead, too?  If it won't respond to anything perhaps uninstalling/re-installing the printer might help.  I've had to do that in the past.  Worth a try before anything else, I think. 

Re text editors.  They are really simple and very useful.  Generally one can't format the text but for many things that's fine and the files are smaller. 
When you open the editor, just start typing.  When you have finished, just save with an appropriate filename and destination, then close the editor - easy. 
When you come to writing Linux scripts you will be using a text editor all the time.  There are some fancy ones about (I use Kate) but one can set up gedit to make lines easy to find, etc.  Let me know if you are interested. 

Meanwhile:  sorry I couldn't help you.  I shall keep an eye on this topic and let you know if I have any ideas.

Keith

The Linux Community Forum

Re: Scangearmp2
« Reply #49 on: December 28, 2020, 04:46:19 pm »

Offline 19goalie50nxQ

  • Jr. Member
  • **
  • Posts: 96
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Scangearmp2
« Reply #50 on: December 28, 2020, 04:58:54 pm »
Hi Keith.

Tried Rich J suggestions but no joy, it does say that it encountered a "broken pipe" in the details of the failure to connect. Its a pity I can't get the scanner to work I do use it quite often. its not "all doom & gloom" I can still print from the computer to the Canon which is the one . A thought did go through my mind as to your suggestion about remove and reinstall the printer drive I might try that. Will let you know how I get on if I decide to reinstate the printer drive etc.

Thanks also for your advice on using the text editor will try to use it more often.

Goalie

Offline Keith

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1321
  • Karma: 20
  • Gender: Male
  • Linux Novice
    • View Profile
    • Awards
Re: Scangearmp2
« Reply #51 on: December 28, 2020, 07:01:42 pm »
OK Goalie.  If that doesn't work, I have an idea about the broken pipe.

Keith

Offline 19goalie50nxQ

  • Jr. Member
  • **
  • Posts: 96
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Scangearmp2
« Reply #52 on: December 28, 2020, 07:27:18 pm »
Hi Keith.

A glutton for punishment.lol  I haven't tried removing and reinstalling the printer drive yet, to be honest I'm nervous about doing it in case I do something wrong and end up without the printer drive as well. So lets try your idea about the "broken pipe" worth a try.

Goalie

Offline Keith

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1321
  • Karma: 20
  • Gender: Male
  • Linux Novice
    • View Profile
    • Awards
Re: Scangearmp2
« Reply #53 on: December 28, 2020, 07:33:56 pm »
Well, I'm just clutching at straws, really, but try this:
Code: [Select]
sudo mv /usr/lib/libcncpmslld2.so.3.0.0   /usr/lib/libcncpmslld2.so.3.0.0.bak
Then
Code: [Select]
install.sh
....and post the result.

By the way: have you noticed that you can copy the code accurately by clicking on the [Select]?

The Linux Community Forum

Re: Scangearmp2
« Reply #53 on: December 28, 2020, 07:33:56 pm »

Offline 19goalie50nxQ

  • Jr. Member
  • **
  • Posts: 96
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Scangearmp2
« Reply #54 on: December 28, 2020, 07:38:43 pm »
Keith.

Copy of result not sure if it has done the job or not :-
ScanGear MP
Version 3.60
Copyright CANON INC. 2007-2018

==================================================
Command executed = sudo dpkg -iG /home/kevin/.scangear/scangearmp2-3.60-1-deb/packages/scangearmp2_3.60-1_amd64.deb
(Reading database ... 376255 files and directories currently installed.)
Preparing to unpack .../scangearmp2_3.60-1_amd64.deb ...
Unpacking scangearmp2 (3.60-1) ...
dpkg: error processing archive /home/kevin/.scangear/scangearmp2-3.60-1-deb/packages/scangearmp2_3.60-1_amd64.deb (--install):
 trying to overwrite '/usr/lib/libcncpmslld2.so.3.0.0', which is also in package libcanon-proprio-bin 0.2+4.10-1804ubuntu1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /home/kevin/.scangear/scangearmp2-3.60-1-deb/packages/scangearmp2_3.60-1_amd64.deb
Command executed = sudo dpkg -P scangearmp2
dpkg: warning: ignoring request to remove scangearmp2 which isn't installed
[email protected]:~$

Goalie


Offline Keith

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1321
  • Karma: 20
  • Gender: Male
  • Linux Novice
    • View Profile
    • Awards
Re: Scangearmp2
« Reply #55 on: December 28, 2020, 07:43:46 pm »
Are you sure you did the sudo mv /usr/lib/libcncpmslld2.so.3.0.0   /usr/lib/libcncpmslld2.so.3.0.0.bak command first?  As the first file (that Canon is complaining about) should no longer exist. 

Please try
Code: [Select]
sudo ls  /usr/lib/libcncpmslld*
and show the output.

Offline 19goalie50nxQ

  • Jr. Member
  • **
  • Posts: 96
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Scangearmp2
« Reply #56 on: December 28, 2020, 07:49:19 pm »
This is full copy of first try :-

[email protected]:~$ sudo mv /usr/lib/libcncpmslld2.so.3.0.0   /usr/lib/libcncpmslld2.so.3.0.0.bak
[sudo] password for kevin:         
mv: cannot stat '/usr/lib/libcncpmslld2.so.3.0.0': No such file or directory
[email protected]:~$ install.sh
==================================================

ScanGear MP
Version 3.60
Copyright CANON INC. 2007-2018

==================================================
Command executed = sudo dpkg -iG /home/kevin/.scangear/scangearmp2-3.60-1-deb/packages/scangearmp2_3.60-1_amd64.deb
Selecting previously unselected package scangearmp2.
(Reading database ... 376255 files and directories currently installed.)
Preparing to unpack .../scangearmp2_3.60-1_amd64.deb ...
Unpacking scangearmp2 (3.60-1) ...
dpkg: error processing archive /home/kevin/.scangear/scangearmp2-3.60-1-deb/packages/scangearmp2_3.60-1_amd64.deb (--install):
 trying to overwrite '/usr/lib/libcncpmslld2.so.3.0.0', which is also in package libcanon-proprio-bin 0.2+4.10-1804ubuntu1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /home/kevin/.scangear/scangearmp2-3.60-1-deb/packages/scangearmp2_3.60-1_amd64.deb
Command executed = sudo dpkg -P scangearmp2
dpkg: warning: ignoring request to remove scangearmp2 which isn't installed
[email protected]:~$

I've not tried your latest code command until you have seen this copy let me know if you want me to try your latest code command.

Goalie

Offline Keith

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1321
  • Karma: 20
  • Gender: Male
  • Linux Novice
    • View Profile
    • Awards
Re: Scangearmp2
« Reply #57 on: December 28, 2020, 07:54:17 pm »
That is bizarre.  The first command tells us that the file does not exist (which what I expected) but the install command says it failed to overwrite it - implying that it is there. 
Yes, please do the last command just for completeness.

Offline 19goalie50nxQ

  • Jr. Member
  • **
  • Posts: 96
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Scangearmp2
« Reply #58 on: December 28, 2020, 07:57:44 pm »
Copy of last command :-

[email protected]:~$ sudo ls  /usr/lib/libcncpmslld*
[sudo] password for kevin:         
/usr/lib/libcncpmslld2.so.3  /usr/lib/libcncpmslld2.so.3.0.0.bak
[email protected]:~$

Goalie

Offline Keith

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1321
  • Karma: 20
  • Gender: Male
  • Linux Novice
    • View Profile
    • Awards
Re: Scangearmp2
« Reply #59 on: December 28, 2020, 08:00:46 pm »
Yes; that's what I was expecting.  So we must return the file back to its original state:
Code: [Select]
sudo mv /usr/lib/libcncpmslld2.so.3.0.0.bak   /usr/lib/libcncpmslld2.so.3.0.0
I'll have another think.

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal