ArchLinux packages manager for Porteus
Posted: 24 Sep 2017, 22:31
1. "Integrated Simple Package Management tool" was updated to 17.09.25.
2. APorteus includes "Simple Package Manager of ArchLinux (ArchSPM)".
APorteus Version 17.09.22, there is a bug in ArchSPM.
[bug fix]
/usr/local/share/archspm/bin/archspm.inc
OLD:
NEW:
line 177: "local DBPKG=${PNAME%.files.tar.gz}" ---> "local DBPKG=${PNAME%.pkg.tar.xz}"
line 179: "if [ $PNAME != $DBPKG ]" ---> "if [ $PNAME = $DBPKG ]"
When use APorteus Version 17.09.22, please activate spm-17.09.25-noarch-1.xzm.
http://www.mediafire.com/file/xpoidk96o ... arch-1.xzm
Thanks.
2. APorteus includes "Simple Package Manager of ArchLinux (ArchSPM)".
APorteus Version 17.09.22, there is a bug in ArchSPM.
[bug fix]
/usr/local/share/archspm/bin/archspm.inc
OLD:
Code: Select all
#======================================
# save_arch_cache
#--------------------------------------
# arg1: arch package name with path
save_arch_cache()
{
local ETC=/etc/archspm
local MODIR=`grep -A1 STORAGE: $ETC/simplepm.conf 2> /dev/null | tail -n1`
local CACHEDIR=$MODIR/APKG_CACHE
local PNAME=${1##*/}
if [ -f $CACHEDIR/$PNAME ]
then
## already saved ##
return
fi
local DBPKG=${PNAME%.files.tar.gz}
if [ $PNAME != $DBPKG ]
then
## ArchLinuxDB package ##
return
fi
Code: Select all
#======================================
# save_arch_cache
#--------------------------------------
# arg1: arch package name with path
save_arch_cache()
{
local ETC=/etc/archspm
local MODIR=`grep -A1 STORAGE: $ETC/simplepm.conf 2> /dev/null | tail -n1`
local CACHEDIR=$MODIR/APKG_CACHE
local PNAME=${1##*/}
if [ -f $CACHEDIR/$PNAME ]
then
## already saved ##
return
fi
local DBPKG=${PNAME%.pkg.tar.xz}
if [ $PNAME = $DBPKG ]
then
## Not ArchLinux package ##
return
fi
line 179: "if [ $PNAME != $DBPKG ]" ---> "if [ $PNAME = $DBPKG ]"
When use APorteus Version 17.09.22, please activate spm-17.09.25-noarch-1.xzm.
http://www.mediafire.com/file/xpoidk96o ... arch-1.xzm
Thanks.