initramfs-tools should be depending on util-linux package

Bug #151605 reported by Savvas Radevic
0
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I've helped a user on #ubuntu+1 for this. He upgraded from Feisty Fawn 7.04 to 7.10 using "update-manager -d"
He had this error, while upgrading the kernel:
update-initramfs: Generating /boot/initrd.img-2.6.22-14-386 /usr/sbin/mkinitramfs: line 13: getopt: command not found

/usr/bin/getopt comes from the package util-linux and he didn't have that installed. I told him to install util-linux and the
Shouldn't the initrams-tools be depending on util-linux for getopt?

(these are mine)
initramfs-tools
  Depends: klibc-utils
  Depends: busybox-initramfs
  Depends: cpio
  Depends: module-init-tools
  Depends: udev
  Depends: volumeid

util-linux
Reverse Depends:
  scsitools
  kbd
  kbd
  util-linux-locales
  util-linux-locales
  util-linux-locales
  ubuntu-minimal
  console-tools

Revision history for this message
Yannovitch (gremlins-4u) wrote :

hello

initramfs-tools depends on util-linux for getopt.
surely, you had not util linux installed because at this time, you have problems between util-linux and linux32.
So you must remove linux32 and wait ;)
If you cant remove linux32, try sudo dpkg -P initramfs-tools
that will say that you can't remove initramfs-tools because you have many dependancies .
but after doing this you access to synaptic and you can remove linux32 ...

Yann

Changed in initramfs-tools:
status: New → Invalid
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.