LinuxQuestions.org
Review your favorite Linux distribution.
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 11-03-2007, 10:52 AM   #1
silver007
LQ Newbie
 
Registered: Oct 2007
Posts: 28

Rep: Reputation: 0
slapt-get wants kdebase, kdelibs - i don't need?


Slack 12. I went to upgrade today and slapt-get comes back wanting to download and install kdebase and kdelibs. What the heck?

I don't have KDE, never used, never installed - I'm sure of this. I use fluxbox and have very little installed.

Is some program wanting something in one of these packages? Everything works, so I don't know why it's doing this.

Thanks
 
Old 11-03-2007, 12:40 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
slapt-get only upgrades packages that are already installed, it goes by your list of installed packages that are generated by pkgtools. If it wants to upgrade them, then they must already be installed.

If not, then the only other possibility is that you are using an unofficial package that includes dependency information which is indicating that KDE is required. Unfortunately, I know of no way to list what depends on what in an easy-to-read fashion. You might have to page through package_data in /var/slapt-get.
 
Old 11-03-2007, 03:41 PM   #3
silver007
LQ Newbie
 
Registered: Oct 2007
Posts: 28

Original Poster
Rep: Reputation: 0
But I'm using the official Slack 12 from slackware.com (or their FTP site) and I have no KDE stuff - and pkgtool agrees - none listed. It wants to install this K stuff, not upgrade it. Seems that something is listing it as a dependency? Isn't that the only way that could happen?

Seems to me that I've got some program unnecessarily listing K as a dependency?

The only things I've installed are Opera, xmms, slapt-get, gslapt (which behaves the same way of course) and some fonts. I installed SeaMonkey but uninstalled it. That's it...

??
 
Old 11-03-2007, 03:44 PM   #4
silver007
LQ Newbie
 
Registered: Oct 2007
Posts: 28

Original Poster
Rep: Reputation: 0
Wtf?????

I just slapt-get -install conky and audacious installed!

When I slapt-get -remove audacious it wants to remove conky... LOL

wft is going on...

Last edited by silver007; 11-03-2007 at 03:46 PM.
 
Old 11-04-2007, 05:44 AM   #5
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
There is no guarentee that unofficial packages are going to have correct dependency information, so you have to use them at your own risk.

You can override the dependency information for a package by installing it like:

Code:
sudo slapt-get --install --ignore-dep packagename
 
Old 11-04-2007, 08:25 PM   #6
silver007
LQ Newbie
 
Registered: Oct 2007
Posts: 28

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by MS3FGX View Post
Code:
sudo slapt-get --install --ignore-dep packagename
Thanks MS3. I'll read up on dependencies from the viewpoint of them not being trustworthy. I just didn't expect that type of loose discipline in packages. At first I was nervous from Slack's approach to package management, or basically lack thereof, but this has really shed some light on their reasoning. One of the first things I did was install slapt and gslapt on top of it, but I'd much rather install an app and have an error message tell me it needs something else rather than install half the world onto my hd just for a tiny 30k app to run... It's almost like spyware it seems to me - you download an app, go to upgrade it and what do you know - they want you to download this OTHER app you don't even need. Wow, I'll bet folks' systems are so messed up and bloated because of this... and people like to think package managers are a necessary thing.

A real eye opener this has been.
 
Old 11-04-2007, 08:37 PM   #7
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Yes, that is exactly the reason that Slackware doesn't do dependency resolution; many times you end up installing things you don't need and wasting your resources.

For example, in the case of Conky; since Conky can display track info from Audacious, somebody put Audacious as one of it's dependencies. Now slapt-get wants to install and remove Audacious along with Conky, even though you may or may not have even been interested in that particular function.

Other programs that are good examples of this are things like MPlayer. MPlayer will link against dozens of libraries if you let it, many of which you probably don't want or need. If you are using somebody else's build of MPlayer, you need to have all of those libraries installed for it to run, even if you never plan on using those features.

It takes longer and is more difficult, but the best way to really make sure your system is as bloat-free as possible is to compile new software from source and manually handle the dependencies of features you actually want.

Last edited by MS3FGX; 11-04-2007 at 11:57 PM.
 
  


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
kdebase-3.3.0 still won't build. craigs1987 Linux - Software 1 10-02-2004 07:26 AM
Why won't kdebase-3.3.0 build? craigs1987 Linux - Software 1 10-01-2004 05:07 PM
Slackware and kdebase mikz Slackware - Installation 1 09-24-2004 10:46 PM
/etc/slapt-getrc modification fails to influence slapt-get timsch75 Slackware 1 04-07-2004 08:48 AM
Apt and kdebase slewis1972 Linux - General 0 07-05-2003 11:13 AM

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

All times are GMT -5. The time now is 11:11 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