LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   How to get slackware current packages ? (http://www.linuxquestions.org/questions/slackware-14/how-to-get-slackware-current-packages-553025/)

davimint 05-10-2007 09:44 PM

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.

dive 05-10-2007 09:49 PM

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.

davimint 05-10-2007 10:00 PM

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

dive 05-10-2007 10:31 PM

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

allend 05-11-2007 01:55 AM

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.

ludist 05-11-2007 02:18 AM

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.

MS3FGX 05-11-2007 04:01 PM

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.

davimint 05-11-2007 06:41 PM

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.

erklaerbaer 05-11-2007 07:06 PM

wget or as a more sophisticated alternative alien bob's infamous mirror-slackware-current.sh
http://www.slackware.com/~alien/

davimint 05-11-2007 07:57 PM

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.

erklaerbaer 05-12-2007 03:55 AM

wget -m (like mirror)
rtfm ;)

urka58 05-13-2007 05:18 AM

Why not using rsync ?
It works for me very efficiently
Ciao


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