>Executing "sudo apt install codeblocks-contrib" from a command line
will fail due to the mismatch of versions.

Please include such error messages the next time, that makes it a lot
easier to track down the issue. Especially when I couldn't reproduce the
problem when installing codeblocks on 18.04

> AFAICT ubuntu-bug produces no useful info

It would be rather limited when the package isn't installed, I'll agree
there. But it would have said two interesting things; 1) that you are
running 18.04 so you don't have to repeat that, and 2) that your system
has been upgraded from an older Ubuntu release.

I've been looking more into it, and as mentioned above I was unable to
reproduce the issue since codeblocks installed without any issues. In
18.04 the hunspell version has been updated, so that libhunspell-1.6-0
is available and all relevant packages in the repo has been rebuilt to
use this. Your locally installed libhunspell-1.4-0 is presumably a left-
over from an upgrade from a previous Ubuntu release.

You can verify this by comparing `apt policy libhunspell-1.6-0` and `apt
policy libhunspell-1.4-0`. The first one will show installed and
available version along with a repo-URL where it originated, while the
latter will show the locally installed version without any remote url.

Unless you know you are using the older libhunspell-1.4-0, for instance
for older packages which require that specific version and haven't been
upgraded to use 1.6, it should be safe to remove to enable installation
of codeblocks. Again, it is most likely hanging around after an Ubuntu
release upgrade, since the 1.4 package has been removed in favor of 1.6
in the 18.04 repo.

** Tags added: unmetdeps

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1804294

Title:
  Broken package "codeblocks" or "codeblocks-contrib"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/codeblocks/+bug/1804294/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to