[jaunty] irda-utils won't install (depends on update-modules in postinst)

Bug #340718 reported by djcube
450
This bug affects 38 people
Affects Status Importance Assigned to Milestone
irda-utils (Ubuntu)
Fix Released
Undecided
Unassigned
Jaunty
Fix Released
High
Steve Langasek

Bug Description

Binary package hint: irda-utils

Hp dv6000 (dv6131od)
Ubuntu 9.04 jaunty added myth+studio packages

ProblemType: Package
Architecture: i386
DistroRelease: Ubuntu 9.04
ErrorMessage: subprocess post-installation script returned error exit status 127
Package: irda-utils 0.9.18-8.1ubuntu1
SourcePackage: irda-utils
Title: package irda-utils 0.9.18-8.1ubuntu1 failed to install/upgrade: subprocess post-installation script returned error exit status 127
Uname: Linux 2.6.28-8-generic i686

SRU justification: package is completely uninstallable in jaunty, because it calls a non-existing utility in the postinst.

Addressed in karmic, as indicated in the bug log below.

TEST CASE: try to install the irda-utils package in jaunty. It will fail. Then enable jaunty-proposed and try again.

REGRESSION POTENTIAL: because the package is uninstallable in jaunty, and was so for much of the release cycle, it is possible that successful installation of the package will introduce other regressions in untested code paths. However, the theoretical possibility of such a regression does not outweigh the need for an installable package.

Revision history for this message
djcube (djcube-deactivatedaccount) wrote :
Revision history for this message
Craig Huffstetler (xq) wrote :

Confirmed via user on Answers team/forum. - CH

Changed in irda-utils (Ubuntu):
status: New → Confirmed
Craig Huffstetler (xq)
summary: - package irda-utils 0.9.18-8.1ubuntu1 failed to install/upgrade:
+ [jaunty] package irda-utils 0.9.18-8.1ubuntu1 failed to install/upgrade:
subprocess post-installation script returned error exit status 127
Revision history for this message
Max_HocoB (makcum) wrote : Re: [Bug 340718] Re: [jaunty] package irda-utils 0.9.18-8.1ubuntu1 failed to install/upgrade: subprocess post-installation script returned error exit status 127

создал Flash USB диск загрузочный и попробовал установить iRDA-Utils
получил ошибку которую и выслал в бак репорт.
 В Сбт, 04/04/2009 в 21:00 +0000, Craig Huffstetler пишет:
> ** Summary changed:
>
> - package irda-utils 0.9.18-8.1ubuntu1 failed to install/upgrade: subprocess post-installation script returned error exit status 127
> + [jaunty] package irda-utils 0.9.18-8.1ubuntu1 failed to install/upgrade: subprocess post-installation script returned error exit status 127
>

Revision history for this message
Brian Murray (brian-murray) wrote : Re: [jaunty] package irda-utils 0.9.18-8.1ubuntu1 failed to install/upgrade: subprocess post-installation script returned error exit status 127

From DpkgTerminalLog.txt:

Setting up irda-utils (0.9.18-8.1ubuntu1) ...
/var/lib/dpkg/info/irda-utils.postinst: line 184: ./MAKEDEV: No such file or directory
/var/lib/dpkg/info/irda-utils.postinst: line 92: update-modules: command not found
dpkg: error processing irda-utils (--configure):
 subprocess post-installation script returned error exit status 127

Revision history for this message
Daniele Napolitano (dnax88) wrote :

This affect me too.

Irda-utils package is buggy.

Revision history for this message
Daniele Napolitano (dnax88) wrote :

I've made a patch for this bug and bug #340873.

Revision history for this message
Daniele Napolitano (dnax88) wrote :

See new patch version from bug #340873. Ignore this.

summary: - [jaunty] package irda-utils 0.9.18-8.1ubuntu1 failed to install/upgrade:
- subprocess post-installation script returned error exit status 127
+ [jaunty] irda-utils won't install (depends on /dev/MAKEDEV symlink in
+ postinst)
tags: removed: i386
Revision history for this message
ementos (ementos) wrote : Re: [jaunty] irda-utils won't install (depends on /dev/MAKEDEV symlink in postinst)

I saw, that I can send files from computer to phone, but I can not send files from phone to comp...
In Ubuntu 8.04, it worked :|

Revision history for this message
HubertB (hubertb) wrote :

Hi there!

Actually, I'm getting 2 errors while trying to install:

Unpacking irda-utils (from .../irda-utils_0.9.18-8.1ubuntu1_i386.deb) ...
Processing triggers for man-db ...
Setting up irda-utils (0.9.18-8.1ubuntu1) ...
/var/lib/dpkg/info/irda-utils.postinst: line 184: ./MAKEDEV: No such file or directory
/var/lib/dpkg/info/irda-utils.postinst: line 92: update-modules: command not found
dpkg: error processing irda-utils (--configure):
 subprocess post-installation script returned error exit status 127
Errors were encountered while processing:
 irda-utils
E: Sub-process /usr/bin/dpkg returned an error code (1)

What's really wired is since this failed installation of irda-utils my wlan-card-module (ath5k) isn't loaded by default any longer. Could this be caused by the failed installaton (e. g. thru the missing update-modules command)?

Revision history for this message
Daniele Napolitano (dnax88) wrote :

People... We know the cause of this bug. The patch to resolve this is available for some time.

Revision history for this message
bike4peace (konni-schmidt) wrote :

Yes, thats true, can not recive files from phone.
Also there are some problems with obex-protokoll.

Revision history for this message
bike4peace (konni-schmidt) wrote :

It seems me to be GNOCKII and XGNOKII is a usefull program for exchange through Bluetooth.
But it doesnt run inside ubuntu.

Thats pitty. Who has an idea?

Revision history for this message
Zwyber (zwyber) wrote : Re: [Bug 340718] Re: [jaunty] irda-utils won't install (depends on /dev/MAKEDEV symlink in postinst)

You can receive files from your phone if you install and run
gnome-obex-server. Then you can receive files from your mobile phone.

On Sun, May 10, 2009 at 4:46 AM, bike4peace
<email address hidden>wrote:

> Yes, thats true, can not recive files from phone.
> Also there are some problems with obex-protokoll.
>
> --
> [jaunty] irda-utils won't install (depends on /dev/MAKEDEV symlink in
> postinst)
> https://bugs.launchpad.net/bugs/340718
> You received this bug notification because you are a direct subscriber
> of the bug.
>

--
Groetjes,
Paul

Revision history for this message
frost9928 (jjackson2007) wrote : Re: [jaunty] irda-utils won't install (depends on /dev/MAKEDEV symlink in postinst)

Though it may be a newbie question... how does one go about applying the patch?

Oliver Grawert (ogra)
Changed in irda-utils (Ubuntu):
milestone: none → jaunty-updates
Steve Langasek (vorlon)
Changed in irda-utils (Ubuntu):
milestone: jaunty-updates → none
Steve Langasek (vorlon)
summary: - [jaunty] irda-utils won't install (depends on /dev/MAKEDEV symlink in
+ [jaunty] irda-utils won't install (depends on update-modules in
postinst)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package irda-utils - 0.9.18-8.1ubuntu2

---------------
irda-utils (0.9.18-8.1ubuntu2) karmic; urgency=low

  [ Daniele Napolitano ]
  * debian/postinst: remove call to update-modules, which was deprecated long
    ago and is no longer shipped by module-init-tools. LP: #340718.
  * debian/postinst: invoke MAKEDEV, not /dev/MAKEDEV, since the latter is
    obsolete.

  [ Steve Langasek ]
  * debian/postinst, debian/postrm: rename /etc/modprobe.d/irda-utils to
    /etc/modprobe.d/irda-utils.conf, as required by current
    module-init-tools. LP: #340873.
  * debian/preinst: handle migrating the modprobe.d filename on upgrade.
  * debian/preinst: remove config file for Linux 2.4 kernels on upgrade.
  * debian/postinst, debian/postrm: drop obsolete handling of modutils.

 -- Steve Langasek <email address hidden> Tue, 26 May 2009 10:53:59 +0000

Changed in irda-utils (Ubuntu):
status: Confirmed → Fix Released
Prot (euphobos)
Changed in irda-utils (Ubuntu Jaunty):
status: New → Confirmed
Steve Langasek (vorlon)
Changed in irda-utils (Ubuntu Jaunty):
importance: Undecided → High
Revision history for this message
Steve Langasek (vorlon) wrote :

uploaded to jaunty-proposed, and awaiting approval.

Changed in irda-utils (Ubuntu Jaunty):
assignee: nobody → Steve Langasek (vorlon)
milestone: none → jaunty-updates
status: Confirmed → Fix Committed
Steve Langasek (vorlon)
description: updated
Revision history for this message
Martin Pitt (pitti) wrote :

Accepted irda-utils into jaunty-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

tags: added: regression-release
tags: added: verification-needed
Revision history for this message
Steve Beattie (sbeattie) wrote :

I have reproduced the post-installation failure of irda-utils 0.9.18-8.1ubuntu1 in jaunty and can confirm that the version of irda-utils in jaunty-proposed, 0.9.18-8.1ubuntu1.1, does successfully complete installation with the removal of the call to update-modules. However, the postinstall script still contains the problematic calls to MAKEDEV with:

  cd /dev && ./MAKEDEV irda && ./MAKEDEV irnet

Because of the multiple &&s, /dev/MAKEDEV's non-existence doesn't cause the script (and thus, installation of the package) to fail, but it does result in an error message being reported. It look like udev handles these devices (modprobe-ing irnet results in the /dev/irnet device getting automatically generated) thus the calls to MAKEDEV to set them up statically are probably no longer necessary, but I don't have any irda hardware so I can't verify that everything is working properly.

Given that the package in -proposed at least allows installation to complete, I believe this package is okay to release; marking verification-done.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package irda-utils - 0.9.18-8.1ubuntu1.1

---------------
irda-utils (0.9.18-8.1ubuntu1.1) jaunty-proposed; urgency=low

  [ Daniele Napolitano ]
  * debian/postinst: remove call to update-modules, which was deprecated long
    ago and is no longer shipped by module-init-tools. LP: #340718.

 -- Steve Langasek <email address hidden> Mon, 01 Jun 2009 11:12:29 +0000

Changed in irda-utils (Ubuntu Jaunty):
status: Fix Committed → Fix Released
Revision history for this message
Thomas Trummer (truetom) wrote :

There are at least two bugs marked as duplicate of this one (eg. #353911) whose issue still exists in the latest Karmic package (although installation doesn't fail):

Setting up irda-utils (0.9.18-9ubuntu1) ...
.udevdb or .udev presence implies active udev. Aborting MAKEDEV invocation.
.udevdb or .udev presence implies active udev. Aborting MAKEDEV invocation.
update-rc.d: warning: /etc/init.d/irda-setup missing LSB information
update-rc.d: see <http://wiki.debian.org/LSBInitScripts>

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.