Porteus-v4.0 bug reports
Porteus-v4.0 bug reports
Post#226 by Lynch » 24 Apr 2021, 16:13
My touchpad does not work and I tried it in Windows starter and if it works, I have read in the forum a similar problem with KDE where the solution was to add a command line in porteus.cfg but it did not work for me
Lynch
Porteus-v4.0 bug reports
Post#227 by beny » 24 Apr 2021, 21:13
beny
- Rava
- Contributor
- Posts: 5424
- Joined: 11 Jan 2011, 02:46
- Distribution: XFCE 5.01 x86_64 + 4.0 i586
- Location: Forests of Germany
Porteus-v4.0 bug reports
Post#228 by Rava » 20 Dec 2021, 12:54
as you can see, my network works
Code: Select all
root@porteus:/tmp/mc-root# wget example.com
--2021-12-20 13:40:45-- http://example.com/
Resolving example.com (example.com)... 93.184.216.34, 2606:2800:220:1:248:1893:25c8:1946
Connecting to example.com (example.com)|93.184.216.34|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1256 (1.2K) [text/html]
Saving to: ‘index.html’
index.html 100%[===================>] 1.23K --.-KB/s in 0.001s
2021-12-20 13:40:46 (1.42 MB/s) - ‘index.html’ saved [1256/1256]
root@porteus:/tmp/mc-root# file index.html
index.html: HTML document, ASCII text
Code: Select all
root@porteus:/# usm -u all
[…]
Starting slacky database update
Downloading: CHECKSUMS.md5.gz DONE
Downloading: MANIFEST.bz2 DONE
Downloading: PACKAGES.TXT.gz DONE
Downloading: LIBS.TXT.gz DONE
gzip: /var/usm/slacky/CHECKSUMS.md5.gz: unexpected end of file
==============================================================================
WARNING! WARNING! WARNING! WARNING! WARNING!
==============================================================================
One or more errors occurred while usm was running:
FATAL ERROR!
usm update_database 248
Could not decompress: CHECKSUMS.md5.gz
==============================================================================
root@porteus:/# ls -o /var/usm/slacky/CHECKSUMS.md5.gz
-rw-r--r-- 1 root 0 2021-12-20 13:38 /var/usm/slacky/CHECKSUMS.md5.gz
Code: Select all
root@porteus:/# getpkg geany
Checking that mirror is online ...
Looking up mirrors.slackware.com
Making HTTP connection to mirrors.slackware.com
Sending HTTP request.
HTTP request sent; waiting for response.
HTTP/1.1 302 Found
Data transfer complete
HTTP/1.1 302 Found
Using https://mirrors.slackware.com/mirrorlist
Looking up mirrors.slackware.com
Making HTTPS connection to mirrors.slackware.com
SSL callback:certificate has expired, preverify_ok=0, ssl_okay=0
Retrying connection without TLS.
Looking up mirrors.slackware.com
Making HTTPS connection to mirrors.slackware.com
Alert!: Unable to make secure connection to remote host.
lynx: Can't access startfile http://mirrors.slackware.com/mirrorlist
[ERROR] Could not connect to http://mirrors.slackware.com/mirrorlist
And http://mirrors.slackware.com/mirrorlist can be opened in Palemoon just fine.
Then why does getpkg repeatedly fail to get http://mirrors.slackware.com/mirrorlist ?
Added in 9 minutes 12 seconds:
unfortunately searching via pkgs.org for "geany" not gives a single hit for:
Any Slackware distro
i386/i486/i586/i686
only x86-64 hits.

Added in 12 minutes 57 seconds:
then I choose a mirror
https://linux.rz.rub.de/slackware/slackware-14.2/
downloaded https://linux.rz.rub.de/slackware/slack ... LELIST.TXT and https://linux.rz.rub.de/slackware/slack ... /FILE_LIST but none contains geany:
Code: Select all
root@porteus:/mybin/linux/porteus/4.0_i486# grep -i geany FILE_LIST
root@porteus:/mybin/linux/porteus/4.0_i486# grep -i geany FILELIST.TXT
Code: Select all
root@porteus:/mybin/linux/porteus/4.0_i486# ls -o FILE*
-rwxrwxrwx 1 root 1304527 Dec 20 14:05 FILELIST.TXT
-rwxrwxrwx 1 root 346641 Dec 20 14:08 FILE_LIST
root@porteus:/mybin/linux/porteus/4.0_i486# file FILE*
FILELIST.TXT: ASCII text
FILE_LIST: ASCII text

Yours Rava
Rava
- Ed_P
- Contributor
- Posts: 8960
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Porteus-v4.0 bug reports
Post#229 by Ed_P » 20 Dec 2021, 15:33
Code: Select all
#!/bin/sh
# https://forum.porteus.org/viewtopic.php?p=82013#p82013
function Title() {
echo -en "\033]0;$1\a";
}
Title "USM Update"
if [ `whoami` != "root" ]; then
echo "Enter root's password" $(tput bold)$(tput setaf 1) # 1-red, 2-green, 6-cyan, 7-white
su -c "sh $0 $1 $2"; exit
fi
echo $(tput sgr0)
if [ ! -e /etc/usm/usm.conf.bkup ]; then
cp /etc/usm/usm.conf /etc/usm/usm.conf.bkup
fi
sed -i 's^patches slacky salix^patches salix^' /etc/usm/usm.conf
usm -u all
rm --force /var/usm/slacky/*
touch /var/usm/slacky/{CHECKSUMS.md5,LIBS.TXT,OPTIFEST,PACKAGES.TXT};
#https://forum.porteus.org/viewtopic.php?p=82046#p82046usm/slacky
echo "ls /var/usm/slacky/"
ls /var/usm/slacky/
echo "ls /var/lock/usm*"
ls /var/lock/usm*
rm --force /var/lock/usm.*
cp /etc/usm/usm.conf.bkup /etc/usm/usm.conf
echo "USM Update done."
echo "Press Enter to exit"
read
Ed_P
Porteus-v4.0 bug reports
Post#230 by beny » 20 Dec 2021, 17:10
http://ftp.vcu.edu/pub/gnu_linux/puppyl ... 4.2/puppy/ there are geany and geany plugins i686
beny
- Rava
- Contributor
- Posts: 5424
- Joined: 11 Jan 2011, 02:46
- Distribution: XFCE 5.01 x86_64 + 4.0 i586
- Location: Forests of Germany
Porteus-v4.0 bug reports
Post#231 by Rava » 20 Dec 2021, 20:09
Sadly, that creates other errors while claiming the usm update was successful.
I executed your script as root and this is the result (only the last part printed here, the successful updates do not bother)
Code: Select all
Starting slackonly database update
Downloading: CHECKSUMS.md5.gz DONE
Downloading: MANIFEST.bz2 DONE
Downloading: PACKAGES.TXT.gz DONE
Downloading: LIBS.TXT.gz DONE
gzip: /var/usm/slackonly/CHECKSUMS.md5.gz: unexpected end of file
==============================================================================
WARNING! WARNING! WARNING! WARNING! WARNING!
==============================================================================
One or more errors occurred while usm was running:
FATAL ERROR!
usm update_database 248
Could not decompress: CHECKSUMS.md5.gz
==============================================================================
ls /var/usm/slacky/
CHECKSUMS.md5 LIBS.TXT OPTIFEST PACKAGES.TXT
ls /var/lock/usm*
ls: cannot access '/var/lock/usm*': No such file or directory
USM Update done.

__________________________
Thanks for the find, the download is slow and… delicate:beny wrote: ↑20 Dec 2021, 17:10hi Rava take a look at this link:
http://ftp.vcu.edu/pub/gnu_linux/puppyl ... 4.2/puppy/ there are geany and geany plugins i686
Code: Select all
geany-plugins-1.30- 62%[++++++++++=> ] 763.20K 21.3KB/s in 16s
2021-12-20 21:01:33 (6.16 KB/s) - Connection closed at byte 781515. Retrying

I definitely check the md5sum when geany-1.30.1-i686-s750.txz is finally downloaded. Which can take its time considering the gigantic download speed of --.-KB/s: </irony>
Code: Select all
64%[===========> ] 1.93M --.-KB/s eta 50s
Code: Select all
guest@porteus:/mybin/linux/porteus/4.0_i486$ grep geany-1.30.1-i686-s750.txz CHECKSUMS.md5
85c4859b9d4a6d94768db320289d307a ./geany-1.30.1-i686-s750.txz
guest@porteus:/mybin/linux/porteus/4.0_i486$ md5sum geany-1.30.1-i686-s750.txz
85c4859b9d4a6d94768db320289d307a geany-1.30.1-i686-s750.txz

Added in 4 minutes 27 seconds:
Update
I presume that defaulttexteditor is a Puppy thingy?
(highlighting by me)root@porteus:/mybin/linux/porteus/4.0_i486# txz2xzm geany-1.30.1-i686-s750.txz
Verifying package geany-1.30.1-i686-s750.txz.
Installing package geany-1.30.1-i686-s750.txz:
PACKAGE DESCRIPTION:
# Light weight powerful gtk text editor and IDE
#
Executing install script for geany-1.30.1-i686-s750.txz.
/bin/bash: line 3: usr/local/bin/defaulttexteditor: No such file or directory
chmod: cannot access 'usr/local/bin/defaulttexteditor': No such file or directory
Setting geany as defaulttexteditor
Package geany-1.30.1-i686-s750.txz installed.
Creating /mybin/linux/porteus/4.0_i486/geany-1.30.1-i686-s750.xzm
Seems that part was just ignored:
Code: Select all
root@porteus:/mybin/linux/porteus/4.0_i486# lsxzm geany-1.30.1-i686-s750.xzm |grep default
root@porteus:/mybin/linux/porteus/4.0_i486#
I think I need to tweak the .desktop file.
It sets up geany in the main-menu sub-menu of "Other" instead of "Programming" like the x86-64 geany does…
I prefer programming as sub-menu and category for geany, thank you very much. </picky>
A geany filed in just "other" …


Added in 2 minutes 58 seconds:
And I hope the work I put in creating a dark geany by changing its default settings to look better with the dark XFCE theme also works for that i586 geany without any further tweaking. (Lazy Rava is lazy)
But I have to visit my main machine for getting the geany default settings (I have one for /home/guest and one for /root - even when technically they are the same, I just do not want a file with guest.users ownership in /root . Also no unwritable-for-guest file in /home/guest owned by root either.

Yours Rava
Rava
Ed_P
-
- Full of knowledge
- Posts: 2106
- Joined: 17 Jun 2013, 13:17
- Distribution: Porteus 3.2.2 XFCE 32bit
- Location: Germany
Porteus-v4.0 bug reports
Post#233 by donald » 20 Dec 2021, 21:29
update to ca-certificates-20211216-noarch-1_slack14.2Rava wrote: ↑20 Dec 2021, 13:16....but why is getpkg also failing?
And http://mirrors.slackware.com/mirrorlist can be opened in Palemoon just fine.
Then why does getpkg repeatedly fail to get http://mirrors.slackware.com/mirrorlist ?
as root run update-ca-certificates -f
result:
Code: Select all
root@porteus:/home/guest# getpkg geany
Checking that mirror is online ...
--2021-12-20 22:20:29-- https://dfw.mirror.rackspace.com/slackware//slackware-current/FILELIST.TXT
Resolving dfw.mirror.rackspace.com (dfw.mirror.rackspace.com)... 74.205.112.120
Connecting to dfw.mirror.rackspace.com (dfw.mirror.rackspace.com)|74.205.112.120|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1412956 (1.3M) [text/plain]
Saving to: ‘/tmp/getpkg/FILELIST.TXT’
FILELIST.TXT 100%[===================>] 1.35M 610KB/s in 2.3s
2021-12-20 22:20:33 (610 KB/s) - ‘/tmp/getpkg/FILELIST.TXT’ saved [1412956/1412956]
[ERROR] Could not find geany in slackware repo.
User aborted ...
Cleaning up ...
donald
- Rava
- Contributor
- Posts: 5424
- Joined: 11 Jan 2011, 02:46
- Distribution: XFCE 5.01 x86_64 + 4.0 i586
- Location: Forests of Germany
Porteus-v4.0 bug reports
Post#234 by Rava » 21 Dec 2021, 01:26
Regardless, a script should not claim success when an error occurred.
________________________________________________________________
First it failed cause root created /tmp/getpkg
Code: Select all
getpkg geany
Checking that mirror is online ...
--2021-12-21 02:36:00-- https://dfw.mirror.rackspace.com/slackware//slackware-current/FILELIST.TXT
Resolving dfw.mirror.rackspace.com (dfw.mirror.rackspace.com)... 74.205.112.120
Connecting to dfw.mirror.rackspace.com (dfw.mirror.rackspace.com)|74.205.112.120|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1412956 (1.3M) [text/plain]
/tmp/getpkg/FILELIST.TXT: Permission denied
Cannot write to ‘/tmp/getpkg/FILELIST.TXT’ (Success).
touch: cannot touch '/tmp/getpkg/FILELIST.TXT': Permission denied
[ERROR] Could not find /tmp/getpkg/FILELIST.TXT
Code: Select all
root@porteus:/# rmdir /tmp/getpkg
root@porteus:/#
Code: Select all
guest@porteus:/myPorteus_modules2/guest/4.0i586$ getpkg geany
--2021-12-21 02:36:45-- https://dfw.mirror.rackspace.com/slackware//slackware-current/FILELIST.TXT
Resolving dfw.mirror.rackspace.com (dfw.mirror.rackspace.com)... 74.205.112.120
Connecting to dfw.mirror.rackspace.com (dfw.mirror.rackspace.com)|74.205.112.120|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1412956 (1.3M) [text/plain]
Saving to: ‘/tmp/getpkg/FILELIST.TXT’
FILELIST.TXT 100%[===================>] 1.35M 16.0KB/s in 1m 43s
2021-12-21 02:38:29 (13.4 KB/s) - ‘/tmp/getpkg/FILELIST.TXT’ saved [1412956/1412956]
[ERROR] Could not find geany in slackware repo.
User aborted ...
Cleaning up ...

Added in 20 minutes 45 seconds:
Can anyone explain why no geany for i386 14.2 Slackware (aside from the Puppy one beny found)
donald, when I put ca-certificates-20211216-noarch-1_slack14.2.xzm into $PORTDIR/base/ do I have to run
Code: Select all
update-ca-certificates -f
Yours Rava
Rava
- ncmprhnsbl
- DEV Team
- Posts: 4293
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
Porteus-v4.0 bug reports
Post#235 by ncmprhnsbl » 21 Dec 2021, 03:00
geany is on SBo...
however, salix has a 14.2 x86 package: https://download.salixos.org/i486/14.2/ ... 86-1gv.txz
why pkgs.org fails to list it would be a question for them..
ncmprhnsbl
- Rava
- Contributor
- Posts: 5424
- Joined: 11 Jan 2011, 02:46
- Distribution: XFCE 5.01 x86_64 + 4.0 i586
- Location: Forests of Germany
Porteus-v4.0 bug reports
Post#236 by Rava » 21 Dec 2021, 09:20
Downloaded it and made it into a module. Thanks.ncmprhnsbl wrote: ↑21 Dec 2021, 03:00salix has a 14.2 x86 package: https://download.salixos.org/i486/14.2/ ... 86-1gv.txz

Question: from its geany.desktop
Code: Select all
Categories=GTK;Development;IDE;
As comparison here is what geany-1.23.1-x86_64-1gv.xzm geany.desktop has:
Code: Select all
Categories=GTK;Development;IDE;
Code: Select all
root@porteus:/mnt/live/memory/images# grep Development 021-geany-1.23.1-x86_64-1gv.xzm/usr/share/applications/geany.desktop
GenericName=Integrated Development Environment
GenericName[en_GB]=Integrated Development Environment
GenericName[id]=Integrated Development Environment
Categories=GTK;Development;IDE;
Since there is no other hit but part of its name and the "Categories=" entry.
Yours Rava
Rava
- ncmprhnsbl
- DEV Team
- Posts: 4293
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
Porteus-v4.0 bug reports
Post#237 by ncmprhnsbl » 21 Dec 2021, 09:41
yes.. in xfce this is determined by the combination of /etc/xdg/menus/xfce-applications.menu and /usr/share/desktop-directories/* ..
the latter being where the categories are defined..
ncmprhnsbl
- Rava
- Contributor
- Posts: 5424
- Joined: 11 Jan 2011, 02:46
- Distribution: XFCE 5.01 x86_64 + 4.0 i586
- Location: Forests of Germany
Porteus-v4.0 bug reports
Post#238 by Rava » 22 Dec 2021, 00:06
in geany's case that must be /usr/share/desktop-directories/xfce-development.directoryncmprhnsbl wrote: ↑21 Dec 2021, 09:41in xfce this is determined by the combination of /etc/xdg/menus/xfce-applications.menu and /usr/share/desktop-directories/* ..
the latter being where the categories are defined..
Since I do not find GTK nor IDE in /etc/xdg/menus/xfce-applications.menu nor /usr/share/desktop-directories/* I presume these mean Categories in the literal sense but not in the xfce-applications.menu sense. Most probably true for other DEs as well.
ncmprhnsbl do you happen to know the answer to this as well:
Rava wrote: ↑21 Dec 2021, 01:46when I put ca-certificates-20211216-noarch-1_slack14.2.xzm into $PORTDIR/base/ do I have to runas root after each boot or will the system do that automatically?Code: Select all
update-ca-certificates -f
Yours Rava
Rava
- ncmprhnsbl
- DEV Team
- Posts: 4293
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
Porteus-v4.0 bug reports
Post#239 by ncmprhnsbl » 22 Dec 2021, 01:11
afaiaa, the system does not.
try: update-ca-certificates -f then make a module of /etc/ssl/certs/ca-certificates.crt
and you like, merge both of them into 001-core (or even better do an upgradepkg with ca-certificates-20211216-noarch-1_slack14.2 on an extracted 001-core)
ncmprhnsbl
- Rava
- Contributor
- Posts: 5424
- Joined: 11 Jan 2011, 02:46
- Distribution: XFCE 5.01 x86_64 + 4.0 i586
- Location: Forests of Germany
Porteus-v4.0 bug reports
Post#240 by Rava » 22 Dec 2021, 01:41
would an upgradepkg with ca-certificates-20211216-noarch-1_slack14.2 on an extracted 001-core do the update-ca-certificates -f ?ncmprhnsbl wrote: ↑22 Dec 2021, 01:11try: update-ca-certificates -f then make a module of /etc/ssl/certs/ca-certificates.crt
and you like, merge both of them into 001-core (or even better do an upgradepkg with ca-certificates-20211216-noarch-1_slack14.2 on an extracted 001-core)
Yours Rava
Rava