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

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

Related

Why do i get this error when running "sudo apt install -y mongodb" in terminal

I am trying to install mongodb on my pop os linux.
I ran this:
sudo apt install -y mongodb
Then it said this:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package mongodb 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 'mongodb' has no installation candidate
How do i fix it? Is there a way to?
Assuming you're using Ubuntu you'll have to enable the universe repo.

How to I install this dependency?

I'm trying to install a .deb package with dpkg -i, but I get this error:
dpkg: dependency problems prevent configuration of modelio-open-source4.1:
modelio-open-source4.1 depends on libwebkitgtk-1.0-0; however:
Package libwebkitgtk-1.0-0 is not installed.
So it seems I need to install libwebkitgtk-1.0-0. So I run sudo apt install libwebkitgtk-1.0-0, but I get this output:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libwebkitgtk-1.0-0 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 'libwebkitgtk-1.0-0' has no installation candidate
How do I fix this? I really need this installed for school, and the clock is ticking...

UBUNTU 14.04 64BIT can not install lib32stdc++6

I want install a 32bit application,but i can not install lib32stdc++6
here is:
sudo apt-get install lib32stdc++6
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:
lib32stdc++6 : Depends: gcc-4.8-base (= 4.8.2-19ubuntu1) but 4.8.4-2ubuntu1~14.04 is to be installed
E: Unable to correct problems, you have held broken packages.
finally,i found this
https://askubuntu.com/questions/223237/unable-to-correct-problems-you-have-held-broken-packages
and i use aptitude to force install this
sudo aptitude -f install lib32stdc++6
run this command ,and choose 'n',then it will give you another choice,then choose 'Y'.
done and success

not able to install samba

I had to uninstall samba, because I had configured it wrong. But now when i try to reinstall it using sudo apt-get install samba smbfs, I get the output:-
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package samba 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
However the following packages replace it:
samba-common
Package smbfs 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 'samba' has no installation candidate
E: Package 'smbfs' has no installation candidate
I am nor able to download it via ubuntu Software center.
Any help is appreciated
Thank you
First uninstall it completely
Sudo apt-get autoremove samba4
then reinstall
Sudo apt-get install samba4

Package libsndfile-dev has no installation candidate

I am trying to install "libsndfile-dev". I do the following:
sudo apt-get install libsndfile-dev
As the result I get the following:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libsndfile-dev is a virtual package provided by:
libsndfile1-dev 1.0.17-4ubuntu0.8.10.2
You should explicitly select one to install.
E: Package libsndfile-dev has no installation candidate
So, my attempt to install failed. Can anybody tell me what should I select explicitly and how can I do it?
Thank you in advance.
Looks like you should apt-get install libsndfile1-dev (note the 1).

Resources