You are not logged in.

#1 2014-06-17 08:18:20

algorythm
Member
From: /usr/share/zoneinfo/Europe/FIN
Registered: 2009-07-17
Posts: 181

[Solved] Split packages getting updated multiple times?

Assumably since AUR v3.0.0, when updating split packages, all these packages are listed for an upgrade, even though updating just one of them would take care of the rest.

I created the following minimal PKGBUILD for "building" a previous version of linux-ck as a test: http://pastebin.com/vBykd5ta

Both packer and yaourt are doing this:

└┌(%:~/Desktop)┌- yaourt -Su --aur
Foreign packages: / 61 / 61

==> Software upgrade (new version) :
aur/linux-ck         3.14.7-1 -> 3.14.8-1
aur/linux-ck-headers 3.14.7-1 -> 3.14.8-1

└┌(%:~/Desktop)┌- packer -Su
:: Starting full system upgrade...
there is nothing to do
:: Synchronizing aur database...
aur                                        61  61 [----------------------------------------------------------]100%
:: Starting full aur upgrade...

Aur Targets    (2): linux-ck linux-ck-headers

Is this a problem with the AUR helpers or the AUR in general?

Last edited by algorythm (2014-06-17 10:17:14)


“Talent you can bloom. Instinct you can polish.”  — Haikyuu!! (adapted)
“If everybody thought alike, no one would be thinking very much.”  — Walter Lippmann (adapted)
“The important thing is to be able, at any moment, to sacrifice what we are for what we could become.”  — Charles Dubois

Offline

#2 2014-06-17 09:03:25

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,734
Website

Re: [Solved] Split packages getting updated multiple times?

Not a problem with th AUR; it is working as designed.  Try using makepkg which doesn't build them multiple times big_smile

Last edited by graysky (2014-06-17 09:06:27)

Offline

#3 2014-06-17 09:14:56

algorythm
Member
From: /usr/share/zoneinfo/Europe/FIN
Registered: 2009-07-17
Posts: 181

Re: [Solved] Split packages getting updated multiple times?

Right, but is this a known bug, then?


“Talent you can bloom. Instinct you can polish.”  — Haikyuu!! (adapted)
“If everybody thought alike, no one would be thinking very much.”  — Walter Lippmann (adapted)
“The important thing is to be able, at any moment, to sacrifice what we are for what we could become.”  — Charles Dubois

Offline

#4 2014-06-17 09:57:04

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,650
Website

Re: [Solved] Split packages getting updated multiple times?

Known by whom? AUR helpers are unsupported, so you will have to check on each individual one's bug tracker and file a feature request for them to list updates by pkgbase rather than pkgname.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#5 2014-06-17 10:17:00

algorythm
Member
From: /usr/share/zoneinfo/Europe/FIN
Registered: 2009-07-17
Posts: 181

Re: [Solved] Split packages getting updated multiple times?

Well, known by anybody else than me, as this is the first time I've even heard about this big_smile.

I guess I'll do a couple of feature requests. Thanks.

Closing.


“Talent you can bloom. Instinct you can polish.”  — Haikyuu!! (adapted)
“If everybody thought alike, no one would be thinking very much.”  — Walter Lippmann (adapted)
“The important thing is to be able, at any moment, to sacrifice what we are for what we could become.”  — Charles Dubois

Offline

#6 2014-06-17 10:29:33

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,734
Website

Re: [Solved] Split packages getting updated multiple times?

Again, the AUR is functioning as designed. The helper scripts you mentioned would seem to be unaware of the AUR changes as previously mentioned.  I recommend just using makepkg.  If you want to avoid the AUR web interface, cower is a good util to pull the AUT sources, but again, build with makepkg.

Offline

#7 2014-06-17 10:37:49

algorythm
Member
From: /usr/share/zoneinfo/Europe/FIN
Registered: 2009-07-17
Posts: 181

Re: [Solved] Split packages getting updated multiple times?

I know you do that, but I see no reason in dumping any handy tools simply because of a single issue that we in the FOSS world can just report and get fixed.


“Talent you can bloom. Instinct you can polish.”  — Haikyuu!! (adapted)
“If everybody thought alike, no one would be thinking very much.”  — Walter Lippmann (adapted)
“The important thing is to be able, at any moment, to sacrifice what we are for what we could become.”  — Charles Dubois

Offline

#8 2014-06-17 10:53:33

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,517
Website

Re: [Solved] Split packages getting updated multiple times?

Do either of those helpers actually build the same PKGBUILD twice?  That's the relevant question.

Seeing them as two separate packages is correct: they are two packages.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#9 2014-06-17 11:21:47

algorythm
Member
From: /usr/share/zoneinfo/Europe/FIN
Registered: 2009-07-17
Posts: 181

Re: [Solved] Split packages getting updated multiple times?

Well, I was reported to one of my packages about this behavior, and I actually already made the bug reports.

Other tools than Yaourt might have some "mid-checks" indeed. At least aura-git kind of worked around this by saying "linux-ck-headers is not an AUR package" and excluded it from the updates. It was the only one of which I didn't file a bug.

E: You were right. Turns out only Yaourt and packer (hiatus) do this. Aurget and pacaur work just fine.

Last edited by algorythm (2014-06-17 11:44:50)


“Talent you can bloom. Instinct you can polish.”  — Haikyuu!! (adapted)
“If everybody thought alike, no one would be thinking very much.”  — Walter Lippmann (adapted)
“The important thing is to be able, at any moment, to sacrifice what we are for what we could become.”  — Charles Dubois

Offline

#10 2014-06-17 13:37:56

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,734
Website

Re: [Solved] Split packages getting updated multiple times?

I'm not saying to dump it, just to report the issue upstream since it isn't the AUR that is "broken."

Offline

#11 2014-06-18 03:27:54

algorythm
Member
From: /usr/share/zoneinfo/Europe/FIN
Registered: 2009-07-17
Posts: 181

Re: [Solved] Split packages getting updated multiple times?

Well, in fairness, that isn't what you said, but as you can see I already did.


“Talent you can bloom. Instinct you can polish.”  — Haikyuu!! (adapted)
“If everybody thought alike, no one would be thinking very much.”  — Walter Lippmann (adapted)
“The important thing is to be able, at any moment, to sacrifice what we are for what we could become.”  — Charles Dubois

Offline

Board footer

Powered by FluxBB