Skip to content

u/Flogge

In this archive from Apr 2016 to Mar 2024

7
posts
181
comments
1
media
1.4k
score
1 saved before deletion

Hm, I still don't understand... what I meant is

For a new release

  1. You publish 9.9.9 on GitHub, uploading paru-v9.9.9-1-x86_64.tar.zst.
  2. You publish paru 9.9.9-1 on AUR
  3. You publish paru-bin 9.9.9-1 on AUR

For a new rebuild

  1. You do not create new release, but only add paru-v9.9.9-2-x86_64.tar.zst to GitHub to the existing release.
  2. You publish paru-bin 9.9.9-2 on AUR
1 points

Hm, another thing... i don't think my install ever did Updating systemd-boot entries for me. Are you sure you're not running some sort of pacman hook that does this? Whats the line before (1/4) in that output section?

And maybe this hook assumes some config files somewhere else, that get copied into /boot/loader/entries. And it's those config files that are missing.

4 points

I'm not sure I understand correctly... You'd still be releasing paru 9.9.9, but the output artifact of cargo build would be named 9.9.9-1, no?

But yeah, I'm slowly starting to understand why this version number business is a bit messy...

1 points

Actually, there is a difference between Github (1.11.2) and AUR (1.11.1).

The way I see it it's a little bit complicated, and people seem to misunderstand a few things and each other:

  1. paru needs to be rebuilt if one of the dependency libs has a big change. The most popular one is a openssl update. I actually stumbled over this myself today, because I accidentally installed a cached build of the most recent paru version.

    If that happens, paru simply won't run anymore, and you can't rebuild paru using itself, which kind of makes you get "stuck".

    This is what the person on the AUR be going on about. Their solution is to pin parus dependency to a specific openssl version, in the hopes that this will catch this situation. But it's not a specific openssl version that's the problem, it's the fact that you simply need a rebuild, and it's sometimes a little unclear when you actually have to trigger a rebuild.

A pinned version would make updates more complicated and get stuck in other ways, so it's not really a solution.

  1. The maintainer of paru has two packages on the AUR: paru and paru-bin. Because of that openssl change they bumped the version to 1.11.2, without changing anything, just to trigger and distribute a rebuild.

    However actually, I don't believe this was the right way to trigger rebuilds. To trigger a rebuild with the same upstream version you should bump pkgrel, not pkgver. So instead of 1.11.2-1 we should actually have gotten 1.11.1-2.

  2. Because the rebuild was only really necessary for paru-bin (you're supposed to rebuild paru yourself), the maintainer then decided to publish 1.11.2-1 on paru-bin only, and leave paru at 1.11.1-1. Which makes kind of sense from the rebuild-perspective... But from a plain package-release perspective it does not make sense, because the upstream version literally is newer!.

So both parties are both wrong and right at the same time, but neither party wants to change their view I guess?

4 points

That's most likely due to an outdated pacman database, which contains the URLs to the package files.

It's recommended to upgrade your whole system first, using or pacman -Syu.

This will update your package database and the URLs to the individual packages you're attempting to install.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.