User forums > Help

Trouble shoot with codeblocks under Ubuntu 8.10 !

(1/3) > >>

WILL:
I just got some automatic updates from Ubuntu 8.10 but then I was unable to use CB anymore. Then I tried to reinstall CB follow this link : http://www.futuredesktop.org/codeblocks_on_ubuntu_8.04.html
Then from the terminal I got these error messages :

--- Quote ---sudo apt-get install codeblocks
bash: codeblocks: command not found
Ken@Widget:~$ sudo apt-get install codeblocks
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.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  codeblocks: Depends: codeblocks-common (= 8.02svn5340-0ubuntu1~feisty) but it is not going to be installed
              Recommends: codeblocks-contrib (= 8.02svn5340-0ubuntu1~feisty) but it is not going to be installed
E: Broken packages


--- End quote ---
What is the problem that I'm having ? Anyone could help me out ? Thanks in advance !

Jenna:
Something seems to be messed up with your configuration or with the package dependencies.

If you install for intrepid ibex, you should not have dependencies against feisty.
After looking in the package pool and the "Packages.gz"-file the packages for intrepid (8.10) seem to be the same like the packages for hardy (8.04).

Make sure you have the correct line in "/etc/apt/sources.list", most likely
--- Code: ---deb http://lgp203.free.fr/ubuntu/ intrepid universe
--- End code ---
.

You can also try my repo (see sig), but packages are normaly at the same revision then last "official" nightly of C::B (see http://forums.codeblocks.org/index.php/board,20.0.html.
The packages in my repo are build in a debian edge chroot, but are widely used on ubuntu-systems too.

pasgui:
I have updated, version 5340 (http://lgp203.free.fr/spip/spip.php?article1) the repo with the last structure provided by Jens into the trunk. To update from the version 5322 or older, you need to uninstall Codeblocks and after try:

--- Code: ---sudo apt-get install libcodeblocks0 codeblocks libwxsmithlib0 codeblocks-contrib-common codeblocks-contrib
--- End code ---

Let's me now if you succeed or not !

Best regards, pasgui

mopslik:
I also got the auto-update notification in my system tray yesterday evening, and I'm having the same troubles installing Code::Blocks. Worked fine for months, but now is borked. I'm using Ubuntu 7.10. Here's the output doing a plain old apt-get install codeblocks (the old version has been removed):


--- Code: ---The following packages have unmet dependencies:
  codeblocks: Depends: codeblocks-common (= 8.02svn5340-0ubuntu1~feisty) but it is not going to be installed
E: Broken packages

--- End code ---

And here's the code when trying the above suggestion, after apt-get update:


--- Code: ---The following packages have unmet dependencies:
  codeblocks: Depends: codeblocks-common (= 8.02svn5340-0ubuntu1~feisty) but it is not going to be installed
  codeblocks-contrib: Depends: codeblocks-contrib-common (= 8.02svn5340-0ubuntu1~feisty) but 8.02svn5340-0ubuntu1~hardy is to be installed
  codeblocks-contrib-common: Conflicts: codeblocks-contrib (< 8.02svn5340-0ubuntu1~hardy) but 8.02svn5340-0ubuntu1~feisty is to be installed
E: Broken packages

--- End code ---

pasgui:
It should work now. Sorry for the trouble.

Best regards, pasgui

Navigation

[0] Message Index

[#] Next page

Go to full version