LinuxQuestions.org
Visit Jeremy's Blog.
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 08-03-2011, 04:18 PM   #1
ADX
Member
 
Registered: Jul 2011
Location: 127.0.0.1
Distribution: Slackware64-13.37
Posts: 47

Rep: Reputation: 0
Question Upgrading multilib packages


Hi,

I recently downloaded and installed 32bit compatibility libraries and the glibc/gcc packages from alienbobs site.

I added "[0-9]+alien" to my /etc/slackpkg/blacklist like the page suggested so slackpkg wouldn't replace them. This leads me to one question, how would one go about upgrading these packages/libraries in the future if needed?

Last edited by ADX; 08-03-2011 at 04:25 PM.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 08-03-2011, 10:22 PM   #2
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
You shouldn't need to upgrade any software unless absolutely necessary, often what you can do is check the version number on the Slackware FTP against the Multilib packages and only get the multilib package if there is an update.
 
Old 08-04-2011, 02:38 AM   #3
phenixia2003
Senior Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008
Hello,

Quote:
Originally Posted by ADX View Post

I recently downloaded and installed 32bit compatibility libraries and the glibc/gcc packages from alienbobs site.

I added "[0-9]+alien" to my /etc/slackpkg/blacklist like the page suggested so slackpkg wouldn't replace them. This leads me to one question, how would one go about upgrading these packages/libraries in the future if needed?
To keep the multilib up to date you can use the tools I wrote : multilibpkg and compat32pkg.

multilibpkg is dedicated to the management (install, check-updates, upgrade, ...) of the 64-bit part of the multilib (ie the multilib version of packages
glibc*, gcc*, and, the package compat32-tools), while compat32pkg is dedicated to the management (install, check-updates, upgrade, ...) of the
32-bit part of the multilib (ie the 32-bit compatibility layer) and a bit more.

For example to list the available updates for the 32-bit compatibility layer (on slackware-13.37), you're going to use compat32pkg this way :

Code:
$ compat32pkg --mirror @WorldWide-13.37 --list-updates layer-32

compat32pkg ver. 1.4.110408 (stable)

(INFO) No default mirror was defined in configuration's script /etc/compat32pkg/compat32pkg.conf
[--list-updates] Started on Thu Aug  4 09:24:11 2011                                                
[--list-updates]   Using mirror ftp://mirrors.kernel.org/slackware/slackware-13.37
[--list-updates]   Local system is Slackware/x86_64 version 13.37.0
[--list-updates]   Mirrored system is Slackware/i486 version 13.37
[--list-updates]   Slackware-32 packages will be stored into /var/cache/compat32pkg/slackware-32
[--list-updates]   compat32 packages will be stored into /var/cache/compat32pkg/compat-32
[--list-updates]   Configuration file for "layer-32" : /etc/compat32pkg/multilib-32bit-packages.lst version 1.4.110522
                                                                                     
[--list-updates]   1 update(s) were found (1,742 sec.)

[ package-basename                 ] [ installed version                ]     [ update version                   ]
  libpng                               1.4.5 build 1                      -->   1.4.8 build 1_slack13.37        

[--list-updates] Ended on Thu Aug  4 09:24:14 2011
When updates are available, you can apply them using compat32pkg this way :

Code:
$ compat32pkg --mirror @WorldWide-13.37 --upgrade layer-32

compat32pkg ver. 1.4.110408 (stable)

(INFO) No default mirror was defined in configuration's script /etc/compat32pkg/compat32pkg.conf
[--upgrade] Started on Thu Aug  4 09:30:22 2011                                                     
[--upgrade]   Using mirror ftp://mirrors.kernel.org/slackware/slackware-13.37
[--upgrade]   Local system is Slackware/x86_64 version 13.37.0
[--upgrade]   Mirrored system is Slackware/i486 version 13.37
[--upgrade]   Slackware-32 packages will be stored into /var/cache/compat32pkg/slackware-32
[--upgrade]   compat32 packages will be stored into /var/cache/compat32pkg/compat-32
[--upgrade]   Configuration file for "layer-32" : /etc/compat32pkg/multilib-32bit-packages.lst version 1.4.110522
                                                                                     
[--upgrade]   1 update(s) were found (1,926 sec.)

[--upgrade]   Processing package #1/1: libpng version 1.4.8 build 1_slack13.37
[--upgrade]     Package successfully downloaded (/var/cache/compat32pkg/slackware-32/libpng-1.4.8-i486-1_slack13.37.txz)
[--upgrade]     Package converted to format compat32 (/var/cache/compat32pkg/compat-32/libpng-compat32-1.4.8-x86_64-1_slack13.37.txz)
[--upgrade]     Package successfully installed.                               

[--upgrade] Ended on Thu Aug  4 09:30:43 2011

Cheers.

--
SeB
 
2 members found this post helpful.
Old 08-04-2011, 05:52 AM   #4
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,971

Rep: Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549Reputation: 1549
Agree, Multilibpkg and Compat32pkg make life simple. I use them both.

Thanks SeB!
 
Old 08-04-2011, 07:14 PM   #5
slackass
Member
 
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-15.0
Posts: 910

Rep: Reputation: 90
The way I do it is I keep a local mirror of AlienBob's stuff with rsync and just use
upgradepkg.
 
Old 08-05-2011, 04:00 AM   #6
phenixia2003
Senior Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008
Hello,

Quote:
Originally Posted by slackass View Post
The way I do it is I keep a local mirror of AlienBob's stuff with rsync and just use
upgradepkg.
But, as the 32-bit layer repositories for Slackware-stables are not updated, you're going to miss security/bug
fixes related to some of these packages, and all of the packages that could have been added to the 32-bit layer.
For example, in case of Slackware64-13.0, you will miss the following :

Code:
  bzip2            1.0.6   build 1_slack13.0
  cups             1.3.11  build 2_slack13.0
  openssl-solibs   0.9.8r  build 1_slack13.0
  cairo            1.8.8   build 1_slack13.0
  expat            2.0.1   build 2_slack13.0
  lesstif          (*)
  libpng           1.2.44  build 1_slack13.0
  libtiff          3.8.2   build 5_slack13.0
  seamonkey-solibs 2.0.14  build 1_slack13.0
  gnutls           2.8.4   build 1_slack13.0
  openssl          0.9.8r  build 1_slack13.0
  mesa             7.5     build 2

  (*) this package has been added to the 32-bit layer
      since 13.37

Cheers.

--
SeB
 
Old 08-06-2011, 12:14 AM   #7
slackass
Member
 
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-15.0
Posts: 910

Rep: Reputation: 90
Quote:
Originally Posted by phenixia2003 View Post
Hello,



But, as the 32-bit layer repositories for Slackware-stables are not updated, you're going to miss security/bug
fixes related to some of these packages, and all of the packages that could have been added to the 32-bit layer.
For example, in case of Slackware64-13.0, you will miss the following :

Code:
  bzip2            1.0.6   build 1_slack13.0
  cups             1.3.11  build 2_slack13.0
  openssl-solibs   0.9.8r  build 1_slack13.0
  cairo            1.8.8   build 1_slack13.0
  expat            2.0.1   build 2_slack13.0
  lesstif          (*)
  libpng           1.2.44  build 1_slack13.0
  libtiff          3.8.2   build 5_slack13.0
  seamonkey-solibs 2.0.14  build 1_slack13.0
  gnutls           2.8.4   build 1_slack13.0
  openssl          0.9.8r  build 1_slack13.0
  mesa             7.5     build 2

  (*) this package has been added to the 32-bit layer
      since 13.37

Cheers.

--
SeB
Eric keeps the his mirror updated. When he updates, I update my local mirror.
 
Old 08-09-2011, 12:41 AM   #8
ADX
Member
 
Registered: Jul 2011
Location: 127.0.0.1
Distribution: Slackware64-13.37
Posts: 47

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by phenixia2003 View Post
Hello,



To keep the multilib up to date you can use the tools I wrote : multilibpkg and compat32pkg.

multilibpkg is dedicated to the management (install, check-updates, upgrade, ...) of the 64-bit part of the multilib (ie the multilib version of packages
glibc*, gcc*, and, the package compat32-tools), while compat32pkg is dedicated to the management (install, check-updates, upgrade, ...) of the
32-bit part of the multilib (ie the 32-bit compatibility layer) and a bit more.

For example to list the available updates for the 32-bit compatibility layer (on slackware-13.37), you're going to use compat32pkg this way :

Code:
$ compat32pkg --mirror @WorldWide-13.37 --list-updates layer-32

compat32pkg ver. 1.4.110408 (stable)

(INFO) No default mirror was defined in configuration's script /etc/compat32pkg/compat32pkg.conf
[--list-updates] Started on Thu Aug  4 09:24:11 2011                                                
[--list-updates]   Using mirror ftp://mirrors.kernel.org/slackware/slackware-13.37
[--list-updates]   Local system is Slackware/x86_64 version 13.37.0
[--list-updates]   Mirrored system is Slackware/i486 version 13.37
[--list-updates]   Slackware-32 packages will be stored into /var/cache/compat32pkg/slackware-32
[--list-updates]   compat32 packages will be stored into /var/cache/compat32pkg/compat-32
[--list-updates]   Configuration file for "layer-32" : /etc/compat32pkg/multilib-32bit-packages.lst version 1.4.110522
                                                                                     
[--list-updates]   1 update(s) were found (1,742 sec.)

[ package-basename                 ] [ installed version                ]     [ update version                   ]
  libpng                               1.4.5 build 1                      -->   1.4.8 build 1_slack13.37        

[--list-updates] Ended on Thu Aug  4 09:24:14 2011
When updates are available, you can apply them using compat32pkg this way :

Code:
$ compat32pkg --mirror @WorldWide-13.37 --upgrade layer-32

compat32pkg ver. 1.4.110408 (stable)

(INFO) No default mirror was defined in configuration's script /etc/compat32pkg/compat32pkg.conf
[--upgrade] Started on Thu Aug  4 09:30:22 2011                                                     
[--upgrade]   Using mirror ftp://mirrors.kernel.org/slackware/slackware-13.37
[--upgrade]   Local system is Slackware/x86_64 version 13.37.0
[--upgrade]   Mirrored system is Slackware/i486 version 13.37
[--upgrade]   Slackware-32 packages will be stored into /var/cache/compat32pkg/slackware-32
[--upgrade]   compat32 packages will be stored into /var/cache/compat32pkg/compat-32
[--upgrade]   Configuration file for "layer-32" : /etc/compat32pkg/multilib-32bit-packages.lst version 1.4.110522
                                                                                     
[--upgrade]   1 update(s) were found (1,926 sec.)

[--upgrade]   Processing package #1/1: libpng version 1.4.8 build 1_slack13.37
[--upgrade]     Package successfully downloaded (/var/cache/compat32pkg/slackware-32/libpng-1.4.8-i486-1_slack13.37.txz)
[--upgrade]     Package converted to format compat32 (/var/cache/compat32pkg/compat-32/libpng-compat32-1.4.8-x86_64-1_slack13.37.txz)
[--upgrade]     Package successfully installed.                               

[--upgrade] Ended on Thu Aug  4 09:30:43 2011

Cheers.

--
SeB
Hi Phenixia2003, your post was very informative and helpful. These are excellent tools also.

Thanks!
 
  


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] KDE error on logoff with multilib packages Erik_FL Slackware 4 04-09-2011 04:46 PM
upgrading slackware64 13.1 multilib to slackware64 -current multilib Cultist Slackware 4 03-12-2011 09:04 AM
32-bit Packages and 64-Bit Packages with Included Multilib on One SlackBuild foodown Slackware 1 03-11-2011 08:40 PM
Compiling MySql-workbench, MultiLib packages. Maris-S Slackware 2 12-16-2010 03:51 PM
[SOLVED] compat32-packages for Slackware64 13.1 multilib integrale16 Slackware 4 10-03-2010 01:32 PM

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

All times are GMT -5. The time now is 05:32 PM.

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