Can slackpkg+ work on 32bit and 64bit repos at the same time
I run a multi-lib system and use slackpkg+ to manage repos from AlienBob, multilib, ktown, restricted and alien. All 64 bit.
However being a multi-lib system means that I run 32-bit apps like steamclient and that is not in a 64bit repo. So is it possible to run two repos with the same name but different architectures? samac |
I'd say this is asking for trouble. Use 64-bit repos, and then add needed 32-bit compatibility packages. It's well described in AlienBob's multilib documentation.
|
Installing multilib and compatibility packages is not a problem. All is working perfectly. However not all the packages that you run via multilib are available in a multilib-applications repo.
For example: I have been able to download wine and upgrade it via slackpkg+ but not steamclient Perhaps it would be better if the packages that are only available in 32bit versions are made available in a 32bit repo and also in multilib-application repo. These could include: wine steamclient skype google earth etc... samac |
massconvert32.sh
|
I appear to be unable to make my point clearly so I will try yet again. I am not asking how to get multi-lib or multi-lib programs working.
I am trying to get it so that an installed 32bit program will upgrade via slackpkg+ This does not happen at the moment because the 32bit program is not in the 64bit repo. So I am either trying to find a way to run to repos with the same name and different architecture, or suggesting the creation of a new repo for those few 32bit programs that multi-lib enable users wish to run. samac |
Currently slackpkg+ check for arch.
This is needed for repository that contains mixed architecture packages (as was alienbob and others). As workaround edit /var/lib/slackpkg/functions.d/slackpkgplus search that code Code:
if [ "$(basename $1)" == "CHECKSUMS.md5" ];then |
Hello,
Quote:
In the meantime, you can achieve this as below (as root) : 1. save the file /usr/libexec/slackpkgplus/functions.d/slackpkgplus.sh Code:
cd /usr/libexec/slackpkgplus/functions.d Code:
egrep -e ^[a-f0-9]{32} ${TMPDIR}/CHECKSUMS.md5-$PREPO|egrep -- "-(x86_64|noarch)-" |sed -r "s# \./# ./SLACKPKGPLUS_$PREPO/#" >> ${TMPDIR}/CHECKSUMS.md5 Code:
egrep -e ^[a-f0-9]{32} ${TMPDIR}/CHECKSUMS.md5-$PREPO|egrep -- "-(x86_64|noarch|i[3456]86)-" |sed -r "s# \./# ./SLACKPKGPLUS_$PREPO/#" >> ${TMPDIR}/CHECKSUMS.md5 Code:
MIRRORPLUS['repositoryname.x86']=http://url/of/32-bit/repository/ Code:
$ slackpkg update Code:
PKGS_PRIORITY=( repositoryname.x86:packagename ) Cheers. -- SeB |
OK I will make the modification but cannot test it at the moment as there appears to be a problem with alien bob's server.
samac |
I added ALLOW32BIT flag (and some other features) in the development package. Please test it.
Thanks all. AlienBob repository is now up. |
Tried SeB's solution.
The package is steamclient-1.0.0.41-i386-1alien and it has been upgraded in the x86 repo to version 1.0.0.44 I modified the required line to include i[3456]86 Created a new repo alienx86 and pointed it to the correct place slackpkg update gpg slackpkg update Repo was found and files updated slackpkg upgrade-all Found the new slackware updates and the update to slackpkg+ but not steamclient I modified my priorities, but no effect even when I put alienx86:steamclient before alienbob:.* samac |
Have downloaded the development package and will have a look.
samac |
Hello,
Quote:
Code:
for ARGUMENT in $(echo $INPUTLIST); do -- SeB |
mmm
I have only tried the display (dialog, without the real installation). upgrade-all Code:
│ │[ ] amsn-0.98.9-i486-2sl.txz slacky │ │ thankyou. |
Sorry the dev package only picks up the stable version of slackpkg+ , I merged the new slackpkgplus.conf with mw changes and enabled the new switch.
samac |
Hello,
Here is a patch, for slackpkg+/dev (i.e slackpkg+-20131119.2) that should solve the issue with upgrade and upgrade-all : Code:
--- slackpkgplus.sh.orig 2013-11-19 14:39:09.790146073 +0100 -- SeB |
All times are GMT -5. The time now is 12:08 AM. |