[Bug 2089136] Re: python2.7 (2.7.18-1~20.04.5) breaks pip tar downloads

2024-11-21 Thread Nishit Majithia
*** This bug is a duplicate of bug 2089071 *** https://bugs.launchpad.net/bugs/2089071 fix has been released: https://ubuntu.com/security/notices/USN-7015-6 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.ne

[Bug 2089136] Re: python2.7 (2.7.18-1~20.04.5) breaks pip tar downloads

2024-11-21 Thread Dung Tran
*** This bug is a duplicate of bug 2089071 *** https://bugs.launchpad.net/bugs/2089071 >This is a working version of /usr/lib/python2.7/tarfile.py I got the same issue with Ubuntu Jammy arm architecture, does this workaround work? -- You received this bug notification because you are a memb

[Bug 2089136] Re: python2.7 (2.7.18-1~20.04.5) breaks pip tar downloads

2024-11-20 Thread Mahammad Anif
*** This bug is a duplicate of bug 2089071 *** https://bugs.launchpad.net/bugs/2089071 Is there any solution for this issue? I am unable to install packages and am getting the same error. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ub

[Bug 2089136] Re: python2.7 (2.7.18-1~20.04.5) breaks pip tar downloads

2024-11-20 Thread Ryan Harper
*** This bug is a duplicate of bug 2089071 *** https://bugs.launchpad.net/bugs/2089071 ** Also affects: python-defaults (Ubuntu Focal) Importance: Undecided Status: New ** Also affects: python2.7 (Ubuntu Focal) Importance: Undecided Status: New -- You received this bug n

[Bug 2089136] Re: python2.7 (2.7.18-1~20.04.5) breaks pip tar downloads

2024-11-20 Thread Launchpad Bug Tracker
*** This bug is a duplicate of bug 2089071 *** https://bugs.launchpad.net/bugs/2089071 Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: python-defaults (Ubuntu Focal) Status: New => Confirmed -- You received this bug notification because you are a

[Bug 2089136] Re: python2.7 (2.7.18-1~20.04.5) breaks pip tar downloads

2024-11-20 Thread Launchpad Bug Tracker
*** This bug is a duplicate of bug 2089071 *** https://bugs.launchpad.net/bugs/2089071 Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: python2.7 (Ubuntu Focal) Status: New => Confirmed -- You received this bug notification because you are a member

[Bug 2089136] Re: python2.7 (2.7.18-1~20.04.5) breaks pip tar downloads

2024-11-20 Thread Launchpad Bug Tracker
*** This bug is a duplicate of bug 2089071 *** https://bugs.launchpad.net/bugs/2089071 Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: python-defaults (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member

[Bug 2089136] Re: python2.7 (2.7.18-1~20.04.5) breaks pip tar downloads

2024-11-20 Thread Launchpad Bug Tracker
*** This bug is a duplicate of bug 2089071 *** https://bugs.launchpad.net/bugs/2089071 Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: python2.7 (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ub

[Bug 2089136] Re: python2.7 (2.7.18-1~20.04.5) breaks pip tar downloads

2024-11-20 Thread Andreas Perhab
** Also affects: python2.7 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2089136 Title: python2.7 (2.7.18-1~20.04.5) breaks pip tar downloads To

[Bug 2089136] Re: python2.7 (2.7.18-1~20.04.5) breaks pip tar downloads

2024-11-20 Thread Andreas Perhab
*** This bug is a duplicate of bug 2089071 *** https://bugs.launchpad.net/bugs/2089071 ** This bug has been marked a duplicate of bug 2089071 tarfile.py regression: "ReadError: invalid header" -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscrib

[Bug 2089136] Re: python2.7 (2.7.18-1~20.04.5) breaks pip tar downloads

2024-11-20 Thread Andreas Perhab
This is a working version of /usr/lib/python2.7/tarfile.py * removing the now unused regex= * patching both comparisons with 0x.. * incrementing the pos at the end of the loop again ** Attachment added: "tarfile.py" https://bugs.launchpad.net/ubuntu/+source/python-defaults/+bug/2089136/+attac

[Bug 2089136] Re: python2.7 (2.7.18-1~20.04.5) breaks pip tar downloads

2024-11-20 Thread Andreas Perhab
The patch added python2.7 (2.7.18-1~20.04.5) focal-security is indeed broken (see screenshot) in multiple places. buf[pos] != 0x00 is always true in python2 buf[header_value_end_offset] != 0x0A is always true in python2 compare: python2 -c 'print(bytes(chr(0)) != 0x00)' loop is missing increase

[Bug 2089136] Re: python2.7 (2.7.18-1~20.04.5) breaks pip tar downloads

2024-11-20 Thread Andreas Perhab
Attached full output of clear && docker run --rm -it ubuntu:20.04 bash -c 'apt update && apt install python2 python2.7 apport curl -y && update-alternatives --install /usr/bin/python python /usr/bin/python2 20 && update- alternatives --set python /usr/bin/python2 && curl https://bootstrap.pypa.io/