Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
64 user(s) are online (42 user(s) are browsing Forums)

Members: 0
Guests: 64

more...

Support us!

Headlines

 
  Register To Post  

APT-OS4 for Clib4
Amigans Defender
Amigans Defender


See User information
Meet apt-os4, a new package manager inspired by the famous Debian apt tool—but built specifically for the AmigaOS 4 ecosystem and the clib4 repository!

Its goal is to make installing, updating, and managing software on AmigaOS 4 as simple and reliable as on modern Linux systems.

apt-os4 fills this gap, bringing familiar command-line package management to AmigaOS 4 users. But here’s the key difference: apt-os4 is NOT designed for generic Linux packages. It is purpose-built for the clib4 repository, which provides native AmigaOS 4 binaries and libraries compiled with the clib4 C runtime. This ensures compatibility, stability, and a seamless experience for AmigaOS 4 users

Source URL: https://github.com/AmigaLabs/apt-os4
Release (Alpha..): https://github.com/AmigaLabs/apt-os4/releases/tag/v0.1

i'm really tired...
Go to top
Re: APT-OS4 for Clib4
Site Builder
Site Builder


See User information
@afxgroup
You are crazy, man. Crazy I say.
Thank you for the remarkable work.

Follow me on
Ko-fi, Twitter, YouTube, Twitch
Go to top
Re: APT-OS4 for Clib4
Not too shy to talk
Not too shy to talk


See User information
@afxgroup

Quote:
Options
--verbose — Enable verbose output
--ignorepeers — Skip SSL peer verification
--help — Show usage information


I am a bit sad about that in the recent years less and less usage can be seen of dos.library/ReadArgs.
It was so elegant.

Anyway, thanks for your great work!

Go to top
Re: APT-OS4 for Clib4
Just popping in
Just popping in


See User information
Just looked at source should be quite simple to add/replace ReadArgs parsing options.

Memento audere semper!
Go to top
Re: APT-OS4 for Clib4
Amigans Defender
Amigans Defender


See User information
This software as created to use the same linux commands. That's why i've not used ReadArgs (like for example in Waffle code).
However i'm planning to create a Reaction GUI for it

P.S.
v0.2 is out with a small bug fixed

i'm really tired...
Go to top
Re: APT-OS4 for Clib4
Just can't stay away
Just can't stay away


See User information
@afxgroup

AWESOME man!!!


Ok, trying to build apt on amigaos4

So I need some dependencies:
#apt/
#apt install libarchive-clib4
Installing 'libarchive-clib4'
Package libarchive-clib4 installed
#apt install sqlite-clib4
Installing 'sqlite-clib4'
Package sqlite-clib4 installed
...


and lets see what I get

Go to top
Re: APT-OS4 for Clib4
Amigans Defender
Amigans Defender


See User information
There is a problem on some packages that for some reasons are created with zstd that is not yet available in libarchive. I wrote it on clib4 repository wiki that should be used a specific flag when creating Deb files. Most probably clib4 Deb file is created without it. We'll fix it. Try other libraries to test it.
We'll fix it asap

i'm really tired...
Go to top
Re: APT-OS4 for Clib4
Just can't stay away
Just can't stay away


See User information
@afxgroup

ok, no problem man, great work.
As you said some packages are "wrong":

Quote:
#apt install libbrotli-clib4
Installing 'libbrotli-clib4'
Exec: zstd
Error: Failed to open tarball from memory: Error closing child process
Package libbrotli-clib4 installed
#apt install libnghttp2-clib4
Installing 'libnghttp2-clib4'
Exec: zstd
Error: Failed to open tarball from memory: Error closing child process
Package libnghttp2-clib4 installed
#apt install libidn2-clib4
Installing 'libidn2-clib4'
Exec: zstd
Error: Failed to open tarball from memory: Error closing child process
Package libidn2-clib4 installed
#apt install libunistring-clib4
Installing 'libunistring-clib4'
Exec: zstd
Error: Failed to open tarball from memory: Error closing child process
Package libunistring-clib4 installed
#



Will retry later when those are fixed.
Keep the good work!!!!


BTW any plan to add a GUI? If I get it to build the commandline version I can try to add a simple GUI if you want.

Go to top
Re: APT-OS4 for Clib4
Amigans Defender
Amigans Defender


See User information
If you add a gui would be awesome. I'm planning to add a reaction gui but if you are faster just do it and creata PR

i'm really tired...
Go to top
Re: APT-OS4 for Clib4
Just can't stay away
Just can't stay away


See User information
I tried v 0.2

apt update => Grim Reaper
apt install libarchive-clib4 => Grim Reaper

version libs:clib4.library full => clib4.library 2.0.0 (16/08/2025)

https://amiga-ng.org/resources/CrashLo ... t_2025-08-25_17-09-20.txt


--
AmigaONE X1000 and Radeon RX 560
Go to top
Re: APT-OS4 for Clib4
Amigans Defender
Amigans Defender


See User information
v0.3 is online with zstd support and some small changes.

@K-L
Thad DSI is strange. I hope is not something related to X1000.

We are releasing a new clib4 today with some fixes.

Can you retry it once is released?

i'm really tired...
Go to top
Re: APT-OS4 for Clib4
Just can't stay away
Just can't stay away


See User information
@afxgroup

Same crash on Sam460: https://amiga-ng.org/resources/CrashLo ... t_2025-08-25_17-35-41.txt

Maybe I'm doing womething weird.

APT: is assigned to Tests:APT-Softwares on X1000
APT: is assigned to Travail:APT-Softwares on Sam460

--
AmigaONE X1000 and Radeon RX 560
Go to top
Re: APT-OS4 for Clib4
Amigans Defender
Amigans Defender


See User information
You get DSI on both?

i'm really tired...
Go to top
Re: APT-OS4 for Clib4
Just can't stay away
Just can't stay away


See User information
Yes, you can see two crashlogs (one from X1000 and one from Sam460):

https://amiga-ng.org/resources/CrashLo ... t_2025-08-25_17-09-20.txt
https://amiga-ng.org/resources/CrashLo ... t_2025-08-25_17-35-41.txt

I forgot to use "sh" but it gives the same DSI on both systems anyway.

--
AmigaONE X1000 and Radeon RX 560
Go to top
Re: APT-OS4 for Clib4
Amigans Defender
Amigans Defender


See User information
sh is not needed. I suppose you don't have any beta components. Isn't it?

i'm really tired...
Go to top
Re: APT-OS4 for Clib4
Just can't stay away
Just can't stay away


See User information
@afxgroup

No Beta, no. Usual user system

--
AmigaONE X1000 and Radeon RX 560
Go to top
Re: APT-OS4 for Clib4
Amigans Defender
Amigans Defender


See User information
@K-L

I have some suspects about this.. In any case i'll try in on a FE2+Updates system on Qemu

i'm really tired...
Go to top
Re: APT-OS4 for Clib4
Just can't stay away
Just can't stay away


See User information
Thanks man!

Go to top
Re: APT-OS4 for Clib4
Just can't stay away
Just can't stay away


See User information
@afxgroup

Build under aos4 almost done, just missing "LZMA":

mkdir -p build
ppc
-amigaos-g++ -std=c++17 -gstabs -mcrt=clib4 -Wall -fpermissive -O3 -mstrict-align -o build/apt.debug  build/apt.o  build/ar.o  build/main.o  build/packagedb.o  build/repositoryManager.o  build/sha256.o  -mcrt=clib4 -athread=native -lcurl -lbrotlidec -lbrotlicommon -lnghttp2 -lrtmp -lssl -lcrypto  -lpsl -lidn2 -lunistring -lpthread -larchive -llz4 -llzma -lzstd -lbz2 -lz -lsqlite3 -latomic -lauto 
ld
cannot find -llzma
make
: *** [aptError 1
#


Where can I find LZMA-CLIB4?
TiA

NOTE: if it's "libfast-lzma2-clib4" Ionly "get" libfast-lzma2.so.1.0 no ".A" file

Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project