LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 01:21 PM   #1
Lufbery
Senior Member
 
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.0
Posts: 1,142
Blog Entries: 29

Rep: Reputation: 119Reputation: 119
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, 01:31 PM   #2
dugan
Senior Member
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 4,906

Rep: Reputation: 1543Reputation: 1543Reputation: 1543Reputation: 1543Reputation: 1543Reputation: 1543Reputation: 1543Reputation: 1543Reputation: 1543Reputation: 1543Reputation: 1543
It's correct.
 
Old 07-21-2010, 01:02 AM   #3
kingbeowulf
Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware64 14.1, Slackware 14.1
Posts: 526

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

Rep: Reputation: 336Reputation: 336Reputation: 336Reputation: 336
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 08:20 PM.
 
Old 07-30-2010, 11:07 PM   #5
Lufbery
Senior Member
 
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.0
Posts: 1,142
Blog Entries: 29

Original Poster
Rep: Reputation: 119Reputation: 119
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, 04:38 PM   #6
kingbeowulf
Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware64 14.1, Slackware 14.1
Posts: 526

Rep: Reputation: 140Reputation: 140
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, 01:30 PM   #7
NightSky
Member
 
Registered: Sep 2001
Location: Texas :(
Distribution: Slackware64-13.37
Posts: 776

Rep: Reputation: 50
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, 03:02 PM   #8
Lufbery
Senior Member
 
Registered: Aug 2006
Location: Harrisburg, PA
Distribution: Slackware 64 14.0
Posts: 1,142
Blog Entries: 29

Original Poster
Rep: Reputation: 119Reputation: 119
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, 05:16 AM   #9
phenixia2003
Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 295

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


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


All times are GMT -5. The time now is 06:44 PM.

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