When i try to install libpulse-dev i am getting error as
The following packages have unmet dependencies:
libpulse-dev : Depends: libglib2.0-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Please help me
$ sudo apt-get install libpulse-dev
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:
libpulse-dev : Depends: libglib2.0-dev but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
==
You should install libglib2.0-dev
If can't install libpulse-dev,
try:
locate libpulse-mainloop-glib.so
cd /usr/lib/x86_64-linux-gnu
sudo ln -sf libpulse-mainloop-glib.so.0.0.5 libpulse-mainloop-glib.so
locate libpulse.so
sudo ln -sf libpulse.so.0 libpulse.so
Related
I am trying to install MongoDb in Ubuntu 20.04.4 LTS
I am following the steps in the documentation here
But when I execute the command in STEP 4
I am getting the error as shown in the screenshot below.
venki#ubuntu:~$ sudo apt-get install -y mongodb-org
Reading package lists... Done
Building dependency tree
Reading state information... Done
mongodb-org is already the newest version (6.0.0).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
mongodb-org-database : Depends: mongodb-org-server but it is not going to be installed
Depends: mongodb-org-mongos but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
venki#ubuntu:~$
venki#ubuntu:~$
venki#ubuntu:~$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies:
mongodb-org-database : Depends: mongodb-org-server but it is not installed
Depends: mongodb-org-mongos but it is not installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
venki#ubuntu:~$ sudo dpkg --configure -a
venki#ubuntu:~$ sudo apt-get install -y mongodb-org
Reading package lists... Done
Building dependency tree
Reading state information... Done
mongodb-org is already the newest version (6.0.0).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
mongodb-org-database : Depends: mongodb-org-server but it is not going to be installed
Depends: mongodb-org-mongos but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
venki#ubuntu:~$ sudo dpkg --remove mongodb-org-shell
I tried uninstalling following the steps in official documentation here
And tried to start installing from STEP 1 again. But the error still stays.
I also tried to make this work by executing the following commands :
sudo dpkg --configure -a
sudo dpkg --remove mongodb-org-database-tools-extra
sudo dpkg --remove mongodb-org-shell
But this does not seem to work either.
Can someone please help me out here ?
E: Unable to locate package postgres-11
user#ubuntu:~$ pg_ctl start -D /etc/postgres/11/main
The program 'pg_ctl' is currently not installed. You can install it by typing:
sudo apt-get install postgres-xc
user#ubuntu:~$ sudo apt-get install postgres-xc
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:
postgres-xc : Depends: postgres-xc-client but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
I'm currently trying to install some fonts on Debian Stretch
g#i-3-nstance:~$ sudo apt-get install ttf-mscorefonts-installer
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:
ttf-mscorefonts-installer : Depends: update-notifier-common (>= 0.119ubuntu2) but it is not installable
E: Unable to correct problems, you have held broken packages.
g#i-3-nstance:~$
...but it seems this package has been removed.
https://github.com/plone/ansible-playbook/issues/98
https://github.com/jnv/ansible-role-unattended-upgrades/issues/6#issuecomment-93569818
Is there a work-around?
Update: I did a manual install based on this: https://askubuntu.com/a/861476
sudo apt-get install cabextract libmspack0
wget http://ftp.de.debian.org/debian/pool/contrib/m/msttcorefonts/ttf-mscorefonts-installer_3.6_all.deb
sudo dpkg -i ttf-mscorefonts-installer_3.6_all.deb
The ttf-mscorefonts-installer package that apt-get tries to install is from Ubuntu repository, not from Debian repository (note that it depends on update-notifier-common >= 0.119ubuntu2).
You probably have mixed Debian and Ubuntu repositories in /etc/apt/sources.list.
I want install a 32bit application,but i can not install lib32stdc++6
here is:
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-4.8-base (= 4.8.2-19ubuntu1) but 4.8.4-2ubuntu1~14.04 is to be installed
E: Unable to correct problems, you have held broken packages.
finally,i found this
https://askubuntu.com/questions/223237/unable-to-correct-problems-you-have-held-broken-packages
and i use aptitude to force install this
sudo aptitude -f install lib32stdc++6
run this command ,and choose 'n',then it will give you another choice,then choose 'Y'.
done and success
I'm trying to upgrade my kernel version from 2.6.32 to 3.2.0.0. When I try:
sudo apt-get install linux-image-3.16.0-4-amd64
I get the following error message:
linux-image-3.16.0-4-amd64 : Depends: linux-base (>= 3~) but 2.6.32-48squeeze6 is to be installed
Recommends: firmware-linux-free (>= 3~) but it is not going to be installed
Recommends: irqbalance but it is not going to be installed
Breaks: initramfs-tools (< 0.110~) but 0.98.8 is to be installed
I read that the problem has to do with having two kernel versions at once, so I tried the squeeze backports option. After adding the line:
deb http://backports.debian.org/debian-backports squeeze-backports main contrib non-free
to my /etc/apt/sources.list, and running the following command:
sudo apt-get install -t squeeze-backports linux-image-3.16.0-4-amd64
I get the same error message as above. Can someone explain to me what the problem is, and how I would proceed to install the new kernel?
By the way, when I type in sudo apt-get install -f, I have the following message:
sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies:
libfuzzy-dev : Depends: libfuzzy2 (= 2.12-1) but it is not installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies