[rpi2] bsdtar: Ignoring malformed pax extended attribute

Raspberry Pi 2

[rpi2] bsdtar: Ignoring malformed pax extended attribute

Postby vo6oh3 » Thu Mar 02, 2017 12:45 pm

I am trying to install ArchLinuxARM on my raspberry pi 2. When I try to extract the file system, I am getting the following error

Code: Select all
bsdtar: Ignoring malformed pax extended attribute
bsdtar: Ignoring malformed pax extended attribute
bsdtar: Ignoring malformed pax extended attribute
bsdtar: Ignoring malformed pax extended attribute
bsdtar: Error exit delayed from previous errors.


I have checked the md5sum already. I'm on ubuntu 16.04. Please help. Thank you.
vo6oh3
 
Posts: 4
Joined: Thu Mar 02, 2017 12:36 pm

Re: [rpi2] bsdtar: Ignoring malformed pax extended attribute

Postby eriktwotoe » Mon Mar 13, 2017 4:03 pm

Having the same issue here, is the domain hijacked?. because the md5sum doesn't even match file. I'm not installing with this file, that's for sure.
eriktwotoe
 
Posts: 1
Joined: Mon Mar 13, 2017 4:01 pm

Re: [rpi2] bsdtar: Ignoring malformed pax extended attribute

Postby WarheadsSE » Mon Mar 13, 2017 5:38 pm

Please provide the checksums you are seeing, and the file sizes, in bytes.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6727
Joined: Mon Oct 18, 2010 2:12 pm

Re: [rpi2] bsdtar: Ignoring malformed pax extended attribute

Postby NVRAM » Tue Mar 14, 2017 6:00 am

Similar problems here on Fedora24 system...
Code: Select all
# md5sum ArchLinuxARM-rpi-2-latest.tar.gz
fd582acfb508718a634246628806122a  ArchLinuxARM-rpi-2-latest.tar.gz

# ls -l ArchLinuxARM-rpi-2-latest.tar.gz
-rw-r--r-- 1 root root 306427863 Mar  3 19:00 ArchLinuxARM-rpi-2-latest.tar.gz

# bsdtar -tvvvpf ArchLinuxARM-rpi-2-latest.tar.gz |& grep -B1 -Fe 'malformed pax'
-rwxr-xr-x  0 root   root    20099 Oct  7 09:33 ./usr/bin/pod2texi
-rwxr-xr-x  0 root   root    88452 Feb  3 17:13 ./usr/bin/tune2fsbsdtar: Ignoring malformed pax extended attribute
--
-rwxr-xr-x  0 root   root     3312 Aug  2  2016 ./usr/bin/nroff
-rwxr-xr-x  0 root   root       29 May 25  2016 ./usr/bin/zfgrepbsdtar: Ignoring malformed pax extended attribute
--
lrwxrwxrwx  0 root   root        0 Jan  1 08:42 ./usr/bin/lzless -> xzless
-rwxr-xr-x  0 root   root   134048 Aug  2  2016 ./usr/bin/picbsdtar: Ignoring malformed pax extended attribute
--
lrwxrwxrwx  0 root   root        0 Dec  6 06:32 ./usr/bin/vgexport -> lvm
-rwxr-xr-x  0 root   root    84028 Jul 13  2016 ./usr/bin/psbsdtar: Ignoring malformed pax extended attribute

# bsdtar --version
bsdtar 3.2.2 - libarchive 3.2.2 zlib/1.2.8 liblzma/5.2.2 bz2lib/1.0.6
NVRAM
 
Posts: 1
Joined: Tue Mar 14, 2017 5:52 am

Re: [rpi2] bsdtar: Ignoring malformed pax extended attribute

Postby WarheadsSE » Tue Mar 14, 2017 12:03 pm

Download
Code: Select all
$ 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
Code: Select all
$ 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)
Code: Select all
# 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)
Code: Select all
# 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
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6727
Joined: Mon Oct 18, 2010 2:12 pm

Re: [rpi2] bsdtar: Ignoring malformed pax extended attribute

Postby grantarch » Sat Mar 18, 2017 9:50 pm

Also seeing this error. I'm attempting to install via PINN. Download appears to come in fine, but it hangs for a while when the download/install reaches 100%. Then a dialog pops up with basically the same information in the original post.

I was able to successfully install Raspbian from the same PINN install, so not all distros are affected. I'd very much like to install Arch, so any help is appreciated.

EDIT with details:
Raspberry Pi 3 Model B
PINN v2.3
Appears to download latest Arch 2 release
Downloaded via built-in WiFi
8GB SD card
2.5A power supply

EDIT 2 with screenshot of error: [ http://pasteboard.co/L49hsqKW0.jpg ]
grantarch
 
Posts: 1
Joined: Sat Mar 18, 2017 9:02 pm

Re: [rpi2] bsdtar: Ignoring malformed pax extended attribute

Postby rodrunner » Sun Mar 26, 2017 7:46 pm

Any progress on this error? I'm facing the same problem:

Code: Select all
# bsdtar -xpf ArchLinuxARM-rpi-latest.tar.gz -C root
bsdtar: Ignoring malformed pax extended attribute
bsdtar: Ignoring malformed pax extended attribute
bsdtar: Ignoring malformed pax extended attribute
bsdtar: Ignoring malformed pax extended attribute
bsdtar: Error exit delayed from previous errors.


MD5 is correct
Code: Select all
# md5sum ArchLinuxARM-rpi-latest.tar.gz
f082fc63bc76be56c7d19127d2f6a0fa  ArchLinuxARM-rpi-latest.tar.gz


bsdtar version (Ubuntu trusty):
Code: Select all
# bsdtar --version
bsdtar 3.1.2 - libarchive 3.1.2


I've tried also downloading ArchLinuxARM-rpi-2-latest.tar.gz for RPi2, but I get the same error
rodrunner
 
Posts: 5
Joined: Fri Feb 12, 2016 12:04 pm

Re: [rpi2] bsdtar: Ignoring malformed pax extended attribute

Postby rodrunner » Sun Mar 26, 2017 9:09 pm

The problem seems to be the tar.gz file, it seems that is has been generated with invalid options?
I've downloaded the image from sourceforge and copied it with dd to my sdcard ... everything ok
rodrunner
 
Posts: 5
Joined: Fri Feb 12, 2016 12:04 pm

Re: [rpi2] bsdtar: Ignoring malformed pax extended attribute

Postby WarheadsSE » Mon Mar 27, 2017 6:03 pm

Wanted to point out, that I just did all these steps again, and have had _no_ issues what so ever when extracting to an ext4 filesystem. With the rpi and rpi-2 tarballs, as shown below.


Code: Select all
[root@beast extra]# bsdtar -xpf ArchLinuxARM-rpi-2-latest.tar.gz -C t
[root@beast extra]# echo $?
0

[root@beast extra]# rm -rf t
[root@beast extra]# mkdir t
[root@beast extra]# bsdtar -xpf ArchLinuxARM-rpi-latest.tar.gz -C t
[root@beast extra]# echo $?
0
[root@beast extra]# md5sum ArchLinuxARM-rpi-*
fd582acfb508718a634246628806122a  ArchLinuxARM-rpi-2-latest.tar.gz
f082fc63bc76be56c7d19127d2f6a0fa  ArchLinuxARM-rpi-latest.tar.gz


Seems like I only messages I have mentioned when I do this on tmpfs..
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6727
Joined: Mon Oct 18, 2010 2:12 pm

Re: [rpi2] bsdtar: Ignoring malformed pax extended attribute

Postby Evils » Mon Apr 03, 2017 8:00 pm

Well, I'm getting the same error again for the rpi package ...
Evils
 
Posts: 20
Joined: Fri May 01, 2015 2:36 am

Next

Return to Broadcom

Who is online

Users browsing this forum: No registered users and 0 guests