by WarheadsSE » Tue Mar 14, 2017 12:03 pm
Download
$this->bbcode_second_pass_code('', '
$ curl -vL http://os.archlinuxarm.org/os/ArchLinuxARM-rpi-2-latest.tar.gz -o ArchLinuxARM-rpi-2-latest.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying 50.116.36.110...
* TCP_NODELAY set
* Connected to os.archlinuxarm.org (50.116.36.110) port 80 (#0)
> GET /os/ArchLinuxARM-rpi-2-latest.tar.gz HTTP/1.1
> Host: os.archlinuxarm.org
> User-Agent: curl/7.53.1
> Accept: */*
>
< HTTP/1.1 302 Found
< Server: nginx/1.10.3
< Date: Tue, 14 Mar 2017 11:56:12 GMT
< Content-Type: text/html; charset=utf-8
< Content-Length: 0
< Connection: keep-alive
< Location: http://co.us.mirror.archlinuxarm.org/os/ArchLinuxARM-rpi-2-latest.tar.gz
<
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
* Connection #0 to host os.archlinuxarm.org left intact
* Issue another request to this URL: 'http://co.us.mirror.archlinuxarm.org/os/ArchLinuxARM-rpi-2-latest.tar.gz'
* Trying 72.13.197.87...
* TCP_NODELAY set
* Connected to co.us.mirror.archlinuxarm.org (72.13.197.87) port 80 (#1)
> GET /os/ArchLinuxARM-rpi-2-latest.tar.gz HTTP/1.1
> Host: co.us.mirror.archlinuxarm.org
> User-Agent: curl/7.53.1
> Accept: */*
>
< HTTP/1.1 200 OK
< Date: Tue, 14 Mar 2017 11:56:12 GMT
< Server: Apache/2.2.15 (CentOS)
< Last-Modified: Sat, 04 Mar 2017 02:00:59 GMT
< ETag: "9e007f-1243b7d7-549de08936cc0"
< Accept-Ranges: bytes
< Content-Length: 306427863
< Connection: close
< Content-Type: application/x-gzip
<
{ [5517 bytes data]
100 292M 100 292M 0 0 14.3M 0 0:00:20 0:00:20 --:--:-- 12.6M
* Closing connection 1
$ curl -vL http://os.archlinuxarm.org/os/ArchLinuxARM-rpi-2-latest.tar.gz.md5 -o ArchLinuxARM-rpi-2-latest.tar.gz.md5
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying 50.116.36.110...
* TCP_NODELAY set
* Connected to os.archlinuxarm.org (50.116.36.110) port 80 (#0)
> GET /os/ArchLinuxARM-rpi-2-latest.tar.gz.md5 HTTP/1.1
> Host: os.archlinuxarm.org
> User-Agent: curl/7.53.1
> Accept: */*
>
< HTTP/1.1 302 Found
< Server: nginx/1.10.3
< Date: Tue, 14 Mar 2017 11:57:51 GMT
< Content-Type: text/html; charset=utf-8
< Content-Length: 0
< Connection: keep-alive
< Location: http://co.us.mirror.archlinuxarm.org/os/ArchLinuxARM-rpi-2-latest.tar.gz.md5
<
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
* Connection #0 to host os.archlinuxarm.org left intact
* Issue another request to this URL: 'http://co.us.mirror.archlinuxarm.org/os/ArchLinuxARM-rpi-2-latest.tar.gz.md5'
* Trying 72.13.197.87...
* TCP_NODELAY set
* Connected to co.us.mirror.archlinuxarm.org (72.13.197.87) port 80 (#1)
> GET /os/ArchLinuxARM-rpi-2-latest.tar.gz.md5 HTTP/1.1
> Host: co.us.mirror.archlinuxarm.org
> User-Agent: curl/7.53.1
> Accept: */*
>
< HTTP/1.1 200 OK
< Date: Tue, 14 Mar 2017 11:57:51 GMT
< Server: Apache/2.2.15 (CentOS)
< Last-Modified: Sat, 04 Mar 2017 02:01:09 GMT
< ETag: "9e0142-43-549de092c0340"
< Accept-Ranges: bytes
< Content-Length: 67
< Connection: close
< Content-Type: application/x-gzip
<
{ [67 bytes data]
100 67 100 67 0 0 267 0 --:--:-- --:--:-- --:--:-- 267
* Closing connection 1
')
Checksum
$this->bbcode_second_pass_code('', '
$ cat *.md5
fd582acfb508718a634246628806122a ArchLinuxARM-rpi-2-latest.tar.gz
$ md5sum ArchLinuxARM-rpi-2-latest.tar.gz
fd582acfb508718a634246628806122a ArchLinuxARM-rpi-2-latest.tar.gz
')
Extract (into tmpfs)
$this->bbcode_second_pass_code('', '
# bsdtar -xpf ArchLinuxARM-rpi-2-latest.tar.gz -C t
./etc/ca-certificates/extracted/cadir/: Failed to set file flags
./etc/ssl/certs/: Failed to set file flags
./usr/include/: Failed to set file flags
./usr/lib/: Failed to set file flags
./usr/bin/: Failed to set file flags
./usr/share/i18n/charmaps/: Failed to set file flags
./usr/share/i18n/locales/: Failed to set file flags
./usr/share/terminfo/d/: Failed to set file flags
./usr/share/terminfo/t/: Failed to set file flags
./usr/share/terminfo/w/: Failed to set file flags
./usr/share/terminfo/a/: Failed to set file flags
./usr/share/perl5/core_perl/pod/: Failed to set file flags
./usr/share/man/man2/: Failed to set file flags
./usr/share/man/man5/: Failed to set file flags
./usr/share/man/man1/: Failed to set file flags
./usr/share/man/man8/: Failed to set file flags
./usr/share/man/man3/: Failed to set file flags
./usr/share/man/man7/: Failed to set file flags
./usr/share/kbd/consolefonts/: Failed to set file flags
./usr/lib/gconv/: Failed to set file flags
./usr/lib/firmware/: Failed to set file flags
./usr/lib/firmware/radeon/: Failed to set file flags
./usr/lib/systemd/system/: Failed to set file flags
./usr/include/linux/: Failed to set file flags
bsdtar: Error exit delayed from previous errors.
')
I only see some warnings on some directories, not on the files you're seeing.
bsdtar version (Arch Linux x86_64)
$this->bbcode_second_pass_code('', '
# bsdtar --version
bsdtar 3.3.1 - libarchive 3.3.1 zlib/1.2.11 liblzma/5.2.3 bz2lib/1.0.6 liblz4/1.7.5
')