• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: Debian problem updating kernel  (Read 2704 times)
joosty
Newbie
*

Karma: 0
Posts: 26


View Profile
« on: July 13, 2010, 11:17:56 AM »

After issuing "apt-get upgrade" I get:
Code:
root@plug:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
  bind9-host dnsutils linux-image-kirkwood
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

Then, after issuing "apt-get install linux-image-kirkwood" I get:
Code:
root@plug:~# apt-get install linux-image-kirkwood
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.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  linux-image-kirkwood: Depends: linux-image-2.6.32-bpo.3-kirkwood but it is not installable
E: Broken packages

But an apt-cache query results in:
Code:
root@plug:/boot# apt-cache depends linux-image-kirkwood
linux-image-kirkwood
  Depends: linux-image-2.6.32-5-kirkwood

A different package?!

My sources.list is:
Code:
deb http://ftp.nl.debian.org/debian/ lenny main non-free contrib
deb-src http://ftp.nl.debian.org/debian/ lenny main non-free contrib

deb http://security.debian.org/ lenny/updates main non-free
deb-src http://security.debian.org/ lenny/updates main non-free

deb http://volatile.debian.org/debian-volatile lenny/volatile main
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main

deb http://www.backports.org/debian lenny-backports main contrib non-free

deb http://www.debian-multimedia.org lenny main non-free

# Orion repository
deb http://people.debian.org/~tbm/orion lenny main

#deb http://www.debian-multimedia.org lenny main

I'm not sure how to fix this. Any help is appreciated!
« Last Edit: July 13, 2010, 11:37:28 AM by joosty » Logged

tbm
Full Member
***

Karma: 7
Posts: 121



View Profile WWW
« Reply #1 on: July 13, 2010, 12:24:11 PM »

Can you try:
Code:
apt-get dist-upgrade
Logged

joosty
Newbie
*

Karma: 0
Posts: 26


View Profile
« Reply #2 on: July 13, 2010, 10:28:17 PM »

Gives similar result:
Code:
root@plug:~# apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  linux-image-kirkwood
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

(I upgraded the bind packages mentioned in the first post already)
Logged

tbm
Full Member
***

Karma: 7
Posts: 121



View Profile WWW
« Reply #3 on: July 14, 2010, 02:18:31 AM »

I cannot figure out from the info you gave why "apt-get install linux-image-kirkwood" complains about linux-image-2.6.32-bpo.3-kirkwood when it shows "Depends: linux-image-2.6.32-5-kirkwood".  In any case, you want the linux-image-2.6.32-5-kirkwood kernel.

Do:

Code:
apt-get install linux-image-2.6.32-5-kirkwood

And then maybe also try:
Code:
apt-get install linux-image-kirkwood/2.6.32+27
Logged

joosty
Newbie
*

Karma: 0
Posts: 26


View Profile
« Reply #4 on: July 14, 2010, 03:04:51 AM »

The first one works, it installed 2.6.32-5 kernel! The second cmd came back with:
Code:
root@plug:/boot# apt-get install linux-image-kirkwood/2.6.32+27
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Release '2.6.32+27' for 'linux-image-kirkwood' was not found

But I still get the original "kept back" package:
Code:
root@plug:/boot# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
  linux-image-kirkwood
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

I would like to keep my apt-get in a correct state, I'll see if I can find a way to somehow explain the difference between apt-get and apt-cache regarding the dependency of linux-image-kirkwood package. Any hints for next steps are appreciated ofcourse!
Logged

joosty
Newbie
*

Karma: 0
Posts: 26


View Profile
« Reply #5 on: July 14, 2010, 03:11:45 AM »

Some new info, I'm getting somewhere, looks like there's three different versions of this package:
Code:
root@plug:/boot# apt-cache show linux-image-kirkwood
Package: linux-image-kirkwood
Source: linux-latest-2.6 (27)
Version: 2.6.32+27
Architecture: armel
Maintainer: Debian Kernel Team <debian-kernel@lists.debian.org>
Installed-Size: 32
Depends: linux-image-2.6.32-5-kirkwood
Provides: linux-latest-modules-2.6.32-5-kirkwood
Filename: ./linux-image-kirkwood_2.6.32+27_armel.deb
Size: 2972
MD5sum: ff913aab56282c97bee9c505f47098d7
Section: kernel
Priority: optional
Description: Linux for Marvell Kirkwood (meta-package)
 This package depends on the latest Linux kernel and modules for use on
 Marvell Kirkwood based systems (SheevaPlug, QNAP TS-119/TS-219, etc).

Package: linux-image-kirkwood
Priority: optional
Section: kernel
Installed-Size: 32
Maintainer: Debian Kernel Team <debian-kernel@lists.debian.org>
Architecture: armel
Source: linux-latest-2.6 (25~bpo50+1)
Version: 2.6.32+25~bpo50+1
Provides: linux-latest-modules-2.6.32-bpo.3-kirkwood
Depends: linux-image-2.6.32-bpo.3-kirkwood
Filename: pool/main/l/linux-latest-2.6/linux-image-kirkwood_2.6.32+25~bpo50+1_armel.deb
Size: 2876
MD5sum: 4fe5da0ae4a36b012003bfd6551f1d45
SHA1: 15dee8ffe92db4efd4834f12f756d3e15b7778a8
SHA256: 61d36046decb532869b19d85b986e32e581084203195409e3fad2be765e3fe5d
Description: Linux for Marvell Kirkwood
 This package depends on the latest Linux kernel and modules for use on
 Marvell Kirkwood based systems (SheevaPlug, QNAP TS-119/TS-219, etc).

Package: linux-image-kirkwood
Status: install ok installed
Priority: optional
Section: kernel
Installed-Size: 32
Maintainer: Debian Kernel Team <debian-kernel@lists.debian.org>
Architecture: armel
Source: linux-latest-2.6 (20~bpo50+1)
Version: 2.6.30+20~bpo50+1
Provides: linux-latest-modules-2.6.30-bpo.1-kirkwood
Depends: linux-image-2.6.30-bpo.1-kirkwood
Description: Linux image on Marvell Kirkwood
 This package depends on the latest binary image for Linux kernel on
 Marvell Kirkwood based (SheevaPlug, QNAP TS-119/TS-219, etc) machines.


I have the situation kind-of resolved (probably until the next kernel update ;-)):
- I removed package linux-image-kirkwood (apt-get remove)
- I removed the backports source for apt, leaving the people.debian.org/~tbm/orion/ repository
- apt-get update
- "apt-cache show linux-image-kirkwood" now only shows one entry
- "apt-get install linux-image-kirkwood" still does not work:
Code:
root@plug:~# apt-get install linux-image-kirkwood
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package linux-image-kirkwood is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package linux-image-kirkwood has no installation candidate
- So I downloaded "linux-image-kirkwood_2.6.32+27_armel.deb" manually
- dpkg -i linux-image-kirkwood_2.6.32+27_armel.deb
- Now all looks ok:
Code:
root@plug:~# apt-get install linux-image-kirkwood
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-image-kirkwood is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
« Last Edit: July 14, 2010, 04:10:03 AM by joosty » Logged

Pages: [1]
Print
Jump to: