Librepup 6.0.2.2

For talk and support relating specifically to Puppy derivatives
Post Reply
Message
Author
musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#121 Post by musher0 »

Iguleder wrote:(...)
musher0 wrote:Works ok here.
Are you sure about that? :lol:
(...)
Yep! :) Squished the old db-something you worked on with the new one
in /usr/local/petget, like you said.

Then tested updating the entire trisquel db of progs. Result ok.
Then tested download/installation of speedcrunch with PPM. Result ok.
No fault, no segfault, works a breeze.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#122 Post by musher0 »

Hello all.

Re: the lm-sensors package acting funny in LibrePup.

The pic below was obtained from a script in PPrecise-5.4.3 using the lm-
sensors package provided with the CPU-temp-1.7 package assembled
by our colleague rscrn21.

What do we see? At least two of the three results come from proprietary
drivers: i2c / radeon.

With whatever package of lm-sensors, whether /etc/modules is a file or
a folder, it won't work. The problem is way upstream: the ROMS are
proprietary, and LibrePup not having any proprietary thingy... The logic
of this hits you like a slap in the face.

Shucks, I'll have to rework my pekwm script to take this into account:
something like "skip the menu line if no temperature results".

BFN.
Attachments
2-proprietary-ROMS_2015-10-01.jpg
Screen capture from PPrecise-5.4.3, NOT LibrePup.
(52.1 KiB) Downloaded 420 times
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#123 Post by musher0 »

Iguleder wrote:(...)
musher0 wrote:Works ok here.
Are you sure about that? :lol:
(...)
Hi, Iguleder.

Second take on this:
Have the other guys checked || defrag'ed their partitions recently? This
is not a WhineDose joke: defrag happens on Linux filesystems too;
more slowly, but it happens.

A partition with many scattered "extents" can provoke segfaults out of
nowhere. Defrag that /root/.packages folder, fsck that pupsave, and the
segfault error might just go away. It may not, but one should check the
possibility of disk fragmentation before starting to chop code. The PPM
process is disk-intensiive, it is more likely than other apps to divide the
files it uses in multiple "extents".

Any frequently used db presents a frag risk: a large opera bookmarks
file, for example. As well, most of the members on this thread are
developers and testers, which usually means heavy use of a partition.

My 2¢.
~~~~~~~~

While I'm on the subject, this is one thing I appreciate about LibrePup:
it does an fsck of the home partition at every boot, in addition to the
pfix=fsck option for the pupsave.

Keep in mind that even if your partition has a frag rate of 0.5%, which
means your fs is speedy and healthy, that 0.5% fragmentation may be
caused by the big db file you're using all the time. A very tough
problem, that.

BFN.

musher0
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
Iguleder
Posts: 2026
Joined: Tue 11 Aug 2009, 09:36
Location: Israel, somewhere in the beautiful desert
Contact:

#124 Post by Iguleder »

It has nothing to do with file systems. I compared the old and new debdb2pupdb side-by-side and with tmpfs, so no disk was involved :)
[url=http://dimakrasner.com/]My homepage[/url]
[url=https://github.com/dimkr]My GitHub profile[/url]

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#125 Post by musher0 »

Iguleder wrote:It has nothing to do with file systems. I compared the old and new debdb2pupdb side-by-side and with tmpfs, so no disk was involved :)
Well, it has to store the db it downloads somewhere! But if you say so.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
Iguleder
Posts: 2026
Joined: Tue 11 Aug 2009, 09:36
Location: Israel, somewhere in the beautiful desert
Contact:

#126 Post by Iguleder »

The database is downloaded to /tmp as well and I ran debdb2pupdb manually to ensure zero download times.
[url=http://dimakrasner.com/]My homepage[/url]
[url=https://github.com/dimkr]My GitHub profile[/url]

User avatar
Iguleder
Posts: 2026
Joined: Tue 11 Aug 2009, 09:36
Location: Israel, somewhere in the beautiful desert
Contact:

#127 Post by Iguleder »

There you go: a fixed debdb2pupdb binary.

This parser runs in two modes: either via woof-CE or via PPM. I tested only the first use case, but there was a crash that happens 100% of the time when it runs via PPM. Fixed :)

Still working on the find_cat replacement and it's crucial to have this thing replaced. It's the only reason why PPM's database update is so slow now.
[url=http://dimakrasner.com/]My homepage[/url]
[url=https://github.com/dimkr]My GitHub profile[/url]

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#128 Post by musher0 »

Iguleder?

Find_cat? Phone the SPCA... :twisted:

I mean if you don't believe that /root/.packages and the general trisquel
or slackware or trustythar listings needed for PPM are not somehow
stored on disk, you might as well call the spca to find a cat.

On some of my pups, ROX-Filer "properties" says the size of
/root/.packages is +/- 13 Mb's. That's proof to me of disk occupation!

But who am I talking to? The brilliant updater of PPM. Very-very weird.
(Sound effect needed here: three-note science-fiction weirdness jingle.)

BFN.

musher0
Last edited by musher0 on Thu 01 Oct 2015, 19:04, edited 1 time in total.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
mavrothal
Posts: 3096
Joined: Mon 24 Aug 2009, 18:23

#129 Post by mavrothal »

Iguleder wrote:There you go: a fixed debdb2pupdb binary.

This parser runs in two modes: either via woof-CE or via PPM. I tested only the first use case, but there was a crash that happens 100% of the time when it runs via PPM. Fixed :)

Still working on the find_cat replacement and it's crucial to have this thing replaced. It's the only reason why PPM's database update is so slow now.
It works fine in PPM.

Talking about PPM, besides find_cat, another 2 "crawlers" is fixmenus and indexgen.sh. Would be nice if (even some of) the endless "sed'ings" and "grep'ings" could be replaced with bash builtins that are way faster, or some other scripting magic (techno?)
== [url=http://www.catb.org/esr/faqs/smart-questions.html]Here is how to solve your[/url] [url=https://www.chiark.greenend.org.uk/~sgtatham/bugs.html]Linux problems fast[/url] ==

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#130 Post by musher0 »

musher0 wrote:Iguleder?

Find_cat? Phone the SPCA... :twisted:

I mean if you don't believe that /root/.packages and the general trisquel
or slackware or trustythar listings needed for PPM are not somehow
stored on disk, you might as well call the spca to find a cat.

On some of my pups, ROX-Filer "properties" says the size of
/root/.packages is +/- 13 Mb's. That's proof to me of disk occupation!

But who am I talking to? The brilliant updater of PPM. Very-very weird.
(Sound effect needed here: three-note science-fiction weirdness jingle.)

BFN.

musher0
My apologies. The above is too emotional to be useful to this thread.

BFN.

musher0
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
Iguleder
Posts: 2026
Joined: Tue 11 Aug 2009, 09:36
Location: Israel, somewhere in the beautiful desert
Contact:

#131 Post by Iguleder »

Almost ready! Takes less than a second for the entire process, while the old one takes almost a second per package (and I have 40,000+ of them). :D

Yes, fixmenus is horrible too. Need to get rid of it ASAP.
[url=http://dimakrasner.com/]My homepage[/url]
[url=https://github.com/dimkr]My GitHub profile[/url]

User avatar
Billtoo
Posts: 3720
Joined: Tue 07 Apr 2009, 13:47
Location: Ontario Canada

Librepup 6.0.2.0

#132 Post by Billtoo »

There was no segmentation fault with the latest debdb2pupdb, didn't seem
to be much quicker though.
The manual frugal installation to an ext4 32gb usb-2.0 of my
custom-puppy.iso is working well.
Attachments
remaster.jpg
(91.99 KiB) Downloaded 210 times

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#133 Post by musher0 »

Hello all.

What is this line doing in /etc/rc.d/rc.local?

Code: Select all

[ -x /etc/init.d/sfs_load ] && /etc/init.d/sfs_load start
Isn't it a useless repeat of what /etc/init.d/sfs_load is already doing?
Since, according to Linux theory, everything in /etc is supposed to be
executed automatically.

This is not a criticism, it is a sincere question. I wish to know why we
would apparently be loading sfs_load twice.

I have this problem with sfs's in LibrePup: it loads its devx but not the
other sfs's -- although the boot manager says they are loaded. I have a
big sfs with java JRE and apps that loads fine in other pups but not here.
Could this double activation of sfs_load be the cause?

Or is some Trisquel script barring the load of java apps because java is
not GPL2? Probably not, since Médor's sfs of abiword 3 would not load
either. I had to "pour" its content in the pupsave to get a valid abiword 3
running. Still, an answer about tolerance of java in Trisquel or Trisquel
derivatives would be appreciated.

Thanks in advance for any leads.

Best regards.

musher0
Last edited by musher0 on Thu 01 Oct 2015, 22:09, edited 2 times in total.
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#134 Post by 01micko »

There you go: a fixed debdb2pupdb binary.
Yes it works but there are still issues to iron out. The stuff in the screeny causes the database to appear as a 'data' file, not text.
Attachments
capture20606.png
(31.44 KiB) Downloaded 158 times
Last edited by 01micko on Thu 01 Oct 2015, 22:20, edited 1 time in total.
Puppy Linux Blog - contact me for access

musher0
Posts: 14629
Joined: Mon 05 Jan 2009, 00:54
Location: Gatineau (Qc), Canada

#135 Post by musher0 »

01micko wrote:Yes it works but there are still issues to iron out. The stuff in the screeny causes the database to appear as a 'data' file, not text.
Hi 01micko

What question does this reply answer?
Thanks in advance for keeping us focused.

BFN.

musher0
musher0
~~~~~~~~~~
"You want it darker? We kill the flame." (L. Cohen)

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#136 Post by 01micko »

@musher0, yes I fixed my previous post. Thanks.
Puppy Linux Blog - contact me for access

User avatar
Iguleder
Posts: 2026
Joined: Tue 11 Aug 2009, 09:36
Location: Israel, somewhere in the beautiful desert
Contact:

#137 Post by Iguleder »

It's ready! I committed new find_cat and debdb2pupdb binaries to woof-CE. The database update in PPM should take about 10-15 seconds now, compared to 10-15 minutes. :P

Put them in /usr/local/petget and tell me what you think. There's a big chance that some packages previously not shown in PPM will appear there, because the category guessing code is much smarter now.
01micko wrote:Yes it works but there are still issues to iron out. The stuff in the screeny causes the database to appear as a 'data' file, not text.
Yes, this is some weird stuff I noticed while working on find_cat. Investigating! :D

EDIT: fixed! 8)
[url=http://dimakrasner.com/]My homepage[/url]
[url=https://github.com/dimkr]My GitHub profile[/url]

User avatar
Billtoo
Posts: 3720
Joined: Tue 07 Apr 2009, 13:47
Location: Ontario Canada

Librepup 6.0.2.0

#138 Post by Billtoo »

Iguleder wrote:It's ready! I committed new find_cat and debdb2pupdb binaries to woof-CE. The database update in PPM should take about 10-15 seconds now, compared to 10-15 minutes. :P
Wow, that is fast, took about 2 seconds to update ppm.

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#139 Post by 01micko »

Iguleder wrote:
01micko wrote:Yes it works but there are still issues to iron out. The stuff in the screeny causes the database to appear as a 'data' file, not text.
Yes, this is some weird stuff I noticed while working on find_cat. Investigating! :D

EDIT: fixed! 8)
Hmm.. still got the dodgy chars in trisquel database. Was fast tho and does work.
Puppy Linux Blog - contact me for access

User avatar
Iguleder
Posts: 2026
Joined: Tue 11 Aug 2009, 09:36
Location: Israel, somewhere in the beautiful desert
Contact:

#140 Post by Iguleder »

@01micko - attach the relevant parts of Packages-* files, I want to see which fields are corrupt.

Besides those small issues here and there (which I'm not worried about), PPM seems to work great. I was able to install several window managers, abrowser with plugins, etc',

@mavrothal - maybe you should change PPM's default settings, to kick those urxvt windows. The UI seems to work just fine and they kinda ruin the user experience IMHO.

@01micko, @pemasu - I fixed ca-certificates using this pinstall.sh:

Code: Select all

#!/bin/sh
CWD="`pwd`"
if [ "$CWD" != "/" ]; then #woof
 cd ./usr/share/ca-certificates
 find -type f | cut -c 3- > ../../../etc/ca-certificates.conf
 cd "$CWD"
 chroot . /usr/sbin/update-ca-certificates --fresh
else
 /usr/sbin/update-ca-certificates --fresh
fi
Now, QupZilla works out-of-the-box. :)

The only remaining problem I wish to fix for the next release is AbiWord, which needs to be updated to the tahrpup 3.0.0 package. For some reason 1download prefers an older package, although the Librepup repository has the highest priority and the right package.
[url=http://dimakrasner.com/]My homepage[/url]
[url=https://github.com/dimkr]My GitHub profile[/url]

Post Reply