I followed the test case in the bug description and installed python version 3.5.1 in /usr/local/bin and did receive the traceback from the description when reinstalling python3.5. I then modified my /etc/apt/sources.list file to enable -proposed ran 'apt-get update' and then installed python3.5 from zesty-proposed.
Get:1 http://archive.ubuntu.com/ubuntu zesty-proposed/main amd64 libpython3.5 amd64 3.5.3-1ubuntu0~17.04.1 [1,372 kB] Get:2 http://archive.ubuntu.com/ubuntu zesty-proposed/main amd64 python3.5 amd64 3.5.3-1ubuntu0~17.04.1 [175 kB] Get:3 http://archive.ubuntu.com/ubuntu zesty-proposed/main amd64 libpython3.5-stdlib amd64 3.5.3-1ubuntu0~17.04.1 [2,167 kB] Get:4 http://archive.ubuntu.com/ubuntu zesty-proposed/main amd64 python3.5-minimal amd64 3.5.3-1ubuntu0~17.04.1 [1,635 kB] Get:5 http://archive.ubuntu.com/ubuntu zesty-proposed/main amd64 libpython3.5-minimal amd64 3.5.3-1ubuntu0~17.04.1 [529 kB] Fetched 5,877 kB in 1s (3,560 kB/s) (Reading database ... 229111 files and directories currently installed.) Preparing to unpack .../libpython3.5_3.5.3-1ubuntu0~17.04.1_amd64.deb ... Unpacking libpython3.5:amd64 (3.5.3-1ubuntu0~17.04.1) over (3.5.3-1ubuntu0~17.04.0) ... Preparing to unpack .../python3.5_3.5.3-1ubuntu0~17.04.1_amd64.deb ... Unpacking python3.5 (3.5.3-1ubuntu0~17.04.1) over (3.5.3-1ubuntu0~17.04.0) ... Preparing to unpack .../libpython3.5-stdlib_3.5.3-1ubuntu0~17.04.1_amd64.deb ... Unpacking libpython3.5-stdlib:amd64 (3.5.3-1ubuntu0~17.04.1) over (3.5.3-1ubuntu0~17.04.0) ... Preparing to unpack .../python3.5-minimal_3.5.3-1ubuntu0~17.04.1_amd64.deb ... Unpacking python3.5-minimal (3.5.3-1ubuntu0~17.04.1) over (3.5.3-1ubuntu0~17.04.0) ... Preparing to unpack .../libpython3.5-minimal_3.5.3-1ubuntu0~17.04.1_amd64.deb ... Unpacking libpython3.5-minimal:amd64 (3.5.3-1ubuntu0~17.04.1) over (3.5.3-1ubuntu0~17.04.0) ... Processing triggers for mime-support (3.60ubuntu1) ... Processing triggers for desktop-file-utils (0.23-1ubuntu2) ... Processing triggers for bamfdaemon (0.5.3+17.04.20170406-0ubuntu1) ... Rebuilding /usr/share/applications/bamf-2.index... Processing triggers for libc-bin (2.24-9ubuntu2.2) ... Processing triggers for man-db (2.7.6.1-2) ... Processing triggers for gnome-menus (3.13.3-6ubuntu5) ... Setting up libpython3.5-minimal:amd64 (3.5.3-1ubuntu0~17.04.1) ... Setting up libpython3.5-stdlib:amd64 (3.5.3-1ubuntu0~17.04.1) ... Setting up python3.5-minimal (3.5.3-1ubuntu0~17.04.1) ... Setting up python3.5 (3.5.3-1ubuntu0~17.04.1) ... Setting up libpython3.5:amd64 (3.5.3-1ubuntu0~17.04.1) ... Processing triggers for libc-bin (2.24-9ubuntu2.2) ... No traceback! ** Tags removed: verification-needed-zesty ** Tags added: verification-done-zesty -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1682934 Title: python3 in /usr/local/bin can cause python3 packages to fail to install To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/1682934/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs