Installing gcc 4.8 on 13.10 “The following packages have unmet dependencies” - gcc

When I go to install gcc 4.8 using:
sudo apt-get update
sudo apt-get install gcc-4.8 g++-4.8
I get the error message:
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.
gcc-4.8 : Depends: binutils (>= 2.23.90.20131017) but 2.23.52.20130913-0ubuntu1 is to be installed
E: Unable to correct problems, you have held broken packages.
And I've binutils at the newest version. How could I solve it?

Check your internet connection,
go to software center->edit->sources->choose best server.

Related

How do I install lubicu66 on Ubuntu 20.04?

I am trying to install Ezra-project on Ubuntu 20.04. When I run the install it fails and says:
dpkg: dependency problems prevent configuration of ezra-project:
ezra-project depends on libicu66; however:
Package libicu66 is not installed.
I tried installing libicu66 with
sudo apt install libicu66
But it says
Package libicu66 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 'libicu66' has no installation candidate
Is libicu66 available for Ubuntu 20.04? If so, please could someone direct me to where to download it from?
I faced same problem when i tried to install couchdb.
The solution i found was installing it manually.
Go to https://www.ubuntuupdates.org/package/core/focal/main/base/libicu66 and download the proper version for your CPU architecture.
It could be done with wget http://security.ubuntu.com/ubuntu/pool/main/i/icu/libicu66_66.1-2ubuntu2_[YOUR_CPU_ARCHITECTURE].deb
Then in the same folder use sudo apt update && sudo dpkg -i libicu66_66.1-2ubuntu2_[YOUR_CPU_ARCHITECTURE].deb

puppet-common (= 3.8.7-1puppetlabs1) Installling Error

Tried to update puppet master version and after removing previous version when I'm trying to install
puppet-common (= 3.8.7-1puppetlabs1)
below error occuring.
root#puppetmaster:/home/ubuntu/puppet# apt install puppet-common
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:
puppet-common : Depends: libaugeas-ruby but it is not installable or
libaugeas-ruby1.9.1 but it is not installable or
libaugeas-ruby1.8 but it is not installable
E: Unable to correct problems, you have held broken packages.
apt-get install ruby
apt-get -f install
and
sudo apt-get install libaugeas-ruby
didn't work as gave in other solutions.
please do let me know if any other details needed.
Looking at the command prompt, you are using Ubuntu. Puppet isn't compatible with all versions of Ubuntu. I was getting the same error messages on Ubuntu 16.06 for the same version of Puppet (3.8.7-1). I tried a million things till I realized it was OS version to Puppet version match.
https://docs.puppet.com/puppet/3.8/install_debian_ubuntu.html
If you install a version of puppet supported by the OS you are using. It should install. Without knowing what version of Ubuntu you are on, it is possible this isn't the problem, but if so, you should be in good shape. Links below if you are on 16.04:
http://www.itzgeek.com/how-tos/linux/ubuntu-how-tos/how-to-install-puppet-on-ubuntu-16-04.html
Your mileage may vary but the only way I could get around this problem was deleting all the puppet related .list files in /etc/apt/sources.list.d.
Files were
puppetlabs.list
puppetlabs-pc1.list
puppet.list
Once that was done, I could run apt-get install puppet and the command worked just fine.

Phonetisaurus dependency issue

I am trying to install Phonetisaurus (using the Jasper installation instructions here). Unfortunatly I've run into a dependency issue I haven't been able to solve.
When I run the command sudo apt-get -t experimental install phonetisaurus m2m-aligner mitlm libfst-tools 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:
m2m-aligner : Depends: libstdc++6 (>=5.2) but 4.9.2-10 is to be installed
mitlm : Depends libmitlm0 (= 0.4.1-2) but it is not going to be installed
Depends: libstdc++6 (>=5.2) but 4.9.2-10 is to be installed
phonetisaurus : Depends: libfst4 (>=1.5.3+r3) but it is not installable
Depends: libstdc++6 (>=5.2) but 4.9.2-10 is to be installed
Attempting to install libstdc++6 directly (either with sudo apt-get install libstdc++6 or sudo apt-get -f libstdc++6) leaves me with:
Reading package lists... Done
Building dependency tree
Reading state information... Done
libstdc++6 is already the newest version.
The following packages were automatically installed and are no longer required:
libboost-atomic1.55.0 libboost-filesystem1.55.0
libboost-program-options1.55.0 libboost-regex1.55.0 libboost-thread1.55.0
libcwiid1 libfftw3-single3 libjs-prettify libqscintilla2-11
libqscintilla2-l10n libqt4-network libqt4-xmlpatterns libqtwebkit4
libruby1.9.1 libruby1.9.1-dbg libscsynth1 libtcltk-ruby1.9.1 ri1.9.1
ruby1.9.1 ruby1.9.1-dev ruby1.9.1-examples ruby1.9.1-full ruby1.9.3
supercollider supercollider-common supercollider-ide supercollider-language
supercollider-server supercollider-supernova
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 82 not upgraded.
Attempting to install libfst4 gives me:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libfst4 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 'libfst4' has no installation candidate
And attempting to install libmitlm0 gives me:
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:
libmitlm0 : Depends: libstdc++6 (>= 5.2) but 4.9.2-10 is to be installed
E: Unable to correct problems, you have held broken packages.
I feel like there is something I'm missing here but after a day of messing around with it I still can't figure it out. Any help/insight would be appreciated.
Thanks G10DRAS for providing the link.
This solution worked for me. First, I downloaded these files
sudo wget https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/phonetisaurus/is2013-conversion.tgz
sudo wget http://www.openfst.org/twiki/pub/FST/FstDownload/openfst-1.3.4.tar.gz
Then, untared the files
tar -xvf is2013-conversion.tgz
tar -xvf openfst-1.3.4.tar.gz
Finally, following next steps at: http://jasperproject.github.io/documentation/installation

maven installations on ubuntu fails

I am running Ubuntu 14.10 on VMPlayer 6.0.4 here on ubuntu when I am trying to install maven i am getting the following errors.
ubuntu#ubuntu:~$ sudo apt-get install maven
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:
maven : Depends: libaether-java but it is not going to be installed
Depends: libplexus-containers1.5-java but it is not going to be installed
Depends: libsisu-ioc-java but it is not going to be installed
Depends: libwagon2-java (>= 2.2-2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
ubuntu#ubuntu:~$
As I am new to Linux I am not understanding why its failing and how to solve this.
After googling I tried
i)apt-get update (success)
ii)apt-get upgrade (failed as below)
ubuntu#ubuntu:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
liboxideqt-qmlplugin liboxideqtcore0 linux-generic linux-headers-generic linux-image-generic oxideqt-codecs
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
ubuntu#ubuntu:~$
but still same issue
It would be helpful if someone suggestion me how to fix and install maven
Thanks in advance
May be too late to answer, but I had same issue on Ubuntu 12.04 LTS -- so this may be helpful
Here is a work around...
sudo dpkg -i --force-all /var/cache/apt/archives/libwagon2-java_2.2-3+nmu1_all.deb
The command above will install: libwagon2-java_2.2-3+nmu1_all.deb
After this you will be able to install Maven by: $ sudo apt-get install maven
Update your packages by
sudo apt-get update
then try to install.

Installing VLC on Lubuntu (Utopic Unicorn)

I am having some issues installing VLC on Lubuntu (ubuntu) 14.10:
sudo apt-get install vlc
The command returns:
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.
vlc : Depends: vlc-nox (= 2.2.0-0ubuntu0.14.10.1) but 2.2.0+ppa3.2 is to be installed
Recommends: vlc-plugin-notify (= 2.2.0-0ubuntu0.14.10.1) but 2.2.0+ppa3.2 is to be installed
Recommends: vlc-plugin-samba (= 2.2.0-0ubuntu0.14.10.1) but 2.2.0+ppa3.2 is to be installed
E: Unable to correct problems, you have held broken packages.
I have tried to install both the packages it recommends (they are already installed apparently).
I have also followed this guide as some was having a similar problem: http://ubuntuforums.org/showthread.php?t=2250015
and installed the xorg ppa to no avail.
Can someone please shed some light on this for me?
Many thanks!
Ed
After the usual
sudo apt-get update && sudo apt-get upgrade
Do this:
sudo apt-get remove --purge vlc-nox vlc-plugin-notify vlc-plugin-samba
sudo apt-get install vlc
apt-get should install the correct dependency versions now.
Btw why not post this on https://askubuntu.com/ ?

Resources