How to I install this dependency? - dependency-management

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

Related

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?

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.

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

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

Installing perlapi-5.8.8

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

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