Re: can't unpack an .zx

2022-08-17 Thread Klaus Singvogel
gene heskett wrote:
> 
> gene@coyote:~/PublicB/rock64-next-try$ xz -d --arm --keep
> Armbian_22.05.4_Rock64_jammy_current_5.15.48_xfce_desktop.img.xz
> xz: Armbian_22.05.4_Rock64_jammy_current_5.15.48_xfce_desktop.img:
> Permission denied
> 

The "Permission denied" arises when creating the file, not when reading the 
archive.

Maybe the directory lacks of the required permissions, where you're unpacking.

Maybe you used the wrong user for unpacking?

Best regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: can't unpack an .zx

2022-08-17 Thread Greg Wooledge
On Wed, Aug 17, 2022 at 11:40:58AM -0400, gene heskett wrote:
> gene@coyote:~/PublicB/rock64-next-try$ xz -d --arm --keep
> Armbian_22.05.4_Rock64_jammy_current_5.15.48_xfce_desktop.img.xz
> xz: Armbian_22.05.4_Rock64_jammy_current_5.15.48_xfce_desktop.img:
> Permission denied

Look at which file it's complaining about.

The file that it's complaining about ends with .img not .img.xz -- it's
the *output file* that's in the way, or else the directory you're in
is not writable by you.

The input file is not the problem.



can't unpack an .zx

2022-08-17 Thread gene heskett

Greetings all;

One of my Dell's, running buster has blown its video. It my 3d printer 
slicer running cura.


I have a couple older rock64 v2's w/4gigs of ram that I last ran armbian 
stretch on, but
wound up using an rpi4b instead. One of the rock64's ought to run 
octoprint to drive my farm.


So I download the latest stable armbian xfce desktop. But xz can't 
unpack the .img,

-dc or -dl ok, but not unpack. It would unpack to something over 6GB.

All attempts to unpack it are "no permission."
Its on a raid10, so there's a couple terabytes of room to play in.

gene@coyote:~/PublicB/rock64-next-try$ xz -d --arm --keep 
Armbian_22.05.4_Rock64_jammy_current_5.15.48_xfce_desktop.img.xz
xz: Armbian_22.05.4_Rock64_jammy_current_5.15.48_xfce_desktop.img: 
Permission denied


gene@coyote:~/PublicB/rock64-next-try$ xz -dl --arm --keep 
Armbian_22.05.4_Rock64_jammy_current_5.15.48_xfce_desktop.img.xz

Strms  Blocks   Compressed Uncompressed  Ratio  Check   Filename
    1  22  1,187.6 MiB  6,296.0 MiB  0.189  CRC32 
Armbian_22.05.4_Rock64_jammy_current_5.15.48_xfce_desktop.img.xz


So how do I unpack it, the xz file has 777 perms.

Thanks folks.

Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page