Installing perlapi-5.8.8 - linux

My problem is that I want to install the package libgtk-perl on ubuntu but it fails due to its unmet dependencies i.e perlapi-5.8.8, I have also tried doing auto dependency installation but that also fails. The problem is that it is a virtual package and even though perl-base is installed (As shown in the instructions) perlapi can't be installed. Please can anyone help me installing perlapu-5.8.8
adminuser#adminuser-VirtualBox:~$ sudo apt-get install libgtk-perl
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:
libgtk-perl : Depends: perlapi-5.8.8
E: Unable to correct problems, you have held broken packages.
adminuser#adminuser-VirtualBox:~$ sudo apt-get install perlapi-5.8.8
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package perlapi-5.8.8 is a virtual package provided by:
perl-base 5.8.8-7 [Not candidate version]
E: Package 'perlapi-5.8.8' has no installation candidate
adminuser#adminuser-VirtualBox:~$ sudo apt-get install perl-base
Reading package lists... Done
Building dependency tree
Reading state information... Done
perl-base is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

You're trying to use Perl package Gtk. In order to do that, you're trying to install a binary that was built using Perl 5.8.8, which would require you switching to Perl 5.8.8 (or 5.8.9). Aside from being a major step backwards, you can't do what you want without breaking your system. Switching your Perl for Perl 5.8.8 would cause problems.
If your system doesn't provide a package for the Perl module Gtk for your version of Perl, install it yourself as follows (after installing the necessary C libraries):
cpan Gtk

Related

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...

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?

I have issues with installing Git on Linux

I'm totally new to Linux and I have to install Git there.
But every time I try this appears:
~$ sudo apt install git
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:
git : Depends: liberror-perl but it is not installable
E: Unable to correct problems, you have held broken packages.
How do I fix this and successfully install git?

Upgrade .Net Core 1.0 to 2.0 Ubuntu 16.10

I'm trying to upgrade the .net core version from 1.0 to 2.0 but I'm getting some errors. I'm not good at Linux, so I don't understand well what's happening.
I run:
apt-get install dotnet-sdk-2.1.4
And I get this error:
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:
dotnet-sdk-2.1.4 : Depends: dotnet-runtime-2.0.5 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
So, I try to install dotnet-runtime-2.0.5 and I get this
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:
dotnet-runtime-2.0.5 : Depends: libicu55 but it is not installable
E: Unable to correct problems, you have held broken packages.
After this, I try to install libicu55 but I already have installed libicu57. I don't know what to do.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libicu55 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 'libicu55' has no installation candidate
betocastillo86#ubuntu-huellitas-prod:~$
Do you have any ideas?
So a clean install of Ubuntu 16.04 it was … there’s a catch though,
you can choose between LTS (Long Term Support) or not. I chose not to
since It’s a VM and I don’t mind newer updates, etc… Turns out that
was a bad idea with .NET Core installs! It would seem that once the
non LTS is installed you end up with 16.10 which has installed some
newer versions of required libraries, namely something called libicu
which is now on 57 instead of a required 55.
Source: https://shazwazza.com/post/installing-net-core-101-on-ubuntu-1610/
Try installing the libicu55 manually on your machine (it should run side by side with the newer version on your machine):
Download the file from here: http://packages.ubuntu.com/en/xenial/amd64/libicu55/download
Install it using: sudo dpkg –i libicu55_55.1-7_amd64.deb

nautilus-terminal error due to gir1.2-vte-2.90

I like the idea of having a terminal connected to my nautilus file manager.
There is a package called nautilus-terminal which does this.
if I try to install it via sudo apt-get install nautilus-terminal I get the following error message:
The following packages have unmet dependencies:
nautilus-terminal : Depends: gir1.2-vte-2.90 but it is not installable
E: Unable to correct problems, you have held broken packages.
If I try to install it via sudo apt-get install gir1.2-vte-2.90
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package gir1.2-vte-2.90 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 'gir1.2-vte-2.90' has no installation candidate
Does anybody know how to solve this?
This problem is because you already have gir1.2-vte-2.91 installed on your ubuntu but since the package name contains version number, it's not recognized as a higher version of gir1.2-vte-2.90 so you just need to provide a package with the name gir1.2-vte-2.90 and connect it to gir1.2-vte-2.91. This can be easily done by following the instructions of this answer.

Resources