openFrameworks
openFrameworks copied to clipboard
libudev-dev package install error on ubuntu 22.04 + OF11.02 (or also nightly build)
Hi,
I have a fresh install of ubuntu 22.04, and I tried running the install scripts: codecs and dependencies. Codecs install runs fine, but depencies are giving me some errors:
Installing libudev-dev
E: Unable to correct problems, you have held broken packages.
error installing libudev-dev
Reading package lists... Building dependency tree... Reading state information... 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: libudev-dev : Depends: libudev1 (= 249.11-0ubuntu3) but 249.11-0ubuntu3.1 is to be installed
this seems an error with your distribution repositories but you can also
report an issue in the openFrameworks github: http://github.com/openframeworks/openFrameworks/issues
I have looked at this, and also tried to install libudev-dev
using aptitude, but still not working:
sudo aptitude install libudev-dev
The following NEW packages will be installed:
libudev-dev{b}
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 20,7 kB of archives. After unpacking 268 kB will be used.
The following packages have unmet dependencies:
libudev-dev : Depends: libudev1 (= 249.11-0ubuntu3) but 249.11-0ubuntu3.1 is installed
The following actions will resolve these dependencies:
Keep the following packages at their current version:
1) libudev-dev [Not Installed]
Any help?
Best,
P
sudo apt update && sudo apt upgrade -y
.
I downgraded libudev1 to 249.11-0ubuntu3
and that is not a good idea, as the operating system needs it.
Is there an official fix for this? I'm seeing this problem on my Ubuntu 22.04 . The comment above suggests to downgrade libudev1 to 249.11 - how do I do that ?
Well, I downgraded the libudev1 to 249.11, and now my laptop won't boot. So, don't be doing that !!!
Hmm can you try removing libudev-dev
from the install script?
It seems like with Ubuntu at least we need 2 or 3 different scripts depending on the version.
I know I have at least one machine with the Mint equivalent of 22.04 working with OF, I think maybe just removing that package from install_dependencies.sh fixed it for me