Re: Orphans
Posted: 11. Jun 2010, 18:48
Do not use slackpkg clean-system in any case. In fact, do not use slackpkg at all. slackpkg is designed to manage a single slackware repository and nothing but that.
Well.... there are netbooks sold quitte recently with 2GB SSDs, not to mention legacy systems. On those removing cruft is actually important. In general I don't want all sorts of nonsense on my system even if it has a lot of storage. So... I disagree. I think this is an important feature, one that can be implemented. VectorLinux, a Slackware derivative which uses slapt-get/gslapt has done it successfully so SalixOS can as well.thenktor wrote: Such a feature is totally not KISS for me and IMHO it's pure nonsense. Why would I care about some unneeded packages that are installed? They only need few MB on my many GB hard disc.![]()
That is a very important point. This is a problem that occurs when using an upstream repository instead of mirroring the SlackWare repository and removing things which aren't compatible. SalixOS is probably 99.9% Slackware compatible, but it isn't 100%. The net result is that there are a few things in the repository which either don't work or are actually dangerous. slackpkg falls into the dangerous category.gapan wrote:In fact, do not use slackpkg at all. slackpkg is designed to manage a single slackware repository and nothing but that.
A lot of the Slackware user base is opposed to any sort of automated dependency checking. One the reasons I run SalixOS and not vanilla Slackware is that I do want dependencies handled similarly to any other modern distribution that isn't Slackware. There are reasons why there are so many Slackware derivatives (reliability, stability, performance) and there is also a reason why almost all of them have dependency checking implemented. The lack of it is, to many people including myself, a major shortcoming in vanilla Slackware. Having dependency management automated is a huge time saver.Shador wrote:Such a feature would make us significantly different from Slackware and as I don't think it's something the Slackware user base could want
I don't think that distinction has to be made to detect orphans. You may want to check with either JAOS (developer of slapt-get/gslapt) or the VectorLinux people. I know it is possible but I haven't looked into the mechanics of how it's done.JRD wrote:In Salix/Slackware, I don't think it's possible, as there is no difference between a package choosen to be installed by the user and a package installed by dependancy.
But this isn't us breaking compatibility with Slackware, it's slackpkg fault as Slackware is designed for and around multiple repositories!caitlyn wrote:That is a very important point. This is a problem that occurs when using an upstream repository instead of mirroring the SlackWare repository and removing things which aren't compatible. SalixOS is probably 99.9% Slackware compatible, but it isn't 100%. The net result is that there are a few things in the repository which either don't work or are actually dangerous. slackpkg falls into the dangerous category.
Still such a feature is not KISS and therefore opposed to our philosophy. Adding dependencies the way it's done now is perfectly OK for me, because it's optional (--no-deps) and because there is an acceptable relation between complexity added, effort needed and gained benefit.caitlyn wrote:A lot of the Slackware user base is opposed to any sort of automated dependency checking. One the reasons I run SalixOS and not vanilla Slackware is that I do want dependencies handled similarly to any other modern distribution that isn't Slackware. There are reasons why there are so many Slackware derivatives (reliability, stability, performance) and there is also a reason why almost all of them have dependency checking implemented. The lack of it is, to many people including myself, a major shortcoming in vanilla Slackware. Having dependency management automated is a huge time saver.
It is most definitely the fault of any distribution that includes packages that cause breakage in their repository. Poorly written or inappropriate code does not remove the fact that a Linux distributor is ultimately responsible for what is in their distro repositories.Shador wrote: But this isn't us breaking compatibility with Slackware, it's slackpkg fault as Slackware is designed for and around multiple repositories!
When you say "our" who do you mean? Are you a SalixOS developer? Do you set policy for SalixOS? IMHO, a lot of FOSS projects get way too caught up in philosophical issues and forget that an OS is a tool. It's always about functionality, not philosophy. When philosophical purity becomes paramount everything else, including functionality, suffer.Shador wrote:Still such a feature is not KISS and therefore opposed to our philosophy
Fixing bugs is ALWAYS the responsibility of the developer and distributor, not the end user. I say that as a developer, BTW.Shador wrote:An aid also implies non-complete automation, errors are possible and though desirable to fix, the user is responsible in the end.
Philosophical dribble. That is not a reason to add or not add anything at all.Shador wrote:Adding orphans support leads to complete automation and that's not KISS.
How so? How does better automation get in my way? I'd really like to know.Shador wrote:Therefor it gets into one's way.
More generic philosophical dribble. Stop spouting philosophy and explain how this particular, already extant feature is problematic. How is dependency checking in VectorLinux more complex or problematic than SalixOS? I know they user slack-required files generated by requiredbuilder rather than .dep files generated by depfinder, but that, to me is a non-issue.Shador wrote:Complexity adds errors which leads to displeasure and it takes control away. That's exactly what KISS tries to prevent.
I think that has already been done. Once again, it would be worth exploring with JAOS and with vector7.Shador wrote:PS: If somebody invents a great way to work around this problems, I wouldn't oppose to such a feature.
Shador and I also have already demonstrated how this can be done in an automated fashion earlier in this thread and how error prone that is, so I won't go back to that again.But this isn't us breaking compatibility with Slackware, it's slackpkg fault as Slackware is not designed for and around multiple repositories!
You're free to disagree, but even in that case, we're offering the "basic" mode installation which installs only a minimum set of packages with xfce. And then a user with such a small hard drive can select to install any small applications fit his needs on top of that and there will be no additional, unneeded packages installed. No need to start from a full system and try to strip that down. We even have a wiki page on how to remove unneeded xorg video drivers.caitlyn wrote:Well.... there are netbooks sold quitte recently with 2GB SSDs, not to mention legacy systems. On those removing cruft is actually important. In general I don't want all sorts of nonsense on my system even if it has a lot of storage. So... I disagree.
I haven't tried vector lately. I might do just to check that out, but I'm quite sure it has all the disadvantages I'm thinking about. And I'm constantly in contact with Jason, the developer of slapt-get/gslapt and I know for a fact that he doesn't want his software to have any of that "orphan" functionality.caitlyn wrote:VectorLinux, a Slackware derivative which uses slapt-get/gslapt has done it successfully so SalixOS can as well.
We don't include slackpkg in salix. It is available from slackware repositories, but that's it. And I don't think it's poorly written or anything. It does what it's designed to do well, it's just isn't designed to manage multiple repositories, which we absolutely need in salix.caitlyn wrote:It is most definitely the fault of any distribution that includes packages that cause breakage in their repository. Poorly written or inappropriate code does not remove the fact that a Linux distributor is ultimately responsible for what is in their distro repositories.
His userbar is what it is for a reason.caitlyn wrote:When you say "our" who do you mean? Are you a SalixOS developer? Do you set policy for SalixOS?
Agreed. That's one of the reasons we're not going to implement anything like it. It's so error prone that it will be full of bugs that nobody has the time to handle.caitlyn wrote:Fixing bugs is ALWAYS the responsibility of the developer and distributor, not the end user. I say that as a developer, BTW.
I wasn't expecting to find you misinformed about that.caitlyn wrote:apt-get is deprecated now
Yes, it is. My point was that software can be designed to require user intervention. It wasn't so wise to call those situations errors/bugs though as you're completely write real bugs should be fixed by the developers.caitlyn wrote:Fixing bugs is ALWAYS the responsibility of the developer and distributor, not the end user. I say that as a developer, BTW.
As I already mentioned it steals your control and already because of that it gets into my way as I need/want that control. Additionally automation is error-prone so it's getting even more into my way.caitlyn wrote:How so? How does better automation get in my way? I'd really like to know.
What about this one: "It's all about target group orientation."caitlyn wrote:It's always about functionality, not philosophy.
I concluded from the fact that there extra and patches that it was, but maybe I misunderstood that. Anyway, that's not the point.gapan wrote:I wanted to write something but Shador's post covered me. Well, except that he probably meant to write:But this isn't us breaking compatibility with Slackware, it's slackpkg fault as Slackware is not designed for and around multiple repositories!
Those hardly count as separate repositories. They are just different directories of the same repository.Shador wrote:I concluded from the fact that there extra and patches that it was, but maybe I misunderstood that. Anyway, that's not the point.
Not meaning to split hairs, but... isn't the entire Slackware repository mirrored by SalixOS? Isn't the Slackware repository required by SalixOS? If so what's in their repository is in SalixOS. It's not installed by default, of course, but it's still included and there is nothing other than this forum thread to warn off a user from installing it.gapan wrote:We don't include slackpkg in salix. It is available from slackware repositories, but that's it.
Understood. I wasn't claiming it was poorly written, BTW. I was making a general statement about distributor responsibility. I probably wasn't clear enough in what I wrote.gapan wrote:And I don't think it's poorly written or anything. It does what it's designed to do well, it's just isn't designed to manage multiple repositories, which we absolutely need in salix.
I see that now. OK, that part of my post was stupid.gapan wrote:His userbar is what it is for a reason.
This seems to be the crux of the disagreement. I've seen it work well enough and I don't believe it is necessarily error prone.[/quote]gapan wrote:That's one of the reasons we're not going to implement anything like it. It's so error prone that it will be full of bugs that nobody has the time to handle.
caitlyn wrote:apt-get is deprecated now
I didn't know that. I've basically given up on Ubuntu. Talk about a bug filled mess!gapan wrote:I wasn't expecting to find you misinformed about that.
Actually ubuntu just decided to remove aptitude from their default installation and stick with apt-get only.
Afaik that feature is already there, but that's not orphan handling. Try this:caitlyn wrote:Thank you for letting me know that Jason didn't design that functionality into slapt-get. Interesting, because if you try and remove one of the rebuilt GSB packages in Vector it rips out all the packages that depend on it too.
Code: Select all
slapt-get -i wammu
slapt-get -remove gammu