[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#428783: linux-latest-2.6: Use new Breaks field to avoid installing new kernel image if old packaged modules are installed



On Fri, 15 Jun 2007, Steve Langasek wrote:
> > This should give the same behaviour indeed. The modules meta-package would
> > be broken when the linux-image-2.6 metapackages are upgraded
> > unsynchronized.
> 
> Hmm; I guess I meant
> 
>   Depends: linux-image-2.6-686 (>= 2.6.21), linux-image-2.6-686 (<< 2.6.22)
> 
> but I realize now that breaks when the ABI changes within an upstream kernel
> revision.

Indeed, and the version of the metapackages doesn't include an explicit
reference to the ABI. IMO it should, then we could do:
Depends: linux-image-2.6-686 (>= 2.6.21-1), linux-image-2.6-686 (<< 2.6.21-2)

Currently you have to lookup the changelog of linux-image-2.6-686 to know
the ABI it corresponds to, which is somehow inconvenient.

BTW, the version numbers in the changelog doesn't correspond to the
version numbers of the generated package. While this is allowed, its there
a compelling reason to do so in this case?

$ zless /usr/share/doc/linux-image-2.6-686/changelog.gz
linux-latest-2.6 (7) unstable; urgency=low

  * Update to 2.6.21-1.
  * Remove etch transition packages.

 -- Bastian Blank <waldi@debian.org>  Tue, 29 May 2007 14:26:20 +0200
[...]
$ dpkg -l linux-image-2.6-686 | grep ^ii
ii  linux-image-2.6-6 2.6.21+7          Linux kernel 2.6 image on PPro/Celeron/PII/PIII/P4

Cheers,
-- 
Raphaël Hertzog

Premier livre français sur Debian GNU/Linux :
http://www.ouaza.com/livre/admin-debian/



Reply to: