Error when reinstalling Debian from Recovery April 12, 2014 09:27AM |
Registered: 11 years ago Posts: 4 |
# Starting debootstrap installation E: unrecognized or invalid option --no-check-gpg debootstrap failed. See /tmp/debian/debootstrap/debootstrap.log for more information.
Re: Error when reinstalling Debian from Recovery April 12, 2014 10:37AM |
Registered: 11 years ago Posts: 4 |
From this post:Quote
it seems that the install script itself failed to handle this.
Now, in my case I wanted to install debian wheezy. debootstrap is already in NAND, so the script doesn't even try to install it, but the debootstrap version in NAND was too old, giving an error when trying to install wheezy, so I did also the following: Rename debootstrap and related files
mv /usr/sbin/debootstrap /usr/sbin/debootstrap.OLD mv /usr/share/debootstrap /usr/share/debootstrap.OLD
And then the install script should run fine.
tar: can't open 'data.tar.gz': No such file or directory mv: can't rename './usr/sbin/debootstrap': No such file or directory mv: can't rename './usr/share/debootstrap': No such file or directory # checking for /usr/share/debootstrap/pkgdetails... # Installing /usr/share/debootstrap/pkgdetails... Connecting to download.doozan.com (50.116.34.13:80) wget: can't open '/usr/share/debootstrap/pkgdetails.md5': No such file or directory Connecting to download.doozan.com (50.116.34.13:80) wget: can't open '/usr/share/debootstrap/pkgdetails.md5': No such file or directory ## Could not install /usr/share/debootstrap/pkgdetails from http://download.doozan.com/debian/pkgdetails, exiting.
Re: Error when reinstalling Debian from Recovery April 12, 2014 10:50AM |
Registered: 11 years ago Posts: 4 |
Quote
This requires an updated debootstrap configurations. If your system already has debootstrap installed in /usr/sbin/debootstrap (from an earlier Squeeze install, or if you're running the rescue system) you'll need to uninstall that first with the following commands:
rm /usr/sbin/debootstrap
rm -rf /usr/share/debootstrap
-- Jeff
Connecting to cdn.debian.net (128.30.2.36:80) debootstrap.deb 100% |*******************************| 56258 00:00:00 ETA rw-r--r-- 0/0 4 Feb 13 13:44 2014 debian-binary rw-r--r-- 0/0 1257 Feb 13 13:44 2014 control.tar.gz rw-r--r-- 0/0 54808 Feb 13 13:44 2014 data.tar.xz tar: can't open 'data.tar.gz': No such file or directory mv: can't rename './usr/sbin/debootstrap': No such file or directory mv: can't rename './usr/share/debootstrap': No such file or directory # checking for /usr/share/debootstrap/pkgdetails... # Installing /usr/share/debootstrap/pkgdetails... Connecting to download.doozan.com (50.116.34.13:80) wget: can't open '/usr/share/debootstrap/pkgdetails.md5': No such file or direct ory Connecting to download.doozan.com (50.116.34.13:80) wget: can't open '/usr/share/debootstrap/pkgdetails.md5': No such file or direct ory ## Could not install /usr/share/debootstrap/pkgdetails from http://download.dooz an.com/debian/pkgdetails, exiting. rescue:/tmp#
Re: Error when reinstalling Debian from Recovery April 12, 2014 03:19PM |
Admin Registered: 14 years ago Posts: 19,558 |
Quote
Jeff
Alternatively, you can choose to install Debian Squeeze with the following commands:
cd /tmp
wget http://projects.doozan.com/debian/dockstar.debian-squeeze.sh
chmod +x dockstar.debian-squeeze.sh
export PATH=$PATH:/usr/sbin:/sbin
./dockstar.debian-squeeze.sh
deb http://ftp.us.debian.org/debian wheezy main deb http://security.debian.org/ wheezy/updates main contrib non-freeand then
apt-get update apt-get dist-upgrade
Re: Error when reinstalling Debian from Recovery April 13, 2014 03:15PM |
Registered: 11 years ago Posts: 4 |
Setting up swapspace version 1, size = 797847 kB Connecting to cdn.debian.net (149.20.20.135:80) debootstrap.deb 100% |*******************************| 56258 --:--:-- ETA rw-r--r-- 0/0 4 Feb 13 13:44 2014 debian-binary rw-r--r-- 0/0 1257 Feb 13 13:44 2014 control.tar.gz rw-r--r-- 0/0 54808 Feb 13 13:44 2014 data.tar.xz tar: can't open 'data.tar.gz': No such file or directory mv: can't rename './usr/sbin/debootstrap': No such file or directory mv: can't rename './usr/share/debootstrap': No such file or directory # checking for /usr/share/debootstrap/pkgdetails... # Installing /usr/share/debootstrap/pkgdetails... Connecting to download.doozan.com (50.116.34.13:80) wget: can't open '/usr/share/debootstrap/pkgdetails.md5': No such file or directory Connecting to download.doozan.com (50.116.34.13:80) wget: can't open '/usr/share/debootstrap/pkgdetails.md5': No such file or directory ## Could not install /usr/share/debootstrap/pkgdetails from http://download.doozan.com/debian/pkgdetails, exiting.
Re: Error when reinstalling Debian from Recovery May 26, 2014 06:05PM |
Registered: 12 years ago Posts: 1 |