Unable to install libgdamm4.0-dev on Ubuntu 14.04 LTS - linux

After this command on the terminal:
sudo apt-get install libgdamm4.0-dev
It displays:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libgdamm4.0-dev
E: Couldn't find any package by regex 'libgdamm4.0-dev'
How to install it? If there is any dependencies, then what are they and how to install them?

After searching for a bit, it seems as if the stock repositories don't come with libgdamm4.0. Although, they do come with libgdamm5.0.
You might have run across a reference that installs libgdamm4.0 on Ubuntu 10.04, the stock repositories for that version might come with the older libgdamm4.0 version.
In any case, you can install the new version of the software suite as such.
apt-get install libgdamm5.0-dev
In the future, you can easily search the repositories you have synced with the apt-cache tool, here is an example from running it myself.
apt-cache search libgdamm
libgdamm-5.0-13 - C++ wrappers for libgda3
libgdamm5.0-dev - C++ wrappers for libgda3 (library headers)
libgdamm5.0-doc - C++ wrappers for libgda3 (documentation)

libgdamm4.0 http://old-releases.ubuntu.com/ubuntu/pool/universe/libg/libgdamm4.0/
The latest was for Ubuntu 10.04 : libgdamm4.0-13_4.1.2-0ubuntu1_amd64.deb / libgdamm4.0-13_4.1.2-0ubuntu1_i386.deb → 2011.

Related

E: Unable to locate package virtuoso-vad-cartridges while installing Virtuoso

I am trying to install openlink vituoso
Inserting below command in ubuntu 16.04,
sudo apt-get install virtuoso-vad-{isparql,ods,cartridges,tutorial}
I have following messages:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package virtuoso-vad-cartridges
nothing happens when I do
apt-cache search virtuoso-vad-cartridges
no error , no result!
I have also done
"sudo apt-get update"
and still have the problem
How can I do "sudo apt-get install virtuoso-vad-{isparql,ods,cartridges,tutorial}" without errors?
As noted in the Virtuoso documentation notes for Ubuntu deployment --
Ubuntu have split some of the Virtuoso VAD packages into separate apt packages of their own. When you apt-get install these, all you get is the VAD package on disk ready to be installed into your database; Ubuntu does not install the VAD into any running instance for you (because by this time you might have created your own instances elsewhere on different ports).
That being the case, I would suggest you simply download the VAD packages directly from our download site. You didn't not indicate which version of Virtuoso is being installed, and Ubuntu packaging has historically been some months or even years behind our updates. Guessing you're working with Virtuoso 7.2, please start here. Please comment below if you need the VADs for a different version of Virtuoso (7.1, 6.x, 8.x, etc.).
For further assistance with Virtuoso Open Source (VOS), I strongly recommend the Virtuoso Users mailing list.
(ObDisclaimer: OpenLink Software produces Virtuoso, and employs me.)

Can't install mono-gmcs package

I am trying to install the mono-gmcs package on my virtual machine running Kali Linux, but receive the output
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:
mono-gmcs : Depends: mono-mcs (= 3.12.1-0xamarin1) but 4.0.4.1-0xamarin1 is to be installed
E: Unable to correct problems, you have held broken packages.
I am using the command sudo apt-get install mono-gmcs to install it.
It says, that mono-gmcs depends on mono-mcs (3.12.1-0xamarin1), which currently is installed via 4.0.4.1-0xamarin1. You have versions conflict. Downgrading xamarin will solve it sudo apt-get install packagename=version
If you are going to choose Mono 4.* via mono-complete, say goodbye to many old packages such as this one. They are obsolete and you don't need them any more.
The compilers have been unified to a single mcs.
Try this
sudo apt-get install mono-complete=*
It brings the latest version.

Android Studio Installation -Unable to run mksdcard SDK tool. on 32 bit Ubuntu 12.10

So, I am trying to install Android Studio in
OS : UBUNTU 12.10, 32 bit.
And I tried installing it for 3-4 times each time it got stuck due to slow internet connection and showing Connection Lost in the terminal.
Now , this time when I again did
./studio.sh
it shows
Unable to run mksdcard SDK tool.
One common reason for this failure is missing required libraries
Please fix the underlying issue and retry.
I saw various posts which shows this occurs in 64 bit OS and installing libraries using
sudo apt-get install ia32-libs
or
sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6
will install required 32 bit libraries , but I am already on a 32 bit OS .
and when I try above command , I get
E: Package 'ia32-libs' has no installation candidate.
Software center also shows negative result:
So, the point is has anyone came across this in a 32 bit UBUNTU 12.10 OS .
Any workaround will be greatly appreciated .
Edit 1
Output when I try to install mentioned libraries for Ubuntu.
yogeshwardancharan#ubuntu:~/Android/Sdk/tools$ sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package lib32bz2-1.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
Package lib32ncurses5 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
Package lib32stdc++6 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
Package lib32z1 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 'lib32z1' has no installation candidate
E: Package 'lib32ncurses5' has no installation candidate
E: Package 'lib32bz2-1.0' has no installation candidate
E: Package 'lib32stdc++6' has no installation candidate
In above output it is mentioned that package may be available from another source ...can someone please help , what that source may be ?
Is it possible to compile these libraries from source . If so , how can I do it ?
Thanks.
For me the answer was here http://tools.android.com/tech-docs/linux-32-bit-libraries
At the time of this answer, the required libraries are
$ sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1
Good luck!

Cannot install trac-batchmodify with apt-get

I'm using Ubuntu 14.04 and trying to install Trac Batch Modify with the following command:
$ sudo apt-get install -y trac-batchmodify
But get the following error:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package trac-batchmodify
Is there any reason for this package not to be available via apt-get?
Ubuntu 14.04 provides Trac 1.0.1. Trac 1.0.1 include BatchModify functionality. The BatchModifyPlugin was integrated into Trac. See TracBatchModify for more info.

System crash after oracle installation with yum

recently i tried to install oracle on my linux with apt (I never used yum before) using fast manual:
http://www.oracle.com/technetwork/articles/servers-storage-admin/ginnydbinstallonlinux-488779.html
And after command:
sudo yum install oracle-rdbms-server-11gR2-preinstall
I got error:
Failed: ca-certificates.noarch 0:2010.63-3.el6_1.5 chkconfig.x86_64 0:1.3.49.3-2.el6 file-libs.x86_64 0:5.04-15.el6 filesystem.x86_64 0:2.4.30-3.el6
initscripts.x86_64 0:9.03.38-1.0.1.el6_4.2
Complete!
And something gone wrong because command like: ps, top are crashing
login#Ass-K55VJ:/etc/yum/repos.d$ ps -e
ps: relocation error: ps: symbol procps_number_version, version _3_2_5 not defined in file libproc-3.2.8.so with link time reference
login#Ass-K55VJ:/etc/yum/repos.d$ top
Segmentation fault (core dumped)
then I tryied to uninstall oracle and dependencies but after command:
sudo yum remove oracle-rdbms-server-11gR2-preinstall
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:
No module named yum
Please install a package which provides this module, or
verify that the module is installed correctly.
It's possible that the above module doesn't match the
current version of Python, which is:
2.6.6 (r266:84292, Jul 10 2013, 06:42:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-3)]
If you cannot solve this problem yourself, please go to the yum faq at: http://wiki.linux.duke.edu/YumFaq
So it seems like yum install in my system new libraries but didn't link it correctly? I dont know what do in this moment because it seems like armagedon on my ubuntu...
Does this mean you're on ubuntu and tried to install rpm packages using yum? The manual you used is for Oracle Linux 6, why would you try that on ubuntu?
rpm packages are not compatible with debian based systems like ubuntu, which use deb packages. So you've probably screwed your system big time, overwriting important system libraries with incompatible ones.
If apt-get is still working, then you can try to reinstall (apt-get --reinstall install) the equivalent libraries to the ones mentioned in the install manual you linked to - naming isn't always the same for rpm and deb packages. dpkg -l should help you see which the correct installed libraries are. I'd start with the C libraries (libc) etc.
But if apt-get is screwed also, then you'd need to download the packages manually from an ubuntu mirror and install them using dpkg, but I think a reinstall (or restore from backup if you have one) would be the best option.

Resources