Bug 710829

Summary: debootstrap in Fedora 15 cannot detect the architecture to use
Product: [Fedora] Fedora Reporter: Paul Wise (Debian) <pabs3>
Component: debootstrapAssignee: Jan Vcelak <jvcelak>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 15CC: jvcelak, pertusus, tsmetana
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-20 10:54:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Paul Wise (Debian) 2011-06-05 06:01:09 UTC
When running debootstrap in Fedora 15 I get this message:

# debootstrap squeeze debian-squeeze-chroot http://ftp.au.debian.org/debian
E: Couldn't work out current architecture

Which means I need to manually set the architecture using --arch=amd64. It would be better if debootstrap could detect the right architecture to save me typing it.

Comment 1 Jan Vcelak 2011-06-20 10:54:19 UTC
According to the debootstrap manual page, --arch= option should be used if 'dpkg' package is not installed (which is usual in Fedora). I think that this behavior is correct and we should not change it. Adding and maintaining Fedora-only patch for this issue might bring more problems than fix real ones.

Anyway, you can have multiarch system with Fedora. Therefore a safe detection is complicated. And also architecture names are different in Debian and Fedora, e.g. amd64 vs x86_64.

This is the reason I'm closing this bug as WONTFIX now. If you have some strong reasons for fixing this, feel free to reopen the bug.