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

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.

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

vlc installation in ubuntu 16.10

My vlc was working file but after installing octave vlc crashed.
I tried to reinstall it and repair it with below codes but it did't work
$ sudo apt-get purge vlc
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'vlc' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
$sudo apt-get install vlc
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:
vlc : Depends: libgles1-mesa (>= 7.8.1) but it is not going to be installed or
libgles1
E: Unable to correct problems, you have held broken packages.
Then I tried installing libgles1-mesa
$ sudo apt-get install libgles1-mesa
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:
libgles1-mesa : Depends: libglapi-mesa (= 13.0.4-1ubuntu1~16.10~0.1) but
17.0.3~git20170404+17.0.71d2f05a-0ubuntu0ricotz2~yakkety is to be installed
E: Unable to correct problems, you have held broken packages.
Then I tried libglapi-mesa
$ sudo apt-get install libglapi-mesa
Reading package lists... Done
Building dependency tree
Reading state information... Done
libglapi-mesa is already the newest version (17.0.3~git20170404+17.0.71d2f05a- 0ubuntu0ricotz2~yakkety).
0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
How am I supposed to solved it.
I only get it to work using master branch of VLC
https://launchpad.net/~videolan/+archive/ubuntu/master-daily
first add the repository
sudo add-apt-repository ppa:videolan/master-daily
sudo apt-get update
sudo apt-get install vlc
The vlc-nox package installs vlc
To remove, use:
sudo apt-get purge vlc-nox
Next, to reinstall vlc, use:
sudo apt-get update
sudo apt-get install vlc
% sudo snap install vlc
VLC for Debian and many other Linux distributions is also packaged using snap packages. This allows us to distribute latest and greatest VLC versions directly to end users, with security and critical bug fixes, full codec and optical media support.
To install via snap:

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/ ?

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

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.

Categories

Resources