I'm a seasoned linux guy trying to set up Ubuntu on my Dell XPS 13 9350. In the past I've been able to get Arch up and running with no problems, yet I'm struggling to install a package in Ubuntu.

The package is libinput, given by xserver-xorg-input-libinput. When I try installing it with apt it responds

The following packages have unmet dependencies.
xserver-xorg-input-libinput : Depends: xserver-xorg-core (>= 2:

Trying to install xserver-xorg-core warns that a large number of packages will be removed. Someone on reddit pointed out that a package has been renamed and that's why it can't be installed. Is there any way around this?

EDIT: Output of apt-cache policy xserver-xorg-core xserver-xorg-input-libinput

  Installed: (none)
  Candidate: 2:1.18.4-0ubuntu0.2
  Version table:
     2:1.18.4-0ubuntu0.2 500
        500 http://gb.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
     2:1.18.3-1ubuntu2 500
        500 http://gb.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
  Installed: (none)
  Candidate: 0.18.0-1
  Version table:
     0.18.0-1 500
        500 http://gb.archive.ubuntu.com/ubuntu xenial/universe amd64 
  • Why are you installing that package? What result are you expecting? – user589808 Apr 19 '17 at 10:02
  • The Ubuntu repos are usually really good at having everything installable & working, are you using different repositories or PPAs? Are they 100% compatible with your Ubuntu 16.04? – Xen2050 Apr 19 '17 at 10:06
  • libinput provides far better touchpad support than the default installed drivers. And yes, it is in the main repo - I was also able to install it on Ubuntu 16.10 no problem and many tutorials show that this is the correct package to install – Ed R Apr 19 '17 at 10:17
  • Can you edit your question to include the result of apt-cache policy xserver-xorg-core xserver-xorg-input-libinput please – steeldriver Apr 19 '17 at 12:01
  • @steeldriver Done - see edit – Ed R Apr 19 '17 at 12:50

So I submitted a bug report and the response was this:

You're not supposed to have xserver-xorg-input-libinput installable, that's not possible 
because it's bound to the server input ABI

install xserver-xorg-input-libinput-hwe-16.04 instead

Installing the renamed package worked. These appear to have been recently renamed which is where the confusion is coming from.

| improve this answer | |
  • I like when they mark the bug as invalid because "you're not supposed to have something". I'm facing this issue in a fresh install of 16.04.3 – Rael Gugelmin Cunha Sep 20 '17 at 13:28
  • this can break the graphic environment and you'll have to boot in command line mode to revert this step – pachamaltese Oct 13 '17 at 3:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.