Sunday, August 12, 2012

debootstrap error - E: Couldn't work out current architecture


user1@cav_fc containers]$ debootstrap sid rootfs http://debian.osuosl.org/debian/
E: Couldn't work out current architecture



Just install dpkg as below:
[user1@cav_fc containers]$ dpkg
Command not found. Install package 'dpkg' to provide command 'dpkg'? [N/y] y
* Running..
 * Resolving dependencies..
 * Waiting for authentication..
 * Resolving dependencies..
 * Downloading packages..
 * Checking signatures..
 * Testing changes..
 * Installing packages..
 * Scanning applications..
dpkg: need an action option

Type dpkg --help for help about installing and deinstalling packages [*];
Use `dselect' or `aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;
Type dpkg --license for copyright license and lack of warranty (GNU GPL) [*].

================================
Now debootstrap works fine

No comments:

Post a Comment