this is because you used codeblocks from the website, not the ubuntu version. Please remove and install it again.
** Changed in: codeblocks (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1650992 Title: package codeblocks 16.01+dfsg-2 failed to install/upgrade: trying to overwrite '/usr/share/applications/codeblocks.desktop', which is also in package codeblocks-common 16.01~ubuntu16.04.1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/codeblocks/+bug/1650992/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs