LinuxQuestions.org
Visit Jeremy's Blog.
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 06-23-2006, 03:32 PM   #1
FreeDoughnut
Member
 
Registered: Jun 2006
Distribution: Slackware 10.2, Debian Testing/Unstable, Ubuntu Breezy Badger, working on LFS
Posts: 228

Rep: Reputation: 30
Swaret vs. Slapt-Get (library dependencies)


I tried to follow Shilo's This is How I do It All thread, but when I get to the part with Swaret I fall into dependency heck. I uncommented the line for linuxpackages.net, but that URL (ftp://ftp.linuxpackages.net/pub/Slackware-9.1) is broken. I went to the linuxpackages site and put in the lines for the mirrors (http and ftp) closest to me. When I did swaret --upgrade; swaret --update -a; swaret --dep I realized I was missing a few (read "a ton") libraries. So when I couldn't get everything working, I did a reinstall. That takes a while, and I don't want to do it again, so I have a few questions:
1. Should I have let swaret stick with the initial repositories? Are the libraries satisfied there?
2. Would anyone recommend doing a world update with slapt-get? How are the dependencies there?
3. Should I just stick with my outdated but working system?
4. Are there any repositories that I can just run swaret --upgrade; swaret --update -a; swaret --dep and have all libraries installed?

Please help me figure out what to do. Any answers or alternate solutions would be greatly appreciated.
 
Old 06-23-2006, 04:45 PM   #2
ringwraith
Senior Member
 
Registered: Sep 2003
Location: Indiana
Distribution: Slackware 15.0
Posts: 1,272

Rep: Reputation: 65
What version are you actually installing?

I would suggest not using swaret or slapt-get until you know more about what you are doing. If you download and install the latest version of Slackware then you can read the changelogs and download the patches to update your system.
 
Old 06-23-2006, 06:11 PM   #3
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
From Shilo's guide:

Quote:
Install SWareT. Go here to get the package. The first thing you will want to do is edit the /etc/swaret.conf file. Change the version to current.


# NOTE: If you want to use Slackware Linux Current,
# set VERSION to 'current' (VERSION=current).
#
VERSION=current

Uncomment the line for linuxpackages.net.


# NOTE 1: The REPOSITORY NAME can only be ONE Keyword!
# NOTE 2: swaret will use the order of the specified REPOS_ROOT URL's.
#
REPOS_ROOT=LinuxPackagesDOTNET%ftp://ftp4.linuxpackages.net/pub/Slackware-9.1
I find this the worst piece of advice given to new Slackware users I've seen in a long time. No offence to Shilo, but this is definitely the way to screw your system all the way to hell.

First:

Why should any new Slackware user, after the painstaking process of installing his/her first Slackware from CDROM, upgrade to slackware-current which has a fat chance of being completely broken from one day to the other? Slackware-current is the development release! Only fit for people who accept they will have to fix their broken box if they are so unlucky as to upgrade at the wrong day... and know how they can fix their box.

Second:

The quality of packages at linuxpackages.net may seriously be doubted. Most of them are binary-only - meaning the packager does not want to show us how the package was created, and you can never be sure of what dependencies, or errors, such a package might have. Once you installed one, it might be too late already.

Third:

Swaret may be a useful progam to determine missing dependencies, but I would never trust it to keep my computer sane and working. Swaret is not part of Slackware, and while it tries to do it's best, it is not and never will be able to flawlessly determine how and if new/updated packages should be installed.

Understand, that running Slackware means that you have to use your brains. Slackware will not hold your hand, and will not play nice with applications that pretend they will hold your hand.

My 2 cents.

Eric
 
Old 06-23-2006, 07:24 PM   #4
Eternal_Newbie
Member
 
Registered: Jun 2005
Location: The Pudding Isles
Distribution: Slackware
Posts: 573

Rep: Reputation: 59
I think it should be pointed out that Alien Bob's warnings about swaret, current and LinuxPackages really apply to any 3rd-party package manager for Slackware.

Imho, there are many great packages at LP, they are a lifesaver. But you do have to look at them first and not install literally blindly with a package manager, be it slap-get, slackpkg or swaret. Some packeges from there have GNOME dependencies, for example and GNOME is no longer included in Slackware.
 
Old 06-23-2006, 07:42 PM   #5
FreeDoughnut
Member
 
Registered: Jun 2006
Distribution: Slackware 10.2, Debian Testing/Unstable, Ubuntu Breezy Badger, working on LFS
Posts: 228

Original Poster
Rep: Reputation: 30
I'm running 10.2 and set it to VERSION=current. I did the whole swaret --upgrade; swaret --update -a; swaret --dep thing and when I realized how many libraries I was missing, I started to manually install them. I did a few slack packages and a few rpm2tgzs and got it working, but started having runtime errors (missing libraries swaret never told me about. I guess what I really want to know now is if there are any low maintainance ways to upgrade a Slackware system. I'd perfer stable to cutting edge but nonworking, however, so if there's no possibility of getting a working system this way (I have some time but not too much to devote to Linux) I'll stick with KDE 3.4. I understand Slackware's not easy, and I'm willing to put up with that, so just post any ideas for keeping my system current.
 
Old 06-23-2006, 08:36 PM   #6
Xian
Member
 
Registered: Feb 2004
Location: 33.31N -111.97W
Distribution: SuSE
Posts: 919

Rep: Reputation: 32
Quote:
Originally Posted by FreeDoughnut
I understand Slackware's not easy, and I'm willing to put up with that, so just post any ideas for keeping my system current.
If you mean the 'current' branch, then IMO the best way is to use Slackpkg, read the Changelog, keep the *.new configuration files in /etc under constant review, and make backups of anything critical.

Last edited by Xian; 06-23-2006 at 08:37 PM.
 
Old 06-23-2006, 09:11 PM   #7
FreeDoughnut
Member
 
Registered: Jun 2006
Distribution: Slackware 10.2, Debian Testing/Unstable, Ubuntu Breezy Badger, working on LFS
Posts: 228

Original Poster
Rep: Reputation: 30
Backups aren't nescessary. I'm willing to put up with another install, although I'd rather not. Thanks for the advice. I meant by "current" the packages, not the distro, but I'll give Slackpkg a shot. Glad for the support.
[edit]
"slackpkg upgrade-all"ing now. Tell me quickly if that'll break my system.
Quote:
slack+how+not+to+upgrade, say+no+to+shiloh
LOL! Oh, you spelled Shilo wrong.
[/edit]

Last edited by FreeDoughnut; 06-23-2006 at 09:43 PM.
 
Old 06-24-2006, 03:42 AM   #8
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
Quote:
Originally Posted by Alien Bob
I find this the worst piece of advice given to new Slackware users I've seen in a long time. No offence to Shilo, but this is definitely the way to screw your system all the way to hell.
No offense taken. I completely agree. I need to change that all.

I still use swaret, but only to track the release I have installed. Blindly upgrading to -current and using a third party repo are both things better done manually (if at all).

I have left this glaringly wrong section alone for some time. I will try to find some time to edit it this weekend.

I apologize for leaving it un-changed for so long. Alien Bob is 1000% correct. The method as I have posted it WILL mess stuff up.
 
Old 06-24-2006, 04:04 PM   #9
FreeDoughnut
Member
 
Registered: Jun 2006
Distribution: Slackware 10.2, Debian Testing/Unstable, Ubuntu Breezy Badger, working on LFS
Posts: 228

Original Poster
Rep: Reputation: 30
Thanks for the advice guys! I followed Xian's advice with slackpkg and only ended up with three missing libraries, all easily found with "slackpkg search [libraryname]". If I were you, Shilo, I'd put the slackpkg method on your tutorial. Other than that section, it's a great tutorial. I was able to use almost all of it, except the sections on Lilo. Sorry, my Gentoo install has me hooked on grub and I couldn't find map-bmp or whatever. So the moral of the story is: Slackpkg
 
Old 06-24-2006, 05:08 PM   #10
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67
For myself, I use the stuff posted here to make my own mirror, and cd iso's. Whenever I need to 'redo' everything (not often, but I experiment until my box is useless), I have a -current iso to install Slackware again.

That way, I also avoid the whole "automagic" update hell that tends to rear its ugly head.
 
Old 08-28-2006, 11:27 PM   #11
wartstew
Member
 
Registered: Apr 2002
Location: Albuquerque, NM USA
Distribution: Slackware, Ubuntu, Debian, Maemo
Posts: 464

Rep: Reputation: 30
It's kind of funny. The system I am using right now started out as a Slackware 9.1 (I think), I've since kept it up-to-date to -current through 9.2, 10.0, 10.1 .. and currently it says 11.0.0, all using swaret several times a year.

Sure, at times things have gotten messed up, but I've always managed to fix them faster than what it takes to fix any of my Debian machines that mess up when their great packaging system goes haywire when trying to stay close to their "current" (sid).

I'm very surprised that I've been able to keep this Slackware system, that I use as a desktop system, with KDE and many apps, working so well considering the wreckless package maintenance system it uses.

The thing that I've never been able to do is install a small-ish version of Slackware and have it be very stable, a mostly "full" install works best. I can (and do) do this with Debian however.
 
  


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
Swaret vs Slapt-get jarod_123 Slackware 5 04-08-2007 04:57 AM
slapt-get or swaret? servnov Slackware 11 12-30-2005 09:13 AM
Swaret / Slapt-get drj000 Slackware 41 08-10-2005 04:15 AM
slapt-get vs swaret raffi Slackware 2 12-14-2004 11:40 AM
swaret or slapt-get? revenant Slackware 12 04-08-2004 09:23 PM

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

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