Author Topic: Deb file hell.  (Read 6625 times)

Offline teales

  • Multiple posting newcomer
  • *
  • Posts: 13
Deb file hell.
« on: January 24, 2014, 06:40:53 pm »
I downloaded codeblocks-13.12-1_i386.debian.stable.tar.xz. In it I find about 17 ***.deb files. Not a README in sight. WTF am I supposed to do with them?

There should be one! If more subtle installations are required, document them in a README, and provide links.

As it is, the download is useless to me, since I depend on my current version, and can't do to break it by installing the wrong .deb first.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11902
    • Travis build status
Re: Deb file hell.
« Reply #1 on: January 24, 2014, 08:24:39 pm »
Extract the archive and install the deps. I don't think it is hard?
Otherwise you'll have to wait for 13.12 entering the stable debian repo.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7265
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
Re: Deb file hell.
« Reply #2 on: January 24, 2014, 09:33:40 pm »
You can also use my repo (see signature) for the release or a nightly.

Offline teales

  • Multiple posting newcomer
  • *
  • Posts: 13
Re: Deb file hell.
« Reply #3 on: January 25, 2014, 02:39:49 pm »
Like I said, just now I don't want to compromise my ability to get on with my development. There are numerous debs in the download, but no indication of the order in which they should be installed. It did not look like the dependencies came first, so top to bottom seemed risky.

So I asked.

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7265
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
Re: Deb file hell.
« Reply #4 on: January 25, 2014, 02:43:12 pm »
Order normally doesn't matter.
In doubt run sudo dpkg -i *.deb and you get all stuff including debug and development packages.

Or use my repo (as I wrote before) and use your favourite package-manager to update.
The repo includes the exact same files as the tar-ball.

Offline teales

  • Multiple posting newcomer
  • *
  • Posts: 13
Re: Deb file hell.
« Reply #5 on: January 25, 2014, 06:24:54 pm »
OK, so I tried installing it. First I tried codeblocks_13.12-1_i386.deb via the Ubuntu package manager. That told me I had an unsatisfied dependency on some codeblocks library. Then I tried codeblocks-common_13.12-1_all.deb. The package manager then told me this would break my existing version.

This does not give me a feeling of confidence!

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11902
    • Travis build status
Re: Deb file hell.
« Reply #6 on: January 25, 2014, 06:53:41 pm »
Just pass all packages you want to install at once... The manual for apt-get/dpkg is your friend...
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline teales

  • Multiple posting newcomer
  • *
  • Posts: 13
Re: Deb file hell.
« Reply #7 on: January 25, 2014, 07:23:03 pm »
I don't know which packages I want to install because they come without documentation!

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11902
    • Travis build status
Re: Deb file hell.
« Reply #8 on: January 25, 2014, 07:35:44 pm »
The packages follow the debian's convention for their names...
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
Re: Deb file hell.
« Reply #9 on: January 25, 2014, 07:58:22 pm »
I don't know which packages I want to install because they come without documentation!

We get it, you are unhappy with the state of the documentation of the binary archives. File a bug.

Nonetheless, as you have been told:

Code: [Select]
sudo dpkg -i *.deb

The package manager then told me this would break my existing version.

Why would this surprise you? It's a newer, binary incompatible version of the IDE.

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7265
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
Re: Deb file hell.
« Reply #10 on: January 25, 2014, 08:08:01 pm »
Nonetheless, as you have been told:

Code: [Select]
sudo dpkg -i *.deb

or

Order normally doesn't matter.
Or use my repo (as I wrote before) and use your favourite package-manager to update.
The repo includes the exact same files as the tar-ball.

The repo contains not only nightly builds, but also the release build (see my site for instructions).

Offline dmoore

  • Developer
  • Lives here!
  • *****
  • Posts: 1576
Re: Deb file hell.
« Reply #11 on: January 25, 2014, 08:17:10 pm »
For what it's worth here are the apt-cache entries:

Code: [Select]
libcodeblocks0 - Code::Blocks shared libraries
codeblocks - Code::Blocks integrated development environment (IDE)
codeblocks-dbg - Code::Blocks debugging libraries
libwxsmithlib0 - wxSmith shared library (Code::Blocks plugin for RAD GUI editing)
codeblocks-contrib - contrib plugins for Code::Blocks IDE
codeblocks-dev - Code::Blocks development libraries (SDK)
codeblocks-contrib-dbg - Debugging libraries for the Code::Blocks contrib plugins
wxsmith-dev - wxSmith development files (libraries)
codeblocks-common - common files for Code::Blocks IDE
codeblocks-contrib-common - common files for the contrib plugins for Code::Blocks IDE
codeblocks-headers - Code::Blocks development headers (SDK)
wxsmith-headers - wxSmith development files (headers)
codeblocks-wxcontrib-headers - Code::Blocks development headers for wxContribItems
codeblocks-libwxcontrib0 - Code::Blocks shared libraries for wxContribItems
codeblocks-wxcontrib-dev - Code::Blocks development libraries for wxContribItems

Offline teales

  • Multiple posting newcomer
  • *
  • Posts: 13
Re: Deb file hell.
« Reply #12 on: January 26, 2014, 07:49:10 am »
Jolly good! Installed everything even though I don't want a lot of it, and 13.1 would run, and would compile my project, but it would not link it.

Initially it complained about fbin/Debug/exename (link command had -ofbin/Debug/exename)- no such file or directory. So I added
-of bin/Debug/exename to the linker commands, and that seemed to fix that. But then the order in which the libraries were listed was wrong, and so there were unsatisfied references - with the same project file.

So not having the time to sort that out today, I uninstalled using

apt-get remove --purge codeblocks
apt-get remove --purge codeblocks-common

Then I reinstalled 10.x from the Ubuntu 12.04 repo, and now that won't run - undefined symbol: _ZN7Manager7isBatchE

Thanks for your help.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11902
    • Travis build status
Re: Deb file hell.
« Reply #13 on: January 26, 2014, 08:03:06 am »
Code: [Select]
libcodeblocks0 - Code::Blocks shared libraries
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline teales

  • Multiple posting newcomer
  • *
  • Posts: 13
Re: Deb file hell.
« Reply #14 on: January 26, 2014, 08:30:03 am »
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libcodeblocks0 is already the newest version.
libcodeblocks0 set to manually installed.