[Bug 1376590] Re: dpkg postinst uses awk before it exists during bootstrap
Adam Conrad
adconrad at 0c3.net
Sat Apr 11 04:03:37 UTC 2015
Actually, wait. I was about to fix this, since it's trivial, but does
cdebootstrap suffer from the same "only one dist" issue that debootstrap
does? If so, a fixed postinst in trusty-updates will do you no good.
** Changed in: dpkg (Ubuntu)
Assignee: Michael Vogt (mvo) => Adam Conrad (adconrad)
** Also affects: dpkg (Ubuntu Trusty)
Importance: Undecided
Status: New
** Also affects: dpkg (Ubuntu Utopic)
Importance: Undecided
Status: New
--
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:
New
Status in dpkg source package in Trusty:
New
Status in dpkg source package in Utopic:
New
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