linuxdeploy icon indicating copy to clipboard operation
linuxdeploy copied to clipboard

Fails to download the release file

Open Tristanlogd opened this issue 13 years ago • 74 comments

After creating the disk image, the config fails to download the release file on every OS I select. This is on a Google Nexus 7 (2013) on kitkat. I can provide any info needed.

Tristanlogd avatar Nov 29 '13 15:11 Tristanlogd

Seeing this on nexus 5 as well.

jrjbertram avatar Dec 01 '13 14:12 jrjbertram

Overall log: [08:13:48] Updating configuration file ... done [08:13:48] >>> begin: install [08:13:48] Checking mount points ... done [08:13:48] Checking installation path ... done [08:13:48] Making new disk image (4095 MB) ... done [08:15:15] Making file system (ext4) ... done [08:15:17] Mounting partitions:
[08:15:17] / ... done [08:15:17] Installing Debian-based distribution:
[08:15:17] I: Retrieving Release [08:15:17] E: Failed getting release file http://mirror.yandex.ru/debian/dists/wheezy/Release [08:15:17] <<< end: install

With tracing enabled around the failure:

[08:18:46] done [08:18:46] + return 0 [08:18:46] + [ 0 -ne 0 ] [08:18:46] + msg Installing Debian-based distribution: [08:18:46] + echo Installing Debian-based distribution:
[08:18:46] + BASIC_PACKAGES=locales,sudo,man-db [08:18:46] + [ -z ] [08:18:46] + DEBOOTSTRAP_DIR=/data/local/linux/deploy/debootstrap [08:18:46] + export DEBOOTSTRAP_DIR [08:18:46] + debootstrap --no-check-gpg --arch armel --foreign --extractor=ar --include=locales,sudo,man-db wheezy /data/local/linux/mnt http://mirror.yandex.ru/debian [08:18:46] Installing Debian-based distribution:
[08:18:46] + [ 1 -ne 0 ] [08:18:46] + return 1 [08:18:46] + msg <<< end: install [08:18:46] + echo <<< end: install [08:18:46] + exit [08:18:46] I: Retrieving Release [08:18:46] E: Failed getting release file http://mirror.yandex.ru/debian/dists/wheezy/Release [08:18:46] <<< end: install

Am on WiFi.. Verified I can browse that mirror from web browser so not connection related.

Tried several variations of Ubuntu / Debian releases. Failure cause not obvious to my feeble mind.

jrjbertram avatar Dec 01 '13 14:12 jrjbertram

Also tried armel / armhf.

jrjbertram avatar Dec 01 '13 14:12 jrjbertram

I also tried armel / armhf...It seems like these issues are no longer monitored / looked at. Its a shame. Is there any known info about how to fix this??

Tristanlogd avatar Dec 02 '13 17:12 Tristanlogd

Same here, It was great until KitKat 4.4 on Nexus 7 2013, error: E: Failed getting release file http://mirror.yandex.ru/debian/dists/wheezy/Release

Tried changing repo and also validating that repo exists at URL but appears to be an internal issue with LinuxDeploy.

Would love to use it again as the only other alternative I have currently found runs Debian (lenny = old)

IanLinsdell avatar Dec 03 '13 20:12 IanLinsdell

Do you have bitbucket installed from the market? not sure how this is relevant to topic?

IanLinsdell avatar Dec 03 '13 20:12 IanLinsdell

not sure how this is relevant to topic, I personally use Git Extensions and https://github.com/IanLinsdell/

Date: Tue, 3 Dec 2013 12:32:20 -0800 From: [email protected] To: [email protected] CC: [email protected] Subject: Re: [linuxdeploy] Fails to download the release file (#84)

Do you have bitbucket installed from the market?

On Dec 3, 2013 2:28 PM, "IanLinsdell" [email protected] wrote:

Same here, It was great until KitKat 4.4 on Nexus 7 2013, error: E: Failed

getting release file http://mirror.yandex.ru/debian/dists/wheezy/Release

Tried changing repo and also validating that repo exists at URL but

appears to be an internal issue with LinuxDeploy.

Would love to use it again as the only other alternative I have currently

found runs Debian (lenny = old)

—

Reply to this email directly or view it on GitHubhttps://github.com/meefik/linuxdeploy/issues/84#issuecomment-29747976

.

— Reply to this email directly or view it on GitHub.

IanLinsdell avatar Dec 03 '13 20:12 IanLinsdell

AFAICT, the wget applet fails to resolve DNS hostname. Using IP address helps (tested on Fedora 19, though)

ghost avatar Dec 03 '13 20:12 ghost

Fixed this by updating the mirror url (In the install menu options) to use an IP instead. For Saucy Ubuntu, use http://91.189.88.140 and it will download everything it needs. Going to mark this as fixed for now as its easy enough to manually update.

Tristanlogd avatar Dec 04 '13 20:12 Tristanlogd

ARE YOU KIDDING???

ghost avatar Dec 04 '13 20:12 ghost

Yep. As you said, IP address fixes it. Not sure the caps were needed in your response.

Tristanlogd avatar Dec 04 '13 20:12 Tristanlogd

Those are emotions. It's not a fix in any way because every single popular Linux distro has a sophisticated content delivery system (mirrors, put simple) and it is DNS that is responsible for load balancing: geographic, weight-based, load-based, failover, etc... So, your simple resolution makes me really sick

ghost avatar Dec 04 '13 20:12 ghost

Oh, I thought you were being sarcastic, my bad. Yes it is a bad fix but it does fix it. Hopefully the ip doesnt change tomorrow.

Tristanlogd avatar Dec 04 '13 21:12 Tristanlogd

Did not work for me with Debian installation.

I pinged mirror.yandex.ru which reported 213.180.204.183 Updated URL to: http://213.180.204.183/debian Started install and it still reported failed getting release file http//213.180.204.183/debian/dist/wheezy/Release

--- Original Message ---

From: "Tristanlogd" [email protected] Sent: December 4, 2013 4:03 PM To: "meefik/linuxdeploy" [email protected] Cc: "IanLinsdell" [email protected] Subject: Re: [linuxdeploy] Fails to download the release file (#84)

Oh, I thought you were being sarcastic, my bad. Yes it is a bad fix but it does fix it. Hopefully the ip doesnt change tomorrow.


Reply to this email directly or view it on GitHub: https://github.com/meefik/linuxdeploy/issues/84#issuecomment-29845270

IanLinsdell avatar Dec 05 '13 00:12 IanLinsdell

Yea I noticed Kali does't work either, reopening since it appears some distros redirect from the IP address. The work around only seems to work for Ubuntu and maybe Fedora.

Tristanlogd avatar Dec 05 '13 14:12 Tristanlogd

Hello, I found a particullar solution for kali linux install error on Nexus 7 2013 KitKat 4.4.2. The server need to be set like this: http://193.206.139.34/mirrors/kali

Unfortunately, the installation stops after some time, because: (and i don't know how to fix it. Sorry for my english.) . . . [20:45:14] I: Base system installed successfully. [20:45:15] Mounting partitions:
[20:45:15] /proc ... done [20:45:15] /sys ... done [20:45:15] /dev ... done [20:45:15] /dev/pts ... done [20:45:15] /dev/shm ... done [20:45:15] Configuring GNU/Linux system:
[20:45:15] dns ... done [20:45:15] mtab ... done [20:45:15] motd ... done [20:45:15] hosts ... done [20:45:15] hostname ... done [20:45:15] timezone ... done [20:45:15] sudo ... done [20:45:15] groups ... done [20:45:16] locales ... done [20:45:20] repository ... done [20:45:20] profile ... done [20:45:20] upstart ... done [20:45:20] dbus ... done [20:45:20] xorg ... done [20:45:20] packages ... done [20:45:20] Installing additional packages:
[20:45:20] Get:1 http://193.206.139.34 kali Release.gpg [836 B] [20:45:20] Get:2 http://193.206.139.34 kali Release [21.1 kB] [20:45:20] Get:3 http://193.206.139.34 kali/main Sources [7534 kB] [20:45:23] Get:4 http://193.206.139.34 kali/contrib Sources [55.5 kB] [20:45:23] Get:5 http://193.206.139.34 kali/non-free Sources [117 kB] [20:45:23] Get:6 http://193.206.139.34 kali/main armhf Packages [7665 kB] [20:45:27] Get:7 http://193.206.139.34 kali/contrib armhf Packages [39.0 kB] [20:45:27] Get:8 http://193.206.139.34 kali/non-free armhf Packages [71.9 kB] [20:45:27] Ign http://193.206.139.34 kali/contrib Translation-en [20:45:27] Ign http://193.206.139.34 kali/main Translation-en [20:45:27] Ign http://193.206.139.34 kali/non-free Translation-en [20:45:30] Fetched 15.5 MB in 10s (1526 kB/s) [20:45:30] Reading package lists... [20:45:36] Reading package lists... [20:45:36] Building dependency tree... [20:45:38] Some packages could not be installed. This may mean that you have [20:45:38] requested an impossible situation or if you are using the unstable [20:45:38] distribution that some required packages have not yet been created [20:45:38] or been moved out of Incoming. [20:45:38] The following information may help to resolve the situation: [20:45:38] [20:45:38] The following packages have unmet dependencies: [20:45:38] kali-linux : Depends: libnfc-bin but it is not going to be installed [20:45:38] E: Unable to correct problems, you have held broken packages. [20:45:38] <<< end: install

tybyk avatar Dec 16 '13 20:12 tybyk

Come on! The root cause is that BusyBox's wget applet fails to resolve DNS names. Something has changed during transition to KitKat, probably, Bionic's got broken. Or DNS resolution has become more involved. It's something like that

ghost avatar Dec 16 '13 20:12 ghost

I do suggest to merge this issue with. #85

ghost avatar Dec 19 '13 21:12 ghost

having this on 4.4 n7 2013 as well. i did have it on 4.3 too

ulph avatar Dec 21 '13 12:12 ulph

I tried to install Ubuntu Saucy on a Nexus 5 (Android 4.4.2). I also received the "E: Failed getting release file http://ports.ubuntu.com/dists/saucy/Release". The abovementioned "fix" (to change the mirror to http://91.189.88.140) did not work, it just gave me "E: Invalid Release file, no entry for main/binary-armel/Packages". How can you install Ubuntu then?

mhofert avatar Dec 27 '13 09:12 mhofert