LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-08-2018, 03:16 PM   #16
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930

Code:
sudo apt-get update
sudo apt-get install dos2unix
Then use the dos2unix command to change all the files given from Canon into Unix file types, you can use a wildcard to do this.

I'm assuming you'll need to install it, I have Mint 18.1 and didn't have the command, but was able to install it.

EDIT: @bw-userx there is no dos2linux, ... Unix.

Last edited by rtmistler; 02-08-2018 at 03:17 PM.
 
Old 02-08-2018, 03:18 PM   #17
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
dos2unix – Removing Hidden Windows Characters from Files
I was close. off by a few letters.
 
Old 02-08-2018, 03:24 PM   #18
weinelb
Member
 
Registered: Feb 2018
Posts: 39

Original Poster
Rep: Reputation: Disabled
Red face

BW-userx,

It might, but I'm not willing to go through 1,883 lines to see every file used (with the risk of missing one). First, I'll see what Canon Support will do...
 
Old 02-08-2018, 03:28 PM   #19
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Quote:
Originally Posted by weinelb View Post
BW-userx,

It might, but I'm not willing to go through 1,883 lines to see every file used (with the risk of missing one). First, I'll see what Canon Support will do...
They're all in a directory, right?
Code:
find . -name "*" -exec dos2unix {} \;
 
Old 02-08-2018, 03:29 PM   #20
weinelb
Member
 
Registered: Feb 2018
Posts: 39

Original Poster
Rep: Reputation: Disabled
rtmistler,

Install would probably work on Intel, but I have a 64 bit AMD Athelon X2 and install of dos2unix fails with “error processing package libjpeg62:amd64 package is in a very bad inconsistent state”.

And the packages are one directory while resource files are in another. Not that it matters since do2unix install fails.

Last edited by weinelb; 02-08-2018 at 03:31 PM.
 
Old 02-08-2018, 03:30 PM   #21
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by weinelb View Post
BW-userx,

It might, but I'm not willing to go through 1,883 lines to see every file used (with the risk of missing one). First, I'll see what Canon Support will do...
running dos2unix, I've never had to, but if it is just a issue command file then,
Code:
cd into directory
dos2unix *
let it run then if it has issues you have a backup in your tar file, so you're not losing anything other then the time it takes to let the program run vs the time it will take dealing with a help "desk" ... you could actually do both, run dos2unix on one set of files form your deb tar, then you can still untar it again into a different dir for the help "desk" people.

which ever completes first with good usable files, use them

Last edited by BW-userx; 02-08-2018 at 03:31 PM.
 
Old 02-08-2018, 03:41 PM   #22
weinelb
Member
 
Registered: Feb 2018
Posts: 39

Original Poster
Rep: Reputation: Disabled
rtmistler & BW-userx,

Calling it a day after 12 hours fiddling with Mint (but did get "shutdown" issue fixed0. Will pick it up circa 0430 tomorrow morning.

rtmistler,

Any thoughts on my install issue? Have latest version of "amd64-microcode" installed. Bye for now...
 
Old 02-08-2018, 03:57 PM   #23
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,727

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
I too had to install it on my brand-new desktop (AMD E-350 Processor, 2 cores) - but I thought you already had it...you ran it against the script as in post #8, yes?
 
Old 02-08-2018, 04:14 PM   #24
weinelb
Member
 
Registered: Feb 2018
Posts: 39

Original Poster
Rep: Reputation: Disabled
Wink

scasey,

No, I cheated. When dos2unix wouldn't install I copied it to a USB stick then used UltraEdit under Windows to convert DOS to Unix and then saved the result. I run 3 PCs under Windows 7 Pro, 1 on XP Pro, 1 on Win10 (which I loathe) and a MacBookPro 15 under Sierra 10.12.6; all on both a 100GHz Ethernet LAN and an 802.11agnac WiFi net. I used a memory stick because I only put the Linux machine on my Ethernet when I want to download a driver or other package (because I have to steal the RG-45 cable from a Win7 laptop).
 
Old 02-08-2018, 04:34 PM   #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
Once again, I direct folks' attention to https://www.linuxquestions.org/quest...ml#post5805778 where someone successfully used that script a month ago here on LQ.

Looks like corruption at some point.
 
1 members found this post helpful.
Old 02-09-2018, 05:49 AM   #26
weinelb
Member
 
Registered: Feb 2018
Posts: 39

Original Poster
Rep: Reputation: Disabled
Smile

hydrurga,

Yes it was corruption. Canon Support asked me to visit the site again and sure enough the "Operating System" on the Drivers download page said “Windows 7 (detected)”. They advised manually changing that to be “Linus 64bit” then download again.

Voilŕ! The debian package worked without errors and my Canon TS6020 is now installed and working. When asked why their page misidentified my environment their answer was just "It may be your browser or a system setting." I'd have liked a more definitive answer, but their advice got me working.
 
Old 02-09-2018, 08:15 AM   #27
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
talk about passing the buck, I'm surprised you didn't get,the defacto,

"It's not my department, mam/sir"
 
Old 02-10-2018, 12:10 PM   #28
weinelb
Member
 
Registered: Feb 2018
Posts: 39

Original Poster
Rep: Reputation: Disabled
Cool

BW-userx,

The “pass the buck” response arrived today via emai. It came from a support guy other than the one with whom spoke:
Code:
On 2/10/2018 7:37 AM, Canon Support wrote:
>
> Dear Bruce Weinel,
>
> Thank you for contacting Canon product support. I apologize for the delayed
> response. I understand you would like drivers for the PIXMA TS6020. I can advise you.
>
> The PIXMA TS6020 is only supported with Windows and Mac OS operating systems. I apologize for the
> inconvenience but there are no drivers available for the TS6020 with Linux. The message displayed in the
> attachment was being caused from updates with the Canon website which have since been completed. The
> following link will allow you to view the drivers available for the PIXMA TS6020.
> https://www.usa.canon.com/internet/portal/us/home/support/details/printers/inkjet-multifunction/ts-series-inkjet/ts6020-black/pixma-ts6020#drivers_downloads_tab
>
> Please let us know if we can be of any further assistance.
>
> Thank you for choosing Canon.
>
> Sincerely,
>
> Cameron
> Technical Support Representative
Amazing that an “unsupported” device has a driver that works when one overrides a malfunctioning web page isn't it?

Last edited by weinelb; 02-10-2018 at 12:19 PM.
 
  


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
Linux Mint-18 zenity-notification hangs my backup Shell Script WildDrake! Programming 2 08-14-2016 01:58 PM
Invoking java from a bash terminal via shell script fails under Mint Debian rizwanjavaid Programming 3 02-16-2011 01:36 PM
Shell script: not able to find jags.singh Programming 8 06-15-2007 10:12 AM
find shell script help liren Linux - Newbie 3 05-02-2005 03:05 PM
how to find the pid of a perl script from shell script toovato Linux - General 1 12-19-2003 06:25 PM

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

All times are GMT -5. The time now is 12:28 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