package volumeid 113-0ubuntu13 failed to install/upgrade:

Bug #146513 reported by Brian Murray
258
Affects Status Importance Assigned to Milestone
udev (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: udev

I was just updating my packages.

ProblemType: Package
Architecture: amd64
Date: Fri Sep 28 16:01:19 2007
DistroRelease: Ubuntu 7.10
ErrorMessage:
 ErrorMessage: subprocess post-installation script returned error exit status 2
Package: volumeid 113-0ubuntu13
PackageArchitecture: amd64
SourcePackage: udev
Title: package volumeid 113-0ubuntu13 failed to install/upgrade:
Uname: Linux brian-laptop 2.6.22-12-generic #1 SMP Sun Sep 23 20:03:18 GMT 2007 x86_64 GNU/Linux

Revision history for this message
Brian Murray (brian-murray) wrote :
Revision history for this message
Tamas Tarjanyi (tamas-tarjanyi) wrote :

Hi,

To me the error is:

root@toci:~# dpkg --configure volumeid
Setting up volumeid (113-0ubuntu13) ...
/var/lib/dpkg/info/volumeid.postinst: 56: Syntax error: ")" unexpected (expecting ";;")
dpkg: error processing volumeid (--configure):
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 volumeid

Revision history for this message
Tamas Tarjanyi (tamas-tarjanyi) wrote :

Error:

            /dev/mapper/*_crypt)# DM-Crypt devices
                echo "$LINE"
                continue
            /dev/disk/*) # Already mounting by particulars

Should be

            /dev/mapper/*_crypt)# DM-Crypt devices
                echo "$LINE"
                continue
                ;;
            /dev/disk/*) # Already mounting by particulars

After that it was working:
root@toci:~# dpkg --configure volumeid
Setting up volumeid (113-0ubuntu13) ...
update-initramfs: deferring update (trigger activated)

Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.22-12-generic

Revision history for this message
Tamas Tarjanyi (tamas-tarjanyi) wrote :

udev was also configured:

root@toci:~# dpkg --configure volumeid
Setting up volumeid (113-0ubuntu13) ...
update-initramfs: deferring update (trigger activated)

Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.22-12-generic

Sorry for the separated posts but this was how I proceed.

Revision history for this message
J B Bell (tquidca) wrote :

Here is a patch, created according to guidelines I found at https://wiki.ubuntu.com/MOTU/Contributing#head-1cf9ae7c8b7e20c9c4c12b0457dc40a073df5695

I hope this is the correct procedure, please let me know if not. First time patcher, long time user! :)

Changed in udev:
status: New → Confirmed
Revision history for this message
rynoon (hendersonsk) wrote :

Thank you, J B Bell, that patch worked for me.

Revision history for this message
earthforce_1 (earthforce1) wrote :

I have the same bug - how do you apply the patch?

Revision history for this message
Bremm (bremm) wrote :

I did the same workaround explained by Tarjanyi and it works as a charm. I forgot to try the Bell's patch before to see if it could be work... My bad.

Revision history for this message
J B Bell (tquidca) wrote :

For regular folks just trying to get the install to work, edit /var/lib/dpkg/info/volumeid.postinst as Tarjanyi recommends; the patch does the exact same thing. It's not a workaround really, except in the sense that it fixes your install, not the package.

Revision history for this message
Sarah Kowalik (hobbsee-deactivatedaccount) wrote :

Accepted:
 OK: udev_113.orig.tar.gz
 OK: udev_113-0ubuntu14.diff.gz
 OK: udev_113-0ubuntu14.dsc
     -> Component: main Section: admin

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sat, 29 Sep 2007 05:57:45 +0200
Source: udev
Binary: libvolume-id-dev volumeid udev libvolume-id0 udev-udeb
Architecture: source
Version: 113-0ubuntu14
Distribution: gutsy
Urgency: low
Maintainer: Scott James Remnant <email address hidden>
Changed-By: Fabio M. Di Nitto <email address hidden>
Description:
 libvolume-id-dev - volume identification library (development files)
 libvolume-id0 - volume identification library
 udev - rule-based device node and kernel event manager
 udev-udeb - rule-based device node and kernel event manager
 volumeid - volume identification tool
Changes:
 udev (113-0ubuntu14) gutsy; urgency=low
 .
   * Fix volumeid.postinst. Missing ;; in a couple of places.
Files:
 333abc46984e8abb20aa74b57b150396 1316 admin important udev_113-0ubuntu14.dsc
 2028b986bf5a0215dab0e7c25870ae44 52951 admin important udev_113-0ubuntu14.diff.gz
Package-Type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iQIVAwUBRv3NUFA6oBJjVJ+OAQKbqA//RchdderUN1fpPHHjKcvZyr3nEDeQ4i6P
0d0iyQJIbF973t9cl5wWMqC4gW+trccT1Urb1fQd0HwQX+MsujjYzg5a49G+cLoT
PntyifnUgPIhr/QvqONGu3siv150HIjo9vhwIqbTlc0VBtVSx8ujQn/3ogzw1cMm
mURBTaotOzTV9HrFKINgkhSwR0FOIRdtWi35NTAc4T2guLt/4inMiM09zsST3YtK
9jhgQX5B1Kd2Ym4kUhqeifoN4hSJatCgM1JlCRhK7gPODmCCVN571ZsUzXDNeVYT
nKPVv8x25PEE9X743ZLLQR0m1yizyYFT+caYt10lLUcDN1RlsuUXdhdDPbXlXOvo
nzond6nPERcll3aD5TKoGkTo9W4roHrI9w+wf4hreirCX/qAM1V5ja+RxWPFW730
NPXS2N8jrNt32Hx2r+YrFZa1GaRy3cNO6TOqjDtNYhbjth26oBhX9OTSgweMzNMN
3CJgKRrPkQpEBK8+Ugu/TMehXVlfyXkpDNq/+oIq+4rkEdToYxsmlkcmZoRnqBtc
wmA74pVOpdLH4kuQzDoaEXNL0IMagBlDvtZ+1szucolv0Zo+firug9La1ha2EU1e
N0aiqp9UWpg8cJN302IeI253P0PQRb0yvbHf0uKEw5u6mKpU16zNjZmDyaMZWK/E
T85RJTlWmfs=
=CnMM
-----END PGP SIGNATURE-----

should be in the archives already, propogating to mirrors.

Changed in udev:
status: Confirmed → Fix Released
Revision history for this message
Giovanni Cucca (spawnhcs-deactivatedaccount) wrote :

Everything working here with Tarjanyi workaround

Revision history for this message
beneedict (nimmervoll-benedikt) wrote :

"Everything working here with Tarjanyi workaround"
same here

Revision history for this message
Marco Solari (marcosolari) wrote :

Here too, thanks, Tarjanyi ....

Revision history for this message
jimw428 (jimw428) wrote :

Works for me as well, thanks for the help.

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.