You are not logged in.

#1 2021-10-03 05:56:14

k.t.ryoji
Member
Registered: 2021-10-03
Posts: 1

Updating aur packages when its shared library dependencies gets update

Hi, is there a way to update aur package when the shared library package it builds against gets updated?

Offline

#2 2021-10-03 06:50:08

Ferdinand
Member
From: Norway
Registered: 2020-01-02
Posts: 338

Re: Updating aur packages when its shared library dependencies gets update

Somebody probably has a better answer, but to force the package to build anew, I'd just delete the old directory you cloned to and clone again. Then makepkg and pacman -U package_file again. That should build the package and install it again, using the updated shared libraries.

That said, I don't know if this is needed, or even desirable, unless you're having problems running the AUR package?

Offline

#3 2021-10-03 06:54:10

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,245

Re: Updating aur packages when its shared library dependencies gets update

I assume you want to automatically update/rebuild the AUR package whenever pacman updates a package that provides a library that the AUR package depends on?
=> https://wiki.archlinux.org/title/Pacman#Hooks

Otherwise please be more elaborative about the actual task.

Offline

#4 2021-10-03 07:01:36

Awebb
Member
Registered: 2010-05-06
Posts: 6,688

Re: Updating aur packages when its shared library dependencies gets update

This might do the trick:

https://github.com/maximbaz/rebuild-detector

It's not on the AUR anymore, though. I wonder what happened.

Edit: There is more...

aurebuildcheck-rs-git
findbrokenpkgs
repkg

Last edited by Awebb (2021-10-03 07:04:44)

Offline

#5 2021-10-03 07:07:38

dogknowsnx
Guest

Re: Updating aur packages when its shared library dependencies gets update

This might be what you're looking for.

EDIT: @Awebb beat me to it smile

Last edited by dogknowsnx (2021-10-03 07:08:42)

#6 2021-10-03 08:44:24

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,420
Website

Re: Updating aur packages when its shared library dependencies gets update

Awebb wrote:

This might do the trick:

https://github.com/maximbaz/rebuild-detector

It's not on the AUR anymore, though. I wonder what happened.

It's in [community] now:

https://archlinux.org/packages/communit … -detector/
https://lists.archlinux.org/pipermail/a … 51617.html


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby

Offline

#7 2021-10-03 11:47:07

Ammako
Member
Registered: 2021-07-16
Posts: 267

Re: Updating aur packages when its shared library dependencies gets update

Alad wrote:
Awebb wrote:

This might do the trick:

https://github.com/maximbaz/rebuild-detector

It's not on the AUR anymore, though. I wonder what happened.

It's in [community] now:

https://archlinux.org/packages/communit … -detector/
https://lists.archlinux.org/pipermail/a … 51617.html

Now that's an "ohh nice"!

Offline

#8 2021-10-03 12:48:53

Awebb
Member
Registered: 2010-05-06
Posts: 6,688

Re: Updating aur packages when its shared library dependencies gets update

Alad wrote:
Awebb wrote:

This might do the trick:

https://github.com/maximbaz/rebuild-detector

It's not on the AUR anymore, though. I wonder what happened.

It's in [community] now:

https://archlinux.org/packages/communit … -detector/
https://lists.archlinux.org/pipermail/a … 51617.html

Oh wow, now I feel a bit dumb.

Offline

#9 2021-10-03 13:33:20

zpg443
Member
Registered: 2016-12-03
Posts: 316

Re: Updating aur packages when its shared library dependencies gets update

I continue to be amazed to learn about programs like this, years after beginning to use Arch.
Outstanding.

Added a wiki reference to this package here:
https://wiki.archlinux.org/title/System … l_packages

Last edited by zpg443 (2021-10-03 13:53:03)

Offline

Board footer

Powered by FluxBB