Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure trying to run: chroot /target dpkg... #14

Closed
ecliptik opened this issue Dec 19, 2013 · 6 comments
Closed

Failure trying to run: chroot /target dpkg... #14

ecliptik opened this issue Dec 19, 2013 · 6 comments

Comments

@ecliptik
Copy link
Contributor

Installer fails with:

Failure trying to run: chroot /target dpkg --force-depends --install /var/cach
e/apt/archives/base-passwd_3.5.26+bsos6_amd64.deb /var/cache/apt/archives/base-files_7.1wheezy1+steamos4+bsos1_amd64.deb

Install will continue if user to selects continue, selects "Install the base system" from the installation menu and say then yes on "Proceed with installation to unclean target".

base-installer-fail-1
base-installer-fail-2
base-installer-fail-3
base-installer-fail-5
base-installer-fail-4
base-installer-fail-6
base-installer-fail-7
base-installer-fail-8

@ecliptik
Copy link
Contributor Author

/var/log/syslog error is:

Dec 19 06:16:00 debootstrap: Unpacking base-files (from .../base-files_7.1wheezy1+steamos4+bsos1_amd64.deb) ...
Dec 19 06:16:00 debootstrap: dpkg: regarding .../base-files_7.1wheezy1+steamos4+bsos1_amd64.deb containing base-files, pre-dependency problem:
Dec 19 06:16:00 debootstrap:  base-files pre-depends on awk
Dec 19 06:16:00 debootstrap:   awk is not installed.
Dec 19 06:16:00 debootstrap: 
Dec 19 06:16:00 debootstrap: dpkg: warning: ignoring pre-dependency problem!
Dec 19 06:16:01 debootstrap: Setting up base-files (7.1wheezy1+steamos4+bsos1) ...
Dec 19 06:16:01 debootstrap: dpkg: base-files: dependency problems, but configuring anyway as you requested:
Dec 19 06:16:01 debootstrap:  base-files depends on awk; however:
Dec 19 06:16:01 debootstrap:   Package awk is not installed.
Dec 19 06:16:01 debootstrap: 
Dec 19 06:16:01 debootstrap: chown: 
Dec 19 06:16:01 debootstrap: invalid user: `root:root'
Dec 19 06:16:01 debootstrap: 
Dec 19 06:16:01 debootstrap: Setting up base-passwd (3.5.26+bsos6) ...
Dec 19 06:16:01 debootstrap: dpkg: error processing base-files (--install):
Dec 19 06:16:01 debootstrap:  subprocess installed post-installation script returned error exit status 1
Dec 19 06:16:01 debootstrap: dpkg: base-passwd: dependency problems, but configuring anyway as you requested:
Dec 19 06:16:01 debootstrap:  base-passwd depends on libc6 (>= 2.2.5); however:
Dec 19 06:16:01 debootstrap:   Package libc6 is not installed.
Dec 19 06:16:01 debootstrap: 
Dec 19 06:16:01 debootstrap: Errors were encountered while processing:
Dec 19 06:16:01 debootstrap:  base-files
Dec 19 06:16:01 debconf: --> METAGET base-installer/debootstrap/warning/in_target_fail description
Dec 19 06:16:01 debconf: <-- 10 base-installer/debootstrap/warning/in_target_fail doesn't exist
Dec 19 06:16:01 debconf: --> SUBST base-installer/debootstrap/fallback-warning INFO Failure trying to run: chroot /target dpkg --force-depends --install /var/cache/apt/archives/base-passwd_3.5.26+bsos6_amd64.deb /var/cache/apt/archives/base-files_7.1w
Dec 19 06:16:01 debconf: Adding [INFO] -> [Failure trying to run: chroot /target dpkg --force-depends --install /var/cache/apt/archives/base-passwd_3.5.26+bsos6_amd64.deb /var/cache/apt/archives/base-files_7.1wheezy1+steamos4+bsos1_amd64.deb]

@directhex
Copy link
Contributor

It's almost 100% certainly this issue: https://bugs.launchpad.net/ubuntu/+source/debootstrap/+bug/1001131

Try applying the workaround held within.

@directhex
Copy link
Contributor

Filed as ValveSoftware/SteamOS#64

@ecliptik
Copy link
Contributor Author

Good catch!

@ecliptik
Copy link
Contributor Author

Did a build with the newly updated SteamOSInstaller.zip from 12/19 and this still seems to be an issue.

@directhex
Copy link
Contributor

On 21/12/13 17:17, Micheal Waltz wrote:

Did a build with the newly updated SteamOSInstaller.zip from 12/19 and this still seems to be an issue.

Yep, it still is. Maybe we should patch this ourselves for now, assuming Valve don't fix it any time soon.

directhex added a commit that referenced this issue Dec 29, 2013
This involves shipping a patched debootstrap package
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants