Preparing to unpack .../gnome-desktop3-data_3.28.2-0ubuntu1.2_all.deb ... Unpacking gnome-desktop3-data (3.28.2-0ubuntu1.2) over (3.28.2-0ubuntu1.1) ... Preparing to unpack .../libgnome-desktop-3-17_3.28.2-0ubuntu1.2_amd64.deb ... Unpacking libgnome-desktop-3-17:amd64 (3.28.2-0ubuntu1.2) over (3.28.2-0ubuntu1.1) ... Preparing to unpack .../gir1.2-gnomedesktop-3.0_3.28.2-0ubuntu1.2_amd64.deb ... Unpacking gir1.2-gnomedesktop-3.0:amd64 (3.28.2-0ubuntu1.2) over (3.28.2-0ubuntu1.1) ... Processing triggers for libc-bin (2.27-3ubuntu1) ... Setting up python-gtk2-dev (2.24.0-5.1ubuntu2) ... File "/usr/bin/pyversions", line 20 except IOError, msg: ^ SyntaxError: invalid syntax dpkg: error processing package python-gtk2-dev (--configure): installed python-gtk2-dev package post-installation script subprocess returned error exit status 1 Setting up gnome-desktop3-data (3.28.2-0ubuntu1.2) ...