You are not logged in.

#1 2022-07-06 23:27:34

TylerMackJ
Member
Registered: 2022-07-06
Posts: 4

[SOLVED] Can any package add itself to any group?

As the subject says is any package able to add itself to any group. From my understanding the groups a package belongs to is part of it's PKGBUILD. If this is true what is stopping anyone from adding random packages to groups like base-devel?

Last edited by TylerMackJ (2022-07-07 00:06:03)

Offline

#2 2022-07-06 23:35:47

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,137
Website

Re: [SOLVED] Can any package add itself to any group?

If you want to add a random package to base-devel on your machine no-one is going (to be able) to stop you...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2022-07-06 23:38:34

TylerMackJ
Member
Registered: 2022-07-06
Posts: 4

Re: [SOLVED] Can any package add itself to any group?

Does this mean that package groups are audited by the mirror?

Offline

#4 2022-07-06 23:39:20

Scimmia
Fellow
Registered: 2012-09-01
Posts: 9,437

Re: [SOLVED] Can any package add itself to any group?

No, it's part of the package database.

Offline

#5 2022-07-06 23:47:27

TylerMackJ
Member
Registered: 2022-07-06
Posts: 4

Re: [SOLVED] Can any package add itself to any group?

Scimmia wrote:

No, it's part of the package database.

Unless I misunderstand I thought the mirrors are able to "choose" what packages are core, extra,... etc. Official mirrors, though, are in agreement with one another.

Offline

#6 2022-07-06 23:50:42

Scimmia
Fellow
Registered: 2012-09-01
Posts: 9,437

Re: [SOLVED] Can any package add itself to any group?

Technically they could, but they would quickly get removed from the mirrorlist. They're supposed to sync the databases exactly as they are. It all comes from a central mirror controlled directly by the devs/tus.

Offline

#7 2022-07-06 23:52:12

TylerMackJ
Member
Registered: 2022-07-06
Posts: 4

Re: [SOLVED] Can any package add itself to any group?

Scimmia wrote:

Technically they could, but they would quickly get removed from the mirrorlist. They're supposed to sync the databases exactly as they are. It all comes from a central mirror controlled directly by the devs/tus.

Thank you this makes sense!

Offline

Board footer

Powered by FluxBB