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.
And I desperately want multilib. I have seen in several places people posting that the have multilib installed. I'm running Slackware 14.2-64 bit
Code:
root@caitlyn:~# uname -a
Linux caitlyn 4.4.276 #1 SMP Tue Jul 20 23:23:58 CDT 2021 x86_64 Intel(R) Pentium(R) CPU G3250 @ 3.20GHz GenuineIntel GNU/Linux
I uncommented a lot of stuff in /etc/slackpkg/slackpkgplus.conf and ran slackware update. I saw a lot of scary messages float past, including the following:
Code:
!!! F A T A L !!!
Repository 'multilib' FAILS the CHECKSUMS.md5 signature check
The file may be corrupted or the gpg key may be not valid.
Remember to import keys by launching 'slackpkg update gpg'.
And what does this mean?
Code:
root@caitlyn:~# slackpkg upgrade multilib
/etc/slackpkg/slackpkgplus.conf: line 141: slackpkgplus:: command not found
/etc/slackpkg/slackpkgplus.conf: line 142: multilib:: command not found
/etc/slackpkg/slackpkgplus.conf: line 143: alienbob:: command not found
Checking local integrity... DONE
Looking for multilib in package list. Please wait... DONE
No packages match the pattern for upgrade. Try:
/usr/sbin/slackpkg install|reinstall
Why not just install multilib manually, Alien bob has clear instructions http://www.slackware.com/~alien/multilib/? It's really quite easy.
First download the gcc,glibc,compat32-tools packages with this command...
or you can use the massconvert32.sh script from the compat32-tools packages to make your own compat32 package set.
once downloaded run upgradepkg --reinstall --install-new *.t?z on the multilib packages. then run upgradepkg --reinstall --install-new slackware64-compat32/*-compat32/*.t?z on the compat32 packages. After that you're done. If you use the binary nvidia driver you will have to reinstall it with 32bit library support.
Yes. I'm downloading the files (again) as we speak. I recently reinstalled Slackware and I'm still trying to get back to where I was before the reinstall...
I run slackpkg update once a week and I throw in a 'upgrade-all'. Is using the down and dirty method of multilib going to throw a wrench into that? Should I add gcc and glibc to /etc/slackpkg/blacklist?
I run slackpkg update once a week and I throw in a 'upgrade-all'. Is using the down and dirty method of multilib going to throw a wrench into that? Should I add gcc and glibc to /etc/slackpkg/blacklist?
Yes... See Eric's README
Quote:
If you use slackpkg to keep your Slackware uptodate, then you may benefit from
adding slackpkg+ (http://slakfinder.org/slackpkg+.html), an extension to
slackpkg which allows you to manage package updates, not just for Slackware,
but also for 3rd party repositories which adhere to the Slackware repository
format.
The Multilib repository is compatible with slackpkg+, and its configuration
file has instructions on how to enable multilib repository support.
If you do not use slackpkg, then your best option is to keep a local mirror
of the multilib repository for your Slackware version, and regularly run:
# cd /path/to/multilib/slackware_version_dir/
# upgradepkg --install-new *.t?z
# upgradepkg --install-new slackware64-compat32/*-compat32/*.t?z
If you do use slackpkg but do not want to add slackpkg+ then you need to do
the above but also take precautions so that slackpkg does not remove or
replace the multilib packages. Add these lines to /etc/slackpkg/blacklist to
prevent this behaviour:
[0-9]+alien
[0-9]+compat32
Note in my slackpkgplus.conf file I am giving slackware's gcc priority over multilib.
"PKGS_PRIORITY=( patches:gcc )" Why not slackware64:gcc? Well because the version in patches in newer and using that will tell slackpkg+ to use the older slackware64 version.
After installing or added another repository (e.g., multilib) you need to run:
'slackpkg update gpg' to pickup the signature from the added repository.
'slackpkg update' to update the package database.
The next things to do would be to run:
'slackpkg install multilib' to install the new packages then run:
'slackpkg upgrade-all' to upgrade any existing packages (gcc, glibc); In this case only glibc packages will be upgraded to multilib as I have given priority to the patches version of gcc.
You do not want to use 'slackpkg upgrade multilib'; this tells slackpkg+ to upgrade to the multilib version. The patches gcc will be replaced with the multilib version.
You should not blacklist gcc or glibc; allow slackpkg+ to do it job.
Last edited by chrisretusn; 08-03-2021 at 11:45 AM.
OK. I've made the changes to my /etc/slackpkg/slackpkgplus.conf file to match yours. Now I'm running slackpkg update. It's still reporting problems with the multilib and alienbob repositories even with the changes you suggested.
Code:
root@caitlyn:~# slackpkg update
Updating the package lists...
Downloading...
ChangeLogs
2021-08-03 20:21:38 URL: ftp://ftp.mirrorservice.org/sites/ftp.slackware.com/pub/slackware/slackware64-14.2/ChangeLog.txt [636584] -> "/tmp/slackpkg.8s4XC7/ChangeLog.txt" [2]
Saving ChangeLog.txt from repository slackpkgplus ...
Repository multilib has no ChangeLog.txt.
cp: cannot stat '/repositories/alien/sbrepos/14.2/x86/ChangeLog.txt': No such file or directory
cp: cannot stat '/repositories/alien/sbrepos/14.2/ChangeLog.txt': No such file or directory
cp: cannot stat '/repositories/alien/sbrepos/ChangeLog.txt': No such file or directory
cp: cannot stat '/repositories/alien/ChangeLog.txt': No such file or directory
cp: cannot stat '/repositories/ChangeLog.txt': No such file or directory
Repository alienbob has no ChangeLog.txt.
2021-08-03 20:21:42 URL:https://slakfinder.org/slackpkg+1.7/CHECKSUMS.md5 [2206/2206] -> "/tmp/slackpkg.8s4XC7/CHECKSUMS.md5-slackpkgplus" [1]
https://slakfinder.org/slackpkg+-1.7/CHECKSUMS.md5:
2021-08-03 20:21:43 ERROR 404: Not Found.
!!! F A T A L !!!
Repository 'multilib' FAILS the CHECKSUMS.md5 download
The repository may be invalid and will be SKIPPED.
cp: cannot stat '/repositories/alien/sbrepos/14.2/x86/CHECKSUMS.md5': No such file or directory
!!! F A T A L !!!
Repository 'alienbob' FAILS the CHECKSUMS.md5 download
The repository may be invalid and will be SKIPPED.
No changes in ChangeLog.txt between your last update and now.
Do you really want to download all other files (y/N)? n
==============================================================================
WARNING! One or more errors occurred while slackpkg was running
------------------------------------------------------------------------------
multilib: SKIPPING Invalid repository (fails to download CHECKSUMS.md5)
( http://slakfinder.org/slackpkg+-1.7/CHECKSUMS.md5 )
alienbob: SKIPPING Invalid repository (fails to download CHECKSUMS.md5)
( file://repositories/alien/sbrepos/14.2/x86/CHECKSUMS.md5 )
Here is my /etc/slackpkg/slackpkgplus.conf file. I'm sorry, but I don't remember the syntax (or the tool) to remove comments.
Code:
root@caitlyn:~# cat /etc/slackpkg/slackpkgplus.conf
# Configuration for slackpkg+. See /usr/doc/slackpkg+-*/README for more details
# Please read manpage: "man slackpkgplus.conf" and documentation /usr/doc/slackpkg+-*/README
# Enable (on) / Disable (off) slackpkg+
SLACKPKGPLUS=on
# set to '0' to never show the download progress bar
# set to '1' to show the bar only in download packages (default)
# set to '2' to always show the download bar
# set to '3' for a debug mode
VERBOSE=1
# By default slackpkg+ deny to install 32bit packages.
#
# Set this flag to 'on' allow slackpkg+ to install 32bit packages on a 64bit slackware
# installation (possibly unsafe). Please, do not install both 32 and 64bit of the same
# package to avoid problems, and NEVER upgrade existant 64bit packages with relative 32bit package.
# Do not forget to install the multilibs.
ALLOW32BIT=off
# Enable (1) / Disable (0) the official slackpkg blacklist. May be useful to temporarily skip
# the slackware blacklist. You can also override it from command line:
# 'USEBL=0 slackpkg upgrade-all'
USEBL=1
# Add custom option to 'wget'.
# You can solve the repository indisponibility issue by set a timeout here
WGETOPTS="--timeout=20 --tries=2"
# If you want replace wget with another downloader search DOWNLOADCMD in documentation
# at /usr/doc/slackpkg+-*/README
#DOWNLOADCMD="wget -O"
# Defines if the changelog of any 3rd party repository must be searched in parent URL when not found in base URL.
# Can be set to "on" or "off" (default)
SEARCH_CLOG_INPARENT=on
# Use the cache for metadata files (CHECKSUMS.md5,...). Enable it (on) to speedup the slackpkg update
# process by downloading just new files (see README). Disabled by default (off)
CACHEUPDATE=off
# You can download-only by setting DOWNLOADONLY to 'on'. You may (you should) also use it in commandline
# for example: "DOWNLOADONLY=on slackpkg upgrade-all". Useful for large upgrades.
#DOWNLOADONLY=off
# Enable (on) / Disable (off) notification events (see notifymsg.conf)
#ENABLENOTIFY=off
# Enable (on) / Disable (off) the greylist feature. See /etc/slackpkg/greylist
GREYLIST=on
# Defines if commands 'search' and 'file-search' are case-sensitive (on) or not (off). Default to "on"
SENSITIVE_SEARCH=on
# Defines if command 'file-search' does search Wole Word (on) of accept partial words (off). Note that
# you may obtains many many results searching a short partial word
WW_FILE_SEARCH=on
# Select the show order in dialogbox. Available "package" "repository" "tag" "path" "arch"
SHOWORDER=package
# Allow to show more details of the package in slackpkg info <package>. Accept "none", "basic", "filelist"
DETAILED_INFO=none
# Enable (on) / Disable (off) a Strict GPG Check. A repository should contains packages signed
# with the only original GPG-KEY. In some custom repository may be wanted to mix heterogeneous
# packages; to use that repository set Strict GPG Check to off. P.S: a repository can
# contain just ONE gpg-key; you may manually import the other.
STRICTGPG=on
# If two or more repositories contains some same packages, you can specify
# from which repository you prefer to search it.
# The syntax is "<repository_name>:<package_name>"
# Accepts regular expressions. To give priority to an entire repository use "<repository_name>"
# Examples:
#PKGS_PRIORITY=( restricted:vlc )
# OR
PKGS_PRIORITY=( patches:gcc )
PKGS_PRIORITY=( multilib )
# if you have two reporitories to give priority you must set both in the same line
#PKGS_PRIORITY=( myrepo restricted:vlc )
#
# if you want to install 'ktown' repository you must set it here
#PKGS_PRIORITY=( ktown )
# and DO NOT MISS to read special instruction on /usr/doc/slackpkg+-*/repositories.txt
#
# If you want a multilib system, uncomment the multilib repository and set:
PKGS_PRIORITY=( multilib )
#
# (Use /usr/doc/slackpkg+-*/setupmultilib.sh to setup a multilib configuration)
#
# For both multilib and ktown set
#PKGS_PRIORITY=( multilib ktown )
# Otherwise you can try to upgrade a package from a repository that contains a package with the
# same tag of the already installed package. Tipically that means to upgrade a package from the
# same author of the already installed package.
# Note that this method may not works properly where two repositories contains a package with the
# same tag.
# Set TAG_PRIORITY to 'on' to enable this function
TAG_PRIORITY=off
# List repositories you want to use (defined below)
# remember to launch 'slackpkg update' if you modify that row.
#REPOPLUS=( slackpkgplus restricted alienbob slacky )
REPOPLUS=( slackpkgplus )
# Define mirrors (uncomment one or more mirror; remember to add it to REPOPLUS)
# GPG Note: after adding/renaming a repository, you must to run 'slackpkg update gpg'
# some repositories as salixos, have a partial GPG support;
# for that repositories you may need to run slackpkg with 'slackpkg -checkgpg=off ...'
# Slackware 14.2 - x86_64
MIRRORPLUS['multilib']=http://slakfinder.org/slackpkg+-1.7/
#MIRRORPLUS['alienbob']=http://bear.alienbase.nl/mirrors/people/alien/sbrepos/14.2/x86_64/
#MIRRORPLUS['restricted']=http://bear.alienbase.nl/mirrors/people/alien/restricted_sbrepos/14.2/x86_64/
#MIRRORPLUS['slacky']=http://repository.slacky.eu/slackware64-14.2/
# use this to keep the slackpkg+ package updated
MIRRORPLUS['slackpkgplus']=http://slakfinder.org/slackpkg+1.7/
# use this if you are upgrading to slackware 15.0
#MIRRORPLUS['slackpkgplus']=http://slakfinder.org/slackpkg+15/
# Slackware current - x86_64
#MIRRORPLUS['multilib']=http://bear.alienbase.nl/mirrors/people/alien/multilib/current/
# Local repository:
MIRRORPLUS['alienbob']=file://repositories/alien/sbrepos/14.2/x86/
#
# Local packages (you do not need metadata nor 'slackpkg update' command):
#MIRRORPLUS['myrepo']=dir://repositories/mypackages/
#
# Supported Repositories (see /usr/doc/slackpkg+-* for details and notes):
#
#slackpkgplus: http://slakfinder.org/slackpkg+{,dev,1.6,1.7}/
#multilib: http://bear.alienbase.nl/mirrors/people/alien/multilib/{14.0,14.1,14.2,current}/
#alienbob: http://bear.alienbase.nl/mirrors/people/alien/sbrepos/{14.0,14.1,14.2,current}/{x86,x86_64}/
#ktown: http://bear.alienbase.nl/mirrors/alien-kde/{14.2,current}/5/{x86,x86_64}/
#restricted: http://bear.alienbase.nl/mirrors/people/alien/restricted_sbrepos/{14.0,14.1,14.2,current}/{x86,x86_64}/
#slacky: http://repository.slacky.eu/slackware{,64}-{14.0,14.1,14.2}/
#mleddesktop: http://slackware.uk/microlinux/desktop-{14.1,14.2}-{32,64}bit/
#mledextras: http://slackware.uk/microlinux/extras-{14.1,14.2}-{32,64}bit/
#mles: http://slackware.uk/microlinux/server-{14.0,14.1,14.2}-{32,64}bit/
#msb: http://slackware.uk/msb/{14.0,14.1,14.2,current}/{1.6,1.8,1.10,1.12,1.14,1.16,1.18,1.19,latest}/{x86,x86_64}/
#csb: http://slackware.uk/csb/{14.1,14.2,current}/{x86,x86_64}/
#slackers: http://slack.conraid.net/repository/slackware64-current/
#slacke18: http://ngc891.blogdns.net/pub/slacke18/slackware{,64}-{14.1}/
#studioware: http://slackware.uk/studioware/14.2
#slackonly: http://packages.slackonly.com/pub/packages/{14.1,14.2,current}-{x86,x86_64}/
#rlworkman: http://rlworkman.net/pkgs/{14.0,14.1,14.2,current}/
#slackel: http://www.slackel.gr/repo/{i486,x86_64}/current/
#connochaetos: http://connochaetos.org/slack-n-free/slack-n-free{,64}-{14.2}/
#slint: http://slackware.uk/slint/{i586,x86_64}/slint-{14.2,testing}/
#salixos: http://download.salixos.org/{i486,x86_64}/{14.0,14.1,14.2}/
#salixextra: http://download.salixos.org/{i486,x86_64}/extra-{14.2}/
root@caitlyn:~# slackpkg update gpg
2021-08-04 01:51:03 URL: ftp://ftp.mirrorservice.org/sites/ftp.slackware.com/pub/slackware/slackware64-14.2/GPG-KEY [1572] -> "/tmp/slackpkg.4bkfAg/gpgkey" [1]
pub 1024D/40102233 2003-02-26 Slackware Linux Project <security@slackware.com>
sub 1024g/4E523569 2003-02-26 [expires: 2038-01-19]
2021-08-04 01:51:05 URL:https://slakfinder.org/slackpkg+1.7/GPG-KEY [1805/1805] -> "/tmp/slackpkg.4bkfAg/gpgkey-tmp-slackpkgplus" [1]
pub 2048R/ED123FBC 2011-01-01 Matteo Rossini <zerouno@slacky.it>
sub 2048R/2B41569A 2011-01-01
gpg: key ED123FBC: "Matteo Rossini <zerouno@slacky.it>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
https://slakfinder.org/slackpkg+-1.7/GPG-KEY:
2021-08-04 01:51:07 ERROR 404: Not Found.
!!! W A R N I N G !!!
Repository 'multilib' does NOT contain the GPG-KEY
You SHOULD disable GPG check by setting 'CHECKGPG=off'
in /etc/slackpkg/slackpkg.conf or use slackpkg with
'-checkgpg=off' : 'slackpkg -checkgpg=off install packge'
cp: cannot stat '/repositories/alien/sbrepos/14.2/x86/GPG-KEY': No such file or directory
!!! W A R N I N G !!!
Repository 'alienbob' does NOT contain the GPG-KEY
You SHOULD disable GPG check by setting 'CHECKGPG=off'
in /etc/slackpkg/slackpkg.conf or use slackpkg with
'-checkgpg=off' : 'slackpkg -checkgpg=off install packge'
rm: cannot remove '/tmp/slackpkg.4bkfAg/gpgkey-tmp-alienbob': No such file or directory
Slackware Linux Project's GPG key added
[...]
OK. I've made the changes to my /etc/slackpkg/slackpkgplus.conf file to match yours. Now I'm running slackpkg update. It's still reporting problems Here is my /etc/slackpkg/slackpkgplus.conf file. I'm sorry, but I don't remember the syntax (or the tool) to remove comments.
In the 2nd form, PKGS_PRIORITY is 1st set to "patches:gcc", then the expression PKGS_PRIORITY+=( multilib) add the item "multilib", so that PKGS_PRIORITY is finally set to the same value as the 1st form, that is : ( patches:gcc multilib )
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.