How do I resolve unmet dependencies after adding a PPA?

1

Alright ... I think I got it...

What I did from the beginning:

This site: https://wiki.debian.org/Multiarch/HOWTO suggests to make /etc/apt/sources.list support multiarch by adding [arch=amd64,i386] to the deb-line. e.g.:

deb [arch=amd64,i386] http://de.archive.ubuntu.com/ubuntu/ saucy universe

Next I added the PPA again (because I need the newest Version of wine) and took care that dpkg recognizes i386.

sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo dpkg --add-architecture i386
sudo apt-get update

Update of the database now showed separate amd64 and i386 repos to be loaded.

Next I switched to aptitude, because of the more sophisticated dependency-solver:

sudo aptitude --full-resolver -f install wine1.7
The following NEW packages will be installed:
binfmt-support{a} fonts-horai-umefont{a} fonts-unfonts-core{a} gnome-exe-thumbnailer{a} icoutils{a} imagemagick{a} imagemagick-common{a}...

0 0
2

So I understand that there are quite a few different posts about this topic. I have been to all of them and none of them are helping me with this problem. Could someone please help me out? Thank you in advance.

The following packages have unmet dependencies: libreadline6-dev : Depends: libtinfo-dev but it is not going to be installed libsqlite3-dev : Depends: libsqlite3-0 (= 3.8.6-1) but 3.8.7.4-1 is to be installed libssl-dev : Depends: libssl1.0.0 (= 1.0.1f-1ubuntu9.8) but 1.0.1f-1ubuntu11.4 is to be installed Recommends: libssl-doc but it is not going to be installed libxml2-dev : Depends: libxml2 (= 2.9.1+dfsg1-4ubuntu1) but 2.9.2+dfsg1-3 is to be installed libxslt1-dev : Depends: libxslt1.1 (= 1.1.28-2build1) but 1.1.28-2build2 is to be installed libyaml-dev : Depends: libyaml-0-2 (= 0.1.6-1ubuntu0.1) but 0.1.6-3 is to be installed sqlite3 : Depends: libsqlite3-0 (= 3.8.6-1) but 3.8.7.4-1 is to be installed zlib1g-dev : Depends: zlib1g (=...
0 0
3

I am trying to install NPM. To do so, I ran:

sudo apt-get install nodejs

This worked successfully. I then ran:

sudo apt-get install npm 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: npm : Depends: node-gyp (>= 0.10.9) but it is not going to be installed E: Unable to correct problems, you have held broken packages.

Trying to install node-gyp leads down an endless path of "unmet dependencies".

I followed these instructions and have 0 not upgraded packages; http://askubuntu.com/questions/140246/how-do-i-resolve-unmet-dependencies-after-adding-a-ppa

I disabled all Other Software Source and still have problems. I keep running into...

0 0
4


Yes I have a PPA. What do you mean by removing the PPA? I went to "software sources" and uncheck the the PPA. Is that right?


Code:

mahmood@localhost:~$ gksu software-properties-gtk mahmood@localhost:~$ sudo apt-get update Hit http://archive.ubuntu.com karmic Release.gpg Ign http://archive.ubuntu.com karmic/main Translation-en_US Ign http://archive.ubuntu.com karmic/universe Translation-en_US Hit http://archive.canonical.com karmic Release.gpg Ign http://archive.canonical.com karmic/partner Translation-en_US Ign http://archive.ubuntu.com karmic/restricted Translation-en_US Ign http://archive.ubuntu.com karmic/multiverse Translation-en_US Hit http://archive.ubuntu.com karmic Release Hit http://archive.canonical.com karmic Release Hit http://archive.canonical.com karmic/partner Packages Hit http://archive.ubuntu.com karmic/main Packages Hit http://archive.canonical.com karmic/partner Sources Hit...
0 0
5

Whenever you try to install any packages may get an error like below,

"E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution)".

For example, If you try to install apache server,

# sudo apt-get install apache2


Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
apache2 : Depends: apache2-bin (= 2.4.7-1ubuntu4.1) but it is not going to be installed
Depends: apache2-data (= 2.4.7-1ubuntu4.1) but it is not going to be installed
teamviewer9 : Depends: libc6-i386 (>= 2.4) but it is not going to be installed
Depends: lib32asound2 but it is not installable
Depends: lib32z1 but it is not going to be installed
Depends: ia32-libs but it is not installable

E: Unmet dependencies. Try...

0 0
6

Most of the Operating Systems now a days offers search within it, Linux is modern desktop which offers many more features than any other Operating System. Ubuntu Unity has its Dash, Gnome Shell desktop also has integrated search, Whisper can be used in Xfce, KDE also offers search from menu, Mate and Cinnamon desktops already have this feature. Mac yosemite introduced new spotlight, it is an productivity feature available in Mac OS. But there are always some Linux users who bring new stuff to Linux and make it better than any other OS.


Here comes

Mutate

alternative to OS-X spotlight created by Wei Qiang, it offers pretty much same features like Spotlight or maybe better than Spotlight. It is a selection-based search system, which creates an index of all items and files on the system. It is designed to allow the user to quickly locate a wide variety of items on the computer, including documents, pictures, music, applications, and System Preferences. It also can...

0 0
7

By Naor Hadar

Again with unmet dependencies problem, but this time it’s something else…

I am running Ubuntu 14.04, and I am trying to install wine but I get this message:

The following packages have unmet dependencies: wine1.7 : Depends: wine1.7-i386 (= 1:1.7.38-0ubuntu1) E: Unable to correct problems, you have held broken packages.

I used: sudo apt-get install wine1.7.

Why?

Because I look a question on askubuntu.com. (Yes I also tried wine1.6)

So, I found this solution, that tells me to add i386 architecture. And I did:

sudo dpkg --add-architecture i386

I ran the command again (all three of them (wine, wine1.6 and wine1.7))
and got the same result for all of these three commands..

Also before you mark this question as duplicate.. I tried everything on the web including these:

How do I resolve unmet dependencies after adding a PPA?

Adding i386 arcitecture

Trying to run sudo apt-get -f install,...

0 0
8

Note: All commands asked to be run must be run in the terminal, which can be opened by either Ctrl+Alt+T or searching for terminal in the dash.

Try running the following command and try to reinstall the software you were trying to install

sudo apt-get update

Backing up

Back up the following files:

/etc/apt/sources.list /var/lib/dpkg/status

To do so, use these commands

sudo cp /etc/apt/sources.list /etc/apt/sources.list.original

and

sudo cp /var/lib/dpkg/status /var/lib/dpkg/status.original

Clearing your apt-cache

apt keeps a cache of recently downloaded packages to save bandwidth when it is required to be installed. This can be counter-productive in some cases

Now, to clean it, you have two options

sudo apt-get clean

This will remove all cached packages belonging to the folder /var/cache/apt/archives/ and /var/cache/apt/archives/partial except the .lock files. This is recommended

sudo apt-get autoclean...
0 0
9
...
0 0
10

Let me share with other people mine experience with installing postgresql-9.3. First of all I have been struggling with this for about 4/5 days, and I finally manage to do it. All went wrong with this nasty errors I have shared in mine first post, as I have tried to google it and discover that people have more less the same error, or struggling to solve a similar one.

Long story short, you have a very nice answer here how to resolve unmet packages

How do I resolve unmet dependencies after adding a PPA?. Mine mistake was that I have made duplicated repository, and the answer in this link solved that, this command sudo apt-get install -f just made another error, you must do this manually,at least I did it (read to the section Preventive Measures, but you could read to the end, it is a imba post).

Second I manage to google this post from official PostgreSQL page http://www.postgresql.org/message-id/20140327084212.GA12703@msgid.df7cb.de, (this is the error people...

0 0
11

attention: This might be more a question for "gis.stackexchange" but it is Ubuntu-related Geonode 2.0 is available for Ubuntu 12.04 but not for Ubuntu 14.04. According to the docs it should be sufficient to make an

sudo apt-get install python-software-properties sudo add-apt-repository ppa:geonode/release sudo apt-get update sudo apt-get install geonode

I have a fresh install of Ubuntu Server 12.04 with 64bit architecture, with a default LAMP configuration made an apt-get update and it already fails on the first line:

Depends: python-pycurl but is not installable

The first line works on Ubuntu 14.04 but geonode will not be installable on 14.04. I am somewhere stucked. I have no idea to get this...

0 0
12

I'm a newbie here so please bear with me.

I'm using ubuntu 14.04.

I tried entering mysql with the following command:

mysql -u root -p

and I got the following message:

The program mysql can be found on the following packages: * mysql-client-core-5.5 * mariadb-client-core-5.5 * mysql-client-core-5.6 * percona-xtrabd-cluster-client-5.5

I then typed in:

sudo apt-get install mysql-client-core-5.6

After this was installed, I tried connecting to mysql again using:

mysql -u root -p

I then got the error message:

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

After searching online, I found out I needed to install mysql server and so I wrote in the following command

sudo apt-get install mysql-server

I then got the message:

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

Google Chrome is a free web browser developed by Google. One of the popular and widely used web browser by most of the internet users, available for Linux, Windows and Mac OS.

Advertisements

In Ubuntu / Linux Mint / Debian OS you can directly download and install the debian version.

Alternatively you can add the Google Chrome PPA to repository.

To add PPA in Ubuntu 14.04 / 13.10 / 13.04 / 12.10 / 12.04

First download and install the key from Google Linux Repository. Or run the following command in the terminal, type the password for the user when prompted.

Advertisements

wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -

After installing the key, run the below command to add it to the repository.

sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'

Thats it. Now update your repository and install the browser.

To...

0 0
14

Xubuntu 14.04

Xubuntu is a great distro, that combines the great Xfce desktop with the great Ubuntu. It presents the conventional desktop with a pleasant and rich looking user interface. Its fast and less resource intensive compared to Gnome shell, unity and kde variants of ubuntu.

Xubuntu 14.04 has just been released the same day with Ubuntu 14.04. So go ahead to install it if you prefer less of KDE and dislike ubuntu's unity desktop. After the installation is done, do some necessary tweaks and installs shown below to make it even better.

1. Update the system

The first thing to do is to make your system uptodate with the online repositories. So run the following commands.

$ sudo apt-get update $ sudo apt-get upgrade

2. Install Aptitude, Synaptic and Gdebi

Ubuntu software center is there, but synaptic is faster, simpler and easier. The aptitude command is a great apt-get alternative. The gdebi command is very useful when...

0 0
15

Install the latest NVIDIA GeForce graphics driver (version 304.108 / 319) in Ubuntu 14.04 / 13.10 / 13.04 / 12.10 / 12.04 / 11.10 / 11.04 / 10.04 using PPA. This PPA doesn’t support Ubuntu 10.10. This PPA is from Ubuntu-X team and xorg crack pushers team which updates unsupported packages for your system.

Advertisements

For Ubuntu 10.10 you can download the latest NVIDIA GeForce graphics driver (version 304.64) from GeForce official site.

To add PPA for Ubuntu 14.04 / 13.10 / 13.04 / 12.10

Ubuntu 14.04 / 13.10 / 13.04 / 12.10 users, Run the following command in the terminal and type the password for the user when prompted. Others use the Ubuntu-X PPA.

sudo apt-add-repository ppa:xorg-edgers/ppa

To add PPA for Ubuntu 12.04 / 11.10 / 11.04 / 10.04

sudo apt-add-repository ppa:ubuntu-x-swat/x-updates

After adding the PPA, update your system repository.

Advertisements

To Update

sudo apt-get update

Now install the...

0 0
16

Google Chrome is one of the most used, popular, fastest and secure web browser. It is available for Linux(rpm,deb), Mac and Windows.

Advertisements

You can download and install Google Chrome in Ubuntu 14.04, Ubuntu 13.10, Ubuntu 13.04, Ubuntu 12.10 / 12. 04 / 11.10 / 11.04 using debian file or you can also install using apt-get by adding google repository to your repository.

To Install

Download the current stable version from here. After downloading the “.deb” file, open a terminal and move to the directory where the debian file is downloaded. For example, if the file is in Downloads use the below command to move to the Downloads directory.

cd Downloads

After changing the directory, use the below command to install the google chrome from debian file. Type the password for the user when prompted.

Advertisements

sudo dpkg -i google-chrome-stable_current_i386.deb

If you find any error and the installation fails because of dependency...

0 0