← Back to team overview

mythbuntu-bugs team mailing list archive

[Bug 1004239] Re: lirc installation error in Ubuntu 12.04

 

My LIRC was working with iguanaIR on a brand new install of 12.04. I
stupidly let ubuntu update, and it broke LIRC. After remove of LIRC, I
get

htpc@htpc:~$ sudo apt-get install lirc
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
  lirc-x
The following NEW packages will be installed:
  lirc
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/615 kB of archives.
After this operation, 2,908 kB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously unselected package lirc.
(Reading database ... 178471 files and directories currently installed.)
Unpacking lirc (from .../lirc_0.9.0-0ubuntu1_i386.deb) ...
Processing triggers for doc-base ...
Processing 1 added doc-base file...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Setting up lirc (0.9.0-0ubuntu1) ...
dpkg: error processing lirc (--configure):
 subprocess installed post-installation script returned error exit status 20
Errors were encountered while processing:
 lirc
E: Sub-process /usr/bin/dpkg returned an error code (1)


The workaround wouldn't work for me. I tried

sudo ln -s /lib/modules/3.2.0-26-generic-
pae/kernel/drivers/staging/media/lirc /lib/modules/3.2.0-26-generic-
pae/kernel/drivers/staging/lirc

I need build dependencies to compile iguanaIR into LIRC, but says LIRC
is not fully installed.

-- 
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to lirc in Ubuntu.
https://bugs.launchpad.net/bugs/1004239

Title:
  lirc installation error in Ubuntu 12.04

Status in “lirc” package in Ubuntu:
  Confirmed

Bug description:
  
  lirc installation with apt-get ends with an error message. 
  lirc removal and then re-installation ends with the same error message. 

  sudo apt-get install lirc

  Suggested packages:
    lirc-x
  The following NEW packages will be installed:
    lirc
  0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
  Need to get 0 B/625 kB of archives.
  After this operation, 2,920 kB of additional disk space will be used.
  Preconfiguring packages ...
  Selecting previously unselected package lirc.
  (Reading database ... 302295 files and directories currently installed.)
  Unpacking lirc (from .../lirc_0.9.0-0ubuntu1_amd64.deb) ...
  Processing triggers for ureadahead ...
  Processing triggers for man-db ...
  Setting up lirc (0.9.0-0ubuntu1) ...
  ls: cannot access /lib/modules/3.2.0-24-generic/kernel/drivers/staging/lirc: No such file or directory
  dpkg: error processing lirc (--configure):
   subprocess installed post-installation script returned error exit status 128
  Errors were encountered while processing:
   lirc
  E: Sub-process /usr/bin/dpkg returned an error code (1)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lirc/+bug/1004239/+subscriptions


References