Forum › Forums › New users › New Users and General Questions › How to install deb.tar.gz (printer Canon TS3150)?
- This topic has 22 replies, 5 voices, and was last updated Jun 29-12:10 pm by HateDogsBarking.
-
AuthorPosts
-
June 29, 2020 at 5:25 am #38206Member
HateDogsBarking
So I already extracted the file but I am not sure how to run it. Inside is the following:
– documents (folder)
– install.sh
– packages (folder)
– resources (folder)This driver is obtained from the official Canon website.
- This topic was modified 2 years, 10 months ago by HateDogsBarking.
- This topic was modified 2 years, 10 months ago by HateDogsBarking.
June 29, 2020 at 5:31 am #38208Member
Xecure
::RPM does not work on Debian based systems (only Fedora Suse and others). For debian you need the .deb.tar.gz version.
Download the deb.tar.gz Extract it and execute the .deb file in it.
antiX Live system enthusiast.
General Live Boot Parameters for antiX.June 29, 2020 at 5:40 am #38209MemberHateDogsBarking
::Thank you, so how do I execute this .deb file? When I right click it says “Archive-Exctract” or “Install with gdebi”. And when I click on this last option I get the error message:
Program /home/user/.config/rox.sourceforge.net/SendTo/.application_vnd.debian.binary-package/Install with gdebi not found – deleted?June 29, 2020 at 5:40 am #38210Member
sybok
::Actually, there is a DEB package alien that may help you to accomplish the task.
The sequence of commands could be
sudo apt update && sudo apt dist-upgrade && sudo apt install alien tar xvzf <name>.rmp.tar.gz alien --to-deb <name>.rpm dpkg --install <name>.debThe 1st line is to install the package ‘alien’ (if not already install).
WARNING: May fail due to missing dependencies, may break your system, i.e. use at your own risk!
Regarding the dependencies, try to find them in e.g. Fedora package list, find+install the corresponding closest DEB equivalents and attempt to re-install.
- This reply was modified 2 years, 10 months ago by sybok. Reason: Add alien install
June 29, 2020 at 5:44 am #38212Member
sybok
::First check (e.g. ‘apt search <keyword/name>’) whether the package is not in the Debian/antiX repositories already.
If not and you have downloaded the DEB equivalent-package, then you can use the command-line again, the
dpkg --install <name>.deb
command.June 29, 2020 at 6:40 am #38214Moderator
caprea
::Is your system up to date?
sudo apt updatesudo apt dist-upgradeOn an updated system, ” install with gdebi ” should work.
Otherwise go to gdebi from
menu > applications > system > gdebi
and in gdebi to the deb.fileJune 29, 2020 at 7:51 am #38215MemberHateDogsBarking
::Is your system up to date?
Apparently I had no “gdebi” (even when updated). Perhaps that is because I installed Antix 19 base.
But using “install with gdebi” I get the following error now (I updated my laptop as you said):
debconf: unable to initialize frontend: Gnome
debconf: (Can’t locate Gtk3.pm in @INC (you may need to install the Gtk3 module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/x86_64-linux-gnu/perl5/5.28 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Debconf/FrontEnd/Gnome.pm line 151, <> line 1.)
debconf: falling back to frontend: Dialog
Selecting previously unselected package libcupsimage2:amd64.
(Reading database … 160427 files and directories currently installed.)
Preparing to unpack …/libcupsimage2_2.2.10-6+deb10u3_amd64.deb …
Unpacking libcupsimage2:amd64 (2.2.10-6+deb10u3) …
Setting up libcupsimage2:amd64 (2.2.10-6+deb10u3) …
Processing triggers for libc-bin (2.28-10) …
Selecting previously unselected package cnijfilter2.
(Reading database … 160432 files and directories currently installed.)
Preparing to unpack …/cnijfilter2_5.50-1_amd64.deb …
Unpacking cnijfilter2 (5.50-1) …
Setting up cnijfilter2 (5.50-1) …
mkdir: cannot create directory ‘/usr/share/cups/model’: No such file or directory
ln: failed to create symbolic link ‘/usr/share/cups/model/canong3000.ppd’: No such file or directory
ln: failed to create symbolic link ‘/usr/share/cups/model/canone200.ppd’: No such file or directory
ln: failed to create symbolic link ‘/usr/share/cups/model/canonmg7700.ppd’: No such file or directory
ln: failed to create symbolic link ‘/usr/share/cups/model/canonib4100.ppd’: No such file or directory
ln: failed to create symbolic link ‘/usr/share/cups/model/canonts200.ppd’: No such file or directory
ln: failed to create symbolic link ‘/usr/share/cups/model/canonmb2700.ppd’: No such file or directory
ln: failed to create symbolic link ‘/usr/share/cups/model/canone480.ppd’: No such file or directory
ln: failed to create symbolic link ‘/usr/share/cups/model/canonmb5400.ppd’: No such file or directory
ln: failed to create symbolic link ‘/usr/share/cups/model/canonxk50.ppd’: No such file or directory
ln: failed to create symbolic link ‘/usr/share/cups/model/canonts9180.ppd’: No such file or directory
ln: failed to create symbolic link ‘/usr/share/cups/model/canonmb5000.ppd’: No such file or directory
ln: failed to create symbolic link ‘/usr/share/cups/model/canonmg6600.ppd’: No such file or directory
ln: failed to create symbolic link ‘/usr/share/cups/model/canonmb2300.ppd’: No such file or directory
ln: failed to create symbolic link ‘/usr/share/cups/model/canone3100.ppd’: No such file or directory
ln: failed to create symbolic link ‘/usr/share/cups/model/canonts6130.ppd’: No such file or directory
ln: failed to create symbolic link ‘/usr/share/cups/model/canontr8580.ppd’: No such file or directory
ln: failed to create symbolic link ‘/usr/share/cups/model/canonmb5300.ppd’: No such file or directory
ln: failed to create symbolic link ‘/usr/share/cups/model/canontr7530.ppd’: No such file or directory
ln: failed to create symbolic link ‘/usr/share/cups/model/canonmg5700.ppd’: No such file or directory
ln: failed to create symbolic link ‘/usr/share/cups/model/canonmb5100.ppd’: No such file or directory
ln: failed to create symbolic link ‘/usr/share/cups/model/canone470.ppd’: No such file or directory
ln: failed to create symbolic link ‘/usr/share/cups/model/canonts6000.ppd’: No such file or directory
ln: failed to create symbolic link ‘/usr/share/cups/model/canontr7500.ppd’: No such file or directory
ln: failed to create symbolic link ‘/usr/share/cups/model/canonib4000.ppd’: No such file or directory
ln: failed to create symbolic link ‘/usr/share/cups/model/canonmb2000.ppd’: No such file or directory
ln: failed to create symbolic link ‘/usr/share/cups/model/canonts8000.ppd’: No such file or directory
ln: failed to create symbolic link ‘/usr/share/cups/model/canonts8100.ppd’: No such file or directory
ln: failed to create symbolic link ‘/usr/share/cups/model/canonts3100.ppd’: No such file or directory
ln: failed to create symbolic link ‘/usr/share/cups/model/canonmg6800.ppd’: No such file or directory
ln: failed to create symbolic link ‘/usr/share/cups/model/canontr8530.ppd’: No such file or directory
ln: failed to create symbolic link ‘/usr/share/cups/model/canonip110.ppd’: No such file or directory
ln: failed to create symbolic link ‘/usr/share/cups/model/canonmg2900.ppd’: No such file or directory
ln: failed to create symbolic link ‘/usr/share/cups/model/canonts5100.ppd’: No such file or directory
ln: failed to create symbolic link ‘/usr/share/cups/model/canonts9100.ppd’: No such file or directory
ln: failed to create symbolic link ‘/usr/share/cups/model/canonts6180.ppd’: No such file or directory
ln: failed to create symbolic link ‘/usr/share/cups/model/canonmg3600.ppd’: No such file or directory
ln: failed to create symbolic link ‘/usr/share/cups/model/canonts5000.ppd’: No such file or directory
ln: failed to create symbolic link ‘/usr/share/cups/model/canonts6100.ppd’: No such file or directory
ln: failed to create symbolic link ‘/usr/share/cups/model/canone300.ppd’: No such file or directory
ln: failed to create symbolic link ‘/usr/share/cups/model/canonmb2100.ppd’: No such file or directory
ln: failed to create symbolic link ‘/usr/share/cups/model/canonxk70.ppd’: No such file or directory
ln: failed to create symbolic link ‘/usr/share/cups/model/canonmg7500.ppd’: No such file or directory
ln: failed to create symbolic link ‘/usr/share/cups/model/canone460.ppd’: No such file or directory
ln: failed to create symbolic link ‘/usr/share/cups/model/canontr8500.ppd’: No such file or directory
ln: failed to create symbolic link ‘/usr/share/cups/model/canonmg5600.ppd’: No such file or directory
ln: failed to create symbolic link ‘/usr/share/cups/model/canonmg6900.ppd’: No such file or directory
ln: failed to create symbolic link ‘/usr/share/cups/model/canong4000.ppd’: No such file or directory
ln: failed to create symbolic link ‘/usr/share/cups/model/canonmx490.ppd’: No such file or directory
ln: failed to create symbolic link ‘/usr/share/cups/model/canonts9000.ppd’: No such file or directory
ln: failed to create symbolic link ‘/usr/share/cups/model/canonts300.ppd’: No such file or directory
ln: failed to create symbolic link ‘/usr/share/cups/model/canonmg3000.ppd’: No such file or directory
ln: failed to create symbolic link ‘/usr/share/cups/model/canonts8130.ppd’: No such file or directory
ln: failed to create symbolic link ‘/usr/share/cups/model/canonts8180.ppd’: No such file or directory
dpkg: error processing package cnijfilter2 (–install):
installed cnijfilter2 package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
cnijfilter2- This reply was modified 2 years, 10 months ago by HateDogsBarking.
June 29, 2020 at 8:22 am #38218Member
Xecure
::sudo apt install cupsAfter this
sudo service cups startThen close Gdebi and open it again. Try to reinstall. If you cannot, uninstall, and hit Install again.
Now I understand what anticapitalista means when he is talking about not being able to build CD sized complete systems.
- This reply was modified 2 years, 10 months ago by Xecure.
antiX Live system enthusiast.
General Live Boot Parameters for antiX.June 29, 2020 at 8:43 am #38220MemberHateDogsBarking
::Thank you Xecure. I got it installed. However, when I want to print a document now (Libre office .odt) I only see the option “generic printer” and nothing happens when I click on it.
I also don’t see a menu item on my laptop named “Canon” or “printer”.
- This reply was modified 2 years, 10 months ago by HateDogsBarking.
- This reply was modified 2 years, 10 months ago by HateDogsBarking.
June 29, 2020 at 8:54 am #38224Member
Xecure
::Make sure that cups is running.
service cups statusInstall system-config printer
sudo apt install system-config-printer
Launch system-config-printer
system-config-printerIf you are having trouble, maybe this thread will help:
https://www.antixforum.com/forums/topic/printer-wont-print/antiX Live system enthusiast.
General Live Boot Parameters for antiX.June 29, 2020 at 9:11 am #38227MemberHateDogsBarking
::Is it even possible to print using an USB connection? Because I am not trying to print through a network.
June 29, 2020 at 9:19 am #38232Member
Xecure
::Setting up the printer with system-config-printer if it is connected to USB should work.
If you cannot get it to work, wait for an expert, like caprea, that has more experience with printers.
antiX Live system enthusiast.
General Live Boot Parameters for antiX.June 29, 2020 at 9:40 am #38235MemberHateDogsBarking
::Haha, I have time to wait. Had to write an important letter re my taxes. Wrote it old school with a pen.
No printer is found using “system-config-printer”. When I click on troubleshoot I am asked to give a username and password as authentication. I tried the serial number and ADMIN as username as recommended here: https://ugp01.c-ij.com/ij/webmanual/Others1/EN/PW/pw_default.html
I also tried username ADMIN and password canon.
Also I get the following message when using “system-config-printer”.
(system-config-printer.py:4896): dbind-WARNING **: 17:38:30.216: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
/usr/share/system-config-printer/system-config-printer.py:315: DeprecationWarning: Gtk.ActionGroup.list_actions is deprecated
for action in printer_manager_action_group.list_actions ():
/usr/share/system-config-printer/system-config-printer.py:316: DeprecationWarning: Gtk.Action.set_sensitive is deprecated
action.set_sensitive (False)
/usr/share/system-config-printer/system-config-printer.py:324: DeprecationWarning: Gtk.ActionGroup.get_action is deprecated
act = printer_manager_action_group.get_action (action)
/usr/share/system-config-printer/system-config-printer.py:354: DeprecationWarning: Gtk.UIManager.ensure_update is deprecated
self.ui_manager.ensure_update ()
/usr/share/system-config-printer/system-config-printer.py:355: DeprecationWarning: Gtk.UIManager.get_accel_group is deprecated
self.PrintersWindow.add_accel_group (self.ui_manager.get_accel_group ())
/usr/share/system-config-printer/system-config-printer.py:364: DeprecationWarning: Gtk.UIManager.get_action is deprecated
action = self.ui_manager.get_action (“/new-printer”)
/usr/share/system-config-printer/system-config-printer.py:365: DeprecationWarning: Gtk.Action.create_menu_item is deprecated
newprinteritem = action.create_menu_item ()
/usr/share/system-config-printer/system-config-printer.py:663: DeprecationWarning: Gtk.Action.get_proxies is deprecated
for widget in action.get_proxies ():
/usr/share/system-config-printer/system-config-printer.py:2236: DeprecationWarning: Gdk.threads_enter is deprecated- This reply was modified 2 years, 10 months ago by HateDogsBarking.
June 29, 2020 at 9:51 am #38239MemberPPC
::This is not the solution, but may point you in the right way:
– you didn’t say what was your printer’s model, so I went to the official cannon web page, https://www.canon-europe.com and selected a random model, looked for linux drivers for it and landed on a page that had several version of the driver: first the source file, then the rpm package and finally the debian package. This last package is the one that may be compatible with antiX, since antiX is Debian based.
Please try to download the debian package for your printer’s model, if it’s available, and try to install it (in a live version of antiX, or running in virtualbox, just to check if it does not mess up your system).P.
June 29, 2020 at 10:06 am #38243MemberHateDogsBarking
::Thanks, I updated the title. Indeed I am trying to get the debian package to work (Canon TS3150).
-
AuthorPosts
- You must be logged in to reply to this topic.