Public bug reported: I have a brand new install of Ubuntu 18.04.1, and I get this error when trying to install octave using aptitude.
The following packages have unmet dependencies: libosmesa6 : Depends: libglapi-mesa (= 18.0.0~rc5-1ubuntu1) but 18.0.5-0ubuntu0~18.04.1 is installed The following actions will resolve these dependencies: Keep the following packages at their current version: 1) libosmesa6 [Not Installed] 2) octave [Not Installed] The suggested fix does not work. When I try with apt, I get: ~$ sudo apt install octave 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: octave : Depends: libosmesa6 (>= 10.2~) but it is not going to be installed E: Unable to correct problems, you have held broken packages. Any help would be appreciated. Thanks, Rob ** Affects: octave (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1784510 Title: The following packages have unmet dependencies: libosmesa6 : Depends: libglapi-mesa (= 18.0.0~rc5-1ubuntu1) but 18.0.5-0ubuntu0~18.04.1 is installed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/octave/+bug/1784510/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs