View previous topic :: View next topic |
Author |
Message |
corswors n00b
Joined: 11 Oct 2017 Posts: 2
|
Posted: Wed Oct 11, 2017 1:18 pm Post subject: emerge sys-auth/nss-pam-ldapd |
|
|
Good day
Please can you advise on how can i only install/upgrade [ebuild U ] sys-auth/nss-pam-ldapd-0.9.8 [0.9.7]
Emerge want me to merge all of the packages but i only need sys-auth/nss-pam-ldapd-0.9.8 [0.9.7
Is this possible?
Code: | (13:45:17)(Beekman) asterheadtwo johann # emerge --ask sys-auth/nss-pam-ldapd
* IMPORTANT: 7 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild N ] dev-python/pyasn1-modules-0.0.8 PYTHON_TARGETS="python2_7 python3_4 (-pypy) (-pypy3) (-python3_5) (-python3_6)"
[ebuild N ] dev-python/python-ldap-2.4.19-r1 USE="sasl ssl -doc -examples" PYTHON_TARGETS="python2_7 (-pypy)"
[ebuild U ] sys-auth/nss-pam-ldapd-0.9.8 [0.9.7] |
[Moderator edit: modified title to reference package name; added [code] tags to preserve output layout. -Hu] |
|
Back to top |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8708 Location: ~Brussels - Belgique
|
Posted: Wed Oct 11, 2017 1:42 pm Post subject: |
|
|
Hi!,
The 2 other packages are required as dependancies for this new version. You can try to emerge only the package you want (--nodeps), but it would not build or not run.
Code: | --- nss-pam-ldapd-0.9.7.ebuild 2017-08-01 01:01:24.000000000 +0200
+++ nss-pam-ldapd-0.9.8.ebuild 2017-08-01 01:01:24.000000000 +0200
@@ -17,6 +17,7 @@
COMMON_DEP="
net-nds/openldap[${MULTILIB_USEDEP}]
+ dev-python/python-ldap[${PYTHON_USEDEP}]
sasl? ( dev-libs/cyrus-sasl[${MULTILIB_USEDEP}] )
kerberos? ( virtual/krb5[${MULTILIB_USEDEP}] )
virtual/pam[${MULTILIB_USEDEP}] |
as you see in this diff, python-ldap has been added to that new version, and python-ldap requires an other dependancy _________________ Kind regards,
Xavier Miller
Last edited by xaviermiller on Wed Oct 11, 2017 1:48 pm; edited 1 time in total |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30917 Location: here
|
Posted: Wed Oct 11, 2017 1:48 pm Post subject: |
|
|
Never use --nodeps option if you're not sure of what you do. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
corswors n00b
Joined: 11 Oct 2017 Posts: 2
|
Posted: Wed Oct 11, 2017 2:03 pm Post subject: |
|
|
xaviermiller wrote: | Hi!,
The 2 other packages are required as dependancies for this new version. You can try to emerge only the package you want (--nodeps), but it would not build or not run.
Code: | --- nss-pam-ldapd-0.9.7.ebuild 2017-08-01 01:01:24.000000000 +0200
+++ nss-pam-ldapd-0.9.8.ebuild 2017-08-01 01:01:24.000000000 +0200
@@ -17,6 +17,7 @@
COMMON_DEP="
net-nds/openldap[${MULTILIB_USEDEP}]
+ dev-python/python-ldap[${PYTHON_USEDEP}]
sasl? ( dev-libs/cyrus-sasl[${MULTILIB_USEDEP}] )
kerberos? ( virtual/krb5[${MULTILIB_USEDEP}] )
virtual/pam[${MULTILIB_USEDEP}] |
as you see in this diff, python-ldap has been added to that new version, and python-ldap requires an other dependancy |
Good thanks for your reply if i just want to install a specific package how will i do this?
emerge --nodeps sys-auth/nss-pam-ldapd |
|
Back to top |
|
|
xaviermiller Bodhisattva
Joined: 23 Jul 2004 Posts: 8708 Location: ~Brussels - Belgique
|
Posted: Wed Oct 11, 2017 2:06 pm Post subject: |
|
|
As said, --nodeps is not recommended in you case, because your package will be broken. _________________ Kind regards,
Xavier Miller |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30917 Location: here
|
Posted: Wed Oct 11, 2017 2:06 pm Post subject: |
|
|
corswors wrote: | emerge --nodeps sys-auth/nss-pam-ldapd |
fedeliallalinea wrote: | Never use --nodeps option if you're not sure of what you do. |
_________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21633
|
Posted: Thu Oct 12, 2017 1:12 am Post subject: Re: emerge sys-auth/nss-pam-ldapd |
|
|
corswors wrote: | Emerge want me to merge all of the packages but i only need sys-auth/nss-pam-ldapd-0.9.8 | How did you determine that neither of the other packages are necessary? |
|
Back to top |
|
|
Bones McCracker Veteran
Joined: 14 Mar 2006 Posts: 1611 Location: U.S.A.
|
Posted: Sat Oct 14, 2017 3:49 am Post subject: |
|
|
He can't answer you, because now he can't log into his system. |
|
Back to top |
|
|
|