Cannot run python3 scripts any more

Tony Arnold tony.arnold at manchester.ac.uk
Tue Dec 12 22:50:47 UTC 2017


I've now re-installed my system, but apt is still suggesting to
autoremove the package 'python3-dbus.mainloop.qt'.

Does anyone know, or can tell me how to find out, if this package is
needed in Artful, or is this a dependency bug?

Regards,
Tony.

On Mon, 2017-12-11 at 22:10 +0000, Tony Arnold wrote:
> After today's updates, I did an apt autormove which tried to
> uninstall
> the package python3-dbus.mainloop.qt, which failed. Since then, I've
> tried to purge this packae, uninsytall it, re-install it and I get
> the
> following:
> 
> $ sudo apt purge python3-dbus.mainloop.qt
> Reading package lists... Done
> Building dependency tree       
> Reading state information... Done
> The following packages will be REMOVED
>   python3-dbus.mainloop.qt*
> 0 to upgrade, 0 to newly install, 1 to remove and 0 not to upgrade.
> 1 not fully installed or removed.
> After this operation, 65.5 kB disk space will be freed.
> Do you want to continue? [Y/n] 
> (Reading database ... 536635 files and directories currently
> installed.)
> Removing python3-dbus.mainloop.qt (4.11.4+dfsg-2build2) ...
> Segmentation fault (core dumped)
> dpkg: error processing package python3-dbus.mainloop.qt (--remove):
>  subprocess installed pre-removal script returned error exit status
> 139
> Segmentation fault (core dumped)
> dpkg: error while cleaning up:
>  subprocess installed post-installation script returned error exit
> status 139
> Errors were encountered while processing:
>  python3-dbus.mainloop.qt
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> And now many python3 programs fail with segmentation fault
> immediately,
> including commands such as pip3, for example.
> 
> Anyone else seen this? Anyone have a clue where to start?
> 
> All help gratefully received.
> 
> Regards,
> Tony.
> -- 
> Tony Arnold MBCS, CITP | Senior IT Security Analyst | Directorate of
> IT Services | G64, Kilburn Building | The University of Manchester |
> Manchester M13 9PL | T: +44 161 275 6093 | M: +44 773 330 0039
> 
-- 
Tony Arnold MBCS, CITP | Senior IT Security Analyst | Directorate of IT Services | G64, Kilburn Building | The University of Manchester | Manchester M13 9PL | T: +44 161 275 6093 | M: +44 773 330 0039


More information about the ubuntu-users mailing list