View previous topic :: View next topic |
Author |
Message |
Vrenn Guru
Joined: 15 Dec 2004 Posts: 318
|
Posted: Tue Apr 06, 2021 3:28 pm Post subject: [workaround] kde-apps-meta forces samba, why? |
|
|
Dear gentoo-users!
Today I wanted to upgade world and it failed by dependeny to samba Code: | # USE="-samba" emerge -uaD --newuse @world
These are the packages that would be merged, in order:
Calculating dependencies... done!
!!! The ebuild selected to satisfy "net-fs/samba" has unmet requirements.
- net-fs/samba-4.12.9-r1::gentoo USE="acl client cups gpg pam regedit system-mitkrb5 systemd -addc -addns -ads -ceph -cluster -debug (-dmapi) (-fam) -glusterfs -iprint -json -ldap -ntvfs -profiling-data -python -quota (-selinux) -snapper -spotlight -syslog (-system-heimdal) (-test) -winbind -zeroconf" ABI_X86="(64) -32 (-x32)" PYTHON_SINGLE_TARGET="python3_8 -python3_7"
The following REQUIRED_USE flag constraints are unsatisfied:
gpg? ( addc )
The above constraints are a subset of the following complete expression:
addc? ( python json winbind ) addns? ( python ) ads? ( acl ldap winbind ) cluster? ( ads ) gpg? ( addc ) ntvfs? ( addc ) spotlight? ( json ) test? ( python ) at-most-one-of ( system-heimdal system-mitkrb5 ) exactly-one-of ( python_single_target_python3_7 python_single_target_python3_8 )
(dependency required by "kde-apps/kdenetwork-filesharing-20.12.3::gentoo" [ebuild])
(dependency required by "kde-apps/kdenetwork-meta-20.12.3::gentoo" [ebuild])
(dependency required by "kde-apps/kde-apps-meta-20.12.3::gentoo[network]" [ebuild])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument]) | I don't acually care that samba needs an addc useflag (Enable Active Directory Domain Controller support).
I rather care why my KDE-Installation needs samba at all?
All the past 20 years for Gentoo samba was optional. Kde was running good without it.
Now why is this necessary?
What has changed that Gentoo has to force kde-apps users to samba?
Is there a chance to change it?
I have enough hassle to handle mysql for email-support but samba, a must-to-be -maintained-server I really don't need goes too far... _________________ With nice greetings
Vrenn
Last edited by Vrenn on Tue Apr 06, 2021 7:52 pm; edited 1 time in total |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30996 Location: here
|
Posted: Tue Apr 06, 2021 3:32 pm Post subject: |
|
|
The dependency is required by kde-apps/kdenetwork-filesharing that is included in kdenetwork-meta, if you don't want that you should install kde-apps without meta package. _________________ Questions are guaranteed in life; Answers aren't.
Last edited by fedeliallalinea on Tue Apr 06, 2021 3:34 pm; edited 1 time in total |
|
Back to top |
|
|
mike155 Advocate
Joined: 17 Sep 2010 Posts: 4438 Location: Frankfurt, Germany
|
Posted: Tue Apr 06, 2021 3:33 pm Post subject: |
|
|
Add samba to '/etc/portage/profile/package.provided' and see what happens... |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30996 Location: here
|
Posted: Tue Apr 06, 2021 3:35 pm Post subject: |
|
|
mike155 wrote: | Add samba to '/etc/portage/profile/package.provided' and see what happens... |
I think he should add kde-apps/kdenetwork-filesharing in this file _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
Vrenn Guru
Joined: 15 Dec 2004 Posts: 318
|
Posted: Tue Apr 06, 2021 3:40 pm Post subject: |
|
|
I know that it goes up to the meta-package. I could install all kde-apps without meta.-apckages, but thats not the way it should be and it makes no sense.
samba was always packed optional, now by force. I don't see the dependency to the others as kget, krdc, kdeconnect, ktorrent...
dolphin and in the past konqueror always had links for windows-shares, but gentoo never forced samba for 20 years. _________________ With nice greetings
Vrenn |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30996 Location: here
|
Posted: Tue Apr 06, 2021 3:42 pm Post subject: |
|
|
See bug #773910, with package.provided you can skip this package _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
Ionen Developer
Joined: 06 Dec 2018 Posts: 2732
|
|
Back to top |
|
|
Ralphred Guru
Joined: 31 Dec 2013 Posts: 507
|
Posted: Tue Apr 06, 2021 3:47 pm Post subject: |
|
|
From kdenetwork-filesharing-20.08.3.ebuild Code: | DEPEND="
>=dev-qt/qtgui-${QTMIN}:5
>=dev-qt/qtwidgets-${QTMIN}:5
>=kde-frameworks/kcompletion-${KFMIN}:5
>=kde-frameworks/kcoreaddons-${KFMIN}:5
>=kde-frameworks/ki18n-${KFMIN}:5
>=kde-frameworks/kio-${KFMIN}:5
>=kde-frameworks/kwidgetsaddons-${KFMIN}:5
"
RDEPEND="${DEPEND}" |
and kdenetwork-filesharing-20.12.3.ebuild Code: | DEPEND="
>=dev-qt/qtdeclarative-${QTMIN}:5
>=dev-qt/qtgui-${QTMIN}:5
>=dev-qt/qtwidgets-${QTMIN}:5
>=kde-frameworks/kcompletion-${KFMIN}:5
>=kde-frameworks/kcoreaddons-${KFMIN}:5
>=kde-frameworks/kdeclarative-${KFMIN}:5
>=kde-frameworks/ki18n-${KFMIN}:5
>=kde-frameworks/kio-${KFMIN}:5
>=kde-frameworks/kwidgetsaddons-${KFMIN}:5
"
RDEPEND="${DEPEND}
>=dev-qt/qtquickcontrols2-${QTMIN}:5
>=kde-frameworks/kirigami-${KFMIN}:5
net-fs/samba
" |
|
|
Back to top |
|
|
Vrenn Guru
Joined: 15 Dec 2004 Posts: 318
|
Posted: Tue Apr 06, 2021 3:54 pm Post subject: |
|
|
Thanks, I didn't find this bug before.
So KDE tell distros they want samba. But that was always the case.
It's good, that the samba-share-control, what was build in the last years, is now outsourced into a single plug-in.
I don't see it needs to be pulled in as a tool like useflag would exist. _________________ With nice greetings
Vrenn |
|
Back to top |
|
|
Vrenn Guru
Joined: 15 Dec 2004 Posts: 318
|
Posted: Tue Apr 06, 2021 7:50 pm Post subject: |
|
|
Workaround works, thank you (package.provided kdenetwork-filesharing)
But actually my trust in the official gentoo-tree is very high, so I don't want to hack it.
Now I have some options:
1) go along with provided-fake, hope this doesn't stay forever
2) study samba to make it laptop-secure (only active in home-network, if at all), I had set up few samba-instances some and many years ago (Gentoo 1.4 and SuSE 9 came up so its quite a time...)
3) hope it gets optional
4) get the hell more cores to do more with gentoo...
Thank you for your help, perhaps the bug will get noticed. Your comments are a real help. _________________ With nice greetings
Vrenn |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 4362 Location: Bavaria
|
Posted: Tue Apr 06, 2021 8:05 pm Post subject: |
|
|
5. Avoid meta-packages and emerge only what you want and need.
... I emerged only plasma-meta, kdecore-meta and kdepim-meta. |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30996 Location: here
|
Posted: Tue Apr 06, 2021 8:10 pm Post subject: |
|
|
pietinger wrote: | 5. Avoid meta-packages and emerge only what you want and need. |
For this purpose you can use a set _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
Vrenn Guru
Joined: 15 Dec 2004 Posts: 318
|
Posted: Tue Apr 06, 2021 8:22 pm Post subject: |
|
|
Most of my workflow was focused on kde-apps since these old days and the kde-meta-packages were always well maintained and suited for me.
If a package is is changed (e.g. dolphin<->konqueror) I would have to make this change manually.
At now I just have my productive pc's (with gentoo)
The set solution is a good idea, sounds like a steam-games-solution from the Gentoo-wiki.
I'll look for it I promise. Although a already existent samba useflag would fit best for me.
At now its a wish, and the provided -file works for the moment without errors. _________________ With nice greetings
Vrenn |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 4362 Location: Bavaria
|
Posted: Tue Apr 06, 2021 10:40 pm Post subject: |
|
|
Thanks a lot !
Greetings,
Peter |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8942
|
|
Back to top |
|
|
Vrenn Guru
Joined: 15 Dec 2004 Posts: 318
|
Posted: Wed Apr 07, 2021 6:10 pm Post subject: |
|
|
wow, quick reaction, thank you.
I believe the useflag is an elegant solution.
Anyway you might be right I have to use more sets and renovate my /etc/portage files. _________________ With nice greetings
Vrenn |
|
Back to top |
|
|
|