[Bug 1376590] Re: dpkg postinst uses awk before it exists during bootstrap

Adam Conrad adconrad at 0c3.net
Sun Apr 26 23:26:43 UTC 2015


I dropped that codepath entirely in vivid in 1.17.23ubuntu1, since it
was only meant for transitions to trusty anyway.  Ubuntu doesn't do
point releases the same way as Debian (we don't merge -updates down into
the release pocket at point releases), so fixing this for T/U will do no
one any measurable amount of good, so I'll just WontFix the old
releases.

** Changed in: dpkg (Ubuntu)
       Status: New => Fix Released

** Changed in: dpkg (Ubuntu Trusty)
       Status: New => Won't Fix

** Changed in: dpkg (Ubuntu Utopic)
       Status: New => Won't Fix

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

Title:
  dpkg postinst uses awk before it exists during bootstrap

Status in dpkg package in Ubuntu:
  Fix Released
Status in dpkg source package in Trusty:
  Won't Fix
Status in dpkg source package in Utopic:
  Won't Fix

Bug description:
  O: Setting up dpkg (1.17.5ubuntu5.3) ...
  P: Configuring package dpkg
  D: Updating dpkg to status 3
  O: dpkg: dpkg: dependency problems, but configuring anyway as you requested:
  O:  dpkg depends on libbz2-1.0; however:
  O:   Package libbz2-1.0 is not installed.
  O:  dpkg depends on libc6 (>= 2.14); however:
  O:   Package libc6 is not installed.
  O:  dpkg depends on liblzma5 (>= 5.1.1alpha+20120614); however:
  O:   Package liblzma5 is not installed.
  O:  dpkg depends on libselinux1 (>= 2.1.0); however:
  O:   Package libselinux1 is not installed.
  O:  dpkg depends on zlib1g (>= 1:1.1.4); however:
  O:   Package zlib1g is not installed.
  O:  dpkg depends on tar (>= 1.23); however:
  O:   Package tar is not installed.
  O: 
  O: /var/lib/dpkg/info/dpkg.postinst: 79: /var/lib/dpkg/info/dpkg.postinst: awk: not found
  O: dpkg: error processing package dpkg (--install):
  O:  subprocess installed post-installation script returned error exit status 127
  O: Errors were encountered while processing:
  O:  dpkg
  D: Status: 256
  E: Internal error: install

  
  The problem is that awk is a symlink to either mawk or gawk that is setup in their postinst script. But during bootstrap none of them have run yet so the link does not exist.

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



More information about the foundations-bugs mailing list