Page 20 of 51

ArchLinux packages manager for Porteus

Posted: 24 Sep 2017, 22:31
by neko
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:

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
NEW:

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 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.

ArchLinux packages manager for Porteus

Posted: 25 Sep 2017, 08:31
by neko
NEW example of ISOs that were created by "APorteus ISO builder" were updated.

Refer to ArchLinux packages manager for Porteus (Post by neko #57373)
or
refer to ArchLinux packages manager for Porteus (Post by neko #36689)


Thanks.

ArchLinux packages manager for Porteus

Posted: 29 Sep 2017, 01:45
by neko
NEW example ISOs that were created by "APorteus ISO builder" were updated.

(1) Kernel 4.14-rc2

(2) APorteus BUDGIE example ISOs (v17.09.27 version) included 64Bit Skype.
"Skype for Linux Beta" was introduced by Bogomips.
Bogomips, thank you.
Skype 5.5.0.1 (Post by Bogomips #58590)

Refer to ArchLinux packages manager for Porteus (Post by neko #57373)
or
refer to ArchLinux packages manager for Porteus (Post by neko #36689)



Thanks.

ArchLinux packages manager for Porteus

Posted: 19 Oct 2017, 04:43
by neko
1. "APorteus ISO Builder" was updated to v17.10.18.
Please refer to ArchLinux packages manager for Porteus (Post by neko #36689)

kernel version is 4.13.8.


2. NEW example ISOs that were created by "APorteus ISO builder" were updated.

64 Bit APorteus BUDGIE example ISOs (Language: Italy, Japanese, Portugal/Brazil)

(1) Kernel 4.13.8

(2) google-chrome 62.0.3202.62-1

Refer to ArchLinux packages manager for Porteus (Post by neko #57373)
or
refer to ArchLinux packages manager for Porteus (Post by neko #36689)



Thanks.

ArchLinux packages manager for Porteus

Posted: 19 Oct 2017, 16:12
by M. Eerie
Thank you for your great contribution, neko

I'm trying to build imagemagick and doublecmd modules with no luck. I think imagemagick is missing some parts, and doublecmd fails are python related.

Python output at command line is not working. Will try to reproduce your build and see what happens.

:beer:

ArchLinux packages manager for Porteus

Posted: 19 Oct 2017, 20:14
by beny
hi you have to resync the repository all the packages that you need are here: sorry for the itallian language
[beny@archlinux ~]$ sudo pacman -S imagemagick
attenzione: imagemagick-6.9.9.20-1 è aggiornato ma sarà reinstallato
risoluzione delle dipendenze in corso...
ricerca dei pacchetti in conflitto in corso...

Pacchetti (1) imagemagick-6.9.9.20-1

Dimensione totale dei pacchetti da installare: 9,83 MiB
Dimensione netta dell'aggiornamento: 0,00 MiB

:: Vuoi procedere con l'installazione? [S/n] n
[beny@archlinux ~]$ sudo pacman -S doublecmd
:: Ci sono 2 fornitori disponibili per doublecmd
:: Repository community
1) doublecmd-gtk2 2) doublecmd-qt

Digita un numero (default=1): 1
risoluzione delle dipendenze in corso...
ricerca dei pacchetti in conflitto in corso...

Pacchetti (1) doublecmd-gtk2-0.7.8-1

Dimensione totale dei pacchetti da scaricare: 16,48 MiB
Dimensione totale dei pacchetti da installare: 50,70 MiB

:: Vuoi procedere con l'installazione? [S/n]

ArchLinux packages manager for Porteus

Posted: 19 Oct 2017, 21:37
by M. Eerie
Grazie mille ! :)

ArchLinux packages manager for Porteus

Posted: 20 Oct 2017, 08:39
by neko
1. @M. Eerie
"imagemagick" & "doublecmd" can be gotten
with "Simple Package Manager for ArchLinux" that is included in APorteus.

<How to build imagemagick & doublecmd>
GUI menu -->
ArchLinux Simple Package Manager command
[Common configuration window]
STORAGE: your work directory for package manager. (example:/mnt/sda2/arch)
SITE: your best Arch packages site
CURRENT: your work
COMMAND: archSPM
[archSPM window]
[Option]
Common library basic module numbers: 012

(1) imagemagick
["Simple Package Manager for ArchLinux" window]
"PKG" search key: imagemagick
select: imagemagick-6.9.9.20-1
check: "auto"
push "Download"
select "ocl-icd-2.2.11-x86_64-1" package that includes libOpenCL.so.

The result:
/mnt/sda2/arch/imagemagick-6.9.9.20-x86_64-1.xzm
/mnt/sda2/arch/imagemagick/lib4imagemagick-6.9.9.20-x86_64-1.xzm :....dependending libraries.

(2) doublecmd
["Simple Package Manager for ArchLinux" window]
"PKG" search key: doublecmd
select: doublecmd-gtk2-0.7.8-1
check: "auto"
push "Download"

The result:
/mnt/sda2/arch/doublecmd-gtk2-0.7.8-x86_64-1.xzm


Please refer to the top article of this thread.


Thanks.


2. NEW example ISOs that were created by "APorteus ISO builder" were updated.

32 Bit APorteus LXDE example ISO
(Language: German, Spanish, French, Italy, Japanese, Portugal/Brazil, Russian, Thai)

Kernel 4.13.8


Refer to ArchLinux packages manager for Porteus (Post by neko #57373)
or
refer to ArchLinux packages manager for Porteus (Post by neko #36689)


Thanks.

ArchLinux packages manager for Porteus

Posted: 20 Oct 2017, 22:25
by M. Eerie
Thank you very much, neko

I've been trying your indications, and came up with this module for doublecmd --> https://send.firefox.com/download/0be9e ... _Oo5Y7iGUg

However, when I try to run in the command line, this is the output:
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
ImportError: No module named site
Maybe Python is missing, or not properly installed on system. Exporting PYTHONHOME and PYTHONPATH variables seems to be the solution as pointed here --> https://bbs.archlinux.org/viewtopic.php?id=15856


With ImageMagick, I have an old package working in normal PORTEUS pendrive, but in APorteus is missing some libs (libdjvlibre, libjpeg, etc.)

The module generated by APM https://send.firefox.com/download/7e6e8 ... WyuHt-28Gw is not working
display: error while loading shared libraries: libMagickCore-6.Q16HDRI.so.5: cannot open shared object file: No such file or directory
I will continue investigating

Thanks ;)

ArchLinux packages manager for Porteus

Posted: 21 Oct 2017, 05:56
by neko
1. @M. Eerie
I am sorry for my careless answer.

(1) "doublecmd"
I tested "doublecmd" under APorteus
that includes 004-libreoffice.xzm, 004-oblogout.xzm, and 004-vlc.xzm,
which contain /usr/lib/python2.7.
Therefor the test result was OK.

The module that was merged with doublecmd-gtk2-0.7.8-x86_64-1 and its dependencies(python2-2.7.14-x86_64-1):
doublecmd.xzm was uploaded.
http://www.mediafire.com/file/bdqhvslh5 ... blecmd.xzm


(2) "imagemagick"
The content of imagemagick-6.9.9.20-x86_64-1_BUNDLE.xzm is differ to one of imagemagick-6.9.9.20-x86_64-1.xzm.

The module that was merged with imagemagick-6.9.9.20-x86_64-1 and its dependencies:
imagemagick.xzm was uploaded.
http://www.mediafire.com/file/0twzbs5w9 ... magick.xzm

The module that was merged with imagemagick-6.9.9.20-x86_64-1_BUNDLE and its dependencies:
imagemagick-BUNDLE.xzm was uploaded.
http://www.mediafire.com/file/6mzd0fljk ... BUNDLE.xzm


2. NEW example ISOs that were created by "APorteus ISO builder" were updated.

64 Bit APorteus BUDGIE example ISO
(Language: Russian, German, Spanish, French, Thai)

(1) Kernel 4.13.8

(2) google-chrome 62.0.3202.62-1


Refer to ArchLinux packages manager for Porteus (Post by neko #57373)
or
refer to ArchLinux packages manager for Porteus (Post by neko #36689)



Thanks.

ArchLinux packages manager for Porteus

Posted: 22 Oct 2017, 10:46
by M. Eerie
neko wrote:
21 Oct 2017, 05:56
1. @M. Eerie
I am sorry for my careless answer.

(1) "doublecmd"
I tested "doublecmd" under APorteus
that includes 004-libreoffice.xzm, 004-oblogout.xzm, and 004-vlc.xzm,
which contain /usr/lib/python2.7.
Therefor the test result was OK.

The module that was merged with doublecmd-gtk2-0.7.8-x86_64-1 and its dependencies(python2-2.7.14-x86_64-1):
doublecmd.xzm was uploaded.
http://www.mediafire.com/file/bdqhvslh5 ... blecmd.xzm


(2) "imagemagick"
The content of imagemagick-6.9.9.20-x86_64-1_BUNDLE.xzm is differ to one of imagemagick-6.9.9.20-x86_64-1.xzm.

The module that was merged with imagemagick-6.9.9.20-x86_64-1 and its dependencies:
imagemagick.xzm was uploaded.
http://www.mediafire.com/file/0twzbs5w9 ... magick.xzm

The module that was merged with imagemagick-6.9.9.20-x86_64-1_BUNDLE and its dependencies:
imagemagick-BUNDLE.xzm was uploaded.
http://www.mediafire.com/file/6mzd0fljk ... BUNDLE.xzm


2. NEW example ISOs that were created by "APorteus ISO builder" were updated.

64 Bit APorteus BUDGIE example ISO
(Language: Russian, German, Spanish, French, Thai)

(1) Kernel 4.13.8

(2) google-chrome 62.0.3202.62-1


Refer to ArchLinux packages manager for Porteus (Post by neko #57373)
or
refer to ArchLinux packages manager for Porteus (Post by neko #36689)



Thanks.
Thanks a lot, neko. :Bravo:

Now I have too my machine gun :D

By the way, if anyone is using doublecmd, be carefull to uncheck 'Show Drives button', because you could end up like this:

https://imgur.com/a/CNmkw

:shock:

Also, anyone interested into doublecmd, should take a look at oracle Viewer Technology 8.5.3 section here --> http://www.oracle.com/technetwork/middl ... 97435.html

The uLister plugin for doublecmd provides document viewer for more than 500 file formats.

Download here --> http://download.oracle.com/otn/outsidei ... x86-64.zip (You have to register)

Thanks.

ArchLinux packages manager for Porteus

Posted: 23 Oct 2017, 04:57
by neko
1. @M. Eerie
Thank you for your suggestion on "doublecmd".
I tried to create the build script of "doublecmd and uLister plugin".
But I abandoned it because the oracle licence of "uLister plugin" is needed.

Thanks.

ByTheWay:
@M. Eerie has written
"... I have been using computers and operating systems for 35 years now, .."
Before 35 years, I worked on building driver into BSD UNIX kernel on VAX machine.
Now I forget everything at all.


2. NEW example ISOs that were created by "APorteus ISO builder" were updated.

<Language: English>
size 268 M: LXDE desktop example 32 bit ISO
size 301 M: OPENBOX window manager example 64 bit ISO
size 309 M: E16 desktop example 32 bit ISO
size 780 M: BUDGIE desktop example 32 bit ISO

(1) 32/64 bit Kernel 4.13.9

(2) slimjet 15.1.6.0 : only BUDGIE


Refer to ArchLinux packages manager for Porteus (Post by neko #57373)
or
refer to ArchLinux packages manager for Porteus (Post by neko #36689)



Thanks.

ArchLinux packages manager for Porteus

Posted: 25 Oct 2017, 11:25
by raja
Neko, why recent Budgie ISOs size doubled to around 800MBs?

During shutdown. I see lot of "failed" log entries like could not unmount /live/xxx.yyy. This has been pointed out long ago by one Fred in 2015. Is there any conflict with systemd in Arch and Porteus type booting and remains unsolvable.

I like clean shutdown because one does not want any damage to files in HDD or Flash Drives. Linux OS creates some problems with Fat32/NTFS, sometimes during writing.

I do EFI booting of Windows 10,Porteus and Arch-Budgie with a common flash drive. So I don't want any damage to windows .

I have found more of such error messages with XFCE,LXQT deskktops also.

ArchLinux packages manager for Porteus

Posted: 25 Oct 2017, 13:15
by neko
@raja
Thank you for using APorteus.

1."why recent Budgie ISOs size doubled to around 800MBs?"
Because those ISOs include big size additional modules.

For example: ArchLinux packages manager for Porteus (Post by neko #57823)
APorteus-BUDGIE-v17.10.22-i486.iso (Language: English, 780 M)

Built applications from ISO builder menu ----> total size 422 M
Web browser:....slimjet 15.1.6.0 (66 M)
Mailer:.........thunderbird 52.4.0-1 (47 M)
Messanger:......pidgin (11 M), skype (34 M)
Office:.........libreoffice 5.4.2-2(146 M)
Sound & Video:..vlc (36 M)
Graphic:........gimp (12 M)
Games:..........kpatience (29 M)
Kernel builder:.devel (52 M)

If the additional modules are deleted from ISO, the ISO size will be 347 M.
-rw-r--r-- 1 root root 347279360 10月 25 19:21 APorteus-BUDGIE_mini-v17.10.22-i486.iso.

Code: Select all

% su
# ls -l APorteus-BUDGIE-v17.10.22-i486.iso
-rw-r--r-- 1 root root 779755520 10月 22 18:49 APorteus-BUDGIE-v17.10.22-i486.iso
# dISO APorteus-BUDGIE-v17.10.22-i486.iso
# rm APorteus-BUDGIE-v17.10.22-i486/porteus/modules/*
# mv APorteus-BUDGIE-v17.10.22-i486 APorteus-BUDGIE_mini-v17.10.22-i486
# mkISO APorteus-BUDGIE_mini-v17.10.22-i486
# rm -fr APorteus-BUDGIE_mini-v17.10.22-i486
# ls -l APorteus-BUDGIE_mini-v17.10.22-i486.iso
-rw-r--r-- 1 root root 347279360 10月 25 19:21 APorteus-BUDGIE_mini-v17.10.22-i486.iso

2. "Is there any conflict with systemd in Arch and Porteus type booting and remains unsolvable."
Yes, there is.

It is depending on my poor skill.

At boot process end, the running space is changed with "chroot" command and "systemd" command is executed.
But at end process (reboot/shutdown), the running space is not changed and "systemd" will unmount running self space resulting to fault.

The original Porteus takes care this issue correctly, at boot end the space is changed and at end process the space is recovered.

I will be happy if you have a time to fix this issue and you help me.

ISO@/boot/syslinux/initrd.xz
initrd.xz@/usr/share/systemd/main

Code: Select all

% cat -n main
     1	#================
     2	# FILE          : main
     3	#----------------
     4	# PROJECT       : Porteus
     5	# COPYRIGHT     :
     6	#               :
     7	# AUTHOR        : fanthom <http://www.porteus.org>
     8	#
     9	#               : modified on openSUSE style by neko
    10	#               :
    11	# BELONGS TO    :
    12	#               :
    13	# DESCRIPTION   :
    14	#               :
    15	#               :
    16	# STATUS        :
    17	#----------------
    18	
    19	#======================================
    20	# Set variables
    21	#--------------------------------------
...
   691	#======================================
   692	# 25) Change into LIVE space & start LIVE
   693	#--------------------------------------
   694	echo """live system is ready now - starting Porteus"""
   695	#cp -f /union/sbin/init /bin
   696	#if [ $? -eq 0 ];
   697	#then
   698		pivot_root /union  /union/mnt/live
   699		exec /mnt/live/bin/chroot . $SYSTEMD "$@" <dev/console >dev/console 2>&1
   700	#else
   701		echo """!!ERROR!!"
   702		echo "Something went wrong and I cannot continue."
   703		echo "Press Ctrl+Alt+Del to reboot."""
   704	    sh
   705	#fi
   706	#--------------------< end of main >-----------------------------------#

Thanks.

ArchLinux packages manager for Porteus

Posted: 26 Oct 2017, 20:55
by M. Eerie
@Raja
One of the safer things I think I do whenever I use a live-USB portable distro, is to have Conky monitoring disk I/O, to be sure when a write operation has ended. Since then, the problems have decreased.

The other rule of gold, is to always have backups. Today is a fairly cheap and fast solution. Even you can do it in the cloud where the writing errors are not a concern. Take a look at tools like rclone https://rclone.org/

Also, I have the habit of unmount every single partition I won't use, except the one used to experiment.

If I have the time, I will do a research on how systemd manages unmount operations.

@neko
It's fun to know we're peers. My teacher also worked with VAX machines. I started with a 48k Spectrum and a Commodore we had at class :D

Cheers