LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-05-2021, 04:14 AM   #1
gerogerigegege
LQ Newbie
 
Registered: Apr 2021
Posts: 14

Rep: Reputation: Disabled
Slackware's pkgtools is horrifically archaic, or why dependency checking shouldn't be considered to be taboo anymore


Slackware's pkgtools is, to be quite frank, horribly archaic; it doesn't have any sort of dependency checking, despite the fact that the core system is horrifically large (8GBs). Due to it not having dependency checking, you're not able to deselect any packages without risking breaking your entire system, so you'll just have lots and lots of packages that just waste space doing nothing. I've read quite a few posts on here where the conclusion ends up being "8GBs is not a whole lot of space", despite the fact that those 8 gigs could be used for something more useful. Naturally, this wouldn't be a problem if the core system was smaller (see the BSDs), but it isn't, so it's a problem.

Not even the SlackBuilds have dependency checking, despite the fact that all of the BSD ports trees have some sort of dependency checking; even the binary package tools on BSDs have dependency checking!

Dependency checking really shouldn't be viewed as taboo anymore; all of the (major) BSDs have it, and basically all */Linux distros have it. Even CRUX has it; even CRUX!

Edit: Ok, I'm marking this thread as solved. I feel like I've gotten some reasonable answers, despite my admittedly crappy post. I'm sorry for upsetting people; it wasn't my intention to do so.

Last edited by gerogerigegege; 04-08-2021 at 01:54 AM. Reason: Ending the thread
 
Old 04-05-2021, 06:36 PM   #2
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,045

Rep: Reputation: 5597Reputation: 5597Reputation: 5597Reputation: 5597Reputation: 5597Reputation: 5597Reputation: 5597Reputation: 5597Reputation: 5597Reputation: 5597Reputation: 5597
Freshly registered and their first post being on a controversial topic? Anyway, I'll get my piece out...

Dependency checking can be handy in some cases and frustrating in others. Slackware has decided years ago that its solution is to simply require you to use a relatively large install base and resolving all dependencies with it. SBo provides all dependencies in parseable info files that users or scripts can use to determine what dependencies are needed.

Is this the ideal system for everyone? Absolutely not and it was never intended to be! But it is the ideal system for some. I like having no dependency resolution with Slackware because it makes it super easy to upgrade my system as I see fit. If I want to upgrade the graphic's stack (which I've done on the last two stable releases for better GPU support), I don't have to worry about the packaging system getting in my way.

I appreciate the Slackware base providing a good foundation of a system. No, I don't use xfce, fluxbox, windowmaker, or other DEs/WMs since I am happy with KDE, but I know a lot of people like those WMs/DEs and I am not worried about a few hundred MB or 1-2 GB that might be taken up by those unneeded (for me) packages. I have a 1TB NVMe drive that I partitioned into 250GB for the system and the remaining ~750GB for my /home partition.

And really, 8GB on *most* systems is minimal. Yes, there will always be systems that are more limited in storage space, but they are getting rare. I just had my dad order a relatively top-of-the-line SSD for his aging laptop. He's getting a 250GB Samsung 870 EVO SSD for $40US. The full 8GB is 3.2% of that drive's capacity. If Slackware ends up taking 20GB, that's still less than $4 of SSD space.
 
7 members found this post helpful.
Old 04-05-2021, 07:00 PM   #3
upnort
Senior Member
 
Registered: Oct 2014
Distribution: Slackware
Posts: 1,890

Rep: Reputation: 1141Reputation: 1141Reputation: 1141Reputation: 1141Reputation: 1141Reputation: 1141Reputation: 1141Reputation: 1141Reputation: 1141
I don't have a dog in the fight about whether Pat should implement dependency checking. All I ask is package removals continue the same sane way as currently practiced -- removing only the files of that package and not removing a boat load of other packages. Dependency checking should indeed pull in whatever packages are needed, but not forcibly remove packages. To me this is where dependency checking is horribly mangled on all other distros.
 
8 members found this post helpful.
Old 04-05-2021, 07:41 PM   #4
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 1,786

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Simple solution. Don't use Slackware.
 
13 members found this post helpful.
Old 04-05-2021, 08:18 PM   #5
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 5,586

Rep: Reputation: 2165Reputation: 2165Reputation: 2165Reputation: 2165Reputation: 2165Reputation: 2165Reputation: 2165Reputation: 2165Reputation: 2165Reputation: 2165Reputation: 2165
Yawn
 
5 members found this post helpful.
Old 04-05-2021, 08:24 PM   #6
notzed
LQ Newbie
 
Registered: Dec 2020
Location: South Australia
Distribution: slackware64-current
Posts: 20

Rep: Reputation: Disabled
Slackware amply demonstrates that it's an unnecessary complication because despite not having it it seems to work just fine and is much easier to fix when things go awry. KISS applies.

8GB really is nothing in terms of storage and has been for a long long time. Not enough now for even a single "4K" movie, nor any but small "indie" or historical games (the 15 year old PS3 had games typically in the 6-20GB range but some much larger).
 
2 members found this post helpful.
Old 04-05-2021, 09:27 PM   #7
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 2,000
Blog Entries: 1

Rep: Reputation: Disabled
No dependency check because there is no official binaries repository. Slackware is just all what is on installation DVD. For binaries on DVD all dependencies are fulfilled. Everything outside DVD is just not Slackware. One needs to take care by itself for dependencies for custom packages. It is not as easy as in Debian. Everything has its own price. For example it is sometimes very difficult to remove package from Debian. Effects can be really surprising. Not by hand but with package management system. Once I tried to remove small package - effect was all Gnome desktop was removed. That's Debian.
 
3 members found this post helpful.
Old 04-05-2021, 09:53 PM   #8
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 17,236
Blog Entries: 27

Rep: Reputation: 5333Reputation: 5333Reputation: 5333Reputation: 5333Reputation: 5333Reputation: 5333Reputation: 5333Reputation: 5333Reputation: 5333Reputation: 5333Reputation: 5333
If you want to use Slackware, learn to use Slackware.

Otherwise (to quote Dorothy Dix), otherwise.
 
Old 04-05-2021, 10:25 PM   #9
hitest
Guru
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware, OpenBSD
Posts: 6,602

Rep: Reputation: 2831Reputation: 2831Reputation: 2831Reputation: 2831Reputation: 2831Reputation: 2831Reputation: 2831Reputation: 2831Reputation: 2831Reputation: 2831Reputation: 2831
Quote:
Originally Posted by gerogerigegege View Post
Dependency checking really shouldn't be viewed as taboo anymore; all of the (major) BSDs have it, and basically all */Linux distros have it. Even CRUX has it; even CRUX!
This is your first post? Go away.
 
4 members found this post helpful.
Old 04-05-2021, 10:37 PM   #10
medictruck
LQ Newbie
 
Registered: Nov 2017
Location: Kathmandu, Nepal
Distribution: Slackware
Posts: 7

Rep: Reputation: Disabled
When there are so many distributions picking their own way of doing things, some people just want distro A to do exactly what distro B is doing.

Personally, I was a Windows noob i.e. not even a power user. I migrated to Ubuntu > distrohopped countless in between > Debian > Arch > Slackware. On coming onto Slackware, We(including my brother also a noob Windows user) enjoyed Slackware's way of doing things so much more that the annoyances of other distros were realized by us to be just the distros' annoyances. We were quite surprised being a novice GUI folks that changing a simple text file is responsible for all the settings in the system - Something we hadn't thought about in our whole Windows use span!

Coming to the package management, the complete set of libraries & wonderful software coming along with it suggested that this is meant to be a goto system. In many Slackware deployments I have managed in my family, everyone asked me later what is this system that runs so smooth for years. They didn't even know it was Slackware. I use Windows too in my other laptop and the more I use that, the more I admire Slackware way of doing things - Just set me once & do your work.

Last edited by medictruck; 04-05-2021 at 10:38 PM.
 
3 members found this post helpful.
Old 04-05-2021, 11:02 PM   #11
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,397

Rep: Reputation: 697Reputation: 697Reputation: 697Reputation: 697Reputation: 697Reputation: 697
Quote:
Originally Posted by hitest View Post
This is your first post? Go away.
I doubt he'll post again but he is probably reloading this page like an eager beaver. Dr. Jennifer Golbeck says, "Internet Trolls Are Narcissists, Psychopaths, and Sadists." https://www.psychologytoday.com/us/b...hs-and-sadists
 
2 members found this post helpful.
Old 04-05-2021, 11:04 PM   #12
garpu
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 799

Rep: Reputation: 384Reputation: 384Reputation: 384Reputation: 384
Honestly? When's the last time you had to chase down dependencies? Like if you're using current, I haven't had to install a hard dependency on anything in over a year. OBS took a lot, but most multimedia things do. (And that was 1.5 years ago.)
 
3 members found this post helpful.
Old 04-05-2021, 11:20 PM   #13
pghvlaans
Member
 
Registered: Jan 2021
Distribution: Slackware64 -current, Devuan, Windows 10 (VM)
Posts: 46

Rep: Reputation: 40
Why, so removing a user-facing program can take out some libraries as well? -current's core collection of libraries is pretty much as good as it gets. Chipping away at it all willy-nilly is like going to a five-star steakhouse and filling up on bread.
 
3 members found this post helpful.
Old 04-06-2021, 03:36 AM   #14
gerogerigegege
LQ Newbie
 
Registered: Apr 2021
Posts: 14

Original Poster
Rep: Reputation: Disabled
Bleh, why are you all assuming I'm trolling? Just because I think Slackware should do some things differently, and that thing just happens to be a controversial thing, doesn't mean I'm trolling; grow up. Differing opinions != trolling.

I just think that Slackware should handle the core system and packages similar to how the major BSDs handle it (Free, Open, Net), i.e. have a small core system (either ultra-minimal like in the case of Free, or somewhat minimal with X like in the case of Net and Open) and have a sane package/ports system that has dependency checking. I explicitly stated that Slackware shouldn't check for dependencies in the core system if it was minimal, because that'd be stupid, but the core system has so much stuff in it that it really doesn't make any sense.

Dependency checking doesn't have to be some sort of over-complicated hell, just do it like how the BSDs do it.
 
Old 04-06-2021, 03:43 AM   #15
ChrisAbela
Member
 
Registered: Mar 2008
Location: Malta
Distribution: Slackware
Posts: 562

Rep: Reputation: 145Reputation: 145
Quote:
Originally Posted by gerogerigegege View Post
Slackware's pkgtools is, to be quite frank, horribly archaic; it doesn't have any sort of dependency checking, despite the fact that the core system is horrifically large (8GBs). Due to it not having dependency checking, you're not able to deselect any packages without risking breaking your entire system, so you'll just have lots and lots of packages that just waste space doing nothing. I've read quite a few posts on here where the conclusion ends up being "8GBs is not a whole lot of space", despite the fact that those 8 gigs could be used for something more useful. Naturally, this wouldn't be a problem if the core system was smaller (see the BSDs), but it isn't, so it's a problem.

Not even the SlackBuilds have dependency checking, despite the fact that all of the BSD ports trees have some sort of dependency checking; even the binary package tools on BSDs have dependency checking!

Dependency checking really shouldn't be viewed as taboo anymore; all of the (major) BSDs have it, and basically all */Linux distros have it. Even CRUX has it; even CRUX!
I confess that your "long-titled" post has brought a smile to my face. I understand your frustration, but I have to warn you that I do not think that you will be satisfied with the replies. I suggest that you accept your perception that Slackware is flawed. Actually most users here improve the distribution and are happy to discuss how they implemented their solutions. For example I changed the init system to runit to improve the booting up time. I even set out to design my own package manger, but I got derailed in other projects now. In retrospect, very few distributions allow such intrusive interventions, and that is why we love Slackware.

Slackware is indeed archiac. Update it and do let us know how you achieved it. You will enjoy it!
 
7 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Microsoft and OIN: Legal Commitments vs. the Power of the Taboo LXer Syndicated Linux News 0 10-11-2018 04:21 PM
Curious: pkgtools Directories and SymlLnks with pkgtools-15.0-noarch-20.txz on Thu Jun 21 22:58:42 UTC 2018 kjhambrick Slackware 4 06-23-2018 01:16 AM
LXer: Why Copyright Shouldn't Be Considered Property... And Why A Return To 1790 Copyright May Be De LXer Syndicated Linux News 1 12-06-2012 04:01 PM
Dependency checking this, dependency checking that. Jeebizz General 11 09-29-2009 06:51 PM
glibc 2.3.2 and red hat 6.1 on archaic pc--will it work? gdiv Red Hat 0 06-21-2004 12:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration