-
Notifications
You must be signed in to change notification settings - Fork 289
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PPM is dead - long live ... something else? [discussion] #3076
Comments
PPM is still in VoidPup (if slightly hidden) - VPM (xbps) is only for Void's xbps packages - PPM is for everything else including .PETs |
I think it would be super nice to have a lightweight gtkdialog "app store" that uses Flatpak. Maybe we should invest in good Flatpak integration, because that's where 99% of users can find 80% of the applications they use. "Native" package managers can take care of the remaining 20%, and PPM is useless and even risky to use. |
However the problem on flatpak was the flathub repo. It always throws UNACCEPTABLE TLS CERTIFICATE error message |
You're using an old and possibly dangerous CA certificates bundle. Don't blame Flathub. |
You're absolutely wrong the CA certificates bundle that I used was came from official slackware current repo. I tried other flatpak repo especially kde repo and they work. Only in flathub repo has the problem |
Take this all with a pinch of salt... And no asked me, but (surprise, surprise) I think you should just develop Pkg more:
Obvs Pkg can live alongside PPM, or on its own if you remove all of PPM minus 1 or 2 scripts that Pkg relies on.. Before ditching PPM entirely, you could port bits of code from it into Pkg, as needed, before PPM itself is removed. Should be not toooo hard as PPM and Pkg are compatible anyways. Pkg can (prob) also live alongside dimkrs apt-get SFS easy enough, and Pkg already supports adding PPA repos anyway (no apt-get needed).. so PPAs added using apt-get are probably picked up fine by Pkg, etc.. Likewise for pkgtools - Pkg "knows about" its third party repo files etc, and can convert/use them. But unlike pkgtools/slapt-get/etc, apt/apt-get, etc, Pkg works in all Pups, no matter which distro it was built from. Having the same, consistent tools and API across all pups is nice. Pkg is divided into lots of (mostly) little functions.. It's easy enough (compared to PPM) to write replacement functions to replace/update whole commands/features.. It's therefore also relatively easy to add in new stuff, while leaving the old functions there, renamed, for legacy support (if PET standard or repofile standards change, for example).. Pkg could be setup to use separate "security" repos, and print a list of package security updates to install at boot (like Slackware sometimes does) - but I was always fighting against PPM/0install, which IIRC, merges security and main repos before Pkg does its thing. Pkg has a pretty simple yet powerful plugin system, that can be used as a "post install" hacks/fixup routine at build time (in woof) and run time (end users in Puppy). Lastly, Pkg has so few dependencies, it's nearly ready to work from within the initrd (just need <insert other reasons for Pkg here> |
Nobody here is working towards improving PPM, and it's essentially unmaintained for years. I think the first step towards closing this issue should be fixing #2798. I'm more than willing to remove PPM from my builds. And, if pkg is a better replacement with >= feature parity, I see no reason to keep PPM alive ("alive" as in "in the repo but in a sad, unmaintained state").
The question is why add pkg to a Puppy with apt. Ideally, I'd like to have neither PPM nor pkg: apt works nicely, it's fast, and the Debian/Ubuntu guides and tutorials one finds online work as-is. A second package manager creates confusion, inconsistency (does pkg handle Recommends packages the same way as apt?) and issues (like disagreement between the package manager, whether or not package x is installed). Therefore, if PPM is replaced with pkg or something else, I still think this second package manager should be optional. |
I agree Pkg can/could be optional - but i think Puppy should have at least one package manager available as a choice that works across both slack and deb pups (and Arch pups and whatever else woof supports) .
Users may not care about that kinda stuff though. Obvs I just offer all that as info to mull over.. Do with it as you will. EDIT: Just to be clear I think it's a great option to have |
So maybe in an [my] ideal world:
|
I like the "one application per task" idea and prefer to have one package manager in my builds: less bloat, less things to test, less things to choose between. Users can always install the second package manager, at their own risk. (apt happens to be the fastest and most reliable package manager out of the three options, so I think it's the best candidate for the package manager slot.)
The .pet package format and its package list format have their shortcomings (for example: missing support for "multilib" systems and inability for a package to depend on package A or package B). I think woof-CE should be decoupled from both, so they can be phased out in favor of something better. As for easy creation of packages - it shouldn't be super hard to write a "dir2pet" that produces packages of another format, or write a tool that builds a repo from a bunch of packages. I don't think that easy creation of packages justifies the complexity and the (impossible to solve) problems introduced when you have multiple package managers. Anyway, I don't really care if and how the problems with PPM are solved, as long as I can leave it out of my builds and choose the one package manager that stays. |
Maybe I'm a dinosaur. If I wanted an OS that was just like debian, I'd use debian. |
If Debian has a good package manager and dpup needs one, too, there's no real need to reinvent the wheel, and PPM/pkg/whatever will always be slow (because they're shell scripts and do everything sequentially) and unreliable (because they don't mimic apt well enough). I see some value in the idea of one package manager for all Puppy family distros, but if it's a bad one, I don't see the point. I am willing to have PPM and pkg in my builds only if they're thin wrappers around |
don't like |
Why? Because of a technical limitation or a design decision you disagree with, or because it's not an in-house Puppy application? |
I can work with apt-get. I have a Fossapup64 set up with wiak's SFS plugin for over a year now that works very well considering it is experimental. I install and do total system upgrades with it. I use PPM very rarely and for very specific packages (mostly PHP modules) I still need to do some manual checks that some systemd changes to Puppy's /sbin/init, /sbin/poweroff and /sbin/reboot have occured during the upgrade. I have super simple scripts that change those back to the Puppy versions. |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
@dimkr has
apt
working in dpup and upup@peabee has
xbps
in voidpup@jamesbond3142 created
woof-next
an age ago. Why didn't we follow it up?I'm interested in adding
slapt-get
to spup variants (slacko and friends).Post ideas here and I'll make this a sticky. (pinned)
The text was updated successfully, but these errors were encountered: