[PATCH] Make linux-doc non-versioned, fixing 382115 and 247517

Matt Zimmerman mdz at ubuntu.com
Sun Jun 21 13:56:26 UTC 2009


On Fri, Jun 19, 2009 at 01:39:16PM -0600, Tim Gardner wrote:
> Matt Zimmerman wrote:
> > Patches attached for review (also attached to bug 382115).
> > 
> > Currently, the linux source package builds linux-doc-xx.yy.zz, and
> > linux-meta builds linux-doc which Depends: linux-doc-xx.yy.zz. I suggest
> > that this be changed, such that linux-doc-xx.yy.zz be renamed to linux-doc,
> > and be provided by the latest version of the linux source package.
> > 
> > This would be much simpler, eliminating the need for a metapackage and a new
> > binary package with each major kernel version. Instead, there would just be
> > a "linux-doc" package which contained the documentation for the current
> > version of the linux source package. This would also incidentally fix
> > long-standing bug 247517, which causes linux-doc to be routinely held back
> > by APT during kernel upgrades.
> > 
> > Unlike linux-image packages, there is rarely any need to install older
> > versions of the documentation, and if needed, the older docs are easily
> > available on the web.
> > 
> > 
> 
> applied

Unfortunately, this change caused a problem:

http://launchpadlibrarian.net/28126940/upload_1084377_log.txt

2009-06-19 22:58:57 WARNING Upload was rejected:
2009-06-19 22:58:57 WARNING 	linux-doc_2.6.30-10.11_all.deb: Version older than that in the archive. 2.6.30-10.11 <= 2.6.30.9.8

I didn't notice that linux-meta and linux used different version numbering
schemes: linux is at 2.6.30-10.11 while linux-meta is at 2.6.30.9.8 (note
the differing punctuation).

Some possible ways to fix this:

 * Use the linux-meta scheme in both places (it's a native package anyway)

 * Upload the next linux-meta (which should drop linux-doc) and then try
   again after the old linux-doc has been removed (may need manual
   intervention)

 * Artificially and temporarily inflate the version number on linux-doc only
   (and let the problem solve itself with 2.6.31)

-- 
 - mdz




More information about the kernel-team mailing list