SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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
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
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.