LinuxQuestions.org
Review your favorite Linux distribution.
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 07-19-2010, 12:21 PM   #1
Lufbery
Senior Member
 
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.2
Posts: 1,180
Blog Entries: 29

Rep: Reputation: 135Reputation: 135
Keeping Slackware64 multilib updated . . .


Hi all,

I'm going to install Slackware 13.1 soon and I may also install the 32-bit compatibility libraries from Eric (Alien BoB).

I'd like confirmation on the process of updating multilib Slackware when there's a security patch. I'm talking about running the -stable branch, by the way.
  1. Under the normal methods of updating (e.g. 'slackpkg upgrade-all' or using the script I developed to download a local mirror of the patches directory and install from there, or even doing it by hand), the regular 64-bit packages will get updated.
  2. However, the 32-bit compatibility versions of those files won't get updated. Right?
  3. So I'll need to download the new 32-bit patches, run the convertpkg-compat32 script on them, and then upgradepkg the new files.

Is that correct?

Regards,
 
Old 07-19-2010, 12:31 PM   #2
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
It's correct.
 
Old 07-21-2010, 12:02 AM   #3
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,266
Blog Entries: 11

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
Yep. No worries. One could even write a script to check if 32 bit updates are needed...
 
Old 07-30-2010, 07:15 PM   #4
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
hey guys
So, exactly what is the procedure to upgrade the multilib packages??

Quote:
So I'll need to download the new 32-bit patches, run the convertpkg-compat32 script on them, and then upgradepkg the new files.
where do I get the patches?
thx

Also, I still have all the original multilib pkgs in /home/compat32

Last edited by linus72; 07-30-2010 at 07:20 PM.
 
Old 07-30-2010, 10:07 PM   #5
Lufbery
Senior Member
 
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.2
Posts: 1,180

Original Poster
Blog Entries: 29

Rep: Reputation: 135Reputation: 135
linus72,

I haven't done this yet, but the way I understand it is this: when an update happens for one of the libraries that you have as both 64-bit native and compat32, you need to download both from the <path to your favorite mirror>/slackware64-13.1/patches/packages and ../slackware-13.1/patches/packages.

Upgradepkg the native one.

Run the AlienBob script to make the 32-bit one a compat32 library and then upgradepkg that one too.
 
Old 08-01-2010, 03:38 PM   #6
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,266
Blog Entries: 11

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
AlienBob has a script I've used for years "rsync_slackware_patches.sh" that I modified for my own use and how I have my Slackware tree set up on my archive drive. I have it set for a monthly cron to grab both x86 and x86-64 patches. I then check for anything new, update the 64-bit patches, check for the same 32-bit patches, run 'convertpkg-compat32' and then update those.

Simple. Someday I might even automate it all.

Enjoy.
 
Old 09-23-2010, 12:30 PM   #7
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64- 5.15.2
Posts: 909

Rep: Reputation: 55
Here is the name of Up to date Post I stumbled onto last night here in Slackware forum. Great tool for alien's multilib with awsome detailed instructions on usage. Don't overlook this new tool:

"First release of compat32pkg. A simple tool for managing package to format compat32.."

http:////www.linuxquestions.org/ques...mpat32-831581/
 
Old 09-23-2010, 02:02 PM   #8
Lufbery
Senior Member
 
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.2
Posts: 1,180

Original Poster
Blog Entries: 29

Rep: Reputation: 135Reputation: 135
I've been following the compat32pkg thread and it looks like a great tool.

On the other hand, since Slackware64_13.1 came out, and I installed the multi-lib stuff, there've been only a few patches that need to be converted to compat32: libtiff, libpng, and seamonkey-solibs.

That's not too much to keep track of.
 
Old 09-24-2010, 04:16 AM   #9
phenixia2003
Senior Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008
Quote:
Originally Posted by Lufbery View Post
On the other hand, since Slackware64_13.1 came out, and I installed the multi-lib stuff, there've been only a few patches that need to be converted to compat32: libtiff, libpng, and seamonkey-solibs.

That's not too much to keep track of. ;)
You're right, once the multilib is installed there will not much to keep track. However, with compat32pkg you'll not have to do this by hand, and, you could also create a cron job to automate this.

Moreover, when using compat32pkg to install the 32-bit part of the multilib from the network (ex: compat32pkg --mirror @USA-13.1 --install /etc/compat32pkg/multilib-32bit-packages.lst), it will be installed automatically in a safe state, with all the available updates, unless when explicitly excluded ( ie using --exclude list:patches/.* )

Cheers.

--
SeB
 
  


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
Building WINE on Slackware64 multilib? Lufbery Slackware 12 07-19-2010 06:22 PM
[SOLVED] Transcode will not compile in Slackware64-13.0, Multilib TSquaredF Slackware 9 04-07-2010 10:39 PM
[SOLVED] Google Earth Slackware64 Multilib mlangdn Slackware 20 03-19-2010 03:35 AM
slackware64 multilib pros and cons? Pluribootent Slackware 6 03-18-2010 09:11 AM
Slackware64 current multilib, do the 32 bit packages need to be updated as well? damgar Slackware 11 02-01-2010 11:08 AM

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

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