Bug 710829 - debootstrap in Fedora 15 cannot detect the architecture to use
Summary: debootstrap in Fedora 15 cannot detect the architecture to use
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: debootstrap
Version: 15
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Jan Vcelak
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-05 06:01 UTC by Paul Wise (Debian)
Modified: 2013-03-04 01:29 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-20 10:54:19 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.