Portál AbcLinuxu, 15. května 2025 11:05
sudo apt-get install python-wxgtk2.6 python-wxversion Reading package lists... Done Building dependency tree... Done python-wxgtk2.6 is already the newest version. The following NEW packages will be installed: python-wxversion 0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded. 1 not fully installed or removed. Need to get 0B/20.7kB of archives. After unpacking 81.9kB of additional disk space will be used. Selecting previously deselected package python-wxversion. (Reading database ... 106635 files and directories currently installed.) Unpacking python-wxversion (from .../python-wxversion_2.6.1.2ubuntu2_all.deb) ... Setting up python-wxversion (2.6.1.2ubuntu2) ... Setting up python-wxgtk2.6 (2.6.1.2ubuntu2) ... update-alternatives: internal error: /var/lib/dpkg/alternatives/wx.pth corrupt: missing newline after manflag dpkg: error processing python-wxgtk2.6 (--configure): subprocess post-installation script returned error exit status 2 Errors were encountered while processing: python-wxgtk2.6 E: Sub-process /usr/bin/dpkg returned an error code (1)docela bych to potřeboval, za případné rady jsem neskonale vděčný.
Zkusil bych vse souvisejici odstranit a nainstalovat znovu. Me to funguje:
sudo dpkg --purge python-wxgtk2.6 (Reading database ... 106634 files and directories currently installed.) Removing python-wxgtk2.6 ... update-alternatives: internal error: /var/lib/dpkg/alternatives/wx.pth corrupt: missing newline after manflag dpkg: error processing python-wxgtk2.6 (--purge): subprocess pre-removal script returned error exit status 2 update-alternatives: internal error: /var/lib/dpkg/alternatives/wx.pth corrupt: missing newline after manflag dpkg: error while cleaning up: subprocess post-installation script returned error exit status 2 Errors were encountered while processing: python-wxgtk2.6jak na to?
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.