I bought a new laptop and installed Ubuntu on it, I added the touch pad gestures ,and tweaked some other settings like changing the lockscreen wallpaper etc..
Then i wanted to install Okular but it shows an 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:
okular : Depends: libpoppler-qt5-1 (>= 0.62.0-1ubuntu1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
And i don't know how to solve this.
Run this command as superuser
# apt-get install --fix-broken
It should fix your broken packages
Related
When I ran sudo apt-get install mint-meta-cinnamon,
I got these errors :
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:
mint-meta-cinnamon : Depends: cinnamon-screensaver-x-plugin but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
I tried so hard and I even tried to install them one by one but it didn't work.
Can someone help please?
Thanks!
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?
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
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.
I have been trying to install Android Studio properly to my Ubuntu 16.04 64-bit machine, but I can not solve this very problem. Android studio requires us to install some 32 bit files to 64 bit computers. But when I try to install, I cannot solve the problem.
I have given so many inputs to the terminal and couldn't trace them all. However, I'm sure that I wrote lots of commands on installing lib32stdc++6 and other packages that has been suggested on the internet but every time I got the error message:
[ E: Unable to correct problems, you have held broken packages. The following packages have unmet dependencies: X depends Y but it won't be installed ]
Edit: input & output example:
***#***:~$ sudo apt-get install lib32stdc++6
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:
lib32stdc++6 : Depends: gcc-5-base (= 5.3.1-13ubuntu6) but 5.3.1-14ubuntu2 is to be installed
Depends: lib32gcc1 (>= 1:4.2) but it is not going to be installed
Depends: libc6-i386 (>= 2.18) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
(Posted on behalf of the OP):
I solved the problem. I'll write a brief info about the solution process in case anyone else faces with a similar situation. First of all I realised that this problem was all about the incompatibility of 32 bit libraries with 16.04. So that, I changed the "download from" section from the System Settings - Software&Updates.
Select Netherlands instead of your country's repo, that'll be convenient (mine was Turkey before). Then simply update your repos by typing sudo apt-get update to terminal. Lastly, install the required libraries for 16.04 by typing sudo apt-get install lib32stdc++6. After all, install Android Studio from the very beginning. I did all those and now Android Studio runs properly.