On Sun, 22 May 2016 03:47:43 -0400 [email protected] wrote:
> Hi.  I  have been using (on advise from someone here),
> app-backup/duplicity from the rinaldus overlay, but in the latest update
> which I have postponed, gentoo has updated to the same version as the
> overlay, but has chosen to have a mandatory use flag of -azure which
> would cause my backups not to work, as I am updating to azure storage.
> How can I prevent this from happening?  The versions are the same, so is
> there a way to mask this off?

There is no azure USE flag in duplicity from the main tree, the
"(-azure)" notation you see means that flag is no longer here in
the new version to install.



> Note that I had to patch the back end for azure with something to fix a
> typo, so I wonder if this has something to do with the  problem?

No, it isn't. Your problem comes from a way how you installed
duplicity from rinaldus overlay. How this overlay is enabled? What
priority have you set?

What you basically need is to prefer overlay version over version
from the tree.

Eix shows me 6 overlays with this ebuild, but there is no
"rinaldus" on the list, it isn't in layman either. You should have
a record of your overlay somewhere in
  /etc/portage/repos.conf/*.conf
set
  priority = 50
for this overlay, so it will have precedence over the main
portage tree.

Another way to solve this issue is to mask duplicity only from
gentoo tree, add to your /etc/portage/package.mask:

  app-backup/duplicity::gentoo

This way it will be installed only from overlay(s), even if in-tree
version is newer.

Of course, the best solution is to file bug for
app-backup/duplicity and ask maintainers to add azure USE flag.

Best regards,
Andrew Savchenko

Attachment: pgpTDHGbaRW2N.pgp
Description: PGP signature

Reply via email to