ncmprhnsbl wrote: ↑30 Aug 2022, 02:59
it is now (give some time for mirror propagation, if you've set your mirror via fastest-mirror, which you should)
I presume first running (as root)
and then (as root)
Added in 8 minutes 34 seconds:
^ that was on my i586-Port4.0 - now back on x86-64-Port5.0:
Code: Select all
root@porteus:/Lsfind# fastest-mirror
Checking fastest mirror ...
Testing http://ftp.vim.org/ftp/os/Linux/distr/porteus/ 0.215483
Testing http://ftp.nluug.nl/os/Linux/distr/porteus/ 0.084592
Testing http://mirrors.dotsrc.org/porteus/ 0.147822
Testing https://mirrors.dotsrc.org/porteus/ 0.258695
Testing http://ftp.cc.uoc.gr/pub/linux/porteus/ 0.211628
Testing http://www6.frugalware.org/mirrors/linux/porteus/ 0.280224
Testing http://ftp.riken.jp/Linux/porteus/ 0.790946
Testing http://www.mirrorservice.org/sites/dl.porteus.org/ 0.196288
Testing http://linux.rz.rub.de/porteus/ 0.158406
Testing http://ftpmirror1.infania.net/mirror/porteus/ 0.662943
Testing https://mirror.yandex.ru/mirrors/porteus/ 0.323233
Results:
0.084592 http://ftp.nluug.nl/os/Linux/distr/porteus/
0.147822 http://mirrors.dotsrc.org/porteus/
0.158406 http://linux.rz.rub.de/porteus/
0.196288 http://www.mirrorservice.org/sites/dl.porteus.org/
0.211628 http://ftp.cc.uoc.gr/pub/linux/porteus/
0.215483 http://ftp.vim.org/ftp/os/Linux/distr/porteus/
0.258695 https://mirrors.dotsrc.org/porteus/
0.280224 http://www6.frugalware.org/mirrors/linux/porteus/
0.323233 https://mirror.yandex.ru/mirrors/porteus/
0.662943 http://ftpmirror1.infania.net/mirror/porteus/
0.790946 http://ftp.riken.jp/Linux/porteus/
Would you like to add http://ftp.nluug.nl/os/Linux/distr/porteus/ as your main Porteus server? [y/n]
Porteus server updated in /etc/porteus.conf
So far, so good.
Added in 2 minutes 20 seconds:
Code: Select all
root@porteus:/Lsfind# update-browser -y
Starting checks ...
[OK] User is root.
[OK] Distro is Porteus
Downloading live script ...
Downloading: update-youtube-dl-live DONE
Work will be done in: /tmp
Note: now using yt-dlp instead of youtube-dl.
update-youtube-dl-live
you have version 2022.01.21 installed
Checking http://ftp.nluug.nl/os/Linux/distr/porteus//x86_64/current/modules
The Porteus SERVER version is :
The latest yt-dlp version is : 2022.08.19
You can choose to download the premade module from our server, or download the version from github.
Would you like to download the porteus server version? [y/n]
Downloading: DONE
[ERROR] Download of the yt-dlp module failed.
mirror propagation complete, but update-youtube-dl-live still fails. Now trying the github version.
Added in 6 minutes 16 seconds:
Code: Select all
root@porteus:/Lsfind# update-browser -y
Starting checks ...
[OK] User is root.
[OK] Distro is Porteus
Downloading live script ...
Downloading: update-youtube-dl-live DONE
Work will be done in: /tmp
Note: now using yt-dlp instead of youtube-dl.
you have version 2022.01.21 installed
Checking http://ftp.nluug.nl/os/Linux/distr/porteus//x86_64/current/modules
The Porteus SERVER version is :
The latest yt-dlp version is : 2022.08.19
You can choose to download the premade module from our server,
or download the version from github.
Would you like to download the porteus server version? [y/n]
Would you like to download yt-dlp-2022.08.19 ? [y/n]
Downloading: yt-dlp https://objectsgithubusercontentcom/github-production-release-asset-2e65be/307260205/98dc3b19-1288-44ba-a6b6-0d8f117bb700?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20220830%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220830T045013Z&X-Amz-Expires=300&X-Amz-Signature=64a48bbeaa56ca4212cffcebbaf93d0ae7dac2fb76dba39d1cac5f98003db88a&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=307260205&response-content-disposition=attachment%3B%20filename%3Dyt-dlp&response-content-type=application%2Foctet-st06:50:1 DONE
Downloading: SHA2-256SUMS https://objectsgithubusercontentcom/github-production-release-asset-2e65be/307260205/c8d33a62-f409-4fba-99ff-fb80c5554c65?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20220830%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220830T044944Z&X-Amz-Expires=300&X-Amz-Signature=6c07d67770e33aff4df2d6eb06ab23834d5b0e9e4dad2398edad8bb44ef0ff85&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=307260205&response-content-disposition=attachment%3B%20filename%3DSHA2-256SUMS&response-content-type=application%2Foctet-st06:50: DONE
Verifying download integrity..
Server : a062861444f63fce2e70f6a62fa0cc7b19e9066d379033bf9b71ac2fc3969ab6
Download: a062861444f63fce2e70f6a62fa0cc7b19e9066d379033bf9b71ac2fc3969ab6
Download verified.
Parallel mksquashfs: Using 8 processors
Creating 4.0 filesystem on yt-dlp-2022.08.19-noarch-1ncm.xzm, block size 262144.
[=================================================================-] 11/11 100%
Exportable Squashfs 4.0 filesystem, xz compressed, data block size 262144
compressed data, compressed metadata, compressed fragments,
compressed xattrs, compressed ids
duplicates are removed
Filesystem size 2373.78 Kbytes (2.32 Mbytes)
95.37% of uncompressed filesystem size (2489.09 Kbytes)
Inode table size 210 bytes (0.21 Kbytes)
63.64% of uncompressed inode table size (330 bytes)
Directory table size 182 bytes (0.18 Kbytes)
85.45% of uncompressed directory table size (213 bytes)
Number of duplicate files found 0
Number of inodes 9
Number of files 2
Number of fragments 1
Number of symbolic links 0
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 7
Number of ids (unique uids + gids) 1
Number of uids 1
root (0)
Number of gids 1
root (0)
Your module yt-dlp-2022.08.19-noarch-1ncm.xzm is ready in /tmp
Please copy it to your modules folder or somewhere safe.
root@porteus:/Lsfind# l /tmp/yt-dlp-2022.08.19-noarch-1ncm.xzm
-rw-r--r-- 1 root 2433024 2022-08-30 06:50 /tmp/yt-dlp-2022.08.19-noarch-1ncm.xzm
As I surmised, the resulting module would be smaller than my own.
We remember, mine is 3.51 MB 031-yt-dlp-2022.01.21-x86_64-1smt.xzm or all in bytes:
Code: Select all
root@porteus:/Porteus_modules# l *yt-dlp*
-rw-r--r-- 1 guest 3678208 2022-08-29 17:34 031-yt-dlp-2022.01.21-x86_64-1smt.xzm
lrwxrwxrwx 1 root 37 2022-08-30 00:45 031-yt-dlp-RECENT.xzm -> 031-yt-dlp-2022.01.21-x86_64-1smt.xzm
-rw-r--r-- 1 root 2433024 2022-08-30 06:50 yt-dlp-2022.08.19-noarch-1ncm.xzm
root@porteus:/Porteus_modules# mv yt-dlp-2022.08.19-noarch-1ncm.xzm 031-yt-dlp-2022.08.19-noarch-1ncm.xzm
root@porteus:/Porteus_modules# ln -sf 031-yt-dlp-2022.08.19-noarch-1ncm.xzm 031-yt-dlp-RECENT.xzm
root@porteus:/Porteus_modules# l *yt-dlp*
-rw-r--r-- 1 guest 3678208 2022-08-29 17:34 031-yt-dlp-2022.01.21-x86_64-1smt.xzm
-rw-r--r-- 1 root 2433024 2022-08-30 06:50 031-yt-dlp-2022.08.19-noarch-1ncm.xzm
lrwxrwxrwx 1 root 37 2022-08-30 06:53 031-yt-dlp-RECENT.xzm -> 031-yt-dlp-2022.08.19-noarch-1ncm.xzm
As you might surmise, in porteus/base/ I have a symlink "031-yt-dlp-RECENT.xzm" that links to /Porteus_modules/031-yt-dlp-RECENT.xzm - that is a symlink that links to the most recent module, in our case to 031-yt-dlp-2022.08.19-noarch-1ncm.xzm
Added in 5 minutes 50 seconds:
Why do I do so?
Because that way I can several different porteus/base/* setup (XFCE, KDE, Openbox, whatnot), and all link to the most recent of my modules without the need of updating anything in base/ - I only have to update the nnn-whatever-RECENT.xzm to what the most RECENT actual module is.
Code: Select all
root@porteus:/Porteus_modules# l *RECENT.xzm
lrwxrwxrwx 1 root 37 2022-08-30 06:53 031-yt-dlp-RECENT.xzm -> 031-yt-dlp-2022.08.19-noarch-1ncm.xzm
lrwxrwxrwx 1 root 72 2022-08-19 11:42 985-palemoon-settings--RECENT.xzm -> 985-palemoon-settings--RECENT--2022-08-19-Addons-Updates-Deactivated.xzm
lrwxrwxrwx 1 root 40 2021-11-23 09:32 991-usr_local_bin_Nemesis_RECENT.xzm -> 991-usr_local_bin_Nemesis_2021-11-23.xzm
lrwxrwxrwx 1 root 32 2022-08-29 00:57 991-usr_local_bin_RECENT.xzm -> 991-usr_local_bin_2022-08-29.xzm
lrwxrwxrwx 1 root 35 2021-09-23 00:22 992-rootcopy_5.0rc3a-RECENT.xzm -> 992-rootcopy_5.0rc3a_2021-09-23.xzm
lrwxrwxrwx 1 root 35 2022-08-29 00:57 992-rootcopy_5.0rc3c-RECENT.xzm -> 992-rootcopy_5.0rc3c_2022-08-29.xzm
lrwxrwxrwx 1 root 35 2021-11-23 09:31 992-rootcopy_Nemesis_RECENT.xzm -> 992-rootcopy_Nemesis_2021-11-23.xzm
Unlike what some names might suggest, 992-rootcopy_5.0rc3c-RECENT.xzm and 992-rootcopy_5.0rc3c_2022-08-29.xzm - as you can guess by its name part of "2022-08-29" is no 5.0rc3* module, but a 5.0 finale version one… I am just too lazy to update my make-991-usr_local_bin.sh and make-992-rootcopy.sh scripts [*] that create my most recent settings module on command and also do the symlink creation to that most recent module.
__________________
[*] as you can see here
Code: Select all
root@porteus:/usr/local/bin# l make-99*
-rwxr--r-- 1 root 2822 2021-11-16 03:39 make-991-usr_local_bin.sh
lrwxrwxrwx 1 root 25 2021-02-27 23:06 make-992-rootcopy.sh -> make-991-usr_local_bin.sh
make-991-usr_local_bin.sh is a script and make-992-rootcopy.sh is a symlink, and make-991-usr_local_bin.sh determines what to do according to the name it is executed as.