LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-27-2022, 03:34 AM   #31
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,953
Blog Entries: 32

Rep: Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463

linux-man,

As per the recommendation, run:

Code:
sudo apt --fix-broken install
NB Use Copy & Paste to avoid typing errors.

This link may be useful:
https://www.fosslinux.com/8782/fix-b...n-packages.htm

Also, instead of right-clicking on cnijfilter2_5.90-1_amd64.deb, try double-clicking on it and you should arrive at the Gdebi Installer.

That's how it works on my Linux Mint system.

Last edited by beachboy2; 03-27-2022 at 03:44 AM.
 
Old 03-27-2022, 08:21 PM   #32
linux-man
Member
 
Registered: Nov 2016
Location: Geneva
Distribution: native install of Parrot Home Edition 5.0 Debian (no security tools) 64 bit, KDE, 5.14.0-9parrot1,
Posts: 867

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by beachboy2 View Post
linux-man,

As per the recommendation, run:

Code:
sudo apt --fix-broken install

Code:
#apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  libcupsimage2
The following NEW packages will be installed:
  libcupsimage2
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 124 kB of archives.
After this operation, 152 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 https://deb.parrot.sh/parrot rolling/main amd64 libcupsimage2 amd64 2.3.3op2-3+deb11u1 [124 kB]
Fetched 124 kB in 13s (9,243 B/s)                                              
Selecting previously unselected package libcupsimage2:amd64.
(Reading database ... 415898 files and directories currently installed.)
Preparing to unpack .../libcupsimage2_2.3.3op2-3+deb11u1_amd64.deb ...
Unpacking libcupsimage2:amd64 (2.3.3op2-3+deb11u1) ...
Setting up libcupsimage2:amd64 (2.3.3op2-3+deb11u1) ...
Setting up cnijfilter2 (5.90-1) ...
Processing triggers for libc-bin (2.31-13+deb11u2) ...
Scanning application launchers
Removing duplicate launchers or broken launchers
Launchers are updated
Code:
#sudo apt-get -f install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

sudo apt-get check
E: Invalid operation check

sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Quote:
Originally Posted by beachboy2 View Post
Also, instead of right-clicking on cnijfilter2_5.90-1_amd64.deb, try double-clicking on it and you should arrive at the Gdebi Installer.

That's how it works on my Linux Mint system.
I double clicked and 'Ark' archive manager came up
 
Old 03-27-2022, 08:25 PM   #33
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,327

Rep: Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481
Quote:
Originally Posted by linux-man View Post
In Archive Manager I see:
1 main yellow folder called cnijfilter2-5.90-1-deb.tar.gz
4 sub folders under it called:
documents
packages
resources
install.sh

When I clicked on extract for cnijfilter i get pop up window called 'extract' with flashing cursor in empty name box and empty filter box. What should I name it? Am I doing this correctly?
Did you even bother to read post #13 above? It tells you what to do.
 
Old 03-28-2022, 02:33 AM   #34
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,953
Blog Entries: 32

Rep: Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463
linux-man,

You appear to have double clicked on the original downloaded file cnijfilter2-5.90-1-deb.tar.gz, thus opening Ark.

That is the first part.

Click on Extract, click on Extract, click on X.

Then click on the recently created cnijfilter2-5.90-1-deb folder, then click on “packages” inside that folder.

Then double-click on the cnijfilter2_5.90-1_amd64.deb file inside “packages”.

Gdebi Installer should deal with the rest.

Last edited by beachboy2; 03-28-2022 at 02:41 AM.
 
Old 03-28-2022, 04:14 AM   #35
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,953
Blog Entries: 32

Rep: Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463
linux-man,

As ceantuco and computersavvy have suggested you can alternatively use the install.sh script to install the driver.

At the risk of confusing you even more, here is how to proceed:

Extract the tar.gz file (to Desktop in my case, so you may need to change this to Downloads or other location you may actually be using):

Code:
cd Desktop
tar xvf  cnijfilter2-5.90-1-deb.tar.gz
Find which folder the "install.sh" file is in.

In this case it is cnijfilter2-5.90-1-deb

Change directory to cnijfilter2-5.90-1-deb:

Code:
cd cnijfilter2-5.90-1-deb
Type chmod +x install.sh and press Enter.

Type bash install.sh and press Enter.

Enter root password when requested.

Your Terminal output should read something like this:

Code:
linux-man@pc:~/Desktop$ cd cnijfilter2-5.90-1-deb
linux-man@pc:~/Desktop/cnijfilter2-5.90-1-deb$ chmod +x install.sh
linux-man@pc:~/Desktop/cnijfilter2-5.90-1-deb$ bash install.sh
[sudo] password for linux-man:

Last edited by beachboy2; 03-28-2022 at 06:40 AM.
 
1 members found this post helpful.
Old 03-28-2022, 04:56 AM   #36
giesbert
Member
 
Registered: Aug 2003
Location: The Netherlands
Distribution: Debian 12
Posts: 57

Rep: Reputation: 12
Code:
tar xvzf cnijfilter2-5.90-1-deb.tar.gz
cd cnijfilter2-5.90-1-deb
sudo ./install.sh
 
Old 03-29-2022, 04:42 AM   #37
linux-man
Member
 
Registered: Nov 2016
Location: Geneva
Distribution: native install of Parrot Home Edition 5.0 Debian (no security tools) 64 bit, KDE, 5.14.0-9parrot1,
Posts: 867

Original Poster
Rep: Reputation: Disabled
bash worked for me

Quote:
Originally Posted by beachboy2 View Post
Type bash install.sh and press Enter.
Quote:
Originally Posted by giesbert View Post
Code:
tar xvzf cnijfilter2-5.90-1-deb.tar.gz
cd cnijfilter2-5.90-1-deb
sudo ./install.sh
I used bash install instead of sudo and it worked thanks. What's the difference between bash and sudo in this situation.
 
Old 03-29-2022, 04:54 AM   #38
linux-man
Member
 
Registered: Nov 2016
Location: Geneva
Distribution: native install of Parrot Home Edition 5.0 Debian (no security tools) 64 bit, KDE, 5.14.0-9parrot1,
Posts: 867

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by computersavvy View Post
Did you even bother to read post #13 above? It tells you what to do.
I had read that earlier,and it wasn't clear to me what to do, I felt there was something missing. Post#35 by beachboy was clearer.
 
Old 04-01-2022, 07:41 AM   #39
kareempharmacist
Member
 
Registered: Jan 2012
Location: Cairo, Egypt
Distribution: MX Linux, Ubuntu 18.04
Posts: 336

Rep: Reputation: 42
IMHO, It's Cannon's fault, not the OP. In the tar file, there is a folder named cnijfilter2_5.90-1-deb. It contains two Debian packages; cnijfilter2_5.90-1_amd64.deb and cnijfilter2_5.90-1_i386.deb. Since the OP decided to use the 64-bit version, he should use the cnijfilter2_5.90-1_amd64.deb package. The structure of the tar package is complicated. It's Cannon's fault, not the OP. It's not on OP. Cannon dedicated a package for the 64-bit version and yet it contains the i386 version (for 32-bit architecture). The only file he needs is the amd64 version.

I advise the OP to read about file compression in general and tar files in particular.

These days, there is no need to use the command line continuously. A lot of graphical tools have emerged. We need to go easy on the OP and light a candle for him or Linux will not shine anymore. Accusing him of being ignorant was a bit too harsh in my opinion.

Gdebi is a tool to install Debian packages us a graphical interface without needing a command line. If it is not installed, the distribution will offer to open the package with an archive manager such as Ark, Archive Manager or Peazip. BTW, Peazip has a version for Windows too.
linux-starters-guide-linux-open-source-replacements-windows-software/

Archive manager Linux/

IMHO, we are not in the era of typing some command to mount a CD or DVD. These days are gone. Smoothing Linux experience is the trend now, I guess. Veteran Linux users need newbies and vice versa because without newbies companies will not invest money and effort in making Linux ports of their applications and platforms. Linux users still can't have an easy way to use Onedrive from the desktop without a web browser. www.humblebundle.com stopped its support for Mac and Linux platforms. That is what happens to "uncommon" platforms.

I am not attacking anyone. I am just saying that unnecessary aggressiveness will deter new users from using Linux or even trying it. Windows 10 support will end in 2025. Many machines will not be eligible to upgrade to Windows 11. This is a great chance for Linux to emerge on the surface.

Many people around the world don't know what the word Linux means. Some never heard of it. Please, lessen the criticism and increase the pieces of advice given to new users.

I advise the OP poster to consider HP, Brother or Samsung brands when buying a printer in the future so as to get full Linux support.

A sincere piece of advice to the OP, please, read about Linux and software in general. If you have any questions, we are here for you as long as you comply with the forum rules.

Last edited by kareempharmacist; 04-03-2022 at 03:37 PM.
 
1 members found this post helpful.
Old 04-01-2022, 06:50 PM   #40
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,327

Rep: Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481
Quote:
Originally Posted by kareempharmacist View Post
IMHO, It's Cannon's fault, not the OP. In the tar file, there is a folder named cnijfilter2_5.90-1-deb. It contains two Debian packages; cnijfilter2_5.90-1_amd64.deb and cnijfilter2_5.90-1_i386.deb. Since the OP decided to use the 64-bit version, he should use the cnijfilter2_5.90-1_amd64.deb package. The structure of the tar package is complicated. It's Cannon's fault, not the OP. It's not on OP. Cannon dedicated a package for the 64-bit version and yet it contains the i386 version (for 32-bit architecture). The only file he needs is the amd64 version. I advise the OP to read about file compression in general and tar files in particular. These days, there is no need to use the command line continuously> A lot of graphical tools have emerged. We need to go easy on the OP and light a candle for him or Linux will not shine anymore. Accusing him of being ignorant was a bit too harsh in my opinion.
Gdebi is a tool to install Debian packages us a graphical interface without needing a command line. if it is not installed, the distribution will offer to open the package with an archive manager such as Ark, Archive Manager or Peazip. BTW, Peazip has a version for Windows too.
https://www.linuxlinks.com/linux-sta...dows-software/

Archive manager Linux/

IMHO, we are not in the era of typing some command to mount a CD or DVD. These days are gone. Smoothing Linux experience is the trend now, I guess. Veteran Linux users need newbies and vice versa because without newbies companies will not invest money and effort in making Linux ports of their applications and platforms. Linux users still can't have an easy way to use Onedrive from the desktop without a web browser. www.humblebundle.com stopped its support for Mac and Linux platforms. That is what happens to "uncommon" platforms. I am not attacking anyone. I am just saying that unnecessary aggressiveness will deter new users from using Linux or even trying it. Windows 10 support will end in 2025. Many machines will not be eligible to upgrade to Windows 11. This is a great chance for Linux to emerge on the surface. Many people around the world don't know what the word Linux means. Some never heard of it. Please, lessen the criticism and increase the pieces of advice given to new users. I advise the OP poster to consider HP, Brother or Samsung brands when buying a printer in the future so as to get full Linux support. A sincere piece of advice to the OP, please, read about Linux and software in general. If you have any questions, we are here for you as long as you comply with the forum rules.
It seems you are not in the habit of using paragraphs to make your posts readable. This is about the 4th thread you have posted in today where you use one paragraph for a 2 page post. It is hard to read and with the rant about not needing to know how to use a command line makes the post something I mostly ignore.

While I do agree that the OP needs to do things for himself and make an effort to learn, your bent of saying the command line is useless and not needed is really far off the mark. A gui is only capable of doing what its creator programmed in and while that may fit your needs it may not fit mine. Windows is a "one size fits all" package while the flexibility of linux to add or remove bits and customize the install to exactly what the user wants is the real beauty of an open source OS.

In the first half of this post you say we accused the OP of being ignorant. That is hardly the case. The difficulty of working with people on a forum is you can make suggestions and ask them to run exact commands that you provide. Then when they fail to follow exact instructions they are given in detail who do you think is at fault when the suggested fix does not work? (It did not work because it was not tried.)

We all deplore the fact that many manufacturers fail to provide adequate support for linux users and we have to compensate. We also vote with our $ as you suggest by purchasing devices where the manufacturer does provide better support.

Last edited by computersavvy; 04-01-2022 at 06:52 PM.
 
3 members found this post helpful.
Old 04-02-2022, 04:16 AM   #41
kareempharmacist
Member
 
Registered: Jan 2012
Location: Cairo, Egypt
Distribution: MX Linux, Ubuntu 18.04
Posts: 336

Rep: Reputation: 42
Quote:
Originally Posted by computersavvy View Post
It seems you are not in the habit of using paragraphs to make your posts readable. This is about the 4th thread you have posted in today where you use one paragraph for a 2 page post. It is hard to read.
I apologize. I will do my best in the future to make my posts more readable.

Last edited by kareempharmacist; 04-02-2022 at 04:26 AM.
 
Old 04-04-2022, 12:38 AM   #42
linux-man
Member
 
Registered: Nov 2016
Location: Geneva
Distribution: native install of Parrot Home Edition 5.0 Debian (no security tools) 64 bit, KDE, 5.14.0-9parrot1,
Posts: 867

Original Poster
Rep: Reputation: Disabled
I had it working when I clicked Solved but days later I just tried to print something and I got:

Warning
Could not start your printer
Check your configuration

The name of the printer was missing at this point

So I followed your instructions again and its working and I can see the model number of the printer again when I click Print. Any reason why I had to repeat this to get it working again?
 
Old 04-06-2022, 11:42 PM   #43
linux-man
Member
 
Registered: Nov 2016
Location: Geneva
Distribution: native install of Parrot Home Edition 5.0 Debian (no security tools) 64 bit, KDE, 5.14.0-9parrot1,
Posts: 867

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by beachboy2 View Post
linux-man,

As ceantuco and computersavvy have suggested you can alternatively use the install.sh script to install the driver.

At the risk of confusing you even more, here is how to proceed:

Extract the tar.gz file (to Desktop in my case, so you may need to change this to Downloads or other location you may actually be using):

Code:
cd Desktop
tar xvf  cnijfilter2-5.90-1-deb.tar.gz
Find which folder the "install.sh" file is in.

In this case it is cnijfilter2-5.90-1-deb

Change directory to cnijfilter2-5.90-1-deb:

Code:
cd cnijfilter2-5.90-1-deb
Type chmod +x install.sh and press Enter.

Type bash install.sh and press Enter.

Enter root password when requested.

Your Terminal output should read something like this:

Code:
linux-man@pc:~/Desktop$ cd cnijfilter2-5.90-1-deb
linux-man@pc:~/Desktop/cnijfilter2-5.90-1-deb$ chmod +x install.sh
linux-man@pc:~/Desktop/cnijfilter2-5.90-1-deb$ bash install.sh
[sudo] password for linux-man:
The commands worked but after each shutdown and restart of the computer, the canon printer is missing when I click Print, which means I have to input your commands again. Is there a reason why one install didn't suffice?

Code:
Enter the printer name.[TS3300USB-2]
Command executed = sudo /usr/sbin/lpadmin -p TS3300USB-2 -P /usr/share/cups/model/canonts3300.ppd -v cnijbe2://Canon/?port=usb&serial=
lpadmin: Printer drivers are deprecated and will stop working in a future version of CUPS.

#=========================================================#
#  Set as Default Printer
#=========================================================#
Do you want to set this printer as the default printer?
Enter [y] for Yes or [n] for No.[y]y

#=========================================================#
Installation has been completed.
Printer Name : TS3300USB-2
Select this printer name for printing.

Last edited by linux-man; 04-06-2022 at 11:48 PM.
 
Old 04-10-2022, 01:44 AM   #44
linux-man
Member
 
Registered: Nov 2016
Location: Geneva
Distribution: native install of Parrot Home Edition 5.0 Debian (no security tools) 64 bit, KDE, 5.14.0-9parrot1,
Posts: 867

Original Poster
Rep: Reputation: Disabled
reinstalling drivers for printer upon each power on

Upon each power off/on, the computer requires printer drivers to be reinstalled, is there a way to avoid this? I use these commands each occassion:
Code:
cd Desktop
tar xvf  cnijfilter2-5.90-1-deb.tar.gz

cd cnijfilter2-5.90-1-deb

/Desktop$ cd cnijfilter2-5.90-1-deb
/Desktop/cnijfilter2-5.90-1-deb$ chmod +x install.sh
/Desktop/cnijfilter2-5.90-1-deb$ bash install.sh

Last edited by linux-man; 04-11-2022 at 12:03 AM.
 
Old 04-10-2022, 09:36 PM   #45
iammike2
Member
 
Registered: Oct 2018
Location: SE-Asia/Europe
Distribution: Raspi OS bullseye-arm64
Posts: 69

Rep: Reputation: Disabled
Quote:
Originally Posted by linux-man View Post
Which brands tend to work seamlessly with linux?

I have a Brother DCP-T500W and I one time installed a Raspberry OS complete with Desktop and the printer was installed without me doing anything.



The Printer connects via Wireless so that maybe also helped
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LXer: Did your first pull request get accepted? LXer Syndicated Linux News 0 10-11-2018 09:50 PM
[SOLVED] CUPS: no printer found, root login not accepted the second time _roman_ Linux - Software 7 01-02-2018 07:53 PM
How easy is it to get kernel patches accepted ? metaschima Linux - Kernel 3 08-21-2014 02:39 PM
LXer: How to get your conference talk submission accepted LXer Syndicated Linux News 0 01-23-2014 05:51 PM
Password(s) accepted for login but not accepted for applications. JZL240I-U Ubuntu 29 02-14-2012 11:53 AM

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

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