LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 01-07-2023, 04:28 PM   #1
EverlastingSuffering
LQ Newbie
 
Registered: Jan 2023
Posts: 25

Rep: Reputation: 0
Lightbulb Why slackpkg doesn't resolve dependencies?


Hello. I know that it is quite usual question but I still don't understand this.
Lets take xfce for example: it breaks if you delete thunar from it. But it is problem of xfce architecture, isn't it? So if you install package and its developer provided requirements list with, in what circumstances I don't want to install them. Why on earth do I need broken package? Moreover to achieve stability we need to install 15GB of packages or otherwise we risk to brake build of some sbo packages. And at the end of the day, I suppose, vast majority of users (?) use sboinstall anyway. Can someone explain me this, please? Don't hate me, I just don't get it.

Last edited by EverlastingSuffering; 01-07-2023 at 04:31 PM.
 
Old 01-07-2023, 04:57 PM   #2
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,730

Rep: Reputation: 1393Reputation: 1393Reputation: 1393Reputation: 1393Reputation: 1393Reputation: 1393Reputation: 1393Reputation: 1393Reputation: 1393Reputation: 1393
Simplest answer is that it is just the philosophy of Slackware.
https://docs.slackware.com/slackwarehilosophy
 
3 members found this post helpful.
Old 01-07-2023, 05:03 PM   #3
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,442

Rep: Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191
Code:
My opinion (if it counts) is that lack of automatic dependency "handling" is _the_ defining feature of Slackware.
The full post:
https://www.linuxquestions.org/quest...ml#post4739581
 
8 members found this post helpful.
Old 01-07-2023, 05:15 PM   #4
EverlastingSuffering
LQ Newbie
 
Registered: Jan 2023
Posts: 25

Original Poster
Rep: Reputation: 0
Question

Quote:
Originally Posted by marav View Post
Code:
My opinion (if it counts) is that lack of automatic dependency "handling" is _the_ defining feature of Slackware.
The full post:
https://www.linuxquestions.org/quest...ml#post4739581
Quote:
Originally Posted by Daedra View Post
Simplest answer is that it is just the philosophy of Slackware.
https://docs.slackware.com/slackwarehilosophy
So there is no particular reason. I am asking this because I came across the statement that there is no DH in slack because "we don't need it". So this guy who said it is not right, I suppose. Right?

Last edited by EverlastingSuffering; 01-07-2023 at 05:18 PM.
 
Old 01-07-2023, 05:16 PM   #5
Bindestreck
Member
 
Registered: Jul 2011
Location: Sweden
Distribution: Slackware
Posts: 822

Rep: Reputation: 442Reputation: 442Reputation: 442Reputation: 442Reputation: 442
The reason is Slackware.
 
1 members found this post helpful.
Old 01-07-2023, 05:20 PM   #6
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,611

Rep: Reputation: 931Reputation: 931Reputation: 931Reputation: 931Reputation: 931Reputation: 931Reputation: 931Reputation: 931
AFAIK, weren't there people working on tools to do dependency checking? I seem to recall it being bandied about for slackpkg+?
 
Old 01-07-2023, 05:52 PM   #7
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,442

Rep: Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191
Quote:
Originally Posted by EverlastingSuffering View Post
So there is no particular reason.
The philosophy IS a particular reason, probably the most important

Quote:
I am asking this because I came across the statement that there is no DH in slack because "we don't need it". So this guy who said it is not right, I suppose. Right?
There is a dependency resolution in Slackware, made by Patrick Volkerding himself.
Therefore, the package manager does not need it.

For 3rd party repositories, as garpu said, some tools provide DR, like slpkg or slapt-get

Last edited by marav; 01-07-2023 at 06:00 PM. Reason: s/sbopkg/slapt-get
 
Old 01-07-2023, 06:02 PM   #8
EverlastingSuffering
LQ Newbie
 
Registered: Jan 2023
Posts: 25

Original Poster
Rep: Reputation: 0
Question

Quote:
Originally Posted by marav View Post
There is a dependency resolution in Slackware, made by Patrick Volkerding himself.
Therefore, the package manager does not need it.
What is it?
 
Old 01-07-2023, 06:06 PM   #9
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,442

Rep: Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191
Quote:
Originally Posted by EverlastingSuffering View Post
What is it?
What "What is it" ?
 
Old 01-07-2023, 06:25 PM   #10
EverlastingSuffering
LQ Newbie
 
Registered: Jan 2023
Posts: 25

Original Poster
Rep: Reputation: 0
Smile

Quote:
Originally Posted by marav View Post
What "What is it" ?
Dependency resolution instrument that you just mentioned
 
Old 01-07-2023, 06:47 PM   #11
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,548

Rep: Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557Reputation: 8557
Quote:
Originally Posted by EverlastingSuffering View Post
So there is no particular reason.
Is there a particular reason you'd want to remove Thunar if you're planning to use Xfce?

Actually, yes, perhaps there is. Maybe you suspect that there's a bug fixed that's a problem for you, or there's a feature added that you're interested in that's in a newer development version of Thunar that's not in Slackware -current. So you'd like to remove Thunar without having the package management system decide to remove the rest of Xfce for you. I guess with some other system you could remove a package with the --nodeps option but then you'll have any future package installs/removals calculating dependencies with incomplete or inaccurate information.

You could try using slapt-get, I guess. Best of luck.
 
13 members found this post helpful.
Old 01-07-2023, 06:51 PM   #12
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,611

Rep: Reputation: 931Reputation: 931Reputation: 931Reputation: 931Reputation: 931Reputation: 931Reputation: 931Reputation: 931
It's really not hard to do the checking one's self. Official packages and Alien Bob's repositories assume you're doing a fully-patched, full install. If Alien Bob has other dependencies, he'll say so. Slackbuilds will list any dependencies either in the page for it, or in the .info file of the slackbuild.
 
Old 01-07-2023, 06:59 PM   #13
EverlastingSuffering
LQ Newbie
 
Registered: Jan 2023
Posts: 25

Original Poster
Rep: Reputation: 0
Smile

Quote:
Originally Posted by volkerdi View Post
Is there a particular reason you'd want to remove Thunar if you're planning to use Xfce?

Actually, yes, perhaps there is. Maybe you suspect that there's a bug fixed that's a problem for you, or there's a feature added that you're interested in that's in a newer development version of Thunar that's not in Slackware -current. So you'd like to remove Thunar without having the package management system decide to remove the rest of Xfce for you. I guess with some other system you could remove a package with the --nodeps option but then you'll have any future package installs/removals calculating dependencies with incomplete or inaccurate information.

You could try using slapt-get, I guess. Best of luck.
Ahh, thank you, but that was just an example from my past experience. Thunar could not open for me on my previous install about a year ago and I just wanted to delete it just for sake of prettiness because I wanted so.
 
Old 01-07-2023, 08:02 PM   #14
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,442

Rep: Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191
Quote:
Originally Posted by EverlastingSuffering View Post
Dependency resolution instrument that you just mentioned
I probably expressed myself badly
The dependency resolution IS actually made by Patrick, upstream (I don't know how). Not by a user tool
All you have to do, is to install the whole thing

If you remove something, don't blame anybody else but you

side note:
Third party repositories assume that EVERYTHING is installed from the official repository, and do not list the official Slackware packages as dependencies.

Last edited by marav; 01-08-2023 at 05:58 PM. Reason: typo
 
1 members found this post helpful.
Old 01-08-2023, 10:37 AM   #15
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Slackware, Debian
Posts: 7,351

Rep: Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750Reputation: 3750
Quote:
Originally Posted by EverlastingSuffering View Post
Can someone explain me this, please? Don't hate me, I just don't get it.
It is a good idea if you're new to Slackware to do a full install because then everything works out of the box with all dependencies met. As a general rule here on LQ we prefer to provide tech support for full installations of Slackware.
Dependency resolution distros are a fine thing when they work properly . It has been my experience that dependency resolution package managers can and will break. The lack of dependency resolution is a feature not a deficit.
 
7 members found this post helpful.
  


Reply



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
Why doesn't Slackware resolve dependencies by default? Cactusdesert129 Slackware 43 08-18-2011 06:25 AM
[SOLVED] why does slackware's package manager purposely not resolve dependencies? Cultist Slackware 93 06-25-2010 04:02 AM
cachingserver can resolve www.gmail.com, but can not resolve mail.com SeniorGoe Linux - Server 6 06-12-2010 01:10 PM
Unable to resolve ulr. /et/resolve.conf looks fine? TheBrick Linux - Networking 3 02-14-2008 04:13 AM
DNS can't resolve gmail.com but can resolve everything else? TongueTied Linux - Networking 2 01-24-2006 03:39 AM

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

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

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