Package blocking upgrades on Jammy

Asked by Alex Kane

I am unable to perform apt upgrade on Jammy due to the following error:

The following packages have unmet dependencies:
 libwacom9 : Depends: libwacom-common (= 2.0.0-2) but 1.12-1 is to be installed
E: Broken packages

Is this a widespread error that will be resolved soon, and if not how do I resolve this for myself?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu libwacom Edit question
Assignee:
No assignee Edit question
Solved by:
Alex Kane
Solved:
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

1. Ubuntu jammy is still in development and not ready yet. During development there may be times when the availability of packages is incomplete or inconsistent.

2. What is the output of the commands
uname -a
lsb_release -crid
apt-cache policy libwacom9 libwacom-common

Revision history for this message
Alex Kane (wkanew) said :
#2

Thanks for the Answer.
1. I understand the issues of being in beta. I just wanted to make sure that this was a known issue (if it is in fact an issue).
2.
> uname -a
Linux L5L7L1X2 5.15.0-18-generic #18-Ubuntu SMP Fri Jan 21 14:57:54 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

> lsb_release -crid
Distributor ID: Ubuntu
Description: Ubuntu Jammy Jellyfish (development branch)
Release: 22.04
Codename: jammy

> apt-cache policy libwacom9 libwacom-common
libwacom9:
  Installed: (none)
  Candidate: 2.0.0-2
  Version table:
     2.0.0-2 500
        500 http://gb.archive.ubuntu.com/ubuntu jammy/main amd64 Packages
libwacom-common:
  Installed: 1.12-1
  Candidate: 2.0.0-2
  Version table:
     2.0.0-2 500
        500 http://gb.archive.ubuntu.com/ubuntu jammy/main amd64 Packages
        500 http://gb.archive.ubuntu.com/ubuntu jammy/main i386 Packages
 *** 1.12-1 100
        100 /var/lib/dpkg/status

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

The problem seems not to be in the wacom packages, but in some dependencies.

What output do you get for

sudo apt install libwacom9 libwacom-common=2.0.0-2

Revision history for this message
Kent F. Davis (kfdcompiled) said :
#4

apt upgrade works fine after @Manfred's suggested solution

# apt install libwacom9 libwacom-common=2.0.0-2

Revision history for this message
Manfred Hampl (m-hampl) said :
#5

@Kent F. Davis:
Please do not clutter somebody else's question with information about your own system.
This leads to confusion and does not help anyone.

Revision history for this message
Felix Moreno (info-justdust) said (last edit ):
#6

It's hapening to me too. This worked to fix the issue sudo apt install libwacom9 libwacom-common=2.0.0-2

Revision history for this message
Tomasetti Romin (romintomasetti) said :
#7

I was also affected by this this morning.

The proposed fix (`sudo apt install libwacom9 libwacom-common=2.0.0-2`) indeed solves the problem and I was able to upgrade successfully afterwards.

Revision history for this message
Mesuli (mesuli-n) said :
#8

Thanks alot @Manfred for this assistance.

Revision history for this message
Manfred Hampl (m-hampl) said (last edit ):
#9

It seems that another option for upgrading from libwacom2 to libwacom9 is

sudo apt install libwacom9 libwacom2-

Eventually this should be reflected in the libwacom9 package with a "breaks libwacom2 & replaces libwacom2" or similar dependency clauses in the control file.

Revision history for this message
Alex Kane (wkanew) said :
#10

So in the end I solved this by manually updating everything that wasn't being blocked by this dependency problem...
then I update the last package that wasn't being blocked:

libinput10

Updating libinput10 resulted in:
The following packages will be REMOVED:
  libwacom2
The following NEW packages will be installed:
  libwacom9

After that everything is fine

Revision history for this message
SeijiSensei (ubuntuforums-2) said :
#11

I encountered this problem today trying to upgrade an installation based on an ISO from a few weeks back.

I solved the problem by running

apt remove libwacom2

Apt then offered to install libwacom9 instead, and I agreed. After that finished I could run

apt upgrade

successfully.