Installation problem bsdtar [RPI3]

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

Installation problem bsdtar [RPI3]

Postby bigsmile » Thu Mar 09, 2017 9:55 pm

Hello, :)

I try to install Arch ARMv7 for my Raspberry Pi 3.
Therefore I installed Ubuntu 16.10 in Oracle Virtualbox and connected a 32gb mircoSD Card (class 10) via USB adapter.

I follow the installation steps from the archlinuxarm website:
https://archlinuxarm.org/platforms/armv ... berry-pi-3

After I created the partitions, I mounted them with the created folders "boot" and "root" and downloaded the tar-file "...-rpi-2-..." from archlinuxarm.
I switch into root with "sudo su" and want to unpack the downloaded file with bsdtar but when I do that I get many errors:
At the beginning I get four times the error:
$this->bbcode_second_pass_code('', 'bsdtar: Ignoring malformed pax extended attribute')
And then thousands of directories are printed with the error:
$this->bbcode_second_pass_code('', 'Write to restore size failed')
And
$this->bbcode_second_pass_code('', ''*directory*': Can't create '*directory*'')
And bsdtar ends with:
$this->bbcode_second_pass_code('', 'bsdtar: Error exit delayed from previous errors.')

So I checked the internet and found some ideas to get rid of the problem:
#1
Mount the two partitions with the option read-write:
$this->bbcode_second_pass_code('', 'sudo mount /dev/sdb1 -o rw boot')
After I have done this I check the mount state via "mount" and see that the two partitions are mounted with read-write-access.
But when I try to extract the .tar file, the same errors appear and when I check the state again via "mount" I saw that now the "root" partition is mounted with read-only-access.

#2
Change the read-write access for the entire SD-card via hdparm and mount the partitions after that:
$this->bbcode_second_pass_code('', 'sudo hdparm -r0 /dev/sdb')
... but no, nothing changed.

#3
Unpack the .tar file not with bsdtar but with tar -xzvf.
But it does not work.

I also checked the switch on the SD-card-adapter whether it is on "write-protected", but it is not.

Does somebody know this problem and have some ideas to fix it, please? :)
Thank you!
bigsmile
 
Posts: 3
Joined: Thu Mar 09, 2017 7:11 pm

Re: Installation problem bsdtar [RPI3]

Postby vo6oh3 » Fri Mar 10, 2017 3:05 am

I was having the same problem, solved it with using an older archive and update to latest packages.
vo6oh3
 
Posts: 4
Joined: Thu Mar 02, 2017 12:36 pm

Re: Installation problem bsdtar [RPI3]

Postby bigsmile » Fri Mar 10, 2017 9:01 am

Ok thanks!
I searched for older versoins but only found this page:
https://archlinuxarm.org/packages

But there are only single packages.

Where can I get a fully .tar.gz Arch Linux ARM file?
bigsmile
 
Posts: 3
Joined: Thu Mar 09, 2017 7:11 pm

Re: Installation problem bsdtar [RPI3]

Postby vo6oh3 » Sat Mar 11, 2017 8:51 am

vo6oh3
 
Posts: 4
Joined: Thu Mar 02, 2017 12:36 pm

Re: Installation problem bsdtar [RPI3]

Postby bigsmile » Sat Mar 11, 2017 11:37 am

Ah thats great, thank you!
bigsmile
 
Posts: 3
Joined: Thu Mar 09, 2017 7:11 pm


Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 8 guests