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

- Posts: 5424
- Joined: 11 Jan 2011, 02:46
- Distribution: XFCE 5.01 x86_64 + 4.0 i586
- Location: Forests of Germany
Post#1
by Rava » 11 Nov 2023, 10:09
Overall I am happy with Porteus' v5.01 slapt-mod.
But I don't get one thing: most package info files are compressed
Code: Select all
guest@rava:/var/slapt-get$ ls -o --time-style=long-iso .*gz| cut -c 19-$(expr 18 + $(tput cols))
16356 2023-11-11 11:01 .http:##slackware.uk#salix#x86_64#15.0#CHECKSUMS.md5.gz
72497 2023-11-11 11:01 .http:##slackware.uk#salix#x86_64#15.0#PACKAGES.TXT.gz
219945 2023-11-11 11:01 .http:##slackware.uk#salix#x86_64#extra-15.0#CHECKSUMS.md5.gz
1141528 2023-11-11 11:01 .http:##slackware.uk#salix#x86_64#extra-15.0#PACKAGES.TXT.gz
266451 2023-11-11 11:01 .http:##slackware.uk#salix#x86_64#slackware-15.0#PACKAGES.TXT.gz
7891 2023-11-11 11:01 .http:##slackware.uk#salix#x86_64#slackware-15.0#extra#PACKAGES.TXT.gz
21603 2023-11-11 11:01 .http:##slackware.uk#salix#x86_64#slackware-15.0#patches#PACKAGES.TXT.gz
and some are not:
Code: Select all
guest@rava:/var/slapt-get$ ls -o --time-style=long-iso .*txt package_data .*.md5 | cut -c 19-$(expr 18 + $(tput cols))
40151 2023-11-11 11:01 .http:##slackware.uk#salix#x86_64#15.0#ChangeLog.txt
744936 2023-11-11 11:01 .http:##slackware.uk#salix#x86_64#extra-15.0#ChangeLog.txt
1195426 2023-11-11 11:01 .http:##slackware.uk#salix#x86_64#slackware-15.0#CHECKSUMS.md5
2059489 2023-11-11 11:01 .http:##slackware.uk#salix#x86_64#slackware-15.0#ChangeLog.txt
49689 2023-11-11 11:01 .http:##slackware.uk#salix#x86_64#slackware-15.0#extra#CHECKSUMS.md5
8692761 2023-11-11 11:01 package_data
Why are the .*ChangeLog.txt package_data and .*.md5 files not also gz compressed?
Added in 11 minutes 26 seconds:
Detailed example:
the compressed file .http:##slackware.uk#salix#x86_64#extra-15.0#PACKAGES.TXT.gz
is uncompressed 5.16 MB (and compressed it is 1.09 MB)
while the uncompressed file package_data is
8.29 MB
(compressed with standard gzip compression that would be a mere
1.73 MB )
Cheers!
Yours Rava
Rava
-
ncmprhnsbl
- DEV Team

- Posts: 4253
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
-
Contact:
Post#2
by ncmprhnsbl » 19 Nov 2023, 12:58
Rava wrote: ↑11 Nov 2023, 10:21
Why are the .*ChangeLog.txt package_data and .*.md5 files not also gz compressed?
this is a question for the salix repo maintainers, i guess. or slapt-get devs..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44
ncmprhnsbl
-
Rava
- Contributor

- Posts: 5424
- Joined: 11 Jan 2011, 02:46
- Distribution: XFCE 5.01 x86_64 + 4.0 i586
- Location: Forests of Germany
Post#3
by Rava » 19 Nov 2023, 13:41
ncmprhnsbl wrote: ↑19 Nov 2023, 12:58
this is a question for the salix repo maintainers, i guess. or slapt-get devs..
Oh okay, I was mistaken then thinking slapt-mod does some gzip compression on some of the downloaded files. My bad.
Cheers!
Yours Rava
Rava
-
ncmprhnsbl
- DEV Team

- Posts: 4253
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
-
Contact:
Post#4
by ncmprhnsbl » 20 Nov 2023, 00:04
yeah slapt-mod is a fairly simple bash script that only handles the stripping and module creation and directs slapt-get (and installpkg) to do all the package related stuff..
generally though, it more likely that a package manager will download the compressed database files and then decompress them.
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44
ncmprhnsbl