[xorg-edgers] Held broken packages (libgbm1) from Xorg-edgers PPA

Bug #1431714 reported by Pierre Equoy
148
This bug affects 31 people
Affects Status Importance Assigned to Milestone
xorg (Ubuntu)
Expired
Undecided
Unassigned
xorg-edgers-ppa (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

My laptop (Aspire VN7-591G) comes with an nVidia graphic card that is not supported by default in Ubuntu Trusty (14.04.2, amd64).

I installed the Xorg-edgers PPA to be able to install nvidia-340 which contains the proper drivers for my card (and allow me to switch between the Intel and the nVidia GPU).

Later, I realized there is a dependency issue with package libgbm1:

sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  libgbm1
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

Using aptitude to have more information, I get this:

--\ Packages being automatically held in their current state (1)
i A libgbm1 10.1.3-0ubuntu 10.6.0~git2015

libgbm1 will not be upgraded to version 10.6.0~git20150310.5750595c-0ubuntu0ricotz3~trusty, to avoid breaking the following dependencies:
  * libgbm1 replaces libgbm1:i386 (< 10.1.3-0ubuntu0.3)

It appears that this package is used by the xorg-edgers PPA:

% apt-cache policy libgbm1
libgbm1:
  Installed: 10.1.3-0ubuntu0.3
  Candidate: 10.6.0~git20150310.5750595c-0ubuntu0ricotz3~trusty
  Version table:
     10.6.0~git20150310.5750595c-0ubuntu0ricotz3~trusty 0
        500 http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu/ trusty/main amd64 Packages
 *** 10.1.3-0ubuntu0.3 0
        500 http://archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     10.1.0-4ubuntu5 0
        500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

I tried to force-install package libgbm1 but get the following error:

sudo apt-get install libgbm1
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:
 libgbm1 : Depends: libgl1-mesa-dri (= 10.6.0~git20150310.5750595c-0ubuntu0ricotz3~trusty)
E: Unable to correct problems, you have held broken packages.

What can I do to fix this?

Thanks in advance!

P.S.: This issue was reported on askubuntu [1] but I didn't get any feedback.

[1] http://askubuntu.com/questions/595461/held-broken-packages-libgbm1-from-xorg-edgers-ppa

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: xorg 1:7.7+1ubuntu8.1
ProcVersionSignature: Ubuntu 3.16.0-31.41~14.04.1-generic 3.16.7-ckt5
Uname: Linux 3.16.0-31-generic x86_64
.tmp.unity.support.test.0:

ApportVersion: 2.14.1-0ubuntu3.7
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: compiz
CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
CompositorUnredirectFSW: true
CurrentDesktop: Unity
Date: Fri Mar 13 15:55:01 2015
DistUpgraded: Fresh install
DistroCodename: trusty
DistroVariant: ubuntu
DkmsStatus:
 bbswitch, 0.7, 3.16.0-31-generic, x86_64: installed
 nvidia-340, 340.76, 3.16.0-31-generic, x86_64: installed
 nvidia-340-uvm, 340.76, 3.16.0-31-generic, x86_64: installed
EcryptfsInUse: Yes
ExtraDebuggingInterest: Yes
GraphicsCard:
 Intel Corporation 4th Gen Core Processor Integrated Graphics Controller [8086:0416] (rev 06) (prog-if 00 [VGA controller])
   Subsystem: Acer Incorporated [ALI] Device [1025:0926]
InstallationDate: Installed on 2015-03-02 (10 days ago)
InstallationMedia: Ubuntu 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
MachineType: Acer Aspire VN7-591G
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.16.0-31-generic.efi.signed root=UUID=34c5f558-cdcb-4f13-980e-41873de8a019 ro quiet splash vt.handoff=7
SourcePackage: xorg
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 09/12/2014
dmi.bios.vendor: Insyde Corp.
dmi.bios.version: V1.08
dmi.board.asset.tag: No Asset Tag
dmi.board.name: Aspire VN7-591G
dmi.board.vendor: Acer
dmi.board.version: V1.08
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: Chassis Manufacturer
dmi.chassis.version: V1.08
dmi.modalias: dmi:bvnInsydeCorp.:bvrV1.08:bd09/12/2014:svnAcer:pnAspireVN7-591G:pvrV1.08:rvnAcer:rnAspireVN7-591G:rvrV1.08:cvnChassisManufacturer:ct10:cvrV1.08:
dmi.product.name: Aspire VN7-591G
dmi.product.version: V1.08
dmi.sys.vendor: Acer
version.compiz: compiz 1:0.9.11.3+14.04.20150122-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.59+git20150310.fcff9e21-0ubuntu0ricotz~trusty
version.libgl1-mesa-dri: libgl1-mesa-dri N/A
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx N/A
version.xserver-xorg-core: xserver-xorg-core N/A
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati N/A
version.xserver-xorg-video-intel: xserver-xorg-video-intel N/A
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau N/A
xserver.bootTime: Wed Mar 11 16:58:14 2015
xserver.configfile: default
xserver.errors:
 Error loading keymap /var/lib/xkb/server-F35C1F15D80C5DB6F9D905608E2DFDC3FF959879.xkm
 Error loading keymap /var/lib/xkb/server-F35C1F15D80C5DB6F9D905608E2DFDC3FF959879.xkm
xserver.logfile: /var/log/Xorg.0.log
xserver.outputs:
 product id 1091
 vendor LGD
xserver.version: 2:1.16.0-1ubuntu1.2~trusty2

Revision history for this message
Pierre Equoy (pieq) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in xorg (Ubuntu):
status: New → Confirmed
Revision history for this message
hectorsales (hectorvicente30) wrote :

Same here with radeonsi drivers on graphic card : "Bonaire XTX [Radeon R7 260X] ".. . I try enable ppa:oibaf/graphics-drivers and i have issue around "libgbm1":

$ sudo apt-get install libgbm1 -s

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:
 libgbm1 : Depends: libgl1-mesa-dri (= 10.6~git1503140730.f68a97~gd~t)
E: Unable to correct problems, you have held broken packages.

I have upgrade from ubuntu 14.04.1 to 14.04.2 (LTS Enablement Stacks) whith:

$ sudo apt-get install --install-recommends linux-generic-lts-utopic xserver-xorg-lts-utopic libgl1-mesa-glx-lts-utopic libegl1-mesa-drivers-lts-utopic

https://wiki.ubuntu.com/Kernel/LTSEnablementStack

Regards

Revision history for this message
Brent McPherson (bcmc1290) wrote :

I'm encountering this problem with the same unmet dependencies errors on a clean install of Xubuntu 14.04 with the 346 drivers.

Revision history for this message
Eric Vlasov (eric-vlasov) wrote :

Yep, having exactly the same issue on 14.04.2.

Revision history for this message
Bertrand Michas (berturion) wrote :

I have exactly the same problem, here some output of "sudo apt-get -o Debug::pkgProblemResolver=yes dist-upgrade" if it can help...

Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Calcul de la mise à jour... Starting pkgProblemResolver with broken count: 3
Starting 2 pkgProblemResolver with broken count: 3
Investigating (0) libgl1-mesa-dri-lts-utopic [ amd64 ] < 10.3.2-0ubuntu1~trusty2 > ( libs )
Broken libgl1-mesa-dri-lts-utopic:amd64 Est en conflit avec on libgl1-mesa-dri [ amd64 ] < none -> 10.6.0~git20150616+10.6.5d327b37-0ubuntu0ricotz~trusty > ( libs )
  Considering libgl1-mesa-dri:amd64 5 as a solution to libgl1-mesa-dri-lts-utopic:amd64 14
  Added libgl1-mesa-dri:amd64 to the remove list
  Conflicts//Breaks against version 10.1.3-0ubuntu0.4 for libgl1-mesa-dri but that is not InstVer, ignoring
  Conflicts//Breaks against version 10.1.0-4ubuntu5 for libgl1-mesa-dri but that is not InstVer, ignoring
  Fixing libgl1-mesa-dri-lts-utopic:amd64 via keep of libgl1-mesa-dri:amd64
Investigating (0) libgbm1 [ amd64 ] < 10.1.3-0ubuntu0.4 -> 10.6.0~git20150616+10.6.5d327b37-0ubuntu0ricotz~trusty > ( libs )
Broken libgbm1:amd64 Dépend on libgl1-mesa-dri [ amd64 ] < none -> 10.6.0~git20150616+10.6.5d327b37-0ubuntu0ricotz~trusty > ( libs ) (= 10.6.0~git20150616+10.6.5d327b37-0ubuntu0ricotz~trusty)
  Considering libgl1-mesa-dri:amd64 5 as a solution to libgbm1:amd64 0
  Holding Back libgbm1:amd64 rather than change libgl1-mesa-dri:amd64
 Try to Re-Instate (1) libgbm1:amd64
Done
Fait
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
Les paquets suivants ont été conservés :
  libgbm1
0 mis à jour, 0 nouvellement installés, 0 à enlever et 1 non mis à jour.

Revision history for this message
Eric Vlasov (eric-vlasov) wrote :

what I did is: removed all packages that end with '-utopic' (related to LTSEnablementStack) and there we go - no more issues.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in xorg-edgers-ppa (Ubuntu):
status: New → Confirmed
Revision history for this message
Ragnarel (ragnarel) wrote :

I have the same problem in a freshly installed Ubuntu 14.04 LTS.

#7, please, can you explain how did you solved it, or which packages you removed exactly? Thanks in advance.

Revision history for this message
D (dj-lp) wrote :

I got around this problem by installing libgbm1-lts-utopic. This probably causes other issues, but oh well, let's see.

Revision history for this message
mogorvabb (andokan) wrote :

Same here - freshly installed Ubuntu 14.04 LTS.

#sudo apt-cache rdepends libgbm1-lts-utopic
libgbm1-lts-utopic
Reverse Depends:
  libgbm1-lts-utopic:i386
  libgbm1-lts-utopic:i386
  xwayland-lts-utopic
  xserver-xorg-lts-utopic
  xserver-xorg-core-lts-utopic
  libgbm1-lts-utopic-dbg
  libgbm-dev-lts-utopic
  libegl1-mesa-lts-utopic
  libegl1-mesa-drivers-lts-utopic

####
apt-get dist-upgrade/update
Az alábbi csomagok vissza lesznek tartva: libgbm1
0 frissített, 0 újonnan telepített, 0 eltávolítandó és 1 nem frissített.
####

sudo apt-get install libgbm1

 libgbm1 : Függ ettől: libgl1-mesa-dri (= 10.6.2~git20150716+10.6.89cbd91b-0ubuntu0ricotz~trusty)

Revision history for this message
mogorvabb (andokan) wrote :

ok here solved
14.04 LTS

sudo ppa-purge xorg-edgers
sudo install xserver-xorg
sudo install ubuntu-desktop
sudo add-apt-repository ppa:xorg-edgers/ppa
sudo apt-cache search "NVIDIA binary driver"
nvidia-331 - NVIDIA binary driver - version 331.113
nvidia-331-updates - NVIDIA binary driver - version 331.113
nvidia-340 - NVIDIA binary driver - version 340.76
nvidia-346 - NVIDIA binary driver - version 346.87
nvidia-352 - NVIDIA binary driver - version 352.30
####
install 352.30 - not work /here GF 840M 2G/
install 340.76 - works fine

sudo apt-get update

all packages up to date
###############
original problem ---> installed xserver-xorg-lts-vivid but repleace xserver-xorg fixed my problem...

Revision history for this message
mogorvabb (andokan) wrote :

after that works refresh 340.76 to 352.30 without problem /

Revision history for this message
cement_head (andorjkiss) wrote :

Also have this bug

Revision history for this message
Paul White (paulw2u) wrote :

We are sorry that we do not always have the capacity to review all reported bugs in a timely manner. You reported this bug some time ago and there have been many changes in Ubuntu since that time.

Ubuntu 14.04 (trusty) reached end-of-standard-support on April 25, 2019.

Do you still see a problem related to the one that you reported when using a currently supported version of Ubuntu? Please let us know if you do otherwise this report can be left to expire in approximately 60 days time.

Thank you for helping make Ubuntu better.

Changed in xorg (Ubuntu):
status: Confirmed → Incomplete
Changed in xorg-edgers-ppa (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for xorg-edgers-ppa (Ubuntu) because there has been no activity for 60 days.]

Changed in xorg-edgers-ppa (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for xorg (Ubuntu) because there has been no activity for 60 days.]

Changed in xorg (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.