News for hackers. Stuff that matters.
Re:BSDs or Illumos may be good alternatives to Linux (2017) by ComputerGuru on Tuesday November 27, 2018 @12:50AM (#18539794)
> I've seen attempts at bringing the Linux ABI to FreeBsd, including the familiar and popular apt package manager.

That's ridiculous. `pkg` on FreeBSD is a thousand times more consistent and user friendly. Perhaps you are talking about the days before pkg-ng (next generation) became the default, but now installing anything is as easy as `pkg install foo` and it just works. It even updates automatically so URLs aren't out of date.

Re:BSDs or Illumos may be good alternatives to Linux (2017) by bayindirh on Tuesday November 27, 2018 @01:30AM (#18539996)
I have a deep respect for BSD family, and their way of doing things, but regardless of OS and distro, apt is probably the most advanced package manager currently.

When used with aptitude, it's very easy to use, extremely powerful and flexible. Also, it has the most extensive knowledge on details of packages in terms of dependency graphs and modification of files which belongs to packages.

At least, that's what I saw in 14 years.

Re:BSDs or Illumos may be good alternatives to Linux (2017) by rleigh on Tuesday November 27, 2018 @01:50AM (#18540088)
While this is certainly true, have you used pkg in the last year or so? It's come on leaps and bounds. The solver is now on a par with apt's SAT-solver, and overall it's (IMO) almost as good as apt at this point.
Re:BSDs or Illumos may be good alternatives to Linux (2017) by bayindirh on Tuesday November 27, 2018 @01:55AM (#18540110)
No, honestly I didn't. I've installed OpenBSD to a VM in the beginning of the year to learn it, but I had no time to either play or learn using it.

Looks like I need to resume learning it. Thanks.

Re:BSDs or Illumos may be good alternatives to Linux (2017) by ComputerGuru on Tuesday November 27, 2018 @03:29AM (#18540566)
OpenBSD isn’t using the pkg we are talking about, fwiw. You’ll need to install FreeBSD for that.
Re:BSDs or Illumos may be good alternatives to Linux (2017) by bayindirh on Tuesday November 27, 2018 @03:39AM (#18540619)
Thanks, will try FreeBSD first, then.
Re:BSDs or Illumos may be good alternatives to Linux (2017) by sverige on Tuesday November 27, 2018 @04:04AM (#18540754)
OpenBSD's package manager is actually really easy to learn and use. Even I can do it.
Re:BSDs or Illumos may be good alternatives to Linux (2017) by bayindirh on Tuesday November 27, 2018 @05:23AM (#18541101)
I will try both, promise. :) I also find OpenBSD's ideology more resonating to me.
Re:BSDs or Illumos may be good alternatives to Linux (2017) by ComputerGuru on Tuesday November 27, 2018 @03:39PM (#18546449)
OpenBSD's package manager comes unconfigured out of the box, though :(
Re:BSDs or Illumos may be good alternatives to Linux (2017) by adamrt on Saturday December 01, 2018 @12:05PM (#18577623)
Can you elaborate on this? I'm not sure which version added it but /etc/installurl is configured to use cdn.openbsd.org during install. Prior to this, I believe /etc/installurl was populated with the mirror you chose during install. That had been around for at least a couple/few versions, IIRC.

Is there something else you are referring to? https://man.openbsd.org/installurl

Re:BSDs or Illumos may be good alternatives to Linux (2017) by rleigh on Tuesday November 27, 2018 @10:21AM (#18542934)
I'd certainly not discourage having a play around with it!

I started trying it out with FreeBSD 10.0 a few years back. pkg was rough around the edges back then. If you had a lot of packages installed, like lots of development tools and desktop environments, it wasn't hard to get it into a situation where it would segfault or run into dependency problems during an upgrade. Right now, with 11.2, I've not run into any crashes for a good 2-3 years or any intractable dependency problems in a good 2 years or more. It's probably not perfect, these are very complex tools which are hard to verify, but it's certainly eminently usable from the point of view of an admin/end user/casual ports contributor like myself.

In fact, when upgrading from Ubuntu 18.04 to 18.10 a few weeks back, I did actually run into a problem with apt refusing to upgrade because it couldn't work out the upgrade path. I had to remove a few packages which were causing problems, then re-install them after the upgrade. Whether that was apt or the packages having genuinely broken dependencies I'm not sure since I didn't investigate in detail.

Re:BSDs or Illumos may be good alternatives to Linux (2017) by craigsmansion on Tuesday November 27, 2018 @04:00AM (#18540738)
> , apt is probably the most advanced package manager currently.

Apt is certainly the best package manager in my opinion. I haven't used rpm based package managers in a while, but I doubt they don't have feature parity at this point.

I think the magic ingredient of apt that makes it work so seamless is the thousands of diligent maintainers behind it. That's the "feature" that none of the other packaging systems have at the moment.

I also have a deep respect for the raw no-nonsense approach of the various BSDs, but every time I try running it in a professional capacity, the apt eco-system lures me back.

Re:BSDs or Illumos may be good alternatives to Linux (2017) by petre on Tuesday November 27, 2018 @04:35AM (#18540884)
I use both apt, pkg-ng and yast/zypper/rpm. Both apt and pkg-ng work well. Apt has --really-long-switches that are easy to remember but not quite as many shortcuts for them. Sometimes pkg-ng is annoyingly upgrading itself but that's it. Rpm is rather annoying but zypper and yast make things easy to manage. I remember the old RedHat 4.2 days when I had to work with rpm exclusively; it has an inconsistent CLI with weird command line switches.
Re:BSDs or Illumos may be good alternatives to Linux (2017) by dmacvicar on Tuesday November 27, 2018 @11:48AM (#18543915)
You shouldn't compare rpm with apt. rpm is a different layer equivalent to dpkg in the Debian world.

As you point out, apt layer/functionality is provided by zypper, yum, dnf, etc. and the main difference is that it is not unified across the main rpm distributions. Still, Fedora/Redhat yum replacement, dnf, is built on SUSE/openSUSE zypper's solver library (libsolv).

Re:BSDs or Illumos may be good alternatives to Linux (2017) by petre on Wednesday November 28, 2018 @12:10AM (#18549438)
I know. Dpkg is more consistent anyway.