LinuxQuestions.org
Help answer threads with 0 replies.
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 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: 203Reputation: 203Reputation: 203
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: Kirkwall, Orkney
Distribution: Linux Mint 20.3 - Cinnamon
Posts: 1,425

Rep: Reputation: 139Reputation: 139
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
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
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

Original Poster
Blog Entries: 8

Rep: Reputation: 203Reputation: 203Reputation: 203
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),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781

Rep: Reputation: 98
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: Kirkwall, Orkney
Distribution: Linux Mint 20.3 - Cinnamon
Posts: 1,425

Rep: Reputation: 139Reputation: 139
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),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781

Rep: Reputation: 98
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: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
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: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
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),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781

Rep: Reputation: 98
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
Senior Member
 
Registered: Mar 2007
Posts: 1,787

Rep: Reputation: 1468Reputation: 1468Reputation: 1468Reputation: 1468Reputation: 1468Reputation: 1468Reputation: 1468Reputation: 1468Reputation: 1468Reputation: 1468
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: Kirkwall, Orkney
Distribution: Linux Mint 20.3 - Cinnamon
Posts: 1,425

Rep: Reputation: 139Reputation: 139
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



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

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

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