Porteus-v4.0 bug reports

Please reproduce your error on a second machine before posting, and check the error by running without saved changes or extra modules (See FAQ No. 13, "How to report a bug"). For unstable Porteus versions (alpha, beta, rc) please use the relevant thread in our "Development" section.
Lynch
Ronin
Ronin
Posts: 1
Joined: 24 Apr 2021, 15:54
Distribution: LXDE

Porteus-v4.0 bug reports

Post#226 by Lynch » 24 Apr 2021, 16:13

Notebook Vit M1100, 4.0 LXDE i586
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

beny
Full of knowledge
Full of knowledge
Posts: 2086
Joined: 02 Jan 2011, 11:33
Location: italy

Porteus-v4.0 bug reports

Post#227 by beny » 24 Apr 2021, 21:13

hi, is this the line? APPEND root=UUID=287dc23a-2a41-486d-8b5c-7b4fad7f2cf3 rw i8042.nopnp initcall_blacklist=dw_i2c_init_driver The root uuid is mine you have to add the other line to try if it work for you

User avatar
Rava
Contributor
Contributor
Posts: 5401
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

System i586Port4.0 with 3.1 kernel since the 4.0 kernel crashes at boot.

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
usm fails (just the end of what is reported)

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
but why is getpkg also failing?

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
I know I could use 005-palemoon_29.4.2-1.gtk2_i386.xzm and search via pkgs.org.
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
the downloaded files

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
:cry:
Cheers!
Yours Rava

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
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

Ref your USM update problem, you need to run the usmupdate2021 script.

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

beny
Full of knowledge
Full of knowledge
Posts: 2086
Joined: 02 Jan 2011, 11:33
Location: italy

Porteus-v4.0 bug reports

Post#230 by beny » 20 Dec 2021, 17:10

hi 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

User avatar
Rava
Contributor
Contributor
Posts: 5401
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

Ed_P wrote:
20 Dec 2021, 15:33
Ref your USM update problem, you need to run the usmupdate2021 script.
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.
Image
__________________________
beny wrote:
20 Dec 2021, 17:10
hi 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
Thanks for the find, the download is slow and… delicate:

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
Good there is a md5sums text in there as well (called CHECKSUMS.md5 ). :D
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    
but all is well that ends well:

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

Added in 4 minutes 27 seconds:
Update
I presume that defaulttexteditor is a Puppy thingy?
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
(highlighting by me)

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#
Added in 8 minutes :
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" … Image - just no. B)

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. :celebrate14: )
Cheers!
Yours Rava

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Porteus-v4.0 bug reports

Post#232 by Ed_P » 20 Dec 2021, 21:24

Rava wrote:
20 Dec 2021, 20:24
Sadly, that creates other errors while claiming the usm update was successful.
Those can depend on the mirror you use.
Ed

donald
Full of knowledge
Full of knowledge
Posts: 2064
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

Rava 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 ?
update to ca-certificates-20211216-noarch-1_slack14.2

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

User avatar
Rava
Contributor
Contributor
Posts: 5401
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

Ed_P wrote:
20 Dec 2021, 21:24
Those can depend on the mirror you use.
Regardless, a script should not claim success when an error occurred.
________________________________________________________________
donald wrote:
20 Dec 2021, 21:29
ca-certificates-20211216-noarch-1_slack14.2.txz
as root run update-ca-certificates -f
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
after root rmdir

Code: Select all

root@porteus:/# rmdir /tmp/getpkg
root@porteus:/# 
/tmp/getpkg/FILELIST.TXT downloads, still no geany.

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 ...
Good beny found geany-1.30.1-i686-s750.txz :)

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
as root after each boot or will the system do that automatically?
Cheers!
Yours Rava

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
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

Rava wrote:
21 Dec 2021, 01:46
Can anyone explain why no geany for i386 14.2 Slackware (aside from the Puppy one beny found)
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..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Rava
Contributor
Contributor
Posts: 5401
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

ncmprhnsbl wrote:
21 Dec 2021, 03:00
salix has a 14.2 x86 package: https://download.salixos.org/i486/14.2/ ... 86-1gv.txz
Downloaded it and made it into a module. Thanks. :thumbsup:

Question: from its geany.desktop

Code: Select all

Categories=GTK;Development;IDE;
Is Categories what determines the sub-menu entry in the Porteus main menu?

As comparison here is what geany-1.23.1-x86_64-1gv.xzm geany.desktop has:

Code: Select all

Categories=GTK;Development;IDE;
and that geany creates an menu-entry named "Development" to be its sole occupant of that sub-menu in XFCE4.12's main menu.

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 all other hits for "Development" are only part of its name, I presume what determines the sub-menu a program is integrated into is indeed done by the "Categories=" entry.
Since there is no other hit but part of its name and the "Categories=" entry.
Cheers!
Yours Rava

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
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

Rava wrote:
21 Dec 2021, 09:20
Is Categories what determines the sub-menu entry in the Porteus main menu?
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..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Rava
Contributor
Contributor
Posts: 5401
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

ncmprhnsbl wrote:
21 Dec 2021, 09:41
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..
in geany's case that must be /usr/share/desktop-directories/xfce-development.directory

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:46
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
as root after each boot or will the system do that automatically?
Cheers!
Yours Rava

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3924
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

Rava wrote:
22 Dec 2021, 00:06
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

as root after each boot or will the system do that automatically?
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)
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Rava
Contributor
Contributor
Posts: 5401
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

ncmprhnsbl wrote:
22 Dec 2021, 01:11
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)
would an upgradepkg with ca-certificates-20211216-noarch-1_slack14.2 on an extracted 001-core do the update-ca-certificates -f ?
Cheers!
Yours Rava

Post Reply