[Bug 1065678] Re: apt-build fails to install if `grep processors /proc/cpuinfo` don't find anything

Launchpad Bug Tracker 1065678 at bugs.launchpad.net
Sat Dec 1 16:28:36 UTC 2012


** Branch linked: lp:debian/apt-build

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1065678

Title:
  apt-build fails to install if `grep processors /proc/cpuinfo` don't
  find anything

Status in “apt-build” package in Ubuntu:
  In Progress

Bug description:
  I was trying to install the apt-build today. After being shown a
  ncurses dialog to choose whether to add apt-build repository and then
  an optimization level, the dialog was closed and an error shown:

  Setting up apt-build (0.12.43) ...
  dpkg: error processing apt-build (--configure):
   subprocess installed post-installation script returned error exit status 1
  Errors were encountered while processing:
   apt-build

  I tried to narrow the problem down by repeatedly editing the apt-
  build.postinst file, removing code parts and running "dpkg
  --reconfigure -a". It turnes out that it's enough to just leave the
  .postinst as following to trigger the bug:

  #!/bin/sh 
  if [ "$1" = "configure" ] ; then
          . /usr/share/debconf/confmodule
  fi

  Even though I do not know perl almost at all, I tried to read the code in and try to find the real culprit, however whole debconf and thinking behind it is way too complicated for me to get the glimpse fast enough, hence my not-so-much-detailed bug report. 
  I will be happy, though, to get instructed by someone else and do some more investigation on the matter.

  PS. Please note that I do not have my /tmp mounted with noexec, as
  this I believe is the most common cause for this kind of errors with
  debconf.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: apt-build 0.12.43
  Uname: Linux 3.0.42+ armv7l
  ApportVersion: 2.6.1-0ubuntu3
  Architecture: armhf
  Date: Thu Oct 11 21:18:49 2012
  SourcePackage: apt-build
  UpgradeStatus: Upgraded to quantal on 2012-09-29 (12 days ago)
  --- 
  Architecture: armhf
  DistroRelease: Ubuntu 12.10
  Package: debconf 1.5.46ubuntu1
  PackageArchitecture: all
  Uname: Linux 3.0.42+ armv7l
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt-build/+bug/1065678/+subscriptions



More information about the Ubuntu-sponsors mailing list