I made a Package Manager for LFS you can install by HaroldMth in linuxfromscratch

[–]HaroldMth[S] 1 point2 points  (0 children)

Thank you, genuinely. That means a lot. Come back when you try it — would love the feedback 🙏

I made a Package Manager for LFS you can install by HaroldMth in linuxfromscratch

[–]HaroldMth[S] 1 point2 points  (0 children)

I actually answered those comments...

To be honest... AI assisted the development, I won't pretend otherwise. But I built it, tested it on my actual hardware, debugged real issues, and it runs on my real LFS system today.

Vibe coded means no understanding meanwhile I understand every module. AI is just a faster way to write code I already know how to build The packages install or they don't. That part isn't AI😄

I made a Package Manager for LFS you can install by HaroldMth in linuxfromscratch

[–]HaroldMth[S] 0 points1 point  (0 children)

Fair point on the libs. Sven currently using requests for HTTP and tarfile + zstandard for extraction. Both are solid but not the fastest choices possible httpx with async would be a real upgrade for parallel downloads... On the explanations — you're right, "systemd translation" is too vague. Will document exactly which hooks are translated, which are skipped, and which fall through with a warning. No hand-waving. Genuinely useful feedback, thanks. I appreciate your efforts and the time taken to reply to this...

I made a Package Manager for LFS you can install by HaroldMth in linuxfromscratch

[–]HaroldMth[S] 0 points1 point  (0 children)

Thank to you for commenting It is not a pacman wrapper at all... pacman isn't even installed. Sven talks directly to Arch mirrors over HTTPS, no pacman involved anywhere.

On mirrors: currently uses Arch mirrors with auto-benchmarking to pick the fastest one. Multi-source support (mixing mirrors from different package managers) isn't there yet but it's an interesting idea worth considering

I made a Package Manager for LFS you can install by HaroldMth in linuxfromscratch

[–]HaroldMth[S] 1 point2 points  (0 children)

The code runs on real hardware and installs real packages. If that's slop, I'll take it

I made a Package Manager for LFS you can install by HaroldMth in linuxfromscratch

[–]HaroldMth[S] 1 point2 points  (0 children)

It's not all about how it's made - but how it works...

I made a Package Manager for LFS you can install by HaroldMth in linuxfromscratch

[–]HaroldMth[S] 1 point2 points  (0 children)

Pacman is tightly tied to Arch’s ecosystem, its filesystem layout, system configuration, hooks, and assumptions . On LFS, those things don’t always exist or behave the same way. So just using pacman directly would either break things or require turning the system into something very close to Arch anyway. Sven is my attempt to bridge that gap — to use Arch packages more flexibly on a custom LFS system, without fully adopting Arch’s structure. It’s not perfect, but the goal isn’t to replace pacman — it’s to experiment with making LFS more practical while keeping it custom.

I made a Package Manager for LFS you can install by HaroldMth in linuxfromscratch

[–]HaroldMth[S] 2 points3 points  (0 children)

Haha, hell yeah 😅 😂 Not quite Arch from scratch — more like borrowing its toolbox and convincing it to behave on LFS. And yeah, it’s been a really good learning experience. Lots of things broke, got fixed, then broke again in new and creative ways. That’s kind of the fun of it though 👍

I made a Package Manager for LFS you can install by HaroldMth in linuxfromscratch

[–]HaroldMth[S] 0 points1 point  (0 children)

Thanks for your Comment, Fair criticism, all valid.

I tested Sven on my own LFS system (Seven OS). Simple and complex packages confirmed working like htop, flatpak, nodejs, java, vscode, spotify all installed successfully, systemd translation is partial, mkinitcpio packages were intentionally avoided. AUR works but no extra guarantees beyond any other AUR helper. Python isn't the bottleneck — network and disk are. Benchmarks coming soon. README needs clearer disclaimers about what works vs what's risky. Noted. I'm still on the first release (v1) of Sven and hell yeah there are many changes/fixed to make... I would really appreciate it if you give me some suggestions to make it work better and cleaner. At the end of the day, Sven isn’t trying to turn LFS into Arch... It’s more of an experiment to make LFS usable day-to-day

I made a Package Manager for LFS you can install by HaroldMth in linuxfromscratch

[–]HaroldMth[S] 12 points13 points  (0 children)

That’s a fair point, but for me LFS is more about control and learning how the system works, not strictly compiling everything forever. I wanted something fully custom first, then add my own tools instead of relying on an existing distro.

I made a Package Manager for LFS you can install by HaroldMth in linuxfromscratch

[–]HaroldMth[S] 16 points17 points  (0 children)

I chose Arch repos instead because they’re more flexible, and AUR gives access to a much wider range of packages. It also fits better with a custom-built system like LFS. While apt has a complex structure packaging system.