Public bug reported:

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.

** Affects: dpkg (Ubuntu)
     Importance: Undecided
         Status: New

** Patch added: "Don't call migrate_multiarch_conffile on new installs"
   
https://bugs.launchpad.net/bugs/1376590/+attachment/4222109/+files/dpkg-awk.patch

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

Title:
  dpkg postinst uses awk before it exists during bootstrap

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to