LinuxQuestions.org
Visit Jeremy's Blog.
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 05-10-2007, 10:44 PM   #1
davimint
Member
 
Registered: Jan 2006
Distribution: Slackware Current
Posts: 272

Rep: Reputation: 33
How to get slackware current packages ?


I've been trying to upgrade to current with slackpkg but I just can not get things to work correctly after the upgrade, there's always a problem with X, libary, Xauth, or something. After I read the "changelog hints" I am wondering if maybe the reason I'm having so many problems is because first it says I must be in single user mode with "telinit 1" and there is a ceratin order in which everything must be done.

So, I really want to update to current and don't want to use a "Current.iso" that someone else has done because I want to learn Slackware and Linux.

I need help getting all the packages I need and don't really know how to go about it without spending hours downloading them one by one.

What is the best way to get the slackware current packages all at once.

Thanks for any help.
 
Old 05-10-2007, 10:49 PM   #2
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,211

Rep: Reputation: 293Reputation: 293Reputation: 293
IIRC, you don't need to be in single user mode for most things. But for glibc-solibs you do. Most of the others can be done in multi-user mode.

Usually the method is download glibc-solibs and in install in single-user mode. Then switch to multi-user. I take it you know how to choose a mirror in /etc/slackpkg/mirrors? After that do

slackpkg update
slackpkg upgrade-all

Also, you can't upgrade slackpkg itself with slackpkg upgrade-all, you will need to download manually.
 
Old 05-10-2007, 11:00 PM   #3
davimint
Member
 
Registered: Jan 2006
Distribution: Slackware Current
Posts: 272

Original Poster
Rep: Reputation: 33
thanks dive,
I've got one quick question, according to the man page in slackpkg I need to do a "install-new" before I do the "upgrade-all" do I still need to follow your post and omit the "install-new"? Like I said it seems like the order of everything is real important and I really would like to get it right this time.

Thanks
 
Old 05-10-2007, 11:31 PM   #4
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,211

Rep: Reputation: 293Reputation: 293Reputation: 293
That really depends on the packages that you already have in the system, and if there are some new ones that you need or want.

What version are you upgrading from and to?

For upgrading 11.0 to -current follow the instructions here:
http://slackware.osuosl.org/slackwar..._AND_HINTS.TXT

If you already following -current and just want to do the latest upgrades, you can normally leave out the 'install-new' and do an 'upgrade-all' BUT read the current changelog for detailed info:
ftp://ftp.slackware.com/pub/slackwar.../ChangeLog.txt
 
Old 05-11-2007, 02:55 AM   #5
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,520

Rep: Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876
I suggest that you do not try using slackpkg until you have edited the blacklist to skip all kernel-*.tgz packages. ( With my last two attempts doing bulk updates with slackpkg, I have ended up having to unpick the resulting tangled mess by not doing so correctly.)

If you are upgrading from 11.0 to current you will definitely need to do --install-new as there are a lot of new packages resulting from unbundling of previous larger packages.

The links provided by previous posters are your best friends! Pay them close attention.
 
Old 05-11-2007, 03:18 AM   #6
ludist
Member
 
Registered: Nov 2005
Location: Greece
Distribution: Slackware
Posts: 129

Rep: Reputation: 16
Another one example. If you upgrade bash and you already are in bash, you CAN upgrade but you need to close bash and re-open. telinit 1 a good "restart" without restart, unless you know what you are doing.
 
Old 05-11-2007, 05:01 PM   #7
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
Quote:
After I read the "changelog hints" I am wondering if maybe the reason I'm having so many problems is because first it says I must be in single user mode with "telinit 1" and there is a ceratin order in which everything must be done.
Yeah...that would probably be the problem.

Slackware -current is vastly different from Slackware 11, If you don't follow the CHANGES_AND_HINTS file, you are going to be left with a broken system, that is all there is to it. Even when tracking -current continuously you need to be very aware of the Changelog to make sure you are getting everything. For example, the tcpip package was split out into multiple smaller packages just recently, and if you were not watching the Changelog you would never have known about it.
 
Old 05-11-2007, 07:41 PM   #8
davimint
Member
 
Registered: Jan 2006
Distribution: Slackware Current
Posts: 272

Original Poster
Rep: Reputation: 33
Thanks everyone:

But if you all don't mind could I just ask one more question.

Since I'm going to not use slackpkg that still puts me trying to download alot of packages not counting all those in X which is also alot. Has anyone got a script or any idea how to go about downloading all the "Current tzg packages" all at once. I'm sure that most folks dont sit there for hours and download them one by one.
 
Old 05-11-2007, 08:06 PM   #9
erklaerbaer
Member
 
Registered: Mar 2006
Posts: 381

Rep: Reputation: 30
wget or as a more sophisticated alternative alien bob's infamous mirror-slackware-current.sh
http://www.slackware.com/~alien/
 
Old 05-11-2007, 08:57 PM   #10
davimint
Member
 
Registered: Jan 2006
Distribution: Slackware Current
Posts: 272

Original Poster
Rep: Reputation: 33
Thanks erklaerbaer
I downloaded alien bobs scrip from the link, added the directory's it was complaining about and off to the races it went. The only problem was I don't have time to do it tonight so I'll kick it off in the morning before I go to work. I checked it out and it's cool the way it just mirrored everything. I'm not much on coding but I'll definitely have to take the time to check this script out. By the way is there anyway to wget "everything at once" or are you forced to use a super cool scrip like the one alien bob has.

Last edited by davimint; 05-11-2007 at 10:24 PM.
 
Old 05-12-2007, 04:55 AM   #11
erklaerbaer
Member
 
Registered: Mar 2006
Posts: 381

Rep: Reputation: 30
wget -m (like mirror)
rtfm
 
Old 05-13-2007, 06:18 AM   #12
urka58
Member
 
Registered: Nov 2003
Distribution: slackware 14
Posts: 535

Rep: Reputation: 30
Why not using rsync ?
It works for me very efficiently
Ciao
 
  


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
My slackware packages + KDE Upgrade in -current Daedra Slackware 2 04-06-2007 06:03 AM
DISCUSSION: Upgrade to Slackware -current without a -current CD truthfatal LinuxAnswers Discussion 0 09-19-2006 02:42 PM
wget broken after new packages in -current sh1ft Slackware 3 12-23-2004 12:50 AM
Slackware-current GNOME packages Wynd Slackware 1 08-12-2004 08:40 AM
Slackware current packages question sitrus Slackware 4 11-01-2002 11:47 AM


All times are GMT -5. The time now is 12:14 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration