Installing spamassassin-spamd gives: 37/47: spamassassin-spamd ############################################# need to run sa-update error: gpg required but not found! It comes from the postinstall script trying to run /usr/bin/sa-update -v which apparently needs gpg but it is not required by the package and thus not installed.
gpg is in the package gnupg, which is required by urpmi, so I'd be very surprised if it isn't installed. Is this a new installation?
CC: (none) => davidwhodgins
Yes, it was intalled from the 2-beta3 dual arch CD with minimal install with urpmi (the default minimal setting if no groups are selected). Could it be that gnupg was installed but later removed by auto-orphans for some reason? I can try to check the logs to figure out what happened tomorrow.
CC: (none) => remco
Looking at the install logs it seems gnupg was not installed during initial install. As I wrote before I've selected no groups and then selected minimal install with urpmi from minimal install choices (which is also the default). This was with the 2-beta3 dual arch CD. (Haven't tested with the rc but even subsequent updates did not bring in gnupg until manually installed (with no-suggests on).) However, all this does not matter because if spamd needs gnupg to function then it should Require: it to make sure it's available rather than relying on some obscure unrelated dependency of some other package. (What if someone chooses truly minimal install without urpmi for example? I admit this is unlikely but an existing posibility nevertheless.) Adding the dependency to this package would fix this bug IMO and your question might indicate another missing dependency somewhere else or a bug in the installer selecting the right packages.
Assignee: bugsquad => remco
Status: NEW => ASSIGNED
Hi Zoltan, Thank you for your report. gpg is listed as a suggest, but indeed not as a hard requirement. I can resolve this in two ways: 1) Add it back as a Requires instead of a Suggests 2) Graciously fall back to sa-update --nogpg when it finds gpg is not installed. I guess option #1 is the easiest, perhaps with option #2 being the more correct one. I will release an update after the release of Mageia 2 when the updates open.
Hi, This bug was filed against cauldron, but we do not have cauldron at the moment. Please report whether this bug is still valid for Mageia 2. Thanks :) Cheers, marja
Keywords: (none) => NEEDINFO
See Comment 4...
Keywords: NEEDINFO => (none)CC: (none) => sander.lepikWhiteboard: (none) => MGA2TOO
QA, I have made an updated package available in 2/updates_testing (spamassassin-3.3.2-10.mga2). Can you please test it? The same update also addresses bug 6430.
Assignee: remco => qa-bugs
Version: Cauldron => 2Depends on: (none) => 6430Whiteboard: MGA2TOO => (none)
FWIW: $ rpm -e --test gnupg error: Failed dependencies: gnupg is needed by (installed) spamassassin-3.3.2-10.mga2.i586
Whiteboard: (none) => MGA2-32-OK
Remmy, can you tell us in what way you solved the issue, so that we know what to test?
CC: (none) => stormi
Assigning back to remmy just so that we don't have 2 bugs assigned to QA for the same update. Validation continues in bug #6430 :) I gather from comment #8 which I re-read that you added the requires.
Assignee: qa-bugs => remco
Hi Samuel, I added the requirement on gnupg in the spec file. Installing the old version with urpmi --no-suggests (and without gpg installed) should result in the error Zoltan ran in to. Installing the updated version should install gnupg at the same time if it's not installed yet.
Update pushed: https://wiki.mageia.org/en/Support/Advisories/MGAA-2012-0146
Status: ASSIGNED => RESOLVEDCC: (none) => tmbResolution: (none) => FIXED