E: Unable to locate package libsane-extras - linux

I am trying to install the sane package in ubuntu 20.04 to be able to use a scanner but for some reason I cannot install the libsane-extras package.
admin:~$ sudo apt-get install sane sane-utils libsane-extras xsane
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libsane-extras
What can I do to install?
Fun fact: A few months ago, simple scanner recognized my HP scanner model

Related

Raspberry pi 64 bit Os showing Unable to locate package libjasper-dev. how to fix this?

I am using a raspberry pi 4.
And I installed a 64-bit (not 32-bit) Raspberry Pi OS.
When I tried to install libjasper-dev using the command
'sudo apt-get install libjasper-dev' as a part of OpenCV.
It is showing "Unable to locate package libjasper-dev".
Does anyone have any idea how to fix this, or how to compile OpenCV correctly on a Rasbian 64Bit ?
For example, this (among other errors) happens when installing the image raspios_lite_arm64-2021-11-08 on an 8GB Raspi4 and trying to follow the instructions on https://www.arducam.com/docs/cameras-for-raspberry-pi/synchronized-stereo-camera-hat/opencv-and-depth-map-on-arducam-stereo-camera-hat-tutorial/:
pi#roverpi:~ $ sudo apt-get install libhdf5-dev libhdf5-serial-dev libatlas-base-dev libjasper-dev libqtgui4 libqt4-test
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'libhdf5-dev' instead of 'libhdf5-serial-dev'
Package libqtgui4 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: Unable to locate package libjasper-dev
E: Package 'libqtgui4' has no installation candidate
E: Unable to locate package libqt4-test
Anyone know how to fix this

Why does the update command display the same ppa?

I was installing atom on Ubuntu 18.04.1 using the command:-
sudo apt-get install atom
I stopped the installation process and now whenever I run the command:-
sudo apt update
The following is the output:-
Hit:1 http://ppa.launchpad.net/webupd8team/atom/ubuntu bionic InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
Whenever I try to install Atom again, I get the following output:-
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
atom : Depends: gvfs-bin but it is not installable
E: Unable to correct problems, you have held broken packages.
Now, whenever I try to install a package from the terminal using
sudo apt-get install <package-name>
I get some output showing: This package has no installation candidate.
For example, if I install rpm, the output is:-
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package rpm 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 'rpm' has no installation candidate
All this has been happening since the day I terminated the atom installation.
Can anyone help me with this?

How to install clang 3.6 in Ubuntu 12.04

I want to install clang 3.6 on Ubuntu 12.04. How can I do that?
I am trying this but It couldn't find package:
$ sudo apt-get install clang-3.6
[sudo] password for xristina:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package clang-3.6
E: Couldn't find any package by regex 'clang-3.6'
I think you need to rebuild them.
Good luck

ghci haskell programming in linux

i'm trying to install GHCi version 8.0.2 on linux ubunto 14.10 i'm using a virtual machine vmware 12.5 thought i followed the steps of installation of the site of haskell platform but i have always the same error:
hp#ubuntu:~$ sudo apt-get install haskell-platform
[sudo] password for hp:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package haskell-platform
Is there any solution? what should i do ??

E: Package 'gdb-arm-linux-gnueabi' has no installation candidate

I try to install gdb-ARM for cross compile on my ubuntu 14.04 x86 architecture . I want to debug a program on my target with an ARM architecture.I tried this command :
sudo apt-get install gdb-arm-linux-gnueabi
I got this error :
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package gdb-arm-linux-gnueabi 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 'gdb-arm-linux-gnueabi' has no installation candidate
any help please ?
You may want to try sudo apt install binutils-mips64el-linux-gnuab or sudo apt install gdb-arm-none-eabi

Resources