Closed olegstepura closed 13 years ago
server # emerge -V Portage 2.1.10.31 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.13-r4, 3.0.7-gentoo x86_64)
What actually goes wrong here is that I failed to call python_pkg_setup so postrm refuses to work. I've pushed a newer version, but since it fails on removal I'm unsure if it actually uses the new one. If it doesn't work, try:
cp /var/lib/layman/samba4/net-fs/samba/samba-4.0.0_alpha17-r2.ebuild /var/db/pkg/net-fs/samba-4.0.0_alpha17-r2/samba-4.0.0_alpha17-r2.ebuild
That should solve your issue.
Neither layman -f && emerge -v samba
not cp
-ing as you mentioned helped. =( So I am still experiencing the same issue.
layman -f
should be layman -S
.
Ooops. Started again
Fantastic!
rm /var/db/pkg/net-fs/samba-4.0.0_alpha17-r2/samba-4.0.0_alpha17-r2.ebuild
layman -S
emerge -v samba
Worked like a sharm. Thank you!
You're welcome
I am not sure, but this could be related to the problem I had before (since both are python-related)
Running provision
produces the error:
Traceback (most recent call last):
File "/usr/sbin/provision", line 33, in <module>
import samba
File "/usr/lib64/python2.7/site-packages/samba/__init__.py", line 50, in <module>
from samba._ldb import Ldb as _Ldb
ImportError: liberrors.so: cannot open shared object file: No such file or directory
Can you please help?
I can reproduce the error and it feels like a bug to me. I'll look into it.
Thanks! This issue should be reopened than I suppose ;)
Cool! Will be waiting for it to be fixed.
Hi!
I'm trying to emerge it on a clean PC and get this error:
I did a reattempt to reinstall the whole system, rebuilding the world and running
revdep-rebuild
andpython-updater
but the problem persists and is the same.Actually it even is installed and seem to be working, also appearing in the list of installed software but the error prevents me from being able to rebuild the world for example. Also I cannot tell everything is totally ok .
I used this guide for installing: http://en.gentoo-wiki.com/wiki/Samba4_as_Active_Directory_Server (using
heidmal
instead ofmit-krb
)Here are the complete logs and everything that portage asks to provide: https://gist.github.com/1316180
Is there anything I'm doing wrong?
Thanks!