Porteus v5.0rc1 problems

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.
User avatar
Rava
Contributor
Contributor
Posts: 2682
Joined: 11 Jan 2011, 02:46
Distribution: Porteus 5.0rc1 x86-64 XFCe
Location: Forests of Germany

Porteus v5.0rc1 problems

Post#211 by Rava » 21 Nov 2020, 12:07

ncmprhnsbl wrote:
20 Nov 2020, 21:42
thanks for reporting :)
You are very welcome. :beer:


I did not continue the update-browser, but seems the script is too naughty stubborn well coded to be easily stopped:

Code: Select all

Choose a locale from the list.
All other locales will be removed.
1) am	    10) es	19) hr	    28) ml	37) ru	    46) tr
2) ar	    11) es-419	20) hu	    29) mr	38) sk	    47) uk
3) bg	    12) et	21) id	    30) ms	39) sl	    48) vi
4) bn	    13) fi	22) it	    31) nb	40) sr	    49) zh-CN
5) ca	    14) fil	23) ja	    32) nl	41) sv	    50) zh-TW
6) cs	    15) fr	24) kn	    33) pl	42) sw
7) da	    16) gu	25) ko	    34) pt-BR	43) ta
8) el	    17) he	26) lt	    35) pt-PT	44) te
9) en-US    18) hi	27) lv	    36) ro	45) th
#? ^C^C^C^C^C^C^C^C^C^C^C^Z
[1]+  Stopped                 update-browser -d -g
root@porteus:/path# killall update-browser
root@porteus:/path# 
root@porteus:/path# killall update-browser
root@porteus:/path# psg update-browser
 5353 pts/0    T      0:00 /bin/bash /usr/bin/update-browser -d -g
root@porteus:/path# type psg
psg is a function
psg () 
{ 
    /bin/ps ax | /bin/grep "$1" | /bin/grep -v grep
}
root@porteus:/path# 
:ROFL:

But the ultima ratio did it in:

Code: Select all

root@porteus:/path# killall -9 update-browser
[1]+  Killed                  update-browser -d -g
root@porteus:/path# ./update-chrome-live: line 133: read error: 0: Input/output error

Signal caught, cleaning up

root@porteus:/path# psg update-browser
root@porteus:/path# 
Cheers!
Yours Rava

User avatar
Rava
Contributor
Contributor
Posts: 2682
Joined: 11 Jan 2011, 02:46
Distribution: Porteus 5.0rc1 x86-64 XFCe
Location: Forests of Germany

Porteus v5.0rc1 problems

Post#212 by Rava » 22 Nov 2020, 06:46

In case someone might wonder, /Porteus_modules/5.0/chrome/update is a symlink, the target is ext3 fs folder. (the /Porteus_modules/ part being symlink)

Code: Select all

root@porteus:/Porteus_modules/5.0/chrome/update# update-browser -d -g 
 Starting checks ... 
[OK] User is root.
[OK] Distro is Porteus
Downloading live script ...
Downloading: update-chrome-live  DONE
Verifying archive integrity...  100%   MD5 checksums are OK. All good.
Uncompressing update-chrome-live  100%  
  Please enter the path to the directory you want to use 
  to do the file operations:  
/Porteus_modules/5.0/chrome/update
Work will be done in:  /Porteus_modules/5.0/chrome/update 
google-chrome is not installed

 Checking latest google-chrome version ... 
[PASS] Latest ver: 87.0.4280.66

 Finished checks. 


#############################################
Welcome to the Porteus google-chrome updater.

Installed version:    
Porteus server version:   87.0.4280.66 
Latest version:   87.0.4280.66 

 Would you like to download the porteus server version? [y/n]
 Would you like to create the module with the latest version? [y/n]

 Checking for required libs.. 

[OK] libbfd was found
 Set your home page. 
 Leave blank for: https://forum.porteus.org and press Enter to continue.
> 
[PASS] Homepage is available

Choose a locale from the list.
All other locales will be removed.
1) am	    10) en-GB	19) gu	    28) ko	37) pt-BR   46) ta
2) ar	    11) en-US	20) he	    29) lt	38) pt-PT   47) te
3) bg	    12) es	21) hi	    30) lv	39) ro	    48) th
4) bn	    13) es-419	22) hr	    31) ml	40) ru	    49) tr
5) ca	    14) et	23) hu	    32) mr	41) sk	    50) uk
6) cs	    15) fa	24) id	    33) ms	42) sl	    51) vi
7) da	    16) fi	25) it	    34) nb	43) sr	    52) zh-CN
8) de	    17) fil	26) ja	    35) nl	44) sv	    53) zh-TW
9) el	    18) fr	27) kn	    36) pl	45) sw
#? 10
 en-GB locale chosen 
 Would you like to create a Porteus module? [y/n]
Downloading latest google-chrome ...
Downloading: google-chrome-stable_current_amd64.deb  12%
So far so good. But it did not end well.
Returning to that xterm it gave me only the end tail of what the script was doing - xfce4-terminal's scrollback was set to 1000 lines limit:

Code: Select all

home/guest/.config/google-chrome/Default/Extensions/felcaaldnbdncclmgdcncolpebgiejap/1.1_0/main.html
home/guest/.config/google-chrome/Default/Extensions/
[…]
usr/share/gnome-control-center/default-apps/google-chrome.xml
usr/share/menu/
usr/share/menu/google-chrome.menu
usr/share/pixmaps/
and now the errors begin, I presume at one point the working directory switched from /Porteus_modules/5.0/chrome/update to /tmp.

Code: Select all

WARNING:  zero length file home/guest/.config/google-chrome/First Run
WARNING:  zero length file home/guest/.config/google-chrome/Default/Web Data-journal
WARNING:  zero length file usr/man/man1/google-chrome-stable.1.gz
WARNING:  zero length file usr/share/menu/google-chrome.menu
WARNING:  zero length file usr/share/gnome-control-center/default-apps/google-chrome.xml
WARNING:  zero length file usr/share/doc/google-chrome-stable/changelog.gz
WARNING:  zero length file usr/share/applications/browser.desktop
WARNING:  zero length file usr/share/applications/google-chrome.desktop
WARNING:  zero length file usr/share/appdata/google-chrome.appdata.xml
WARNING:  zero length file opt/google/chrome/xdg-settings
WARNING:  zero length file opt/google/chrome/xdg-mime
WARNING:  zero length file opt/google/chrome/v8_context_snapshot.bin
WARNING:  zero length file opt/google/chrome/swiftshader/libGLESv2.so
WARNING:  zero length file opt/google/chrome/resources.pak
WARNING:  zero length file opt/google/chrome/product_logo_64.png
WARNING:  zero length file opt/google/chrome/product_logo_48.png
WARNING:  zero length file opt/google/chrome/product_logo_32.xpm
WARNING:  zero length file opt/google/chrome/product_logo_32.png
WARNING:  zero length file opt/google/chrome/product_logo_256.png
WARNING:  zero length file opt/google/chrome/product_logo_24.png
WARNING:  zero length file opt/google/chrome/product_logo_16.png
WARNING:  zero length file opt/google/chrome/product_logo_128.png
WARNING:  zero length file opt/google/chrome/nacl_irt_x86_64.nexe
WARNING:  zero length file opt/google/chrome/nacl_helper_bootstrap
WARNING:  zero length file opt/google/chrome/nacl_helper
WARNING:  zero length file opt/google/chrome/locales/en-GB.pak
WARNING:  zero length file opt/google/chrome/libGLESv2.so
WARNING:  zero length file opt/google/chrome/libEGL.so
WARNING:  zero length file opt/google/chrome/icudtl.dat
WARNING:  zero length file opt/google/chrome/google-chrome
WARNING:  zero length file opt/google/chrome/default_apps/youtube.crx
WARNING:  zero length file opt/google/chrome/default_apps/gmail.crx
WARNING:  zero length file opt/google/chrome/default_apps/external_extensions.json
WARNING:  zero length file opt/google/chrome/default_apps/drive.crx
WARNING:  zero length file opt/google/chrome/default_apps/docs.crx
WARNING:  zero length file opt/google/chrome/default-app-block
WARNING:  zero length file opt/google/chrome/cron/google-chrome
WARNING:  zero length file opt/google/chrome/crashpad_handler
WARNING:  zero length file opt/google/chrome/chrome_200_percent.pak
WARNING:  zero length file opt/google/chrome/chrome_100_percent.pak
WARNING:  zero length file opt/google/chrome/chrome-sandbox
WARNING:  gzip test failed on usr/man/man1/google-chrome-stable.1.gz
WARNING:  gzip test failed on usr/share/doc/google-chrome-stable/changelog.gz

Slackware package /Porteus_modules/5.0/chrome/update/google-chrome-87.0.4280.66-x86_64-en-GB-1.txz created.
I have a sneaking suspicion the google-chrome-87.0.4280.66-x86_64-en-GB-1.txz might malfunction…

Code: Select all

 Creating Porteus module ... 
Verifying package google-chrome-87.0.4280.66-x86_64-en-GB-1.txz.
Installing package google-chrome-87.0.4280.66-x86_64-en-GB-1.txz:
PACKAGE DESCRIPTION:
Executing install script for google-chrome-87.0.4280.66-x86_64-en-GB-1.txz.
cp: error writing '/tmp/txz2xzm19934/var/lib/pkgtools/scripts/google-chrome-87.0.4280.66-x86_64-en-GB-1': No space left on device
Package google-chrome-87.0.4280.66-x86_64-en-GB-1.txz installed.

gzip: /tmp/txz2xzm19934/usr/man/man1/google-chrome.1.gz: unexpected end of file

gzip: /tmp/txz2xzm19934/usr/man/man1/google-chrome-stable.1.gz: unexpected end of file
Creating /mnt/sdXY/Porteus_modules/5.0/chrome/update/google-chrome-87.0.4280.66-x86_64-en-GB-1.xzm


gzip: /tmp/txz2xzm19934/usr/man/man1/google-chrome.1.gz: unexpected end of file

gzip: /tmp/txz2xzm19934/usr/man/man1/google-chrome-stable.1.gz: unexpected end of file

Your file is at:  /Porteus_modules/5.0/chrome/update/google-chrome-87.0.4280.66-x86_64-en-GB-1.xzm 
Please move it to your modules folder to survive a reboot.
Why trying to create google-chrome-87.0.4280.66-x86_64-en-GB-1.xzm from a path where the files sit in /tmp/txz2xzm19934/ instead e.g. /Porteus_modules/5.0/chrome/update/tmp/txz2xzm19934 ?

Have the extracted files from google-chrome-stable_current_amd64.deb extracted to a path in /tmp/ or one in /Porteus_modules/ ?

/tmp/ has insufficient free space, but all downloads, extracting and creating of txz and xzm should have happened in /Porteus_modules/5.0/chrome/update/ and not in /tmp/ .

And sadly update-browser seems to have no -k aka --keep option, so aside from corrupted google-chrome-87.0.4280.66-x86_64-en-GB-1.txz and corrupted google-chrome-87.0.4280.66-x86_64-en-GB-1.xzm I not even have google-chrome-stable_current_amd64.deb for manually creating the module.
Last edited by Rava on 22 Nov 2020, 06:50, edited 1 time in total.
Reason: text highlighting
Cheers!
Yours Rava

User avatar
Ed_P
Contributor
Contributor
Posts: 5798
Joined: 06 Feb 2013, 22:12
Distribution: 4.0 & 5.0rc2 Cinnamon 64 ISOs
Location: Western NY, USA

Porteus v5.0rc1 problems

Post#213 by Ed_P » 22 Nov 2020, 07:17

FWIW 5.0rc2 ISO boot using the Porteus Browser Tool

Code: Select all

 Starting checks ... 
[OK] User is root.
[OK] Distro is Porteus
Downloading live script ...
Downloading: update-chrome-live  DONE
Verifying archive integrity...  100%   MD5 checksums are OK. All good.
Uncompressing update-chrome-live  100%  
Work will be done in:  /tmp 
google-chrome is not installed

 Checking latest google-chrome version ... 
[PASS] Latest ver: 87.0.4280.66

 Finished checks. 


#############################################
Welcome to the Porteus google-chrome updater.

Installed version:    
Porteus server version:   87.0.4280.66 
Latest version:   87.0.4280.66 

 Would you like to download the porteus server version? [y/n]
Downloading: google-chrome-87.0.4280.66-x86_64-en-US-1.xzm DONE

Your file is at:  /tmp/google-chrome-87.0.4280.66-x86_64-en-US-1.xzm 
Please move it to your modules folder to survive a reboot.

Code: Select all

guest@porteus:~$ ls -lgh /tmp
total 75M
drwx------ 2 users   40 Nov 22 02:03 Temp-7e0c9964-4c37-413a-8b01-0f0b9156258a/
-rw------- 1 root   75M Nov 19 23:44 google-chrome-87.0.4280.66-x86_64-en-US-1.xzm
drwx------ 2 users   40 Nov 21 16:46 mozilla_guest0/
-rw------- 1 users 514K Nov 21 11:32 tmpaddon
guest@porteus:~$ 
Ed

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 2708
Joined: 20 Mar 2012, 03:42
Distribution: 5.0rc1-64bit all-DE+more
Location: australia
Contact:

Porteus v5.0rc1 problems

Post#214 by ncmprhnsbl » 22 Nov 2020, 09:00

Rava wrote:
22 Nov 2020, 06:46
Why trying to create google-chrome-87.0.4280.66-x86_64-en-GB-1.xzm from a path where the files sit in /tmp/txz2xzm19934/ instead e.g. /Porteus_modules/5.0/chrome/update/tmp/txz2xzm19934 ?
because that's where txz2xzm does it's thing.. as it always has..
basicly makes the working directory option useless, unless also implemented in txz2xzm... or not use that and do it directly(installpkg -root $WRKDIR/blah .. etc) in update-chrome-live..
or probly even better: bypass the whole makepkg/txz2zxm part and make a xzm out of the extracted .deb .. unless someone wants a txz specificly..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

raja
Shogun
Shogun
Posts: 243
Joined: 02 May 2017, 09:51
Distribution: v3.2.2-32 and v5.0-rc1-zstd-64
Location: Chennai,India

Porteus v5.0rc1 problems

Post#215 by raja » 22 Nov 2020, 17:28

bypass the whole makepkg/txz2zxm part
Correct. May be due to loyalty to Mother Slackware.

I build Firefox/Opera directly, works just fine
Linux Kernel-4.4.243-32 bit; Linux kernel-5.9.1-64 bit.

User avatar
Rava
Contributor
Contributor
Posts: 2682
Joined: 11 Jan 2011, 02:46
Distribution: Porteus 5.0rc1 x86-64 XFCe
Location: Forests of Germany

Porteus v5.0rc1 problems

Post#216 by Rava » 22 Nov 2020, 23:59

ncmprhnsbl wrote:
22 Nov 2020, 09:00
because that's where txz2xzm does it's thing.. as it always has..
basicly makes the working directory option useless, unless also implemented in txz2xzm... or not use that and do it directly(installpkg -root $WRKDIR/blah .. etc) in update-chrome-live..
or probly even better: bypass the whole makepkg/txz2zxm part and make a xzm out of the extracted .deb .. unless someone wants a txz specificly..
So what can l do getting my module?

Would using dir2xzm instead of txz2xzm do the trick?

And how to prevent update-browser from deleting the downloaded file, google-chrome-stable_current_amd64.deb in this case?
Cheers!
Yours Rava

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 2708
Joined: 20 Mar 2012, 03:42
Distribution: 5.0rc1-64bit all-DE+more
Location: australia
Contact:

Porteus v5.0rc1 problems

Post#217 by ncmprhnsbl » 23 Nov 2020, 04:55

Rava wrote:
22 Nov 2020, 23:59
So what can l do getting my module?
:cry:
Rava wrote:
22 Nov 2020, 23:59
And how to prevent update-browser from deleting the downloaded file, google-chrome-stable_current_amd64.deb in this case?
if you go to <whereever-the-heck-google-keeps-it> grab it directly, put it in the folder you're using as a work directory and the script will find it and use it(and not delete it when it's finished) .. yes, yes, you'll need a browser for that, probly one of the other ones..
i'm considering adding this "keep" type option, the trick is not adding too much complexity, and not breaking stuff.
also need to find another way to find the lastest version, instead of using https://www.whatismybrowser.com/guides/ ... ion/chrome because they block your IP after a while, cause they don't like being scraped for info..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Rava
Contributor
Contributor
Posts: 2682
Joined: 11 Jan 2011, 02:46
Distribution: Porteus 5.0rc1 x86-64 XFCe
Location: Forests of Germany

Porteus v5.0rc1 problems

Post#218 by Rava » 23 Nov 2020, 11:22

ncmprhnsbl wrote:
23 Nov 2020, 04:55
if you go to <whereever-the-heck-google-keeps-it> grab it directly, put it in the folder you're using as a work directory and the script will find it and use it(and not delete it when it's finished) ..
Can your script be hacked so that it only does the downloading and then stops?

Is that part of the plain text script or part of binary makeself?
Cheers!
Yours Rava

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 2708
Joined: 20 Mar 2012, 03:42
Distribution: 5.0rc1-64bit all-DE+more
Location: australia
Contact:

Porteus v5.0rc1 problems

Post#219 by ncmprhnsbl » 23 Nov 2020, 12:33

new version uploaded: now it just makes a module from the extracted .deb, without making a slackware package first, so your issues with running out of space should be dealt with.
also found a better source for the version info, that shouldn't get blocked.
Rava wrote:
23 Nov 2020, 11:22
Can your script be hacked so that it only does the downloading and then stops?
sure
Rava wrote:
23 Nov 2020, 11:22
Is that part of the plain text script or part of binary makeself?
the script (hint "cleanup")
but it's far easier to :
if you go to <whereever-the-heck-google-keeps-it> grab it directly, put it in the folder you're using as a work directory and the script will find it and use it(and not delete it when it's finished) ..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Rava
Contributor
Contributor
Posts: 2682
Joined: 11 Jan 2011, 02:46
Distribution: Porteus 5.0rc1 x86-64 XFCe
Location: Forests of Germany

Porteus v5.0rc1 problems

Post#220 by Rava » 23 Nov 2020, 12:38

ncmprhnsbl wrote:
23 Nov 2020, 12:33
it's far easier to :
if you go to <whereever-the-heck-google-keeps-it> grab it directly, put it in the folder you're using as a work directory and the script will find it and use it(and not delete it when it's finished) ..
brilliant idea! Adding a parameter that makes the script only tell the user the download URL - without downloading. :celebrate3:
Cheers!
Yours Rava

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 2708
Joined: 20 Mar 2012, 03:42
Distribution: 5.0rc1-64bit all-DE+more
Location: australia
Contact:

Porteus v5.0rc1 problems

Post#221 by ncmprhnsbl » 23 Nov 2020, 12:49

Rava wrote:
23 Nov 2020, 12:38
brilliant idea! Adding a parameter that makes the script only tell the user the download URL - without downloading.
that's not what i wrote...
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Rava
Contributor
Contributor
Posts: 2682
Joined: 11 Jan 2011, 02:46
Distribution: Porteus 5.0rc1 x86-64 XFCe
Location: Forests of Germany

Porteus v5.0rc1 problems

Post#222 by Rava » 23 Nov 2020, 12:54

ncmprhnsbl wrote:
23 Nov 2020, 12:49
that's not what i wrote...
no but one can dream. :D
Cheers!
Yours Rava

Post Reply