Marc's Public Blog - Linux Hacking


All | Aquariums | Arduino | Btrfs | Cars | Cats | Clubbing | Computers | Diving | Dreamstate | Edc | Electronics | Exercising | Festivals | Flying | Halloween | Hbot | Hiking | Linux | Linuxha | Monuments | Museums | Oshkosh | Outings | Public | Rc | Sciencemuseums | Solar | Tfsf | Trips



>>> Back to post index <<<

2023/04/01 pycentral upgrade breakage
π 2023-04-01 01:01 in Linux
Dear google, please index this:

Some old python-central package and compat breakage I wasn't interested in debugging, caused upgrades and uninstalls to fail. Causing a complex upgrade to fail in the middle due to a failed package removal on a pre-uninstall failing on pycentral, broke the system quite badly.

I restored it from a brrfs snapshot and then disabled pycentral (/bin/true) to allow its removal and apt-get -f install to suceed. After that, upgrades were possible again.

Removing gnome-codec-install (0.4.7+nmu1) ... File "/usr/bin/pycentral", line 87 raise ValueError, 'unknown version info %s' % vinfo Removing python-gst0.10 (0.10.22-2) ... File "/usr/bin/pycentral", line 87 raise ValueError, 'unknown version info %s' % vinfo ^ SyntaxError: invalid syntax dpkg: error processing package python-gst0.10 (--remove): installed python-gst0.10 package pre-removal script subprocess returned error exit status 1 dpkg: too many errors, stopping File "/usr/bin/pycentral", line 87 raise ValueError, 'unknown version info %s' % vinfo

saruman:~# mv /usr/bin/pycentral /usr/bin/pycentral.orig saruman:~# ln -s /bin/true /usr/bin/pycentral saruman:~# ln dpkg --remove python-central python-gst0.10 python-bluez gnome-codec-install bzrtools (Reading database ... 503974 files and directories currently installed.) Removing python-bluez (0.18-1+b2) ... dpkg: warning: while removing python-bluez, directory '/usr/lib/python2.6/dist-packages/bluetooth' not empty so not removed dpkg: warning: while removing python-bluez, directory '/usr/lib/python2.7/dist-packages/bluetooth' not empty so not removed Removing gnome-codec-install (0.4.7+nmu1) ... Removing bzrtools (2.3.1-1) ... Removing python-gst0.10 (0.10.22-2) ... dpkg: warning: while removing python-gst0.10, directory '/usr/lib/python2.6/dist-packages/gst-0.10/gst/extend' not empty so not removed dpkg: warning: while removing python-gst0.10, directory '/usr/lib/python2.7/dist-packages/gst-0.10/gst/extend' not empty so not removed Removing python-central (0.6.14+nmu2) ... Processing triggers for hicolor-icon-theme (0.15-1) ... Processing triggers for man-db (2.7.0.2-4) ...


More pages: July 2002 February 2004 March 2004 November 2004 April 2005 August 2005 January 2006 July 2006 August 2007 November 2007 January 2008 October 2008 November 2008 December 2008 January 2009 May 2009 July 2009 August 2009 September 2009 November 2009 December 2009 January 2010 March 2010 April 2010 June 2010 August 2010 October 2010 January 2011 July 2011 August 2011 December 2011 January 2012 March 2012 May 2012 August 2012 December 2012 January 2013 March 2013 May 2013 September 2013 November 2013 January 2014 March 2014 April 2014 May 2014 October 2014 January 2015 March 2015 May 2015 January 2016 February 2016 June 2016 July 2016 August 2016 October 2016 January 2017 September 2017 January 2018 March 2018 December 2018 January 2019 January 2020 May 2020 January 2021 September 2021 March 2023 April 2023 December 2023 June 2024 November 2024

>>> Back to post index <<<

Contact Email