Cannot not install flash Player because libnss3-1d is missing - linux

Cannot not install flash Player because libnss3-1d is missing. I am also not able to install libness3-1d as well.
For the Flash Player I get this error:
The following packages have unmet dependencies:
flashplugin-installer : Depends: libnss3-1d but it is not installable
E: Unable to correct problems, you have held broken packages.
For the libnss3-1d I get this error:
Package libnss3-1d 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 'libnss3-1d' has no installation candidate
I did have Google Chrome on but it kept locking up my computer so I removed it. I had to do a hard restart. Aka the power switch.
Thanks,
Josh

Open Ubuntu Software Centre and serach for "Adobe Flash Plugin" and install it from there.
It will take care of the dependencies.

This is because your libnss3 is not up to date or it's showing libniss3 already to the latest version, however, it is not, you can manually install
by following steps
Download it from the link->
https://packages.ubuntu.com/xenial/amd64/libnss3/download
then move to the folder where you have downloaded the file in the terminal
install by running the following command in the terminal
sudo dpkg -i libnss3_3.28.4-0ubuntu0.16.04.3_amd64.deb
4.know your libnss3 is updated to latest version.

Related

Error occurred while installing zenity

I was trying to install zenity, from the command
sudo apt-get install zenity
and the result its
The following packages have unmet dependencies:
zenity : Depends: libwebkit2gtk-4.0-37 (>= 2.5.3) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
It seems to fall into a dead loop, every dependencies package that relate to webkit2gtk failed to install, always same error occurred
I tried apt-get update/upgrade, aptitude and install by deb, its doesn't work or I don't know how to correctly use them
I tried uncomment all link inside the /etc/apt/source.list, but its doesn’t seems work, did I do right?
I am a linux newer, my device its raspberry pi3, running in raspbian 8
Can anybody help me to resolve this problem? very very appreciation for you
Solved, because libtext-iconv-perl this package is depending on old perl-base 5.20, download and install manually in here

PhpStorm Installation issue on Ubuntu 14.04

I am back here again with one more issue that I am having installing PhpStorm on my Ubuntu 14.04. To do so I followed the following steps:
Step 1. sudo apt-get purge openjdk* which gave me a long list mostly saying Package is not installed, so not removed. A few examples:
Package 'openjdk-7-dbg' is not installed, so not removed
Package 'openjdk-7-doc' is not installed, so not removed
...
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Step 2: sudo add-apt-repository ppa:webupd8team/java which ended up saying this:
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:
oracle-java7-set-default : Depends: oracle-java7-installer but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Step 3: Despite those error messages popped up I went ahead and ran sudo apt-get update which executed OK.
Step 4: Tried to run sudo apt-get install oracle-java7-installer which again popped up a lot of negative remarks!
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:
oracle-java7-installer : Depends: java-common (>= 0.24) but it is not installable
Recommends: gsfonts-x11 but it is not installable
E: Unable to correct problems, you have held broken packages.
So I did not go further with rest of the following commands:
sudo apt-get install oracle-java7-set-default
wget http://download-cf.jetbrains.com/webide/PhpStorm-7.1.3.tar.gz
tar -xvf PhpStorm-7.1.3.tar.gz
cd PhpStorm-133.982/bin
./phpstorm.sh
I have no idea what is going wrong! Somebody please help this absolute newbie to install it.
On another note, if PhpStorm fails to install somehow on my PC, please suggest me a good software which runs on Ubuntu with an inbuilt SASS compiler so that I do not have to run a command every time from terminal? And it would be even better if that software I can get for free! PhpStorm is only a 30-day trial.
EDIT
Strange, I'm using PhpStarm on Ubuntu 14.04 and ant works fine. IntelliJ IDEs are really great.
I have these Java from the same repo you are using.
java-common-0.51
java-wrappers-0.1.27
oracle-java7-installer-7u80+7u60arm-0~webupd8~1
Let's try to purge all the Java packages from you system and then install the Oracle Java again.
Use dpkg -l | grep java to discover all the installed java-related packages.
Then, use apt-get purge on all of them.
Skip the javascipt packages of course.
Then, try to install oracle-java7-installer again. I hope it will be installed correctly.
To install Phpstorm in Ubuntu just follow these steps
1.Run sudo apt install snapd
2.Then sudo snap install phpstorm --classic
3.Then type phpstorm in shell and press enter to launch Phpstorm
Read more about these here

How to install 32-bit libraries of android studio properly to a 64-bit machine?

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.

Can't install mono-gmcs package

I am trying to install the mono-gmcs package on my virtual machine running Kali Linux, but receive the output
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:
mono-gmcs : Depends: mono-mcs (= 3.12.1-0xamarin1) but 4.0.4.1-0xamarin1 is to be installed
E: Unable to correct problems, you have held broken packages.
I am using the command sudo apt-get install mono-gmcs to install it.
It says, that mono-gmcs depends on mono-mcs (3.12.1-0xamarin1), which currently is installed via 4.0.4.1-0xamarin1. You have versions conflict. Downgrading xamarin will solve it sudo apt-get install packagename=version
If you are going to choose Mono 4.* via mono-complete, say goodbye to many old packages such as this one. They are obsolete and you don't need them any more.
The compilers have been unified to a single mcs.
Try this
sudo apt-get install mono-complete=*
It brings the latest version.

Android Studio Installation -Unable to run mksdcard SDK tool. on 32 bit Ubuntu 12.10

So, I am trying to install Android Studio in
OS : UBUNTU 12.10, 32 bit.
And I tried installing it for 3-4 times each time it got stuck due to slow internet connection and showing Connection Lost in the terminal.
Now , this time when I again did
./studio.sh
it shows
Unable to run mksdcard SDK tool.
One common reason for this failure is missing required libraries
Please fix the underlying issue and retry.
I saw various posts which shows this occurs in 64 bit OS and installing libraries using
sudo apt-get install ia32-libs
or
sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6
will install required 32 bit libraries , but I am already on a 32 bit OS .
and when I try above command , I get
E: Package 'ia32-libs' has no installation candidate.
Software center also shows negative result:
So, the point is has anyone came across this in a 32 bit UBUNTU 12.10 OS .
Any workaround will be greatly appreciated .
Edit 1
Output when I try to install mentioned libraries for Ubuntu.
yogeshwardancharan#ubuntu:~/Android/Sdk/tools$ sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package lib32bz2-1.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
Package lib32ncurses5 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
Package lib32stdc++6 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
Package lib32z1 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 'lib32z1' has no installation candidate
E: Package 'lib32ncurses5' has no installation candidate
E: Package 'lib32bz2-1.0' has no installation candidate
E: Package 'lib32stdc++6' has no installation candidate
In above output it is mentioned that package may be available from another source ...can someone please help , what that source may be ?
Is it possible to compile these libraries from source . If so , how can I do it ?
Thanks.
For me the answer was here http://tools.android.com/tech-docs/linux-32-bit-libraries
At the time of this answer, the required libraries are
$ sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1
Good luck!

Resources