Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 701796 - app-admin/augeas is blocking app-admin/puppet-agent
Summary: app-admin/augeas is blocking app-admin/puppet-agent
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-02 18:51 UTC by Christer Ekholm
Modified: 2020-01-03 20:29 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christer Ekholm 2019-12-02 18:51:16 UTC
I would like to have both certbot-apache and puppet-agent
installed. But certbot-apache pulls in augeas, and then puppet-agent
is blocked by augeas.

Calculating dependencies... done!
[ebuild  N     ] app-admin/puppet-agent-6.11.1  USE="-puppetdb (-selinux)" 
[blocks B      ] app-admin/augeas ("app-admin/augeas" is blocking app-admin/puppet-agent-6.11.1)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (app-admin/augeas-1.12.0:0/0::gentoo, installed) pulled in by
    app-admin/augeas required by (dev-python/python-augeas-1.0.3:0/0::gentoo, installed)

I have managed to do the simple workaround to simply don't install
symlinks for augparse & augtool in /usr/bin

--- a/app-admin/puppet-agent/puppet-agent-6.11.1.ebuild
+++ b/app-admin/puppet-agent/puppet-agent-6.11.1.ebuild
@@ -17,8 +17,7 @@ KEYWORDS="~amd64 ~x86"
 IUSE="puppetdb selinux"
 RESTRICT="strip"
 
-CDEPEND="!app-admin/augeas
-       !app-admin/puppet
+CDEPEND="!app-admin/puppet
        !dev-ruby/hiera
        !dev-ruby/facter
        !app-emulation/virt-what"
@@ -73,6 +72,4 @@ src_install() {
        dosym ../../opt/puppetlabs/bin/hiera /usr/bin/hiera
        dosym ../../opt/puppetlabs/bin/puppet /usr/bin/puppet
        dosym ../../opt/puppetlabs/puppet/bin/virt-what /usr/bin/virt-what
-       dosym ../../opt/puppetlabs/puppet/bin/augparse /usr/bin/augparse
-       dosym ../../opt/puppetlabs/puppet/bin/augtool /usr/bin/augtool
 }



So, I don't think this is strictly a bug, see it more like a
enhanchment inquiry. If you don't think this is the right place for
that, feel free to just close this as WONTFIX.
Comment 1 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2020-01-03 20:23:56 UTC
nah, seems cool
Comment 2 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2020-01-03 20:29:26 UTC
fixed as a revbump