Hi,

happened the same to me in Natty when installing nulog:

$ sudo apt-get install nulog
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  python-ipy python-matplotlib python-matplotlib-data python-mysqldb 
python-pyparsing python-soappy python-tz ttf-lyx
Suggested packages:
  ulogd ulogd-mysql nufw dvipng ipython python-excelerator 
python-matplotlib-doc python-scipy python-traits texlive-extra-utils 
texlive-latex-extra python-mysqldb-dbg
The following NEW packages will be installed:
  nulog python-ipy python-matplotlib python-matplotlib-data python-mysqldb 
python-pyparsing python-soappy python-tz ttf-lyx
0 upgraded, 9 newly installed, 0 to remove and 61 not upgraded.
Need to get 5,018 kB of archives.
After this operation, 18.6 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
...
Starting nulog: Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 631, 
in run
    runApp(config)
  File "/usr/lib/python2.7/dist-packages/twisted/scripts/twistd.py", line 23, 
in runApp
(Python traceback)
  File "/usr/sbin/nulog.tac", line 37, in <module>
    from nucentral import client, core
exceptions.ImportError: No module named nucentral

Failed to load application: No module named nucentral

invoke-rc.d: initscript nulog, action "start" failed.
dpkg: error processing nulog (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for python-support ...
Errors were encountered while processing:
 nulog
E: Sub-process /usr/bin/dpkg returned an error code (1)


Fixed this issue by doing the following:

$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 61 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up nulog (2.0.dfsg.1-2) ...
Starting nulog: DB: SELECT COUNT(*) FROM conntrack_ulog;
DB: SELECT MIN(timestamp), MAX(timestamp) FROM ulog_1;
nulog.
Processing triggers for python-support ...

And that's it. :-)

Kind regards,
--j

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/706433

Title:
  package nulog 2.0.dfsg.1-2 failed to install/upgrade:
  exceptions.ImportError: No module named nucentral

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nulog/+bug/706433/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to