LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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-04-2010, 11:36 PM   #1
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 201Reputation: 201Reputation: 201
Slackware64 current multilib, do the 32 bit packages need to be updated as well?


I'm running slackware 64 current and installed the multlib packages according to alien BOB's wiki. Is it neccessary to update the 32 bit packages as well?

If so is there a script or a way to automate the dowloading of those packages?
 
Old 01-05-2010, 02:44 AM   #2
samac
Senior Member
 
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Slackware64-14.1 (multi-lib) KDE 4.11.4
Posts: 1,422

Rep: Reputation: 137Reputation: 137
I update them in line with the 64-bit versions. It seems neater to me to keep the version numbers the same. I use Alien Bob's mirror-slackware-current.sh and have a 32bit and a 64bit version of it with their own excludes.txt file. This makes it relatively easy to upgrade both at nearly the same time.

samac
 
Old 01-05-2010, 03:16 AM   #3
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,402

Rep: Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852Reputation: 852
maybe alien bob will provide a compat32 folder for 13.1 when it will be released.
in the meantime I tried to masscovert current 32bit packages with his script and this is the resulting folder.
if you want to try it you can mirror it with
Code:
lftp -c mirror http://www2.arch.unipi.it:81/slackware64-current/compat32/
if alien bob will provide compat32 packages for 64-current I'll readily remove the folder from there.
 
Old 01-05-2010, 08:11 PM   #4
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Original Poster
Rep: Reputation: 201Reputation: 201Reputation: 201
Thank you both for the replies and the script.
 
Old 02-01-2010, 04:06 AM   #5
vdemuth
Member
 
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware 14 (Server),Suse 13.1 (Desktop),, Mepis on the wifes lappy
Posts: 766

Rep: Reputation: 92
I have a few questions as well. The Slackware13 dvd I have is from the release date last year, and I am now running slack64 current. To change successfully to multilib now, do I need to first of all get the 32bit current tree prior to running the massconvert32 script, and when I follow the change log and keep my box upgraded, does this mean I also have to upgrade the 32bit converted pkgs as well to the 32bit current pkgs, and if so, what is the easiest way of doing this?

BTW samac, any chance of getting the excludes.txt file you use?

TIA
 
Old 02-01-2010, 04:53 AM   #6
samac
Senior Member
 
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Slackware64-14.1 (multi-lib) KDE 4.11.4
Posts: 1,422

Rep: Reputation: 137Reputation: 137
For the 32-bit files you only need a/ ap/ d/ l/ n/ and x/ so the exclude file cuts out everything else, but still builds you a working dvd.iso

Quote:
samac@quad64:~$ cat Slackware-current-excludes.txt
slackware/e
slackware/f
slackware/k
slackware/kde
slackware/kdei
slackware/t
slackware/tcl
slackware/xap
slackware/y
extra
testing
pasture
source
usb-and-pxe-installers
The 64-bit exclude just removes the bits I don't use/need, it cuts my download time and bandwidth on my exceptionally poor broadband connection, ah the joys of living in the middle of nowhere.

Quote:
samac@quad64:~$ cat Slackware64-current-excludes.txt
slackware64/e
slackware64/f
slackware64/kdei
slackware64/t
slackware64/y
extra
testing
pasture
source
usb-and-pxe-installers
Remember to modify and save two versions of Alien Bob's script.

samac
 
Old 02-01-2010, 05:14 AM   #7
vdemuth
Member
 
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware 14 (Server),Suse 13.1 (Desktop),, Mepis on the wifes lappy
Posts: 766

Rep: Reputation: 92
Thanks for that. Now what about keeping up to date with the multilib pkgs themselves. Have you any idea how quickly AlienBob gets upgraded pkgs out in line with the current pkgs from the Slackware team, and what is then the best method of keeping those upgraded. bearing in mind I tend to use slackpkg to keep updated weekly, and that util only allows one mirror. Besides which, does AlienBob have a mirror to download his updates from. Maybe if he sees this thread, he can answer directly.

Cheers
 
Old 02-01-2010, 05:33 AM   #8
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,191

Rep: Reputation: Disabled
Quote:
Originally Posted by samac View Post
For the 32-bit files you only need a/ ap/ d/ l/ n/ and x/ so the exclude file cuts out everything else, but still builds you a working dvd.iso

The 64-bit exclude just removes the bits I don't use/need, it cuts my download time and bandwidth on my exceptionally poor broadband connection, ah the joys of living in the middle of nowhere.

Remember to modify and save two versions of Alien Bob's script.

samac
Why would you have to keep two different versions of the script? You can either add commandline parameters, or use two different configfiles.

In the case of using two configfiles, you will see a potential problem because the configfile needs to be called "mirror-slackware.current.conf". The solution is to create a symlink to the script with an arbitrary name, like this:
Code:
ln -s mirror-slackware.current.sh mycustomscript.sh
and then give your second configuration file the name "mycustomscript.conf". If you start the script with the symbolic name, it will pick up this "mycustomscript.conf".

Eric
 
Old 02-01-2010, 05:42 AM   #9
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,191

Rep: Reputation: Disabled
Quote:
Originally Posted by vdemuth View Post
Thanks for that. Now what about keeping up to date with the multilib pkgs themselves. Have you any idea how quickly AlienBob gets upgraded pkgs out in line with the current pkgs from the Slackware team, and what is then the best method of keeping those upgraded. bearing in mind I tend to use slackpkg to keep updated weekly, and that util only allows one mirror. Besides which, does AlienBob have a mirror to download his updates from. Maybe if he sees this thread, he can answer directly.

Cheers
Since I am in the Slackware team, my multilib packages usually hit the web around the same time Pat Volkerding releases his -current updates.
This happened for slackware-current a short while ago: http://connie.slackware.com/~alien/multilib/13.1/ holds the new multilib gcc/glibc packages for slackware-current (which I expect to become 13.1, hence the directory name).

I will not release an updated set of "-compat32" packages until the next stable Slackware is released. In the meantime, you can easily use the convertpkg-compat32.sh script to convert individual 32-bit Slackware packages, or use the massconvert32.sh script from time to time to create a full set.

Keep in mind that it is no problem if the versions of all those 32-bit "compat32" packages you install, are different from the original 64-bit Slackware package versions. The 32-bit set is an independent layer of software which does not conflict or interact with the 64-bit software.

Eric
 
Old 02-01-2010, 07:25 AM   #10
vdemuth
Member
 
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware 14 (Server),Suse 13.1 (Desktop),, Mepis on the wifes lappy
Posts: 766

Rep: Reputation: 92
Well, that all went really easily after my initial reservations, although just to be on the safe side I downloaded the latest mirror of the current tree. It would be nice if the massconvert script could pull from the current tree through ftp though, but I don't know how difficult that would be to implement, or even if it's possible.

Meanwhile I am running multilib, so a huge thanks to all of those who worked on putting it together and helping me through the process.

BRGDS
 
Old 02-01-2010, 09:04 AM   #11
Petri Kaukasoina
Member
 
Registered: Mar 2007
Posts: 241

Rep: Reputation: 86
Quote:
Originally Posted by Alien Bob View Post
Keep in mind that it is no problem if the versions of all those 32-bit "compat32" packages you install, are different from the original 64-bit Slackware package versions. The 32-bit set is an independent layer of software which does not conflict or interact with the 64-bit software.
But the compat32 packages do not contain /usr/include files, they only come from the 64-bit library packages. If the compat32 package version is older than the includes from the 64-bit packages, 32-bit compilations may work or may not, depending on how much difference there is. Maybe there are now no significant differences between versions in 13.0 and -current. I think openssl used to be very picky if the includes were not from the exactly same version (as the library.so), but I don't know if that's still true.

Last edited by Petri Kaukasoina; 02-01-2010 at 09:05 AM.
 
Old 02-01-2010, 11:08 AM   #12
samac
Senior Member
 
Registered: Mar 2004
Location: Westray, Orkney
Distribution: Slackware64-14.1 (multi-lib) KDE 4.11.4
Posts: 1,422

Rep: Reputation: 137Reputation: 137
Eric

Quote:
Why would you have to keep two different versions of the script? You can either add command line parameters, or use two different config files.
Because I don't know better. However my method seems to work, it would be even easier if all your hard work could sneak into /extra then slackpkg could do all the work, and save us all from our own lack of knowledge.

samac
 
  


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
[SOLVED] Slackware64-current multilib: Many improvements, few snags gargamel Slackware 7 11-15-2009 07:23 AM
Hardware accelerated 32-bit games with multilib slackware64 sunman Slackware 4 09-05-2009 08:14 PM
slackware64 + multilib or simply install 32-bit? [GOD]Anck Slackware 1 08-31-2009 03:51 AM
Getting packages for Slackware64-current. glore2002 Slackware 13 08-25-2009 06:28 PM
List the 32-bit packages you have working in Slackware64, using Bluewhite64 ia32. Shingoshi Slackware 3 06-01-2009 06:04 PM


All times are GMT -5. The time now is 03:27 AM.

Main Menu
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