Jonathan Perkin · @jperkin
302 followers · 246 posts · Server federate.me.uk

Updated bootstrap kits now available for macOS, available as usual from pkgsrc.smartos.org/install-on-

These include the new and improved 23.8.1.

No need to install new bootstrap kits if you already installed an older one, but you may want to run:

$ pkg_add -U pkg_install pkgin

prior to running "pkgin upgrade" so that the upgrade is performed using the latest tools.

#pkgsrc #pkgin

Last updated 1 year ago

Jonathan Perkin · @jperkin
302 followers · 240 posts · Server federate.me.uk

It's a pity that Mastodon lacks quote tweets, but in addition to the post I boosted yesterday, I just wanted to say my own thanks for reaching 20.

I use it all the time, and struggle when working on other systems that do not have it. Only yesterday I wrote a quick script to verify a code path that lead to this fix: github.com/NetBSD/pkgsrc/commi.

It has found significant performance wins in and , fixed numerous bugs, and helped me understand systems.

Thanks @bcantrill and @ahl!

#dtrace #pkgsrc #pkgin

Last updated 1 year ago

Jonathan Perkin · @jperkin
297 followers · 226 posts · Server federate.me.uk

Ok, with a boatload of fixes and a performance improvements of up to 2,500x I've released 23.8.0!

github.com/NetBSDfr/pkgin/blob

There's still a bunch of things to do, but they can wait for future releases.

I've updated the package and will be rebuilding binary package sets over the coming days.

#pkgin #pkgsrc

Last updated 1 year ago

Jonathan Perkin · @jperkin
297 followers · 224 posts · Server federate.me.uk

As part of my recent work I came across another optimisation for "pkg_admin rebuild-tree" using that makes it a further 12x faster on my test system.

mail-index.netbsd.org/tech-pkg

This is in addition to the 13x speedup I committed a few years ago:

gist.github.com/jperkin/98550d

Reviews appreciated.

#pkgin #dtrace #pkgsrc #netbsd

Last updated 1 year ago

Jonathan Perkin · @jperkin
295 followers · 219 posts · Server federate.me.uk

Not only was v1 awesome for having jobs, the marlin image provides a superb environment for testing the new code, given there are over 12,500 packages installed.

I'd say the results are looking pretty good:

$ time ./pkgin-22.10.0 -n ug
real 54m10.021s
user 53m42.252s
sys 0m21.575s

$ time ./pkgin-current -n ug
real 0m1.241s
user 0m1.086s
sys 0m0.145s

Under 1 second would be cool, and I think there are still some areas where improvements can be made.

#manta #pkgin #pkgsrc

Last updated 1 year ago

Parade du Grotesque 💀 · @ParadeGrotesque
1189 followers · 31925 posts · Server mastodon.sdf.org

@mhoye

Another solution is to install and either use that to compile what you need, or use to install and download pre-compiled binaries supplied by @jperkin if memory serves well.

I have done that in the past, and I was very happy with the amount of goodness pkgsrc brings to MacOS X.

It does involve installing XCode and its command line tools, but that is a minor problem - read the documentation at netbsd.org/docs/pkgsrc/ and you will be in business pretty quickly.

#pkgsrc #pkgin

Last updated 1 year ago

Jonathan Perkin · @jperkin
289 followers · 198 posts · Server federate.me.uk

So grateful for investing time into writing the test suite.

Required adding and rearranging code in pkgin itself to support various environment variables that allow us to run alternative packaging tools, as well as writing the test suite itself, which all took quite a bit of time.

But being able to write complex upgrade scenarios, and go quickly from hypothesis to fix, has paid off hugely. Plus the added confidence that all of the regression tests ensure I haven't broken anything.

#pkgin

Last updated 1 year ago

Jonathan Perkin · @jperkin
289 followers · 197 posts · Server federate.me.uk

Finally for this week I've fixed package ordering during install/upgrade. This resolves issues where install scripts run programs that depend on libraries that haven't been upgraded yet.

As an added bonus the streamlining improves performance quite a bit (upgrading 1,700 packages from 2020Q4 to 2022Q4):

$ ptime pkgin -y upgrade

real 41:06.80
user 28:52.80
sys 12:59.15

$ ptime ./pkgin-current -y upgrade

real 36:09.76
user 24:32.55
sys 11:58.56

#pkgsrc #pkgin #netbsd

Last updated 1 year ago

Jonathan Perkin · @jperkin
286 followers · 193 posts · Server federate.me.uk

Reworked the recursive dependency discovery to make the code a lot more readable, as well as improve performance.

$ ptime ./pkgin-22.10.0 -n upgrade

real 3:29.880475370
user 3:29.329552124
sys 0.353450635

$ ptime ./pkgin-current -n upgrade

real 12.324068349
user 11.972102324
sys 0.166771212

I'd say we're making progress!

#pkgsrc #pkgin

Last updated 1 year ago

Jonathan Perkin · @jperkin
285 followers · 192 posts · Server federate.me.uk

After some more analysis and code reading, found another easy optimisation win in the pattern matching code, for a further 2x speedup.

Next up some database optimisations which will hopefully get us to around 8x combined speedup, as well as helping with future development work.

#dtrace #pkgsrc #pkgin

Last updated 1 year ago

Jonathan Perkin · @jperkin
283 followers · 189 posts · Server federate.me.uk

After maintaining for a few years, there's still a bunch of low-hanging fruit for cleanup and optimisation.

While working on SUPERSEDES support, I was curious as to why the dependency calculation takes so long.

Re-ran it with , saw break_depends() taking up 55% of the runtime. What does it do?

Turns out, nothing. Various changes over the years, notably refresh support, have made its calculations obsolete.

Nice easy 2x performance win and much easier-to-understand code path.

#pkgin #dtrace

Last updated 1 year ago

abs(in)the · @abs0
162 followers · 640 posts · Server mastodon.sdf.org

Replaced old T41 broken hinge. With 2GB of RAM and a 1.6Gz Pentium M, realistic software options are... limited

Installed the latest 10_BETA, then used to see about basic web browsers

- fastest way for basic webpages

- hits the sweet spot for older/constrained machines

- 92 is almost usable in 2G, 102... not so much. I stopped there :)

For its time (2003) the T41 is an amazing laptop. Plus that screen ratio

#thinkpad #netbsd #pkgin #netsurf #arcticfox #firefox #chefskiss #retrocomputing

Last updated 1 year ago

Bosco · @BoscoLab
16 followers · 13 posts · Server social.tchncs.de

Upgrade packages with pkgin to netbsd 9.0

#vintagecomputer #pkgin #netbsd #pentium3

Last updated 2 years ago

Thomas Adam · @thomasadam
65 followers · 78 posts · Server bsd.network

I, alas, don't get the luxury of using as much as I'd like. Some of that is most certainly down to personal preference, and others are due to the overall slow-pace of change, relative to its cousins and .

But when I were using , I really did love (pkgin.net/). I did contribute to this many moons ago -- and to this day, it represents the simplicity and thoughtfulness that any package manger should. The is the important thing here -- and gets that right, especially for its primary target audience of .

I know that has -- which does a very good job, but something always keeps me looking at -- even though, I also have code in .

is the real outlier here -- their pkg_* tools are still perl-based, but like the dark horse they are, are maintained well, and really functional.

I've heard it argued that in the world, the different distros keep people apart due to how they handle package management, even as far as to suggest that the programming language is a key factor here.

I say, "eh?", but even then, I'd still gravitate toward *BSD...

#netbsd #openbsd #freebsd #pkgin #ui #pkg #linux

Last updated 2 years ago

Pues me ha costado trabajito pero ya tengo instalado en mi con via binarios precompilados con porque si tuviese que compilarlo con me llevaría más de una semana compilando con la potencia de cálculo del pinebook 😅😅😅

#xfce4 #pinebook #pine64 #aarch64 #arm64 #netbsd #pkgin #pkgsrc

Last updated 2 years ago

Jode, he cambiado el repositorio de en a francia y no veas si se nota la diferencia... :ablobaww1: :ablobaww1: :ablobaww1:

#pkgin #netbsd

Last updated 2 years ago

Una de apps después de instalar via para en a64

pkgin -y install firefox mozilla-fonts* xpdf iftop atop htop vim wget bunzip bzip2 filezilla

#xfce #pkgin #netbsd #pinebook

Last updated 2 years ago