[Bug 58915] Re: Python upgrade errors
@Matthias Klose: urgs, I'm very sorry for confusing this :/ -- Python upgrade errors https://launchpad.net/bugs/58915 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 58915] Re: Python upgrade errors
this is python-support ... -- Python upgrade errors https://launchpad.net/bugs/58915 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 58915] Re: Python upgrade errors
the python-gtk-1.2 issue seems to be reported in #61323 already. -- Python upgrade errors https://launchpad.net/bugs/58915 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 58915] Re: Python upgrade errors
@Bastanteroma: that one is yet another different bug in python-central (or python-gtk-1.2/python-goject depends on how you look at it). If it was not reported already it should be filed as a new bug. -- Python upgrade errors https://launchpad.net/bugs/58915 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 58915] Re: Python upgrade errors
And I still get what seems to be the same error. [EMAIL PROTECTED]:~$ sudo aptitude upgrade Reading package lists... Done Building dependency tree... Done Initializing package states... Done Building tag database... Done No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0B of archives. After unpacking 0B will be used. Setting up python-gtk-1.2 (0.6.12-5) ... Traceback (most recent call last): File "/usr/sbin/update-python-modules", line 281, in ? process(basedir,install_modules(py_installed)) File "/usr/sbin/update-python-modules", line 154, in process func(basedir, dir, file) File "/usr/sbin/update-python-modules", line 121, in install_modules_func raise "Trying to overwrite %s which is already provided by %s"%(os.path.join(dir,file),otherdir) Trying to overwrite pygtk.py which is already provided by /usr/share/python-support/python-gobject dpkg: error processing python-gtk-1.2 (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: python-gtk-1.2 E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover: Setting up python-gtk-1.2 (0.6.12-5) ... Traceback (most recent call last): File "/usr/sbin/update-python-modules", line 281, in ? process(basedir,install_modules(py_installed)) File "/usr/sbin/update-python-modules", line 154, in process func(basedir, dir, file) File "/usr/sbin/update-python-modules", line 121, in install_modules_func raise "Trying to overwrite %s which is already provided by %s"%(os.path.join(dir,file),otherdir) Trying to overwrite pygtk.py which is already provided by /usr/share/python-support/python-gobject dpkg: error processing python-gtk-1.2 (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: python-gtk-1.2 -- Python upgrade errors https://launchpad.net/bugs/58915 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 58915] Re: Python upgrade errors
** Bug 61457 has been marked a duplicate of this bug -- Python upgrade errors https://launchpad.net/bugs/58915 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 58915] Re: Python upgrade errors
I have this error: excuse me for log in italian Conf python-gtk-1.2 (0.6.12-5) ... Traceback (most recent call last): File "/usr/sbin/update-python-modules", line 279, in ? process(basedir,install_modules(py_installed)) File "/usr/sbin/update-python-modules", line 150, in process func(basedir, dir, file) File "/usr/sbin/update-python-modules", line 117, in install_modules_f raise "Trying to overwrite %s which is already provided by %s"%(os.p (dir,file),otherdir) Trying to overwrite pygtk.py which is already provided by /usr/share/pyt ort/python-gobject dpkg: errore processando python-gtk-1.2 (--configure): il sottoprocesso post-installation script ha restituito un codice di er dpkg: problemi con le dipendenze impediscono la configurazione di python .2: python-glade-1.2 dipende da python-gtk-1.2 (= 0.6.12-5); comunque: Package python-gtk-1.2 is not configured yet. dpkg: errore processando python-glade-1.2 (--configure): problemi con le dipendenze - lasciato non configurato Sono occorsi degli errori processando: python-gtk-1.2 python-glade-1.2 -- Python upgrade errors https://launchpad.net/bugs/58915 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 58915] Re: Python upgrade errors
** Changed in: python-central (Ubuntu) Status: Fix Committed => Fix Released -- Python upgrade errors https://launchpad.net/bugs/58915 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 58915] Re: Python upgrade errors
At 4:18 pm EDT, i too did and apt-get update and installed the packages listed above. I can also confirm that this bug is FIXED. Cheers and thank you. -- Python upgrade errors https://launchpad.net/bugs/58915 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 58915] Re: Python upgrade errors
Around 3:50 PM, I did an apt-get update, and the changes were up. The following packages will be upgraded: python python-apt python-central python-examples python-minimal python-pisock The upgrade now continues for me and gets past these. (It errors on another part, unrelated to this bug) I can confirm this particular bug is FIXED. -- Python upgrade errors https://launchpad.net/bugs/58915 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 58915] Re: Python upgrade errors
** Bug 61509 has been marked a duplicate of this bug -- Python upgrade errors https://launchpad.net/bugs/58915 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 58915] Re: Python upgrade errors
Robert: The fix is already in progress. You did your part by making it here to report the bug. Cheers -- Python upgrade errors https://launchpad.net/bugs/58915 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 58915] Re: Python upgrade errors
I'm glad that these has been reported. Hope it gets fixed. What else should I do to help. But I can't code. -- Python upgrade errors https://launchpad.net/bugs/58915 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 58915] Re: Python upgrade errors
Yeah, the fix is in progress, it should be availalbe soon. -- Python upgrade errors https://launchpad.net/bugs/58915 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 58915] Re: Python upgrade errors
I can't confirm fix either. In fact, I can confirm it's broken. The pre-rm script involves pycentral, which attempts to invoke a nonexistant method "old_versions" from pyversions. Since the call only exists so pycentral can emit some warnings, and doesn't affect actual program logic, I commented out the call, replacing it with an empty array, to "fix" the upgrade. ** Bug 61472 has been marked a duplicate of this bug -- Python upgrade errors https://launchpad.net/bugs/58915 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 58915] Re: Python upgrade errors
I can confirm this bug as well. But I also seem to be getting it from the file /var/cache/apt/archives/python-pisock_0.12.1-3_i386.deb Going by what Micah said, I guess that if old_versions method is corrected, both files will be fixed. -- Python upgrade errors https://launchpad.net/bugs/58915 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 58915] Re: Python upgrade errors
As of 12:35 pm EDT, I can't confirm this bug has been fixed. I attempted after an apt-get update. -- Python upgrade errors https://launchpad.net/bugs/58915 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 58915] Re: Python upgrade errors
Just re-installed using today's Flight 3. Install completed at 12:00 noon EST, USA. Bug not fixed. Machine Acer Ferrari 4005 AMD64. Selected all default options. After re-boot, synaptic package manager gives me the following: E: /var/cache/apt/archives/python-apt_0.6.19ubuntu5_amd64.deb: subprocess new pre-removal script returned error exit status 1 Will try again at about 3:00 EST. -- Python upgrade errors https://launchpad.net/bugs/58915 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 58915] Re: Python upgrade errors
** Bug 61458 has been marked a duplicate of this bug -- Python upgrade errors https://launchpad.net/bugs/58915 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 58915] Re: Python upgrade errors
The latest upload of python-defaults should have fixed it (fingers crossed). I set it to "commited" until it makes it to the archive and I get a confirmation for the fix. ** Changed in: python-central (Ubuntu) Assignee: Matthias Klose => Michael Vogt Status: In Progress => Fix Committed -- Python upgrade errors https://launchpad.net/bugs/58915 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 58915] Re: Python upgrade errors
I reject that task against python2.3 because it turned out that is only a python-central/python-minimal issue ** Changed in: python2.3 (Ubuntu) Status: Unconfirmed => Rejected -- Python upgrade errors https://launchpad.net/bugs/58915 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 58915] Re: Python upgrade errors
Oh, the joy of code duplication :( I uploaded a updated python-minimal now as well with the same set of changes. Lets that should fixe the issue. -- Python upgrade errors https://launchpad.net/bugs/58915 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 58915] Re: Python upgrade errors
It doesn't work because pycentral puts /usr/share/python before /usr/share/pycentral-data and /usr/share/python already has a pyversion.py (from python-minimal), so it won't load the right module. regards, Benoit -- Python upgrade errors https://launchpad.net/bugs/58915 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 58915] Re: Python upgrade errors
** Attachment added: "Proposed debdiff to fix the problem and turn it into a warning" http://librarian.launchpad.net/4316426/python-central_0.5.5ubuntu1.debdiff -- Python upgrade errors https://launchpad.net/bugs/58915 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 58915] Re: Python upgrade errors
Hi Matthias, attached is a debdiff for a fix that turns the error into a warning and that should fix the issue. Please review. If you like it I will upload it tomorrow. Cheers, Michael ** Changed in: python2.3 (Ubuntu) Status: Confirmed => In Progress ** Changed in: python2.3 (Ubuntu) Sourcepackagename: python2.3 => python-central -- Python upgrade errors https://launchpad.net/bugs/58915 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 58915] Re: Python upgrade errors
Same here. I have been running edgy for since late July. I tried to install scribus-ng which depends on python2.3 and the python2.3 package is broken, as above. It can't be removed/purged even using dpkg. Here is what i get when trying to remove it. $ sudo dpkg -P --force-all python2.3 (Reading database ... 185658 files and directories currently installed.) Removing python2.3 ... Unlinking and removing bytecode for runtime python2.3... pycentral: pycentral rtremove: installed runtime python2.3 not found pycentral rtremove: installed runtime python2.3 not found dpkg: error processing python2.3 (--purge): subprocess pre-removal script returned error exit status 1 Errors were encountered while processing: python2.3 -- Python upgrade errors https://launchpad.net/bugs/58915 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 58915] Re: Python upgrade errors
Confirmed here, too. Upgrade to Edgy from dapper went well. Except "sudo aptitude dist-upgrade" shows this for Python 2.3 and Python 2.3-imaging: [EMAIL PROTECTED]:~$ sudo aptitude dist-upgrade Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Building tag database... Done No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0B of archives. After unpacking 0B will be used. Setting up python2.3 (2.3.5-15ubuntu1) ... byte-compiling files for package python2.3... Linking and byte-compiling packages for runtime python2.3... pycentral: pycentral rtinstall: installed runtime python2.3 not found pycentral rtinstall: installed runtime python2.3 not found dpkg: error processing python2.3 (--configure): subprocess post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of python2.3-imaging: python2.3-imaging depends on python2.3; however: Package python2.3 is not configured yet. dpkg: error processing python2.3-imaging (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: python2.3 python2.3-imaging E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover: Setting up python2.3 (2.3.5-15ubuntu1) ... byte-compiling files for package python2.3... Linking and byte-compiling packages for runtime python2.3... pycentral: pycentral rtinstall: installed runtime python2.3 not found pycentral rtinstall: installed runtime python2.3 not found dpkg: error processing python2.3 (--configure): subprocess post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of python2.3-imaging: python2.3-imaging depends on python2.3; however: Package python2.3 is not configured yet. dpkg: error processing python2.3-imaging (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: python2.3 python2.3-imaging [EMAIL PROTECTED]:~$ -- Python upgrade errors https://launchpad.net/bugs/58915 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 58915] Re: Python upgrade errors
Yep...Happened to me as well. If a confirmable ubuntu dev needs a login to be able to re-produce this let me know. -- Python upgrade errors https://launchpad.net/bugs/58915 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 58915] Re: Python upgrade errors
I can confirm this: (Lese Datenbank ... 164948 Dateien und Verzeichnisse sind derzeit installiert.) Entferne python2.3 ... Unlinking and removing bytecode for runtime python2.3... pycentral: pycentral rtremove: installed runtime python2.3 not found pycentral rtremove: installed runtime python2.3 not found dpkg: Fehler beim Bearbeiten von python2.3 (--remove): Unterprozess pre-removal script gab den Fehlerwert 1 zurück Fehler traten auf beim Bearbeiten von: python2.3 E: Sub-process /usr/bin/dpkg returned an error code (1) -- Python upgrade errors https://launchpad.net/bugs/58915 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 58915] Re: Python upgrade errors
** Changed in: python2.3 (Ubuntu) Assignee: (unassigned) => Matthias Klose Status: Unconfirmed => Confirmed -- Python upgrade errors https://launchpad.net/bugs/58915 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 58915] Re: Python upgrade errors
I can also confirm, after dist-upgrading to edgy from a fully updated dapper today. python-wxglade also failing to configure, looks related: Start console output [EMAIL PROTECTED]:~$ sudo apt-get -f install Reading package lists... Done Building dependency tree... Done 0 upgraded, 0 newly installed, 0 to remove and 35 not upgraded. 2 not fully installed or removed. Need to get 0B of archives. After unpacking 0B of additional disk space will be used. Setting up python-wxglade (0.4.1-1) ... Traceback (most recent call last): File "/usr/bin/pycentral", line 1325, in ? main() File "/usr/bin/pycentral", line 1319, in main rv = action.run(global_options) File "/usr/bin/pycentral", line 855, in run pkg.set_default_runtime_from_version_info() File "/usr/bin/pycentral", line 529, in set_default_runtime_from_version_info versions = list(pyversions.requested_versions(self.version_field, version_only=True)) File "/usr/share/python/pyversions.py", line 113, in requested_versions raise ValueError, 'empty set of versions' ValueError: empty set of versions dpkg: error processing python-wxglade (--configure): subprocess post-installation script returned error exit status 1 Setting up python2.3 (2.3.5-15ubuntu1) ... byte-compiling files for package python2.3... Linking and byte-compiling packages for runtime python2.3... pycentral: pycentral rtinstall: installed runtime python2.3 not found pycentral rtinstall: installed runtime python2.3 not found dpkg: error processing python2.3 (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: python-wxglade python2.3 E: Sub-process /usr/bin/dpkg returned an error code (1) End console output The 35 not upgraded are: beagle beagle-backend-evolution eric hpijs python-adns python- clientcookie python-crypto python-gadfly python-htmlgen python-htmltmpl python-imaging python-imaging-sane python-jabber python-kde3 python- kjbuckets python-ldap python-mysqldb python-pam python-pexpect python- pgsql python-profiler python-pygame python-pylibacl python-pyopenssl python-pyxattr python-qt3 python-qtext python-reportlab python-simpletal python-soappy python-sqlite python-syck python-xmpp sketch x-window- system-core -- Python upgrade errors https://launchpad.net/bugs/58915 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 58915] Re: Python upgrade errors
I can confirm this bug: [EMAIL PROTECTED]:~$ sudo apt-get -f install Reading package lists... Done Building dependency tree... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. Need to get 0B of archives. After unpacking 0B of additional disk space will be used. Setting up python2.3 (2.3.5-15ubuntu1) ... byte-compiling files for package python2.3... Linking and byte-compiling packages for runtime python2.3... pycentral: pycentral rtinstall: installed runtime python2.3 not found pycentral rtinstall: installed runtime python2.3 not found dpkg: error processing python2.3 (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: python2.3 E: Sub-process /usr/bin/dpkg returned an error code (1) -- Python upgrade errors https://launchpad.net/bugs/58915 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 58915] Re: Python upgrade errors
I see what happened now. This comment listing is not showing all of the file attachments for some reason. If you look on the right side under "Bug Attachments" you can see that I've now duplicated term.log and main.log. -- Python upgrade errors https://launchpad.net/bugs/58915 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 58915] Re: Python upgrade errors
** Attachment added: "term.log" http://librarian.launchpad.net/4128210/term.log -- Python upgrade errors https://launchpad.net/bugs/58915 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 58915] Re: Python upgrade errors
Odd, I attached all three log files from /var/log/dist-upgrade. Even received 3 email notifications about it! ** Attachment added: "main.log" http://librarian.launchpad.net/4128199/main.log -- Python upgrade errors https://launchpad.net/bugs/58915 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 58915] Re: Python upgrade errors
Thanks for your bugreport. This looks like a problem with python2.3 during the upgrade. Can you please attach the file '/var/log/dist-upgrade/main.log' and '/var/log /dist-upgrade/term.log' as well to make it easier for us to debug the problem? Thanks, Michael ** Changed in: update-manager (Ubuntu) Sourcepackagename: update-manager => python2.3 Importance: Untriaged => High Target: None => ubuntu-6.10 -- Python upgrade errors https://launchpad.net/bugs/58915 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 58915] Re: Python upgrade errors
-- Python upgrade errors https://launchpad.net/bugs/58915 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 58915] Re: Python upgrade errors
-- Python upgrade errors https://launchpad.net/bugs/58915 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 58915] Re: Python upgrade errors
-- Python upgrade errors https://launchpad.net/bugs/58915 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs