[Bug 2078356] Re: python3 upgrade has unmet dependencies

2024-08-30 Thread Andreas Hasenack
It doesn't look like it's the update itself, because as can be seen in https://bugs.launchpad.net/ubuntu/+source/python3-defaults/+bug/2078356/comments/33, reinstalling the non-update version also triggered it. I'm starting to think it could be one of the /usr/share/python3/runtime.d/*.rtupdate sc

[Bug 2078356] Re: python3 upgrade has unmet dependencies

2024-08-30 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: python3-defaults (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2078356 Ti

[Bug 2078356] Re: python3 upgrade has unmet dependencies

2024-08-30 Thread theofficialgman
Seems related to https://bugs.launchpad.net/ubuntu/+source/python3-defaults/+bug/2078489 Why were these bugs filed separately? Seeing the linked issue reported via multiple users on varying hardware. Please drop `3.12.3-0ubuntu2` python3 packages from the repo to prevent further breakage of user

[Bug 2078356] Re: python3 upgrade has unmet dependencies

2024-08-30 Thread MCE Computer Service
** Attachment added: "term.log.gz" https://bugs.launchpad.net/ubuntu/+source/python3-defaults/+bug/2078356/+attachment/5811034/+files/term.log.gz -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/20783

[Bug 2078356] Re: python3 upgrade has unmet dependencies

2024-08-30 Thread MCE Computer Service
Sorry, sent the wrong files. ** Attachment added: "history.log.gz" https://bugs.launchpad.net/ubuntu/+source/python3-defaults/+bug/2078356/+attachment/5811033/+files/history.log.gz -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 2078356] Re: python3 upgrade has unmet dependencies

2024-08-30 Thread Andreas Hasenack
You don't have /var/log/apt/history.log nor /var/log/apt/term.log? Just the rotated .1 versions? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2078356 Title: python3 upgrade has unmet dependencies

[Bug 2078356] Re: python3 upgrade has unmet dependencies

2024-08-30 Thread MCE Computer Service
dpkg.log ** Attachment added: "dpkg.log.gz" https://bugs.launchpad.net/ubuntu/+source/python3-defaults/+bug/2078356/+attachment/5811012/+files/dpkg.log.gz -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/

[Bug 2078356] Re: python3 upgrade has unmet dependencies

2024-08-30 Thread MCE Computer Service
dmesg -T output ** Attachment added: "dmesgout.gz" https://bugs.launchpad.net/ubuntu/+source/python3-defaults/+bug/2078356/+attachment/5811011/+files/dmesgout.gz -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchp

[Bug 2078356] Re: python3 upgrade has unmet dependencies

2024-08-30 Thread MCE Computer Service
Syslog ** Attachment added: "syslog.gz" https://bugs.launchpad.net/ubuntu/+source/python3-defaults/+bug/2078356/+attachment/5811010/+files/syslog.gz -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2

[Bug 2078356] Re: python3 upgrade has unmet dependencies

2024-08-30 Thread MCE Computer Service
** Attachment added: "term.log.1.gz" https://bugs.launchpad.net/ubuntu/+source/python3-defaults/+bug/2078356/+attachment/5811009/+files/term.log.1.gz -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2

[Bug 2078356] Re: python3 upgrade has unmet dependencies

2024-08-30 Thread MCE Computer Service
** Attachment added: "history.log.1.gz" https://bugs.launchpad.net/ubuntu/+source/python3-defaults/+bug/2078356/+attachment/5811008/+files/history.log.1.gz -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/

[Bug 2078356] Re: python3 upgrade has unmet dependencies

2024-08-30 Thread MCE Computer Service
/var/log/apt/*.log (xz or gz) ** Attachment added: "eipp.log.xz" https://bugs.launchpad.net/ubuntu/+source/python3-defaults/+bug/2078356/+attachment/5811007/+files/eipp.log.xz -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https:

[Bug 2078356] Re: python3 upgrade has unmet dependencies

2024-08-30 Thread Andreas Hasenack
Oh, and /var/log/dpkg.log too please -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2078356 Title: python3 upgrade has unmet dependencies To manage notifications about this bug go to: https://bugs.l

[Bug 2078356] Re: python3 upgrade has unmet dependencies

2024-08-30 Thread Andreas Hasenack
Ok, maybe the script is being called with redirection to a log file. That doesn't explain why you didn't have the script in place, but let's check some logs. Could you please attach the following to this bug: /var/log/apt/*.log /var/log/syslog output of "dmesg -T" -- You received this bug noti

[Bug 2078356] Re: python3 upgrade has unmet dependencies

2024-08-29 Thread MCE Computer Service
Nothing different, just a standard install from a usb stick and updates and upgrades from apt. I have a couple of flatpack apps and of course some snaps, but that shouldn't matter. Now going back to my original post, this exact same thing has now happened on 2 different servers. The first serve

[Bug 2078356] Re: python3 upgrade has unmet dependencies

2024-08-29 Thread Andreas Hasenack
It's just not being executed, because we are not seeing the "set -x" output (which would be very noisy). Did you do something different to this system that you can recall? Install python from source, or packages from debian instead of ubuntu, or anywhere else? That kind of thing? -- You received

[Bug 2078356] Re: python3 upgrade has unmet dependencies

2024-08-29 Thread MCE Computer Service
It is still there. The one I created today. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2078356 Title: python3 upgrade has unmet dependencies To manage notifications about this bug go to: https:/

[Bug 2078356] Re: python3 upgrade has unmet dependencies

2024-08-29 Thread Andreas Hasenack
And there is no /var/lib/dpkg/info/python3.preinst now? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2078356 Title: python3 upgrade has unmet dependencies To manage notifications about this bug go

[Bug 2078356] Re: python3 upgrade has unmet dependencies

2024-08-29 Thread MCE Computer Service
And we are back to not being able to run sudo apt upgrade or sudo apt install -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2078356 Title: python3 upgrade has unmet dependencies To manage notifica

[Bug 2078356] Re: python3 upgrade has unmet dependencies

2024-08-29 Thread MCE Computer Service
Oops: sudo apt install --reinstall python3=3.12.3-0ubuntu1 Reading package lists... Done Building dependency tree... Done Reading state information... Done 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 12 not upgraded. Need to get 24.1 kB of archives. After this operation, 0 B of a

[Bug 2078356] Re: python3 upgrade has unmet dependencies

2024-08-29 Thread Andreas Hasenack
We should reinstall python3 to get things back to what they were, as much as possible. Run: sudo apt install --reinstall python3=3.12.3-0ubuntu1 And then, leave the system as is if there are no further errors. Maybe tomorrow someone has another idea to try. -- You received this bug notificat

[Bug 2078356] Re: python3 upgrade has unmet dependencies

2024-08-29 Thread MCE Computer Service
Looks like the file I created today: ls -la /var/lib/dpkg/info/python3.preinst -rwxr-xr-x 1 root root 994 Aug 29 16:36 /var/lib/dpkg/info/python3.preinst Still has the set -x: cat /var/lib/dpkg/info/python3.preinst #! /bin/sh set -e set -x # remove the python3 alternatives before installing ou

[Bug 2078356] Re: python3 upgrade has unmet dependencies

2024-08-29 Thread Andreas Hasenack
ok, well, that's good. Means there is this fallback that works. I still don't know why the upgrade failed for you. What does /var/lib/dpkg/info/python3.preinst look like now? ls -la /var/lib/dpkg/info/python3.preinst cat /var/lib/dpkg/info/python3.preinst -- You received this bug notificati

[Bug 2078356] Re: python3 upgrade has unmet dependencies

2024-08-29 Thread MCE Computer Service
python3 --version shows 3.12.3 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2078356 Title: python3 upgrade has unmet dependencies To manage notifications about this bug go to: https://bugs.launchp

[Bug 2078356] Re: python3 upgrade has unmet dependencies

2024-08-29 Thread MCE Computer Service
LOL. sudo apt install python3-minimal=3.12.3-0ubuntu1 libpython3-stdlib=3.12.3-0ubuntu1 python3=3.12.3-0ubuntu1 Reading package lists... Done Building dependency tree... Done Reading state information... Done python3 is already the newest version (3.12.3-0ubuntu1). The following packages will be

[Bug 2078356] Re: python3 upgrade has unmet dependencies

2024-08-29 Thread Andreas Hasenack
The "-s" was a simulation :) I wanted to check which packages would be downgraded, and the list looks correct. So let's try it without the -s: sudo apt install python3-minimal=3.12.3-0ubuntu1 libpython3-stdlib=3.12.3-0ubuntu1 python3=3.12.3-0ubuntu1 -- You received this bug notification becaus

[Bug 2078356] Re: python3 upgrade has unmet dependencies

2024-08-29 Thread MCE Computer Service
NO ERROR! That's a good thing. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2078356 Title: python3 upgrade has unmet dependencies To manage notifications about this bug go to: https://bugs.launch

[Bug 2078356] Re: python3 upgrade has unmet dependencies

2024-08-29 Thread MCE Computer Service
sudo apt install -s python3-minimal=3.12.3-0ubuntu1 libpython3-stdlib=3.12.3-0ubuntu1 python3=3.12.3-0ubuntu1 [sudo] password for mark: Reading package lists... Done Building dependency tree... Done Reading state information... Done python3 is already the newest version (3.12.3-0ubuntu1). The fol

[Bug 2078356] Re: python3 upgrade has unmet dependencies

2024-08-29 Thread Andreas Hasenack
What's the output of this command: sudo apt install -s python3-minimal=3.12.3-0ubuntu1 libpython3-stdlib=3.12.3-0ubuntu1 python3=3.12.3-0ubuntu1 This would be a revert attempt to the previous version. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subs

[Bug 2078356] Re: python3 upgrade has unmet dependencies

2024-08-29 Thread MCE Computer Service
ls -la /var/lib/dpkg/info/python3*preinst -rwxr-xr-x 1 root root 315 Jul 31 13:43 /var/lib/dpkg/info/python3.12-minimal.preinst -rwxr--r-- 1 root root 994 Aug 29 16:36 /var/lib/dpkg/info/python3.preinst -rwxr-xr-x 1 root root 741 Aug 13 10:32 /var/lib/dpkg/info/python3-uno.preinst py3versions -i

[Bug 2078356] Re: python3 upgrade has unmet dependencies

2024-08-29 Thread MCE Computer Service
Just caught that typo (mininal, not minimal) apt-cache policy python3 python3-minimal python3: Installed: 3.12.3-0ubuntu1 Candidate: 3.12.3-0ubuntu2 Version table: 3.12.3-0ubuntu2 500 500 http://us.archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages *** 3.12.3-0ubuntu1

[Bug 2078356] Re: python3 upgrade has unmet dependencies

2024-08-29 Thread Andreas Hasenack
> N: Unable to locate package python3-mininal Sorry, that was a typo on my part, it should have been python3-minimal -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2078356 Title: python3 upgrade ha

[Bug 2078356] Re: python3 upgrade has unmet dependencies

2024-08-29 Thread Andreas Hasenack
I'm baffled, you clearly have python3 installed, but no /var/lib/dpkg/info/python3.preinst and you had to create it by hand? What do you get with this: ls -la /var/lib/dpkg/info/python3*preinst And this: py3versions -i -- You received this bug notification because you are a member of Ubun

[Bug 2078356] Re: python3 upgrade has unmet dependencies

2024-08-29 Thread MCE Computer Service
Running dpkg-l python3 python3-minimal produced this output: dpkg -l python3 python3-minimal Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ NameVersi

[Bug 2078356] Re: python3 upgrade has unmet dependencies

2024-08-29 Thread MCE Computer Service
Running apt-cache policy python3 python3-mininal produced this output: apt-cache policy python3 python3-mininal python3: Installed: 3.12.3-0ubuntu1 Candidate: 3.12.3-0ubuntu2 Version table: 3.12.3-0ubuntu2 500 500 http://us.archive.ubuntu.com/ubuntu noble-updates/main amd64 Pac

[Bug 2078356] Re: python3 upgrade has unmet dependencies

2024-08-29 Thread MCE Computer Service
Let me catch up. I created the file /var/lib/dpkg/info/python3.preinst and copied in the text from your post. I added the set-x under set -e I ran sudo -f install and this was the output: sudo apt -f install Reading package lists... Done Building dependency tree... Done Reading state informatio

[Bug 2078356] Re: python3 upgrade has unmet dependencies

2024-08-29 Thread Andreas Hasenack
> Okay, created the file /var/lib/dpkg/info/python3.preinst and executed it. No, you shouldn't have done that. If you had to create it, something else is very wrong on your system. That comes from the python3 debian package. Did you manage to check what I asked in comment #14 above? -- You rec

[Bug 2078356] Re: python3 upgrade has unmet dependencies

2024-08-29 Thread MCE Computer Service
Okay, created the file /var/lib/dpkg/info/python3.preinst and executed it. There was no output. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2078356 Title: python3 upgrade has unmet dependencies

[Bug 2078356] Re: python3 upgrade has unmet dependencies

2024-08-29 Thread Andreas Hasenack
> That script does not exist on my system. (/var/lib/dpkg/info/python3.preinst) Huh, that's unexpected. Do you have the python3 package installed? dpkg -l python3 python3-minimal apt-cache policy python3 python3-mininal -- You received this bug notification because you are a member of Ubu

[Bug 2078356] Re: python3 upgrade has unmet dependencies

2024-08-29 Thread MCE Computer Service
That script does not exist on my system. (/var/lib/dpkg/info/python3.preinst) Should I create and run it? I am confused, sorry. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2078356 Title: python3

[Bug 2078356] Re: python3 upgrade has unmet dependencies

2024-08-29 Thread Andreas Hasenack
Sorry, I should have been more clear. If you are willing to help debug this further, then please add "set -x" just below the existing "set -e" in /var/lib/dpkg/info/python3.preinst and then run "sudo apt -f install" again. It should output a lot more debugging information. After that, you can und

[Bug 2078356] Re: python3 upgrade has unmet dependencies

2024-08-29 Thread MCE Computer Service
Are you wanting me to run this script? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2078356 Title: python3 upgrade has unmet dependencies To manage notifications about this bug go to: https://bugs

[Bug 2078356] Re: python3 upgrade has unmet dependencies

2024-08-29 Thread Andreas Hasenack
The preinst goes over those scripts in /usr/share/python3/runtime.d and executes them one by one. It's supposed to show the error if one of them fails, but I don't see that in your output... #! /bin/sh set -e # remove the python3 alternatives before installing our own python3 link update-altern

[Bug 2078356] Re: python3 upgrade has unmet dependencies

2024-08-29 Thread Andreas Hasenack
if you want, you could add a "set -x" to that script (/var/lib/dpkg/info/python3.preinst) and then run the apt -f install again -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2078356 Title: python3 u

[Bug 2078356] Re: python3 upgrade has unmet dependencies

2024-08-29 Thread Andreas Hasenack
I can't reproduce this, and I have the same files in /usr/share/python3/runtime.d. @waveform, any idea what's going on here? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2078356 Title: python3 upg

[Bug 2078356] Re: python3 upgrade has unmet dependencies

2024-08-29 Thread MCE Computer Service
Just tried this: sudo dpkg -i python3_3.12.3-0ubuntu2_amd64.deb (Reading database ... 218459 files and directories currently installed.) Preparing to unpack python3_3.12.3-0ubuntu2_amd64.deb ... running python pre-rtupdate hooks for python3.12... dpkg: error processing archive python3_3.12.3-0ubu

[Bug 2078356] Re: python3 upgrade has unmet dependencies

2024-08-29 Thread MCE Computer Service
ls -la /usr/share/python3/runtime.d total 52 drwxr-xr-x 2 root root 4096 Aug 15 12:05 . drwxr-xr-x 7 root root 4096 Aug 28 15:25 .. -rwxr-xr-x 1 root root 121 Mar 12 15:28 gufw.rtupdate -rwxr-xr-x 1 root root 135 Mar 31 03:39 hplip-data.rtupdate -rwxr-xr-x 1 root root 121 Mar 31 08:04 ibus.rtupd

[Bug 2078356] Re: python3 upgrade has unmet dependencies

2024-08-29 Thread Andreas Hasenack
What do you have in /usr/share/python3/runtime.d/? ls -la /usr/share/python3/runtime.d/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2078356 Title: python3 upgrade has unmet dependencies To man

[Bug 2078356] Re: python3 upgrade has unmet dependencies

2024-08-29 Thread MCE Computer Service
sudo apt -f install Reading package lists... Done Building dependency tree... Done Reading state information... Done Correcting dependencies... Done The following additional packages will be installed: python3 Suggested packages: python3-doc python3-tk python3-venv The following packages will b

[Bug 2078356] Re: python3 upgrade has unmet dependencies

2024-08-29 Thread Andreas Hasenack
Please show the full output of: sudo apt -f install -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2078356 Title: python3 upgrade has unmet dependencies To manage notifications about this bug go

[Bug 2078356] Re: python3 upgrade has unmet dependencies

2024-08-29 Thread Eduardo Barretto
Thanks for taking the time to report this bug and helping to make Ubuntu better. We appreciate the difficulties you are facing, but this appears to be a "regular" (non-security) bug. I have unmarked it as a security issue since this bug does not show evidence of allowing attackers to cross privile