Solved Help installing MF3010 Printer driver with Debian12 on Compaq Presario CQ40 laptop

Solved issue

Panchanan

New Member
Joined
Sep 16, 2023
Messages
25
Reaction score
6
Credits
420
I am a beginner; Following extract for an Experts review and advice.

root@NidhiS:/# cd /tmp/linux-UFRII*
root@NidhiS:/tmp/linux-UFRII-drv-v580-m17n# sudo ./install.sh
This installer is recommended for the following distributions that are currently supported as of the release of this installer:
- Fedora/Ubuntu/CentOS/Debian/UOS/Kylin OS/NeoKylin OS

If this installer is run under distributions for which the support period has ended, the installation of additional system libraries may be necessary after driver installation is complete.

Note that an internet connection is required for installation.

Do you want to continue with installation? (y/n)y

#----------------------------------------------------#
# Install Start
#----------------------------------------------------#
Machine Type = i386
Package Type = deb
Package list =
./x86/Debian/cnrdrvcups-ufr2-uk_5.80-1.04_i386.deb

#----------------------------------------------------#
# Install Package Check
#----------------------------------------------------#
OK: cups

#----------------------------------------------------#
# Install Package Check
#----------------------------------------------------#
#----------------------------------------------------#
# apt-get update
#----------------------------------------------------#
Reading package lists... Done

#----------------------------------------------------#
# apt-get install cups-bsd
#----------------------------------------------------#
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package cups-bsd is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'cups-bsd' has no installation candidate

NG: cups-bsd

#----------------------------------------------------#
# Install Package Check
#----------------------------------------------------#
OK: libcups2

#----------------------------------------------------#
# Install Package Check
#----------------------------------------------------#
#----------------------------------------------------#
# apt-get install libcupsimage2
#----------------------------------------------------#
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package libcupsimage2 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libcupsimage2' has no installation candidate

NG: libcupsimage2

#----------------------------------------------------#
# Install Package Check
#----------------------------------------------------#
OK: libgtk-3-0

#----------------------------------------------------#
# Install Package Check
#----------------------------------------------------#
OK: libjpeg62-turbo

#----------------------------------------------------#
# Install Package Check
#----------------------------------------------------#
OK: libgcrypt20

#----------------------------------------------------#
# Install Package Check
#----------------------------------------------------#
OK: libjbig0

#----------------------------------------------------#
# Install Package Check
#----------------------------------------------------#
OK: lsb-release

Some system libraries could not be installed.
Refer to the Readme file for more information.
Do you want to continue with installation? (y/n)y

#----------------------------------------------------#
# Install Printer Driver (dpkg -i -G --force-overwrite)
#----------------------------------------------------#
Selecting previously unselected package cnrdrvcups-ufr2-uk.
(Reading database ... 148059 files and directories currently installed.)
Preparing to unpack .../cnrdrvcups-ufr2-uk_5.80-1.04_i386.deb ...
Unpacking cnrdrvcups-ufr2-uk (5.80-1.04) ...
dpkg: dependency problems prevent configuration of cnrdrvcups-ufr2-uk:
cnrdrvcups-ufr2-uk depends on libcupsimage2; however:
Package libcupsimage2 is not installed.
cnrdrvcups-ufr2-uk depends on cups-bsd; however:
Package cups-bsd is not installed.

dpkg: error processing package cnrdrvcups-ufr2-uk (--install):
dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.36.0-1.1) ...
Processing triggers for desktop-file-utils (0.26-1) ...
Processing triggers for mailcap (3.70+nmu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Errors were encountered while processing:
cnrdrvcups-ufr2-uk

Could not install.
root@NidhiS:/tmp/linux-UFRII-drv-v580-m17n#


root@NidhiS:/# apt-get -f dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

root@NidhiS:/# sudo apt-get install cups-bsd
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package cups-bsd is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'cups-bsd' has no installation candidate

root@NidhiS:/# sudo apt install system-config-printer-common
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
system-config-printer-common is already the newest version (1.5.18-1).
system-config-printer-common set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@NidhiS:/#
 


latest drivers for your cannon printer [make sure you install the correct ones to match your CPU]


not cannon recommend the V570 driver not the 580
 
Having learnt from you in my previous thread, had tried V370 to see the same output as the following with V570.

"
nidhi@NidhiS:~$ tar xvzf ~/Downloads/linux-UFRII*tar.gz -C /tmp/
linux-UFRII-drv-v570-m17n/
linux-UFRII-drv-v570-m17n/resources/
linux-UFRII-drv-v570-m17n/resources/installer_zh_CN_utf8.lc
linux-UFRII-drv-v570-m17n/resources/installer_ja_utf8.lc
linux-UFRII-drv-v570-m17n/resources/installer_de_utf8.lc
linux-UFRII-drv-v570-m17n/resources/installer_es_utf8.lc
linux-UFRII-drv-v570-m17n/resources/installer_fr_utf8.lc
linux-UFRII-drv-v570-m17n/resources/installer_ko_utf8.lc
linux-UFRII-drv-v570-m17n/resources/installer_en_utf8.lc
linux-UFRII-drv-v570-m17n/resources/installer_it_utf8.lc
linux-UFRII-drv-v570-m17n/resources/installer_zh_TW_utf8.lc
linux-UFRII-drv-v570-m17n/Sources/
linux-UFRII-drv-v570-m17n/Sources/cnrdrvcups-lb-5.70-1.18.tar.xz
linux-UFRII-drv-v570-m17n/ARM64/
linux-UFRII-drv-v570-m17n/ARM64/Debian/
linux-UFRII-drv-v570-m17n/ARM64/Debian/cnrdrvcups-ufr2-uk_5.70-1.18_arm64.deb
linux-UFRII-drv-v570-m17n/ARM64/RPM/
linux-UFRII-drv-v570-m17n/ARM64/RPM/cnrdrvcups-ufr2-uk-5.70-1.18.aarch64.rpm
linux-UFRII-drv-v570-m17n/x64/
linux-UFRII-drv-v570-m17n/x64/Debian/
linux-UFRII-drv-v570-m17n/x64/Debian/cnrdrvcups-ufr2-uk_5.70-1.18_amd64.deb
linux-UFRII-drv-v570-m17n/x64/RPM/
linux-UFRII-drv-v570-m17n/x64/RPM/cnrdrvcups-ufr2-uk-5.70-1.18.x86_64.rpm
linux-UFRII-drv-v570-m17n/x86/
linux-UFRII-drv-v570-m17n/x86/Debian/
linux-UFRII-drv-v570-m17n/x86/Debian/cnrdrvcups-ufr2-uk_5.70-1.18_i386.deb
linux-UFRII-drv-v570-m17n/x86/RPM/
linux-UFRII-drv-v570-m17n/x86/RPM/cnrdrvcups-ufr2-uk-5.70-1.18.i386.rpm
linux-UFRII-drv-v570-m17n/Documents/
linux-UFRII-drv-v570-m17n/Documents/espanol/
linux-UFRII-drv-v570-m17n/Documents/espanol/UsersGuide-ufr2-SP.html
linux-UFRII-drv-v570-m17n/Documents/espanol/LICENSE-ES.txt
linux-UFRII-drv-v570-m17n/Documents/espanol/README-ufr2-5.7xSP.html
linux-UFRII-drv-v570-m17n/Documents/deutsch/
linux-UFRII-drv-v570-m17n/Documents/deutsch/LICENSE-DE.txt
linux-UFRII-drv-v570-m17n/Documents/deutsch/README-ufr2-5.7xDE.html
linux-UFRII-drv-v570-m17n/Documents/deutsch/UsersGuide-ufr2-DE.html
linux-UFRII-drv-v570-m17n/Documents/uk_eng/
linux-UFRII-drv-v570-m17n/Documents/uk_eng/README-ufr2-5.7xUK.html
linux-UFRII-drv-v570-m17n/Documents/uk_eng/UsersGuide-ufr2-UK.html
linux-UFRII-drv-v570-m17n/Documents/uk_eng/LICENSE-EN.txt
linux-UFRII-drv-v570-m17n/Documents/simplified_chinese/
linux-UFRII-drv-v570-m17n/Documents/simplified_chinese/LICENSE-CN.txt
linux-UFRII-drv-v570-m17n/Documents/simplified_chinese/README-ufr2-5.7xSC.html
linux-UFRII-drv-v570-m17n/Documents/simplified_chinese/UsersGuide-ufr2-SC.html
linux-UFRII-drv-v570-m17n/Documents/francais/
linux-UFRII-drv-v570-m17n/Documents/francais/README-ufr2-5.7xFR.html
linux-UFRII-drv-v570-m17n/Documents/francais/UsersGuide-ufr2-FR.html
linux-UFRII-drv-v570-m17n/Documents/francais/LICENSE-FR.txt
linux-UFRII-drv-v570-m17n/Documents/korean/
linux-UFRII-drv-v570-m17n/Documents/korean/UsersGuide-ufr2-KR.html
linux-UFRII-drv-v570-m17n/Documents/korean/LICENSE-KO.txt
linux-UFRII-drv-v570-m17n/Documents/korean/README-ufr2-5.7xKR.html
linux-UFRII-drv-v570-m17n/Documents/traditional_chinese/
linux-UFRII-drv-v570-m17n/Documents/traditional_chinese/README-ufr2-5.7xTC.html
linux-UFRII-drv-v570-m17n/Documents/traditional_chinese/LICENSE-TW.txt
linux-UFRII-drv-v570-m17n/Documents/traditional_chinese/UsersGuide-ufr2-TC.html
linux-UFRII-drv-v570-m17n/Documents/italiano/
linux-UFRII-drv-v570-m17n/Documents/italiano/LICENSE-IT.txt
linux-UFRII-drv-v570-m17n/Documents/italiano/README-ufr2-5.7xIT.html
linux-UFRII-drv-v570-m17n/Documents/italiano/UsersGuide-ufr2-IT.html
linux-UFRII-drv-v570-m17n/MIPS64/
linux-UFRII-drv-v570-m17n/MIPS64/RPM/
linux-UFRII-drv-v570-m17n/MIPS64/RPM/cnrdrvcups-ufr2-uk-5.70-1.18.mips64el.rpm
linux-UFRII-drv-v570-m17n/install.sh
nidhi@NidhiS:~$ su -
Password:
root@NidhiS:~# cd /tmp/linux-UFRII*
root@NidhiS:/tmp/linux-UFRII-drv-v570-m17n# sudo ./install.sh
This installer is recommended for the following distributions that are currently supported as of the release of this installer:
- Fedora/Ubuntu/CentOS/Debian/UOS/Kylin OS/NeoKylin OS

If this installer is run under distributions for which the support period has ended, the installation of additional system libraries may be necessary after driver installation is complete.

Note that an internet connection is required for installation.

Do you want to continue with installation? (y/n)y

#----------------------------------------------------#
# Install Start
#----------------------------------------------------#
Machine Type = i386
Package Type = deb
Package list =
./x86/Debian/cnrdrvcups-ufr2-uk_5.70-1.18_i386.deb

#----------------------------------------------------#
# Install Package Check
#----------------------------------------------------#
OK: cups

#----------------------------------------------------#
# Install Package Check
#----------------------------------------------------#
#----------------------------------------------------#
# apt-get update
#----------------------------------------------------#
Reading package lists... Done

#----------------------------------------------------#
# apt-get install cups-bsd
#----------------------------------------------------#
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package cups-bsd is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'cups-bsd' has no installation candidate

NG: cups-bsd

#----------------------------------------------------#
# Install Package Check
#----------------------------------------------------#
OK: libcups2

#----------------------------------------------------#
# Install Package Check
#----------------------------------------------------#
#----------------------------------------------------#
# apt-get install libcupsimage2
#----------------------------------------------------#
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package libcupsimage2 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libcupsimage2' has no installation candidate

NG: libcupsimage2

#----------------------------------------------------#
# Install Package Check
#----------------------------------------------------#
OK: libgtk-3-0

#----------------------------------------------------#
# Install Package Check
#----------------------------------------------------#
OK: libjpeg62-turbo

#----------------------------------------------------#
# Install Package Check
#----------------------------------------------------#
OK: libgcrypt20

#----------------------------------------------------#
# Install Package Check
#----------------------------------------------------#
OK: libjbig0

#----------------------------------------------------#
# Install Package Check
#----------------------------------------------------#
OK: lsb-release

Some system libraries could not be installed.
Refer to the Readme file for more information.
Do you want to continue with installation? (y/n)y

#----------------------------------------------------#
# Install Printer Driver (dpkg -i -G --force-overwrite)
#----------------------------------------------------#
dpkg: will not downgrade cnrdrvcups-ufr2-uk from 5.80-1.04 to 5.70-1.18, skipping

Could not install.
root@NidhiS:/tmp/linux-UFRII-drv-v570-m17n#
"
 
which distribution are you running?
 
nidhi@NidhiS:~$ uname -a
Linux NidhiS 6.1.0-10-686-pae #1 SMP PREEMPT_DYNAMIC Debian 6.1.38-1 (2023-07-14) i686 GNU/Linux
nidhi@NidhiS:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 12 (bookworm)
Release: 12
Codename: bookworm
nidhi@NidhiS:~$
 
They appear to be using a 32 bit OS and trying to install a 64 bit package.
 
Thank you for sharing the link. I downloaded 'libcupsimage2_2.4.2-3+deb12u4_amd64.deb' and when trying to install get the following error;

"
root@NidhiS:~# apt-get install libcupsimage2_2.4.2-3+deb12u4_amd64.deb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package libcupsimage2_2.4.2-3+deb12u4_amd64.deb
E: Couldn't find any package by glob 'libcupsimage2_2.4.2-3+deb12u4_amd64.deb'
E: Couldn't find any package by regex 'libcupsimage2_2.4.2-3+deb12u4_amd64.deb'
root@NidhiS:~# apt-get install ./libcupsimage2_2.4.2-3+deb12u4_amd64.deb
Reading package lists... Done
E: Unsupported file ./libcupsimage2_2.4.2-3+deb12u4_amd64.deb given on commandline
"

I also tried to install 'cups-bsd_2.4.7-1_i386.deb' with similar error.

"
root@NidhiS:~# sudo apt install ./cups-bsd_2.4.7-1_i386.deb
Reading package lists... Done
E: Unsupported file ./cups-bsd_2.4.7-1_i386.deb given on commandline
root@NidhiS:~# sudo dpkg -i cups-bsd_2.4.7-1_i386.deb
dpkg: error: cannot access archive 'cups-bsd_2.4.7-1_i386.deb': No such file or directory
"
 
@Panchanan, as KGIII notes in post #7, trying to run 64bit packages on a 32bit system is going to fail in this instance. Your system is 32bit according to this output in post #5:
nidhi@NidhiS:~$ uname -a
Linux NidhiS 6.1.0-10-686-pae #1 SMP PREEMPT_DYNAMIC Debian 6.1.38-1 (2023-07-14) i686 GNU/Linux
but the package you are trying to install is 64bit: libcupsimage2_2.4.2-3+deb12u4_amd64.deb, as indicated by the "amd64" substring in the name of the package.
 
@osprey, thank you.
I did download 'libcupsimage2_2.4.2-3+deb12u4_arm64.deb' and while installing got the following error;

"
root@NidhiS:~# apt-get install ./libcupsimage2_2.4.2-3+deb12u4_arm64.deb
Reading package lists... Done
E: Unsupported file ./libcupsimage2_2.4.2-3+deb12u4_arm64.deb given on commandline
"

@arochester , thank you. I tried the following and share the error report;
"
root@NidhiS:~# apt update && apt install --install-recommends task-print-server
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package task-print-server
"
 
Last edited:
Sharing this info just incase that helps understand further advice on this thread.

Unable to install VLC media player with similar error as in the previous post#11.

root@NidhiS:~# sudo apt install vlc
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package vlc
root@NidhiS:~#

1697638323397.png
 

Attachments

  • 1697638373690.png
    1697638373690.png
    19.2 KB · Views: 106
With those messages: "unable to locate ...", it may depend on your sources.list file located at /etc/apt/sources.list. The sources.list file needs to have the correct repositories configured. You can inspect the file on a terminal screen if you write into the terminal the following command:
Code:
cat /etc/apt/sources.list

If you copy the output here, people can check it.
 
Here is the output as requested.
"
nidhi@NidhiS:~$ cat etc/apt/sources.list
cat: etc/apt/sources.: No such file or directory
cat: list: No such file or directory
nidhi@NidhiS:~$ su -
Password:
root@NidhiS:~# cat /etc/apt/sources.list
root@NidhiS:~# etc/apt/sources.list
-bash: etc/apt/sources.list: No such file or directory
root@NidhiS:~# cat etc/apt/sources.list
cat: etc/apt/sources.list: No such file or directory
"
 
Thanks for the output. The apt command needs a sources.list file to download packages. Here is a typical one for debian 12, bookworm. If you copy the contents to the file: /etc/apt/sources.list, (which you create since it doesn't appear to exist) then you should gain access to the repos with subsequent use of the apt command. You need to be root to do this, either using sudo or the root user.
Code:
deb http://deb.debian.org/debian/ bookworm main non-free-firmware contrib non-free
deb-src http://deb.debian.org/debian/ bookworm main non-free-firmware contrib non-free

deb http://security.debian.org/debian-security bookworm-security main non-free-firmware contrib non-free
deb-src http://security.debian.org/debian-security bookworm-security main non-free-firmware contrib non-free

If you cut and paste it, mistakes can be avoided. For details on the matter, see:
in particular chapter 2.1.5.
 
Last edited:
Might the path be:

/etc/apt/sources.list.d

Which will then show individual files. So, ls /etc/apt/sources.list.d might yield some results.
 
Might the path be:

/etc/apt/sources.list.d

Which will then show individual files. So, ls /etc/apt/sources.list.d might yield some results.
Yes. It's entirely possible that there is contents in the directory /etc/apt/sources.list.d/ which would enable access to repos. The default though during installations in the most recent ones known to me use the /etc/apt/sources.list.

Since the OP has seen the "unable to locate packages" output from apt, it's unclear if a properly configured sources.list exists in the /etc/apt/sources.list.d/ directory, but stranger things have happened :)

Perhaps Panchanan can investigate and let the thread know here. In any case, the typical sources.list from the docs mentioned in post #15 should help.
 
@Panchanan - you have a syntax error at #14

nidhi@NidhiS:~$ cat etc/apt/sources.list
cat: etc/apt/sources.: No such file or directory

That should be /etc/apt/sources,list note the first / - exactly as @osprey provided

So, ls /etc/apt/sources.list.d might yield some results.

Not with my Debian 12 Bookworm Cinnamon, it has nothing in /etc/apt/sources.list.d/ and uses /etc/apt/sources.list

Cheers

Wizard
 
@Panchanan - you have a syntax error at #14



That should be /etc/apt/sources,list note the first / - exactly as @osprey provided



Not with my Debian 12 Bookworm Cinnamon, it has nothing in /etc/apt/sources.list.d/ and uses /etc/apt/sources.list

Cheers

Wizard
Yes, thanks Wiz for that observation.

I noticed the command: root@NidhiS:~# cat /etc/apt/sources.list, in post #14 did appear to be correct, amongst the incorrect ones, and the output looked as if it was empty before the next incorrect command was made.

I guess this circumstance emphasises how it's better to use code tags with the exact commands that have been entered, perhaps using a cut and paste facility.
 
Here's the output of the commands tried as stated above.

"
root@NidhiS:~# deb http://deb.debian.org/debian/ bookworm main non-free-firmware contrib non-free
-bash: deb: command not found
root@NidhiS:~# deb-src http://deb.debian.org/debian/ bookworm main non-free-firmware contrib non-free
-bash: deb-src: command not found
root@NidhiS:~# deb http://security.debian.org/debian-security bookworm-security main non-free-firmware contrib non-free
-bash: deb: command not found
root@NidhiS:~# deb-src http://security.debian.org/debian-security bookworm-security main non-free-firmware contrib non-free
-bash: deb-src: command not found
root@NidhiS:~# cat /etc/apt/sources.list.d
cat: /etc/apt/sources.list.d: Is a directory
root@NidhiS:~# /etc/apt/sources.list.d
-bash: /etc/apt/sources.list.d: Is a directory
root@NidhiS:~# ls /etc/apt/sources.list.d
root@NidhiS:~# ls /etc/apt/sources.list.d/
root@NidhiS:~#
"
 

Members online


Latest posts

Top