Author Topic: Updating Code::Blocks on debian from Jen's repository  (Read 3883 times)

Offline von.hake

  • Multiple posting newcomer
  • *
  • Posts: 16
Updating Code::Blocks on debian from Jen's repository
« on: December 19, 2010, 12:37:13 pm »
Hi!
I've installed C::B from the above mentioned repository and some time later I've tried to install contrib plugins.
After executing sudo apt-get install codeblocks-contrib* I obtain:
Code: [Select]
...
Note, selecting codeblocks-contrib-dbg for regex 'codeblocks-contrib*'
Note, selecting codeblocks-contrib-common for regex 'codeblocks-contrib*'
Note, selecting codeblocks-contrib for regex 'codeblocks-contrib*'
The following extra packages will be installed:
  codeblocks codeblocks-common codeblocks-contrib codeblocks-contrib-common codeblocks-contrib-dbg codeblocks-dbg libcodeblocks0 libwxsmithlib0
Suggested packages:
  libwxgtk2.8-dev wx-common
The following NEW packages will be installed:
  codeblocks-contrib codeblocks-contrib-common codeblocks-contrib-dbg codeblocks-dbg
The following packages will be upgraded:
  codeblocks codeblocks-common libcodeblocks0 libwxsmithlib0
4 upgraded, 4 newly installed, 0 to remove and 39 not upgraded.
Need to get 36.7MB of archives.
After this operation, 156MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://apt.jenslody.de any/main codeblocks-common 10.05[b]svn6896[/b]-1 [2604kB]
...
Get:8 http://apt.jenslody.de any/main codeblocks-contrib-dbg 10.05[b]svn6896[/b]-1 [15.7MB]
Fetched 27.9MB in 24s (1159kB/s)

Failed to fetch http://apt.jenslody.de/pool/main/c/codeblocks/codeblocks-common_10.05[b]svn6898[/b]-1_all.deb  Size mismatch
...
Failed to fetch http://apt.jenslody.de/pool/main/c/codeblocks/codeblocks-contrib-dbg_10.05[b]svn6898[/b]-1_i386.deb  Size mismatch

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

I've tried executing   
Code: [Select]
apt-get clear
apt-get update
, but the problem remains.
In sources list I have
Code: [Select]
deb http://apt.jenslody.de/ any main
deb-src http://apt.jenslody.de/ any main

deb http://apt.jenslody.de/ any release
deb-src http://apt.jenslody.de/ any release

deb http://apt.wxwidgets.org/ lenny-wx main
How can I resolve the issue?

Offline jens

  • Administrator
  • Lives here!
  • *****
  • Posts: 7253
    • Jens' unofficial debian-repository for the Code::Blocks - IDE
Re: Updating Code::Blocks on debian from Jen's repository
« Reply #1 on: December 19, 2010, 02:47:36 pm »
As first I suggets removing the release entry.

I updated my repo today, so you might have broken entries in your packages list.

If apt-get clean does not work, you can try to remove the lists manually from /var/lib/apt/lists .

You should also try to remove the *.deb-files from /var/cache/apt/archives and all entries from /var/cache/apt/archives/partial

I just updated C::B from my repo (without dbg-packages) and it works as expected.

Offline von.hake

  • Multiple posting newcomer
  • *
  • Posts: 16
Re: Updating Code::Blocks on debian from Jen's repository
« Reply #2 on: December 19, 2010, 03:18:43 pm »
Thank you, Jens.
after removing release entries & apt-get clean+update, everything went fine.