bad version number in trigger

Bug #889584 reported by Anand Kumria
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Whilst performing an upgrade from 11.04 -> 11.10, I saw this message fly by the upgrade terminal:

Processing triggers for initramfs-tools ...
dpkg: error: version '2.6.38.7-30.fc15.x86_64' has bad syntax: invalid character in revision number
update-initramfs: Generating /boot/initrd.img-2.6.38-12-generic

My machine has both Windows 7 and Fedora 15 co-installed (and it can boot any of them) from the grub menu.

Related branches

Revision history for this message
Adam Conrad (adconrad) wrote :

This is a side-effect of using dpkg --compare-versions to compare kernel versions, and dpkg prints the (harmless, but I admit, a bit scary) warning because it's generally used to compare package versions (where underscore is an illegal character in .deb versions).

I've committed a fix upstream[1] for this, and it should find its way into the latest Ubuntu devel release soon enough.

[1] http://anonscm.debian.org/gitweb/?p=kernel/initramfs-tools.git;a=commitdiff;h=ca324ad442745f437537eb7417c811c6f0ae2307

Changed in initramfs-tools (Ubuntu):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (18.6 KiB)

This bug was fixed in the package initramfs-tools - 0.120ubuntu1

---------------
initramfs-tools (0.120ubuntu1) wily; urgency=medium

  * Merge from debian, remaining changes (up to 0.103ubuntu15):
    - Drop hooks/keymap and associated code; console-setup takes care of this
      in Ubuntu.
    - Set takeover=1 in update-initramfs.
    - Support loading compcache from the initramfs.
    - Add a new 'fixrtc' script that tries to set the system clock forward
      based on the last mount time of the root disk; without this kludge,
      systems without a working RTC will end up in a perpetual reboot loop.
    - Set hostname at boot, for the benefit of mdadm autoassembly.
    - Don't display "Loading, please wait..." message when 'quiet' is in
      /proc/cmdline.
    - Ignore errors from iscan and iscan-data hooks.
    - Allow specifying multiple break points using a comma delimiter.
    - Allow scripts and hooks to specify OPTION=VAR, and unless VAR is set to
      something other than "n", the script will not be included.
    - Restore the framebuffer hook and script, copying KMS and other framebuffer
      drivers into the initramfs, but make them optional; you need to set
      FRAMEBUFFER=y for these to be included.
    - Don't load keymaps unless we're loading a framebuffer; but set the keymap
      before giving a root shell.
    - Add hwaddr= alias for BOOTIF= for compatibility.
    - Add 2>&1 to the run-init line.
    - When receiving "recovery" on cmdline, start upstart with
      --startup-event=recovery (LP: #575469)
    - Make /etc/mtab a symlink to /proc/mounts on startup, since e.g. current
      ntfs-3g doesn't work otherwise.
    - Mount /dev with the default tmpfs size rather than sourcing udev.conf.
    - Automatically blacklist vga16fb when vga= or video= specified on kernel
      command-line.
    - Add Hyper-V paravirtualised device drivers to the initramfs to allow
      booting of stock images in a Hyper-V guest. (LP: #917135)
    - Allow for alternative PREREQS to be specified using | as the separator.
    - Add mountroot failure support, to allow meaningful messages when no root
      device can be found.
    - Retain netboot= compatibility option.
    - Add panic hook support.
    - Breaks: mountall (<< 2.0~)
    - Retain cryptopts= compatibility option.
    - Use busybox-initramfs for Depends.
    - Add new initramfs-tools-bin package containing a binary that uses libudev
      to wait for udev to create the udev device, or wait for udev to finish
      processing if we catch it in the act, and returns the filesystem type
      as already probed by udev. Incorporate rzscontrol from compcache so that
      we can control current ramzswap devices.
    - Replace all instances of vol_id with blkid, and depend on util-linux.
    - Add vfat modules to the initramfs.
    - Maintain compatibility with pre- /run configurations
    - Remove klibc utilities if busybox is in use.
    - Use gzip from busybox instead of klibc. Depend on busybox-initramfs
      (>= 1:1.13.3-1ubuntu5) to ensure that we have it.
    - Loop for 5 seconds waiting for $resume to show up, adjustable with the
      resumedelay= command-line arg.
    -...

Changed in initramfs-tools (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.