Unmet dependencies when trying to build chromium browser on Ubuntu 14.04 Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election Results Why I closed the “Why is Kali so hard” questionBuild Chromium from sourceInstalling libxml2 on secure Debian boxPackage deb dependencies unmet errormessed up system after offline package installation for WLAN drivercannot install wine on 17.1 mint: unmet dependencies, broken packagesUnmet dependencies when installing mtrackGiven a debian package name, how do I get a URL to the latest .deb URL?“Unmet dependencies. bluez : Conflicts_ bluez-alsa:i386 but 4.98-2ubuntu7 is to be installed”How to install a functional ARM cross-gcc toolchain on Ubuntu 18.04?Apt refusing to install kernel firmware package from Debian backports

Is grep documentation wrong?

Can a party unilaterally change candidates in preparation for a General election?

Crossing US/Canada Border for less than 24 hours

What does the "x" in "x86" represent?

What is implied by the word 'Desika'

How come Sam didn't become Lord of Horn Hill?

Withdrew £2800, but only £2000 shows as withdrawn on online banking; what are my obligations?

How does the math work when buying airline miles?

Fundamental Solution of the Pell Equation

AppleTVs create a chatty alternate WiFi network

また usage in a dictionary

Has negative voting ever been officially implemented in elections, or seriously proposed, or even studied?

Using audio cues to encourage good posture

What's the meaning of "fortified infraction restraint"?

Wu formula for manifolds with boundary

Did MS DOS itself ever use blinking text?

Is there such thing as an Availability Group failover trigger?

Is it a good idea to use CNN to classify 1D signal?

Denied boarding although I have proper visa and documentation. To whom should I make a complaint?

Chinese Seal on silk painting - what does it mean?

Do I really need to have a message in a novel to appeal to readers?

Is it common practice to audition new musicians one-on-one before rehearsing with the entire band?

Do square wave exist?

What does "lightly crushed" mean for cardamon pods?



Unmet dependencies when trying to build chromium browser on Ubuntu 14.04



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
2019 Community Moderator Election Results
Why I closed the “Why is Kali so hard” questionBuild Chromium from sourceInstalling libxml2 on secure Debian boxPackage deb dependencies unmet errormessed up system after offline package installation for WLAN drivercannot install wine on 17.1 mint: unmet dependencies, broken packagesUnmet dependencies when installing mtrackGiven a debian package name, how do I get a URL to the latest .deb URL?“Unmet dependencies. bluez : Conflicts_ bluez-alsa:i386 but 4.98-2ubuntu7 is to be installed”How to install a functional ARM cross-gcc toolchain on Ubuntu 18.04?Apt refusing to install kernel firmware package from Debian backports



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















I am trying to install the necessary dependencies for building Chromium on Ubuntu 14.04, and I am facing the following message:



The following packages have unmet dependencies:
g++-4.8-multilib : Depends: gcc-4.8-multilib (= 4.8.2-19ubuntu1) but it is not going to be installed
Depends: lib32stdc++-4.8-dev (= 4.8.2-19ubuntu1) but it is not going to be installed
Depends: libx32stdc++-4.8-dev (= 4.8.2-19ubuntu1) but it is not going to be installed
lib32gcc1 : Depends: gcc-4.9-base (= 4.9-20140406-0ubuntu1) but 4.9.1-0ubuntu1 is to be installed
libbluetooth-dev : Depends: libbluetooth3 (= 4.101-0ubuntu13) but 4.101-0ubuntu13.1 is to be installed
libcairo2-dbg : Depends: libcairo2 (= 1.13.0~20140204-0ubuntu1) but 1.13.0~20140204-0ubuntu1.1 is to be installed
libcairo2-dev : Depends: libcairo2 (= 1.13.0~20140204-0ubuntu1) but 1.13.0~20140204-0ubuntu1.1 is to be installed
Depends: libcairo-gobject2 (= 1.13.0~20140204-0ubuntu1) but 1.13.0~20140204-0ubuntu1.1 is to be installed
Depends: libfontconfig1-dev (>= 2.2.95) but it is not going to be installed
libfontconfig1-dbg : Depends: libfontconfig1 (= 2.11.0-0ubuntu4) but 2.11.0-0ubuntu4.1 is to be installed
libgbm-dev : Depends: libgbm1 (= 10.1.0-4ubuntu5)
libgl1-mesa-glx:i386 : Depends: libglapi-mesa:i386 (= 10.1.0-4ubuntu5)
Recommends: libgl1-mesa-dri:i386 (>= 7.2)
Conflicts: libgl1
libgl1-mesa-glx-lts-utopic : Conflicts: libgl1:i386
Conflicts: libgl1-mesa-glx:i386
libglib2.0-0-dbg : Depends: libglib2.0-0 (= 2.40.0-2) but 2.40.2-0ubuntu1 is to be installed
libglib2.0-dev : Depends: libglib2.0-0 (= 2.40.0-2) but 2.40.2-0ubuntu1 is to be installed
Depends: libglib2.0-bin (= 2.40.0-2)
libgtk2.0-dev : Depends: libpango1.0-dev (>= 1.20) but it is not going to be installed
libpango1.0-0-dbg : Depends: libpango-1.0-0 (= 1.36.3-1ubuntu1) but 1.36.3-1ubuntu1.1 is to be installed or
libpangocairo-1.0-0 (= 1.36.3-1ubuntu1) but 1.36.3-1ubuntu1.1 is to be installed or
libpangoft2-1.0-0 (= 1.36.3-1ubuntu1) but 1.36.3-1ubuntu1.1 is to be installed or
libpangoxft-1.0-0 (= 1.36.3-1ubuntu1) but 1.36.3-1ubuntu1.1 is to be installed
libpulse-dev : Depends: libpulse0 (= 1:4.0-0ubuntu11) but 1:4.0-0ubuntu11.1 is to be installed
Depends: libpulse-mainloop-glib0 (= 1:4.0-0ubuntu11) but 1:4.0-0ubuntu11.1 is to be installed
libstdc++6-4.6-dbg : Depends: libgcc1-dbg but it is not going to be installed
libudev-dev : Depends: libudev1 (= 204-5ubuntu20) but 204-5ubuntu20.11 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

You will have to install the above packages yourself.


It says there that I have to install those packages by myself, but how to do this ?



When I am trying to sudo apt-get install <some_package> it tells me (example for gcc-4.8-multilib):



gcc-4.8-multilib : Depends: lib32gcc-4.8-dev (= 4.8.2-19ubuntu1) but it is not going to be installed
Depends: libx32gcc-4.8-dev (= 4.8.2-19ubuntu1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


Can anybody help me resolve all of these packages installation ?




UPDATE 1:



for sudo apt-get install lib32gcc-4.8-dev I get:



lib32gcc-4.8-dev : Depends: lib32gcc1 (>= 1:4.8.2-19ubuntu1) but it is not going to be installed
Depends: libx32gcc1 (>= 1:4.8.2-19ubuntu1) but it is not going to be installed
Depends: lib32asan0 (>= 4.8.2-19ubuntu1) but it is not going to be installed
Depends: libx32asan0 (>= 4.8.2-19ubuntu1) but it is not going to be installed


and for apt-cache policy lib32gcc-4.8-dev I get:



lib32gcc-4.8-dev:
Installed: (none)
Candidate: 4.8.2-19ubuntu1
Version table:
4.8.2-19ubuntu1 0
500 http://ro.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages



UPDATE 2:



for sudo apt-get install lib32gcc1 I get:



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:
lib32gcc1 : Depends: gcc-4.9-base (= 4.9-20140406-0ubuntu1) but 4.9.1-0ubuntu1 is to be installed
E: Unable to correct problems, you have held broken packages.


and for apt-cache policy lib32gcc1 I get:



 Installed: (none)
Candidate: 1:4.9-20140406-0ubuntu1
Version table:
1:4.9-20140406-0ubuntu1 0
500 http://ro.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
1:4.6.3-1ubuntu5 0
500 mirror://mirrors.ubuntu.com/mirrors.txt/ precise/main amd64 Packages


For apt-cache policy lib32gcc-4.8-dev lib32gcc1 libx32gcc1 lib32asan0 libx32asan0 I get:



lib32gcc-4.8-dev:
Installed: (none)
Candidate: 4.8.2-19ubuntu1
Version table:
4.8.2-19ubuntu1 0
500 http://ro.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
lib32gcc1:
Installed: (none)
Candidate: 1:4.9-20140406-0ubuntu1
Version table:
1:4.9-20140406-0ubuntu1 0
500 http://ro.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
1:4.6.3-1ubuntu5 0
500 mirror://mirrors.ubuntu.com/mirrors.txt/ precise/main amd64 Packages
libx32gcc1:
Installed: (none)
Candidate: 1:4.9-20140406-0ubuntu1
Version table:
1:4.9-20140406-0ubuntu1 0
500 http://ro.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
lib32asan0:
Installed: (none)
Candidate: 4.8.2-19ubuntu1
Version table:
4.8.2-19ubuntu1 0
500 http://ro.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
libx32asan0:
Installed: (none)
Candidate: 4.8.2-19ubuntu1
Version table:
4.8.2-19ubuntu1 0
500 http://ro.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages



UPDATE 3:



For apt-cache policy gcc-4.9-base I get:



gcc-4.9-base:
Installed: 4.9.1-0ubuntu1
Candidate: 4.9.1-0ubuntu1
Version table:
*** 4.9.1-0ubuntu1 0
100 /var/lib/dpkg/status
4.9-20140406-0ubuntu1 0
500 http://ro.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages



When I try to do sudo apt-get purge gcc-4.9-base, I am getting:



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:
libgcc1 : Depends: gcc-4.9-base (= 4.9.1-0ubuntu1) but it is not going to be installed
libudev1 : Depends: libcgmanager0 but it is not going to be installed
Depends: libnih-dbus1 (>= 1.0.0) but it is not going to be installed
Depends: libnih1 (>= 1.0.0) but it is not going to be installed
libxcb1 : Depends: libxau6 but it is not going to be installed
Depends: libxdmcp6 but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.









share|improve this question
























  • What does sudo apt-get install lib32gcc-4.8-dev say? What about apt-cache policy lib32gcc-4.8-dev?

    – Stephen Kitt
    May 13 '15 at 8:56











  • @Stephen see the updated question

    – Cajuu'
    May 13 '15 at 9:00











  • Let's have apt-cache policy lib32gcc-4.8-dev lib32gcc1 libx32gcc1 lib32asan0 libx32asan0.

    – Faheem Mitha
    May 13 '15 at 9:01











  • OK, you need to continue down the rabbit hole: what do sudo apt-get install lib32gcc1 and apt-cache policy lib32gcc1 produce?

    – Stephen Kitt
    May 13 '15 at 9:02











  • @StephenKitt updated

    – Cajuu'
    May 13 '15 at 9:06

















1















I am trying to install the necessary dependencies for building Chromium on Ubuntu 14.04, and I am facing the following message:



The following packages have unmet dependencies:
g++-4.8-multilib : Depends: gcc-4.8-multilib (= 4.8.2-19ubuntu1) but it is not going to be installed
Depends: lib32stdc++-4.8-dev (= 4.8.2-19ubuntu1) but it is not going to be installed
Depends: libx32stdc++-4.8-dev (= 4.8.2-19ubuntu1) but it is not going to be installed
lib32gcc1 : Depends: gcc-4.9-base (= 4.9-20140406-0ubuntu1) but 4.9.1-0ubuntu1 is to be installed
libbluetooth-dev : Depends: libbluetooth3 (= 4.101-0ubuntu13) but 4.101-0ubuntu13.1 is to be installed
libcairo2-dbg : Depends: libcairo2 (= 1.13.0~20140204-0ubuntu1) but 1.13.0~20140204-0ubuntu1.1 is to be installed
libcairo2-dev : Depends: libcairo2 (= 1.13.0~20140204-0ubuntu1) but 1.13.0~20140204-0ubuntu1.1 is to be installed
Depends: libcairo-gobject2 (= 1.13.0~20140204-0ubuntu1) but 1.13.0~20140204-0ubuntu1.1 is to be installed
Depends: libfontconfig1-dev (>= 2.2.95) but it is not going to be installed
libfontconfig1-dbg : Depends: libfontconfig1 (= 2.11.0-0ubuntu4) but 2.11.0-0ubuntu4.1 is to be installed
libgbm-dev : Depends: libgbm1 (= 10.1.0-4ubuntu5)
libgl1-mesa-glx:i386 : Depends: libglapi-mesa:i386 (= 10.1.0-4ubuntu5)
Recommends: libgl1-mesa-dri:i386 (>= 7.2)
Conflicts: libgl1
libgl1-mesa-glx-lts-utopic : Conflicts: libgl1:i386
Conflicts: libgl1-mesa-glx:i386
libglib2.0-0-dbg : Depends: libglib2.0-0 (= 2.40.0-2) but 2.40.2-0ubuntu1 is to be installed
libglib2.0-dev : Depends: libglib2.0-0 (= 2.40.0-2) but 2.40.2-0ubuntu1 is to be installed
Depends: libglib2.0-bin (= 2.40.0-2)
libgtk2.0-dev : Depends: libpango1.0-dev (>= 1.20) but it is not going to be installed
libpango1.0-0-dbg : Depends: libpango-1.0-0 (= 1.36.3-1ubuntu1) but 1.36.3-1ubuntu1.1 is to be installed or
libpangocairo-1.0-0 (= 1.36.3-1ubuntu1) but 1.36.3-1ubuntu1.1 is to be installed or
libpangoft2-1.0-0 (= 1.36.3-1ubuntu1) but 1.36.3-1ubuntu1.1 is to be installed or
libpangoxft-1.0-0 (= 1.36.3-1ubuntu1) but 1.36.3-1ubuntu1.1 is to be installed
libpulse-dev : Depends: libpulse0 (= 1:4.0-0ubuntu11) but 1:4.0-0ubuntu11.1 is to be installed
Depends: libpulse-mainloop-glib0 (= 1:4.0-0ubuntu11) but 1:4.0-0ubuntu11.1 is to be installed
libstdc++6-4.6-dbg : Depends: libgcc1-dbg but it is not going to be installed
libudev-dev : Depends: libudev1 (= 204-5ubuntu20) but 204-5ubuntu20.11 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

You will have to install the above packages yourself.


It says there that I have to install those packages by myself, but how to do this ?



When I am trying to sudo apt-get install <some_package> it tells me (example for gcc-4.8-multilib):



gcc-4.8-multilib : Depends: lib32gcc-4.8-dev (= 4.8.2-19ubuntu1) but it is not going to be installed
Depends: libx32gcc-4.8-dev (= 4.8.2-19ubuntu1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


Can anybody help me resolve all of these packages installation ?




UPDATE 1:



for sudo apt-get install lib32gcc-4.8-dev I get:



lib32gcc-4.8-dev : Depends: lib32gcc1 (>= 1:4.8.2-19ubuntu1) but it is not going to be installed
Depends: libx32gcc1 (>= 1:4.8.2-19ubuntu1) but it is not going to be installed
Depends: lib32asan0 (>= 4.8.2-19ubuntu1) but it is not going to be installed
Depends: libx32asan0 (>= 4.8.2-19ubuntu1) but it is not going to be installed


and for apt-cache policy lib32gcc-4.8-dev I get:



lib32gcc-4.8-dev:
Installed: (none)
Candidate: 4.8.2-19ubuntu1
Version table:
4.8.2-19ubuntu1 0
500 http://ro.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages



UPDATE 2:



for sudo apt-get install lib32gcc1 I get:



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:
lib32gcc1 : Depends: gcc-4.9-base (= 4.9-20140406-0ubuntu1) but 4.9.1-0ubuntu1 is to be installed
E: Unable to correct problems, you have held broken packages.


and for apt-cache policy lib32gcc1 I get:



 Installed: (none)
Candidate: 1:4.9-20140406-0ubuntu1
Version table:
1:4.9-20140406-0ubuntu1 0
500 http://ro.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
1:4.6.3-1ubuntu5 0
500 mirror://mirrors.ubuntu.com/mirrors.txt/ precise/main amd64 Packages


For apt-cache policy lib32gcc-4.8-dev lib32gcc1 libx32gcc1 lib32asan0 libx32asan0 I get:



lib32gcc-4.8-dev:
Installed: (none)
Candidate: 4.8.2-19ubuntu1
Version table:
4.8.2-19ubuntu1 0
500 http://ro.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
lib32gcc1:
Installed: (none)
Candidate: 1:4.9-20140406-0ubuntu1
Version table:
1:4.9-20140406-0ubuntu1 0
500 http://ro.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
1:4.6.3-1ubuntu5 0
500 mirror://mirrors.ubuntu.com/mirrors.txt/ precise/main amd64 Packages
libx32gcc1:
Installed: (none)
Candidate: 1:4.9-20140406-0ubuntu1
Version table:
1:4.9-20140406-0ubuntu1 0
500 http://ro.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
lib32asan0:
Installed: (none)
Candidate: 4.8.2-19ubuntu1
Version table:
4.8.2-19ubuntu1 0
500 http://ro.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
libx32asan0:
Installed: (none)
Candidate: 4.8.2-19ubuntu1
Version table:
4.8.2-19ubuntu1 0
500 http://ro.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages



UPDATE 3:



For apt-cache policy gcc-4.9-base I get:



gcc-4.9-base:
Installed: 4.9.1-0ubuntu1
Candidate: 4.9.1-0ubuntu1
Version table:
*** 4.9.1-0ubuntu1 0
100 /var/lib/dpkg/status
4.9-20140406-0ubuntu1 0
500 http://ro.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages



When I try to do sudo apt-get purge gcc-4.9-base, I am getting:



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:
libgcc1 : Depends: gcc-4.9-base (= 4.9.1-0ubuntu1) but it is not going to be installed
libudev1 : Depends: libcgmanager0 but it is not going to be installed
Depends: libnih-dbus1 (>= 1.0.0) but it is not going to be installed
Depends: libnih1 (>= 1.0.0) but it is not going to be installed
libxcb1 : Depends: libxau6 but it is not going to be installed
Depends: libxdmcp6 but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.









share|improve this question
























  • What does sudo apt-get install lib32gcc-4.8-dev say? What about apt-cache policy lib32gcc-4.8-dev?

    – Stephen Kitt
    May 13 '15 at 8:56











  • @Stephen see the updated question

    – Cajuu'
    May 13 '15 at 9:00











  • Let's have apt-cache policy lib32gcc-4.8-dev lib32gcc1 libx32gcc1 lib32asan0 libx32asan0.

    – Faheem Mitha
    May 13 '15 at 9:01











  • OK, you need to continue down the rabbit hole: what do sudo apt-get install lib32gcc1 and apt-cache policy lib32gcc1 produce?

    – Stephen Kitt
    May 13 '15 at 9:02











  • @StephenKitt updated

    – Cajuu'
    May 13 '15 at 9:06













1












1








1


1






I am trying to install the necessary dependencies for building Chromium on Ubuntu 14.04, and I am facing the following message:



The following packages have unmet dependencies:
g++-4.8-multilib : Depends: gcc-4.8-multilib (= 4.8.2-19ubuntu1) but it is not going to be installed
Depends: lib32stdc++-4.8-dev (= 4.8.2-19ubuntu1) but it is not going to be installed
Depends: libx32stdc++-4.8-dev (= 4.8.2-19ubuntu1) but it is not going to be installed
lib32gcc1 : Depends: gcc-4.9-base (= 4.9-20140406-0ubuntu1) but 4.9.1-0ubuntu1 is to be installed
libbluetooth-dev : Depends: libbluetooth3 (= 4.101-0ubuntu13) but 4.101-0ubuntu13.1 is to be installed
libcairo2-dbg : Depends: libcairo2 (= 1.13.0~20140204-0ubuntu1) but 1.13.0~20140204-0ubuntu1.1 is to be installed
libcairo2-dev : Depends: libcairo2 (= 1.13.0~20140204-0ubuntu1) but 1.13.0~20140204-0ubuntu1.1 is to be installed
Depends: libcairo-gobject2 (= 1.13.0~20140204-0ubuntu1) but 1.13.0~20140204-0ubuntu1.1 is to be installed
Depends: libfontconfig1-dev (>= 2.2.95) but it is not going to be installed
libfontconfig1-dbg : Depends: libfontconfig1 (= 2.11.0-0ubuntu4) but 2.11.0-0ubuntu4.1 is to be installed
libgbm-dev : Depends: libgbm1 (= 10.1.0-4ubuntu5)
libgl1-mesa-glx:i386 : Depends: libglapi-mesa:i386 (= 10.1.0-4ubuntu5)
Recommends: libgl1-mesa-dri:i386 (>= 7.2)
Conflicts: libgl1
libgl1-mesa-glx-lts-utopic : Conflicts: libgl1:i386
Conflicts: libgl1-mesa-glx:i386
libglib2.0-0-dbg : Depends: libglib2.0-0 (= 2.40.0-2) but 2.40.2-0ubuntu1 is to be installed
libglib2.0-dev : Depends: libglib2.0-0 (= 2.40.0-2) but 2.40.2-0ubuntu1 is to be installed
Depends: libglib2.0-bin (= 2.40.0-2)
libgtk2.0-dev : Depends: libpango1.0-dev (>= 1.20) but it is not going to be installed
libpango1.0-0-dbg : Depends: libpango-1.0-0 (= 1.36.3-1ubuntu1) but 1.36.3-1ubuntu1.1 is to be installed or
libpangocairo-1.0-0 (= 1.36.3-1ubuntu1) but 1.36.3-1ubuntu1.1 is to be installed or
libpangoft2-1.0-0 (= 1.36.3-1ubuntu1) but 1.36.3-1ubuntu1.1 is to be installed or
libpangoxft-1.0-0 (= 1.36.3-1ubuntu1) but 1.36.3-1ubuntu1.1 is to be installed
libpulse-dev : Depends: libpulse0 (= 1:4.0-0ubuntu11) but 1:4.0-0ubuntu11.1 is to be installed
Depends: libpulse-mainloop-glib0 (= 1:4.0-0ubuntu11) but 1:4.0-0ubuntu11.1 is to be installed
libstdc++6-4.6-dbg : Depends: libgcc1-dbg but it is not going to be installed
libudev-dev : Depends: libudev1 (= 204-5ubuntu20) but 204-5ubuntu20.11 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

You will have to install the above packages yourself.


It says there that I have to install those packages by myself, but how to do this ?



When I am trying to sudo apt-get install <some_package> it tells me (example for gcc-4.8-multilib):



gcc-4.8-multilib : Depends: lib32gcc-4.8-dev (= 4.8.2-19ubuntu1) but it is not going to be installed
Depends: libx32gcc-4.8-dev (= 4.8.2-19ubuntu1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


Can anybody help me resolve all of these packages installation ?




UPDATE 1:



for sudo apt-get install lib32gcc-4.8-dev I get:



lib32gcc-4.8-dev : Depends: lib32gcc1 (>= 1:4.8.2-19ubuntu1) but it is not going to be installed
Depends: libx32gcc1 (>= 1:4.8.2-19ubuntu1) but it is not going to be installed
Depends: lib32asan0 (>= 4.8.2-19ubuntu1) but it is not going to be installed
Depends: libx32asan0 (>= 4.8.2-19ubuntu1) but it is not going to be installed


and for apt-cache policy lib32gcc-4.8-dev I get:



lib32gcc-4.8-dev:
Installed: (none)
Candidate: 4.8.2-19ubuntu1
Version table:
4.8.2-19ubuntu1 0
500 http://ro.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages



UPDATE 2:



for sudo apt-get install lib32gcc1 I get:



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:
lib32gcc1 : Depends: gcc-4.9-base (= 4.9-20140406-0ubuntu1) but 4.9.1-0ubuntu1 is to be installed
E: Unable to correct problems, you have held broken packages.


and for apt-cache policy lib32gcc1 I get:



 Installed: (none)
Candidate: 1:4.9-20140406-0ubuntu1
Version table:
1:4.9-20140406-0ubuntu1 0
500 http://ro.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
1:4.6.3-1ubuntu5 0
500 mirror://mirrors.ubuntu.com/mirrors.txt/ precise/main amd64 Packages


For apt-cache policy lib32gcc-4.8-dev lib32gcc1 libx32gcc1 lib32asan0 libx32asan0 I get:



lib32gcc-4.8-dev:
Installed: (none)
Candidate: 4.8.2-19ubuntu1
Version table:
4.8.2-19ubuntu1 0
500 http://ro.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
lib32gcc1:
Installed: (none)
Candidate: 1:4.9-20140406-0ubuntu1
Version table:
1:4.9-20140406-0ubuntu1 0
500 http://ro.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
1:4.6.3-1ubuntu5 0
500 mirror://mirrors.ubuntu.com/mirrors.txt/ precise/main amd64 Packages
libx32gcc1:
Installed: (none)
Candidate: 1:4.9-20140406-0ubuntu1
Version table:
1:4.9-20140406-0ubuntu1 0
500 http://ro.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
lib32asan0:
Installed: (none)
Candidate: 4.8.2-19ubuntu1
Version table:
4.8.2-19ubuntu1 0
500 http://ro.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
libx32asan0:
Installed: (none)
Candidate: 4.8.2-19ubuntu1
Version table:
4.8.2-19ubuntu1 0
500 http://ro.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages



UPDATE 3:



For apt-cache policy gcc-4.9-base I get:



gcc-4.9-base:
Installed: 4.9.1-0ubuntu1
Candidate: 4.9.1-0ubuntu1
Version table:
*** 4.9.1-0ubuntu1 0
100 /var/lib/dpkg/status
4.9-20140406-0ubuntu1 0
500 http://ro.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages



When I try to do sudo apt-get purge gcc-4.9-base, I am getting:



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:
libgcc1 : Depends: gcc-4.9-base (= 4.9.1-0ubuntu1) but it is not going to be installed
libudev1 : Depends: libcgmanager0 but it is not going to be installed
Depends: libnih-dbus1 (>= 1.0.0) but it is not going to be installed
Depends: libnih1 (>= 1.0.0) but it is not going to be installed
libxcb1 : Depends: libxau6 but it is not going to be installed
Depends: libxdmcp6 but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.









share|improve this question
















I am trying to install the necessary dependencies for building Chromium on Ubuntu 14.04, and I am facing the following message:



The following packages have unmet dependencies:
g++-4.8-multilib : Depends: gcc-4.8-multilib (= 4.8.2-19ubuntu1) but it is not going to be installed
Depends: lib32stdc++-4.8-dev (= 4.8.2-19ubuntu1) but it is not going to be installed
Depends: libx32stdc++-4.8-dev (= 4.8.2-19ubuntu1) but it is not going to be installed
lib32gcc1 : Depends: gcc-4.9-base (= 4.9-20140406-0ubuntu1) but 4.9.1-0ubuntu1 is to be installed
libbluetooth-dev : Depends: libbluetooth3 (= 4.101-0ubuntu13) but 4.101-0ubuntu13.1 is to be installed
libcairo2-dbg : Depends: libcairo2 (= 1.13.0~20140204-0ubuntu1) but 1.13.0~20140204-0ubuntu1.1 is to be installed
libcairo2-dev : Depends: libcairo2 (= 1.13.0~20140204-0ubuntu1) but 1.13.0~20140204-0ubuntu1.1 is to be installed
Depends: libcairo-gobject2 (= 1.13.0~20140204-0ubuntu1) but 1.13.0~20140204-0ubuntu1.1 is to be installed
Depends: libfontconfig1-dev (>= 2.2.95) but it is not going to be installed
libfontconfig1-dbg : Depends: libfontconfig1 (= 2.11.0-0ubuntu4) but 2.11.0-0ubuntu4.1 is to be installed
libgbm-dev : Depends: libgbm1 (= 10.1.0-4ubuntu5)
libgl1-mesa-glx:i386 : Depends: libglapi-mesa:i386 (= 10.1.0-4ubuntu5)
Recommends: libgl1-mesa-dri:i386 (>= 7.2)
Conflicts: libgl1
libgl1-mesa-glx-lts-utopic : Conflicts: libgl1:i386
Conflicts: libgl1-mesa-glx:i386
libglib2.0-0-dbg : Depends: libglib2.0-0 (= 2.40.0-2) but 2.40.2-0ubuntu1 is to be installed
libglib2.0-dev : Depends: libglib2.0-0 (= 2.40.0-2) but 2.40.2-0ubuntu1 is to be installed
Depends: libglib2.0-bin (= 2.40.0-2)
libgtk2.0-dev : Depends: libpango1.0-dev (>= 1.20) but it is not going to be installed
libpango1.0-0-dbg : Depends: libpango-1.0-0 (= 1.36.3-1ubuntu1) but 1.36.3-1ubuntu1.1 is to be installed or
libpangocairo-1.0-0 (= 1.36.3-1ubuntu1) but 1.36.3-1ubuntu1.1 is to be installed or
libpangoft2-1.0-0 (= 1.36.3-1ubuntu1) but 1.36.3-1ubuntu1.1 is to be installed or
libpangoxft-1.0-0 (= 1.36.3-1ubuntu1) but 1.36.3-1ubuntu1.1 is to be installed
libpulse-dev : Depends: libpulse0 (= 1:4.0-0ubuntu11) but 1:4.0-0ubuntu11.1 is to be installed
Depends: libpulse-mainloop-glib0 (= 1:4.0-0ubuntu11) but 1:4.0-0ubuntu11.1 is to be installed
libstdc++6-4.6-dbg : Depends: libgcc1-dbg but it is not going to be installed
libudev-dev : Depends: libudev1 (= 204-5ubuntu20) but 204-5ubuntu20.11 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

You will have to install the above packages yourself.


It says there that I have to install those packages by myself, but how to do this ?



When I am trying to sudo apt-get install <some_package> it tells me (example for gcc-4.8-multilib):



gcc-4.8-multilib : Depends: lib32gcc-4.8-dev (= 4.8.2-19ubuntu1) but it is not going to be installed
Depends: libx32gcc-4.8-dev (= 4.8.2-19ubuntu1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


Can anybody help me resolve all of these packages installation ?




UPDATE 1:



for sudo apt-get install lib32gcc-4.8-dev I get:



lib32gcc-4.8-dev : Depends: lib32gcc1 (>= 1:4.8.2-19ubuntu1) but it is not going to be installed
Depends: libx32gcc1 (>= 1:4.8.2-19ubuntu1) but it is not going to be installed
Depends: lib32asan0 (>= 4.8.2-19ubuntu1) but it is not going to be installed
Depends: libx32asan0 (>= 4.8.2-19ubuntu1) but it is not going to be installed


and for apt-cache policy lib32gcc-4.8-dev I get:



lib32gcc-4.8-dev:
Installed: (none)
Candidate: 4.8.2-19ubuntu1
Version table:
4.8.2-19ubuntu1 0
500 http://ro.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages



UPDATE 2:



for sudo apt-get install lib32gcc1 I get:



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:
lib32gcc1 : Depends: gcc-4.9-base (= 4.9-20140406-0ubuntu1) but 4.9.1-0ubuntu1 is to be installed
E: Unable to correct problems, you have held broken packages.


and for apt-cache policy lib32gcc1 I get:



 Installed: (none)
Candidate: 1:4.9-20140406-0ubuntu1
Version table:
1:4.9-20140406-0ubuntu1 0
500 http://ro.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
1:4.6.3-1ubuntu5 0
500 mirror://mirrors.ubuntu.com/mirrors.txt/ precise/main amd64 Packages


For apt-cache policy lib32gcc-4.8-dev lib32gcc1 libx32gcc1 lib32asan0 libx32asan0 I get:



lib32gcc-4.8-dev:
Installed: (none)
Candidate: 4.8.2-19ubuntu1
Version table:
4.8.2-19ubuntu1 0
500 http://ro.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
lib32gcc1:
Installed: (none)
Candidate: 1:4.9-20140406-0ubuntu1
Version table:
1:4.9-20140406-0ubuntu1 0
500 http://ro.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
1:4.6.3-1ubuntu5 0
500 mirror://mirrors.ubuntu.com/mirrors.txt/ precise/main amd64 Packages
libx32gcc1:
Installed: (none)
Candidate: 1:4.9-20140406-0ubuntu1
Version table:
1:4.9-20140406-0ubuntu1 0
500 http://ro.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
lib32asan0:
Installed: (none)
Candidate: 4.8.2-19ubuntu1
Version table:
4.8.2-19ubuntu1 0
500 http://ro.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
libx32asan0:
Installed: (none)
Candidate: 4.8.2-19ubuntu1
Version table:
4.8.2-19ubuntu1 0
500 http://ro.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages



UPDATE 3:



For apt-cache policy gcc-4.9-base I get:



gcc-4.9-base:
Installed: 4.9.1-0ubuntu1
Candidate: 4.9.1-0ubuntu1
Version table:
*** 4.9.1-0ubuntu1 0
100 /var/lib/dpkg/status
4.9-20140406-0ubuntu1 0
500 http://ro.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages



When I try to do sudo apt-get purge gcc-4.9-base, I am getting:



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:
libgcc1 : Depends: gcc-4.9-base (= 4.9.1-0ubuntu1) but it is not going to be installed
libudev1 : Depends: libcgmanager0 but it is not going to be installed
Depends: libnih-dbus1 (>= 1.0.0) but it is not going to be installed
Depends: libnih1 (>= 1.0.0) but it is not going to be installed
libxcb1 : Depends: libxau6 but it is not going to be installed
Depends: libxdmcp6 but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.






ubuntu package-management compiling chrome






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Aug 9 '16 at 9:38









Mongrel

2,12331849




2,12331849










asked May 13 '15 at 8:51









Cajuu'Cajuu'

130229




130229












  • What does sudo apt-get install lib32gcc-4.8-dev say? What about apt-cache policy lib32gcc-4.8-dev?

    – Stephen Kitt
    May 13 '15 at 8:56











  • @Stephen see the updated question

    – Cajuu'
    May 13 '15 at 9:00











  • Let's have apt-cache policy lib32gcc-4.8-dev lib32gcc1 libx32gcc1 lib32asan0 libx32asan0.

    – Faheem Mitha
    May 13 '15 at 9:01











  • OK, you need to continue down the rabbit hole: what do sudo apt-get install lib32gcc1 and apt-cache policy lib32gcc1 produce?

    – Stephen Kitt
    May 13 '15 at 9:02











  • @StephenKitt updated

    – Cajuu'
    May 13 '15 at 9:06

















  • What does sudo apt-get install lib32gcc-4.8-dev say? What about apt-cache policy lib32gcc-4.8-dev?

    – Stephen Kitt
    May 13 '15 at 8:56











  • @Stephen see the updated question

    – Cajuu'
    May 13 '15 at 9:00











  • Let's have apt-cache policy lib32gcc-4.8-dev lib32gcc1 libx32gcc1 lib32asan0 libx32asan0.

    – Faheem Mitha
    May 13 '15 at 9:01











  • OK, you need to continue down the rabbit hole: what do sudo apt-get install lib32gcc1 and apt-cache policy lib32gcc1 produce?

    – Stephen Kitt
    May 13 '15 at 9:02











  • @StephenKitt updated

    – Cajuu'
    May 13 '15 at 9:06
















What does sudo apt-get install lib32gcc-4.8-dev say? What about apt-cache policy lib32gcc-4.8-dev?

– Stephen Kitt
May 13 '15 at 8:56





What does sudo apt-get install lib32gcc-4.8-dev say? What about apt-cache policy lib32gcc-4.8-dev?

– Stephen Kitt
May 13 '15 at 8:56













@Stephen see the updated question

– Cajuu'
May 13 '15 at 9:00





@Stephen see the updated question

– Cajuu'
May 13 '15 at 9:00













Let's have apt-cache policy lib32gcc-4.8-dev lib32gcc1 libx32gcc1 lib32asan0 libx32asan0.

– Faheem Mitha
May 13 '15 at 9:01





Let's have apt-cache policy lib32gcc-4.8-dev lib32gcc1 libx32gcc1 lib32asan0 libx32asan0.

– Faheem Mitha
May 13 '15 at 9:01













OK, you need to continue down the rabbit hole: what do sudo apt-get install lib32gcc1 and apt-cache policy lib32gcc1 produce?

– Stephen Kitt
May 13 '15 at 9:02





OK, you need to continue down the rabbit hole: what do sudo apt-get install lib32gcc1 and apt-cache policy lib32gcc1 produce?

– Stephen Kitt
May 13 '15 at 9:02













@StephenKitt updated

– Cajuu'
May 13 '15 at 9:06





@StephenKitt updated

– Cajuu'
May 13 '15 at 9:06










3 Answers
3






active

oldest

votes


















1














open your terminal and type as



sudo apt-get autoclean
sudo apt-get autoremove
sudo apt-get update
sudo apt-get dist-upgrade


sudo apt-get autoclean clears out the local repository of retrieved
package files in the /var/cache/apt/archives. The difference is that it only removes package filesthat can no longer be downloaded, and are largely useless.



sudo apt-get autoremove used to remove packages that were automatically
installed to satisfy dependencies for other packages and are now no longer needed.



autoclean and autoremove used to ensure that there is no unneeded packages which may affect your system.



sudo apt-get update update the sources list and resynchronize the package index files from their sources.



sudo apt-get dist-upgrade dist-upgrade in addition to performing the function of upgrade, also intelligently handles changing dependencies with of packages






share|improve this answer




















  • 1





    it would be helpful if you explained why you recommend doing this.

    – hildred
    May 13 '15 at 20:31











  • I have tried this several times but it didn't work. What worked for me was using aptitude instead of apt-get. That helped me a lot with all the dependencies.

    – Cajuu'
    May 14 '15 at 4:47











  • @hildred check it now

    – Maythux
    May 14 '15 at 6:04


















1














At least some of your gcc packages are manually installed and correspond to a version which is newer than those in Ubuntu 14.04. To install g++-multilib and its dependencies you'll need to downgrade those packages to the versions in the archives.



Start by running



sudo apt-get install gcc-4.9-base=4.9-20140406-0ubuntu1


and work your way up from there... That should give you a bunch of errors which will tell you which other packages you need to downgrade.



To downgrade the packages, you need to run apt-cache policy on each one to determine which version is in the archive (that's the version with a trusty URL), and add it to the sudo apt-get install line above; so you'd end up with



sudo apt-get install gcc-4.9-base=4.9-20140406-0ubuntu1 package1=version1 package2=version2 ...


Alternatively you could just purge gcc and all related packages and re-install them.



You have other libraries with manually installed versions apparently, so it may take quite a bit of work to restore your system to match the archives.






share|improve this answer

























  • How can I downgrade all those packages that are printed out when trying to install gcc ?

    – Cajuu'
    May 13 '15 at 9:23











  • See my updated answer. It will probably take a fair amount of work to sort everything out!

    – Stephen Kitt
    May 13 '15 at 9:28


















0














My solution: in ubuntu's software and update,find the "updates" panel ,select Important security update and Recommended updates,then it works well.



enter image description here






share|improve this answer

























    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "106"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f203128%2funmet-dependencies-when-trying-to-build-chromium-browser-on-ubuntu-14-04%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    3 Answers
    3






    active

    oldest

    votes








    3 Answers
    3






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    open your terminal and type as



    sudo apt-get autoclean
    sudo apt-get autoremove
    sudo apt-get update
    sudo apt-get dist-upgrade


    sudo apt-get autoclean clears out the local repository of retrieved
    package files in the /var/cache/apt/archives. The difference is that it only removes package filesthat can no longer be downloaded, and are largely useless.



    sudo apt-get autoremove used to remove packages that were automatically
    installed to satisfy dependencies for other packages and are now no longer needed.



    autoclean and autoremove used to ensure that there is no unneeded packages which may affect your system.



    sudo apt-get update update the sources list and resynchronize the package index files from their sources.



    sudo apt-get dist-upgrade dist-upgrade in addition to performing the function of upgrade, also intelligently handles changing dependencies with of packages






    share|improve this answer




















    • 1





      it would be helpful if you explained why you recommend doing this.

      – hildred
      May 13 '15 at 20:31











    • I have tried this several times but it didn't work. What worked for me was using aptitude instead of apt-get. That helped me a lot with all the dependencies.

      – Cajuu'
      May 14 '15 at 4:47











    • @hildred check it now

      – Maythux
      May 14 '15 at 6:04















    1














    open your terminal and type as



    sudo apt-get autoclean
    sudo apt-get autoremove
    sudo apt-get update
    sudo apt-get dist-upgrade


    sudo apt-get autoclean clears out the local repository of retrieved
    package files in the /var/cache/apt/archives. The difference is that it only removes package filesthat can no longer be downloaded, and are largely useless.



    sudo apt-get autoremove used to remove packages that were automatically
    installed to satisfy dependencies for other packages and are now no longer needed.



    autoclean and autoremove used to ensure that there is no unneeded packages which may affect your system.



    sudo apt-get update update the sources list and resynchronize the package index files from their sources.



    sudo apt-get dist-upgrade dist-upgrade in addition to performing the function of upgrade, also intelligently handles changing dependencies with of packages






    share|improve this answer




















    • 1





      it would be helpful if you explained why you recommend doing this.

      – hildred
      May 13 '15 at 20:31











    • I have tried this several times but it didn't work. What worked for me was using aptitude instead of apt-get. That helped me a lot with all the dependencies.

      – Cajuu'
      May 14 '15 at 4:47











    • @hildred check it now

      – Maythux
      May 14 '15 at 6:04













    1












    1








    1







    open your terminal and type as



    sudo apt-get autoclean
    sudo apt-get autoremove
    sudo apt-get update
    sudo apt-get dist-upgrade


    sudo apt-get autoclean clears out the local repository of retrieved
    package files in the /var/cache/apt/archives. The difference is that it only removes package filesthat can no longer be downloaded, and are largely useless.



    sudo apt-get autoremove used to remove packages that were automatically
    installed to satisfy dependencies for other packages and are now no longer needed.



    autoclean and autoremove used to ensure that there is no unneeded packages which may affect your system.



    sudo apt-get update update the sources list and resynchronize the package index files from their sources.



    sudo apt-get dist-upgrade dist-upgrade in addition to performing the function of upgrade, also intelligently handles changing dependencies with of packages






    share|improve this answer















    open your terminal and type as



    sudo apt-get autoclean
    sudo apt-get autoremove
    sudo apt-get update
    sudo apt-get dist-upgrade


    sudo apt-get autoclean clears out the local repository of retrieved
    package files in the /var/cache/apt/archives. The difference is that it only removes package filesthat can no longer be downloaded, and are largely useless.



    sudo apt-get autoremove used to remove packages that were automatically
    installed to satisfy dependencies for other packages and are now no longer needed.



    autoclean and autoremove used to ensure that there is no unneeded packages which may affect your system.



    sudo apt-get update update the sources list and resynchronize the package index files from their sources.



    sudo apt-get dist-upgrade dist-upgrade in addition to performing the function of upgrade, also intelligently handles changing dependencies with of packages







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited May 14 '15 at 6:04

























    answered May 13 '15 at 18:29









    MaythuxMaythux

    1,153816




    1,153816







    • 1





      it would be helpful if you explained why you recommend doing this.

      – hildred
      May 13 '15 at 20:31











    • I have tried this several times but it didn't work. What worked for me was using aptitude instead of apt-get. That helped me a lot with all the dependencies.

      – Cajuu'
      May 14 '15 at 4:47











    • @hildred check it now

      – Maythux
      May 14 '15 at 6:04












    • 1





      it would be helpful if you explained why you recommend doing this.

      – hildred
      May 13 '15 at 20:31











    • I have tried this several times but it didn't work. What worked for me was using aptitude instead of apt-get. That helped me a lot with all the dependencies.

      – Cajuu'
      May 14 '15 at 4:47











    • @hildred check it now

      – Maythux
      May 14 '15 at 6:04







    1




    1





    it would be helpful if you explained why you recommend doing this.

    – hildred
    May 13 '15 at 20:31





    it would be helpful if you explained why you recommend doing this.

    – hildred
    May 13 '15 at 20:31













    I have tried this several times but it didn't work. What worked for me was using aptitude instead of apt-get. That helped me a lot with all the dependencies.

    – Cajuu'
    May 14 '15 at 4:47





    I have tried this several times but it didn't work. What worked for me was using aptitude instead of apt-get. That helped me a lot with all the dependencies.

    – Cajuu'
    May 14 '15 at 4:47













    @hildred check it now

    – Maythux
    May 14 '15 at 6:04





    @hildred check it now

    – Maythux
    May 14 '15 at 6:04













    1














    At least some of your gcc packages are manually installed and correspond to a version which is newer than those in Ubuntu 14.04. To install g++-multilib and its dependencies you'll need to downgrade those packages to the versions in the archives.



    Start by running



    sudo apt-get install gcc-4.9-base=4.9-20140406-0ubuntu1


    and work your way up from there... That should give you a bunch of errors which will tell you which other packages you need to downgrade.



    To downgrade the packages, you need to run apt-cache policy on each one to determine which version is in the archive (that's the version with a trusty URL), and add it to the sudo apt-get install line above; so you'd end up with



    sudo apt-get install gcc-4.9-base=4.9-20140406-0ubuntu1 package1=version1 package2=version2 ...


    Alternatively you could just purge gcc and all related packages and re-install them.



    You have other libraries with manually installed versions apparently, so it may take quite a bit of work to restore your system to match the archives.






    share|improve this answer

























    • How can I downgrade all those packages that are printed out when trying to install gcc ?

      – Cajuu'
      May 13 '15 at 9:23











    • See my updated answer. It will probably take a fair amount of work to sort everything out!

      – Stephen Kitt
      May 13 '15 at 9:28















    1














    At least some of your gcc packages are manually installed and correspond to a version which is newer than those in Ubuntu 14.04. To install g++-multilib and its dependencies you'll need to downgrade those packages to the versions in the archives.



    Start by running



    sudo apt-get install gcc-4.9-base=4.9-20140406-0ubuntu1


    and work your way up from there... That should give you a bunch of errors which will tell you which other packages you need to downgrade.



    To downgrade the packages, you need to run apt-cache policy on each one to determine which version is in the archive (that's the version with a trusty URL), and add it to the sudo apt-get install line above; so you'd end up with



    sudo apt-get install gcc-4.9-base=4.9-20140406-0ubuntu1 package1=version1 package2=version2 ...


    Alternatively you could just purge gcc and all related packages and re-install them.



    You have other libraries with manually installed versions apparently, so it may take quite a bit of work to restore your system to match the archives.






    share|improve this answer

























    • How can I downgrade all those packages that are printed out when trying to install gcc ?

      – Cajuu'
      May 13 '15 at 9:23











    • See my updated answer. It will probably take a fair amount of work to sort everything out!

      – Stephen Kitt
      May 13 '15 at 9:28













    1












    1








    1







    At least some of your gcc packages are manually installed and correspond to a version which is newer than those in Ubuntu 14.04. To install g++-multilib and its dependencies you'll need to downgrade those packages to the versions in the archives.



    Start by running



    sudo apt-get install gcc-4.9-base=4.9-20140406-0ubuntu1


    and work your way up from there... That should give you a bunch of errors which will tell you which other packages you need to downgrade.



    To downgrade the packages, you need to run apt-cache policy on each one to determine which version is in the archive (that's the version with a trusty URL), and add it to the sudo apt-get install line above; so you'd end up with



    sudo apt-get install gcc-4.9-base=4.9-20140406-0ubuntu1 package1=version1 package2=version2 ...


    Alternatively you could just purge gcc and all related packages and re-install them.



    You have other libraries with manually installed versions apparently, so it may take quite a bit of work to restore your system to match the archives.






    share|improve this answer















    At least some of your gcc packages are manually installed and correspond to a version which is newer than those in Ubuntu 14.04. To install g++-multilib and its dependencies you'll need to downgrade those packages to the versions in the archives.



    Start by running



    sudo apt-get install gcc-4.9-base=4.9-20140406-0ubuntu1


    and work your way up from there... That should give you a bunch of errors which will tell you which other packages you need to downgrade.



    To downgrade the packages, you need to run apt-cache policy on each one to determine which version is in the archive (that's the version with a trusty URL), and add it to the sudo apt-get install line above; so you'd end up with



    sudo apt-get install gcc-4.9-base=4.9-20140406-0ubuntu1 package1=version1 package2=version2 ...


    Alternatively you could just purge gcc and all related packages and re-install them.



    You have other libraries with manually installed versions apparently, so it may take quite a bit of work to restore your system to match the archives.







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited May 13 '15 at 9:28

























    answered May 13 '15 at 9:20









    Stephen KittStephen Kitt

    182k25418496




    182k25418496












    • How can I downgrade all those packages that are printed out when trying to install gcc ?

      – Cajuu'
      May 13 '15 at 9:23











    • See my updated answer. It will probably take a fair amount of work to sort everything out!

      – Stephen Kitt
      May 13 '15 at 9:28

















    • How can I downgrade all those packages that are printed out when trying to install gcc ?

      – Cajuu'
      May 13 '15 at 9:23











    • See my updated answer. It will probably take a fair amount of work to sort everything out!

      – Stephen Kitt
      May 13 '15 at 9:28
















    How can I downgrade all those packages that are printed out when trying to install gcc ?

    – Cajuu'
    May 13 '15 at 9:23





    How can I downgrade all those packages that are printed out when trying to install gcc ?

    – Cajuu'
    May 13 '15 at 9:23













    See my updated answer. It will probably take a fair amount of work to sort everything out!

    – Stephen Kitt
    May 13 '15 at 9:28





    See my updated answer. It will probably take a fair amount of work to sort everything out!

    – Stephen Kitt
    May 13 '15 at 9:28











    0














    My solution: in ubuntu's software and update,find the "updates" panel ,select Important security update and Recommended updates,then it works well.



    enter image description here






    share|improve this answer





























      0














      My solution: in ubuntu's software and update,find the "updates" panel ,select Important security update and Recommended updates,then it works well.



      enter image description here






      share|improve this answer



























        0












        0








        0







        My solution: in ubuntu's software and update,find the "updates" panel ,select Important security update and Recommended updates,then it works well.



        enter image description here






        share|improve this answer















        My solution: in ubuntu's software and update,find the "updates" panel ,select Important security update and Recommended updates,then it works well.



        enter image description here







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 11 hours ago









        Rui F Ribeiro

        42.1k1484142




        42.1k1484142










        answered Aug 9 '16 at 8:23









        user183790user183790

        1




        1



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Unix & Linux Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f203128%2funmet-dependencies-when-trying-to-build-chromium-browser-on-ubuntu-14-04%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            -chrome, compiling, package-management, ubuntu

            Popular posts from this blog

            Mobil Contents History Mobil brands Former Mobil brands Lukoil transaction Mobil UK Mobil Australia Mobil New Zealand Mobil Greece Mobil in Japan Mobil in Canada Mobil Egypt See also References External links Navigation menuwww.mobil.com"Mobil Corporation"the original"Our Houston campus""Business & Finance: Socony-Vacuum Corp.""Popular Mechanics""Lubrite Technologies""Exxon Mobil campus 'clearly happening'""Toledo Blade - Google News Archive Search""The Lion and the Moose - How 2 Executives Pulled off the Biggest Merger Ever""ExxonMobil Press Release""Lubricants""Archived copy"the original"Mobil 1™ and Mobil Super™ motor oil and synthetic motor oil - Mobil™ Motor Oils""Mobil Delvac""Mobil Industrial website""The State of Competition in Gasoline Marketing: The Effects of Refiner Operations at Retail""Mobil Travel Guide to become Forbes Travel Guide""Hotel Rankings: Forbes Merges with Mobil"the original"Jamieson oil industry history""Mobil news""Caltex pumps for control""Watchdog blocks Caltex bid""Exxon Mobil sells service station network""Mobil Oil New Zealand Limited is New Zealand's oldest oil company, with predecessor companies having first established a presence in the country in 1896""ExxonMobil subsidiaries have a business history in New Zealand stretching back more than 120 years. We are involved in petroleum refining and distribution and the marketing of fuels, lubricants and chemical products""Archived copy"the original"Exxon Mobil to Sell Its Japanese Arm for $3.9 Billion""Gas station merger will end Esso and Mobil's long run in Japan""Esso moves to affiliate itself with PC Optimum, no longer Aeroplan, in loyalty point switch""Mobil brand of gas stations to launch in Canada after deal for 213 Loblaws-owned locations""Mobil Nears Completion of Rebranding 200 Loblaw Gas Stations""Learn about ExxonMobil's operations in Egypt""Petrol and Diesel Service Stations in Egypt - Mobil"Official websiteExxon Mobil corporate websiteMobil Industrial official websiteeeeeeeeDA04275022275790-40000 0001 0860 5061n82045453134887257134887257

            Frič See also Navigation menuinternal link

            Identify plant with long narrow paired leaves and reddish stems Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?What is this plant with long sharp leaves? Is it a weed?What is this 3ft high, stalky plant, with mid sized narrow leaves?What is this young shrub with opposite ovate, crenate leaves and reddish stems?What is this plant with large broad serrated leaves?Identify this upright branching weed with long leaves and reddish stemsPlease help me identify this bulbous plant with long, broad leaves and white flowersWhat is this small annual with narrow gray/green leaves and rust colored daisy-type flowers?What is this chilli plant?Does anyone know what type of chilli plant this is?Help identify this plant