[Bug 802985] Re: [lucid] /var/lib/dpkg/tmp.ci/preinst: 399: arithmetic expression: expecting EOF: "3.0-0-generic"

Colin Watson cjwatson at canonical.com
Wed Jul 6 10:00:57 UTC 2011


I'm not at all happy with actually uploading debootstrap to Ubuntu with
such a uname hack.  I only suggested it for local use, not for upload to
Ubuntu.

The correct (but harder) fix to debootstrap is to have it be able to
fetch packages from lucid and lucid-updates at once.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to eglibc in Ubuntu.
https://bugs.launchpad.net/bugs/802985

Title:
  [lucid] /var/lib/dpkg/tmp.ci/preinst: 399: arithmetic expression:
  expecting EOF: "3.0-0-generic"

Status in “debootstrap” package in Ubuntu:
  Triaged
Status in “eglibc” package in Ubuntu:
  Invalid
Status in “debootstrap” source package in Lucid:
  Invalid
Status in “eglibc” source package in Lucid:
  Triaged
Status in “debootstrap” source package in Maverick:
  Invalid
Status in “eglibc” source package in Maverick:
  Triaged
Status in “debootstrap” source package in Natty:
  Invalid
Status in “eglibc” source package in Natty:
  Triaged
Status in “debootstrap” source package in Hardy:
  Invalid
Status in “eglibc” source package in Hardy:
  Triaged

Bug description:
  Creating 'lucid' chroot is not possible under oneiric due to code
  which check for kernel version and bails out when 3.0 kernel is used
  on host machine:

  15:19 hrw at puchatek:chroots$ sudo chroot /home/hrw/HDD/devel/chroots/lucid-clean dpkg --force-depends --install /var/cache/apt/arch
  ives/libc6_2.11.1-0ubuntu7_amd64.deb
  (Reading database ... 344 files and directories currently installed.)
  Unpacking libc6 (from .../libc6_2.11.1-0ubuntu7_amd64.deb) ...
  [: 399: Illegal number: 3.0-0-generic
  /var/lib/dpkg/tmp.ci/preinst: 399: arithmetic expression: expecting EOF: "3.0-0-generic"
  dpkg: error processing /var/cache/apt/archives/libc6_2.11.1-0ubuntu7_amd64.deb (--install):
   subprocess new pre-installation script returned error exit status 2
  Errors were encountered while processing:
   /var/cache/apt/archives/libc6_2.11.1-0ubuntu7_amd64.deb

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




More information about the foundations-bugs mailing list