Public bug reported:
Binary package hint: landscape-client
If apt is run with a debconf priority of medium landscape account
information is asked during the package installation. However landscape-
config fails:
Setting up landscape-client (1.0.18-0ubuntu1) ...
* Running update-motd failed.
* Reloading system message bus config... [ OK ]
Traceback (most recent call last):
File "/usr/bin/landscape-config", line 6, in <module>
from landscape.configuration import main
File "/usr/lib/python2.5/site-packages/landscape/configuration.py", line 18,
in <module>
from landscape.broker.deployment import BrokerConfiguration
File "/usr/lib/python2.5/site-packages/landscape/broker/deployment.py", line
5, in <module>
from landscape.deployment import (LandscapeService, Configuration,
File "/usr/lib/python2.5/site-packages/landscape/deployment.py", line 21, in
<module>
from landscape.reactor import TwistedReactor
File "/usr/lib/python2.5/site-packages/landscape/reactor.py", line 8, in
<module>
import gobject
ImportError: No module named gobject
The reason is that the package python-gobject uses python-support which
uses dpkg triggers to install python modules. Since dpkg triggers are
run after all postinst scripts, the gobject module is not available when
landscape-client.postinst calls landscape-config.
At a first glance it seems most of the work done by landscape-config
could be done in the postinst script. The only issue is sending the
registration request to the landscape server.
NB: in order to use debconf at medium priority when installing packages,
modify the apt configuration:
[EMAIL PROTECTED]:~$ cat /etc/apt/apt.conf.d/70debconf
// Pre-configure all packages with debconf before they are installed.
// If you don't like it, comment it out.
DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt --priority=medium ||
true";};
** Affects: landscape-client (Ubuntu)
Importance: High
Status: New
** Changed in: landscape-client (Ubuntu)
Importance: Undecided => High
--
registrating clients doesn't work when installing the package
https://bugs.launchpad.net/bugs/268838
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs