agoldcheidt / archlinux-for-berryboot

Converting ArchLinux ARM OS for Berryboot
https://berryboot.alexgoldcheidt.com/images/
MIT License
16 stars 4 forks source link

bsdtar and mksquashfs commands not found #3

Open Pat054 opened 6 years ago

Pat054 commented 6 years ago

hello, the scrypt shows two problems:

[code]pi@raspberrypi:~ $ sudo /home/pi/Downloads/archlinux-for-berryboot-master/./archlinux_berryboot.sh

ARCHLINUX ARM OS IMAGE GENERATOR FOR BERRYBOOT

1) Raspberry Pi 1/Zero 3) Raspberry Pi 3 2) Raspberry Pi 2 4) Exit Please select your device: 3

DOWNLOADING OS IMAGE

--2018-06-03 15:28:25-- http://ca.us.mirror.archlinuxarm.org/os/ArchLinuxARM-rpi-3-latest.tar.gz Resolving ca.us.mirror.archlinuxarm.org (ca.us.mirror.archlinuxarm.org)... 191.101.9.207 Connecting to ca.us.mirror.archlinuxarm.org (ca.us.mirror.archlinuxarm.org)|191.101.9.207|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 417586913 (398M) [application/x-gzip] Saving to: ‘ArchLinuxARM-rpi-3-latest.tar.gz’

ArchLinuxARM-rpi-3-latest.tar.gz 51%[====================================> ] 205.74M --.-KB/s in 34m 13s

2018-06-03 16:02:38 (103 KB/s) - Read error at byte 215731871/417586913 (Connection timed out). Retrying.

--2018-06-03 16:02:39-- (try: 2) http://ca.us.mirror.archlinuxarm.org/os/ArchLinuxARM-rpi-3-latest.tar.gz Connecting to ca.us.mirror.archlinuxarm.org (ca.us.mirror.archlinuxarm.org)|191.101.9.207|:80... connected. HTTP request sent, awaiting response... 206 Partial Content Length: 417586913 (398M), 201855042 (193M) remaining [application/x-gzip] Saving to: ‘ArchLinuxARM-rpi-3-latest.tar.gz’

ArchLinuxARM-rpi-3-latest.tar.gz 100%[+++++++++++++++++++++++++++++++++++++==================================>] 398.24M 577KB/s in 23m 31s

2018-06-03 16:26:11 (140 KB/s) - ‘ArchLinuxARM-rpi-3-latest.tar.gz’ saved [417586913/417586913]

DECOMPRESSING OS IMAGE

sudo: bsdtar: command not found

CONVERTING OS IMAGE TO BERRYBOOT

sudo: mksquashfs: command not found

IMAGE READY!

[/code]

Another problem, under "strech" packages bsdtar and mksquashfs are not localized.

[code] Example: pi @ raspberrypi: ~ $ sudo apt-get install bsdtar Reading package lists ... Done Building dependency tree Reading state information ... Done E: Unable to locate bsdtar package [/code]

How to have ArchLINUX in Berryboot?

cordially

My raspberry pi is a PI3B with Strech. pi@raspberrypi:~ $ uname -a Linux raspberrypi 4.14.32v7-aufs #1 SMP Thu Apr 5 21:48:06 CEST 2018 armv7l GNU/Linux

agoldcheidt commented 6 years ago

Hi @Pat054 I'm sorry for the late reply, I'm sure those packages are available under Stretch, here are the official links to bsdtar and squashfs-tools. Before install any of those packages, please update the list of available packages by executing: sudo apt update then run: sudo apt install bsdtar squashfs-tools -y once this is done, run the script, let me know if all this work on your end.