[Bug 909885] Re: software-center chokes on packages larger than 2GB
I retested this with "Ubuntu Software" (/snap/bin/snap-store) which seems be the replacement for the software-center and it installed the test package without trouble. So if the software-center is indeed deprecated and not in use anymore this bug can be closed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/909885 Title: software-center chokes on packages larger than 2GB To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/909885/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 909885] Re: software-center chokes on packages larger than 2GB
** Changed in: software-center (Ubuntu) Importance: Undecided = High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/909885 Title: software-center chokes on packages larger than 2GB To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/909885/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 909885] Re: software-center chokes on packages larger than 2GB
The bug is still present in Ubuntu 15.04's software-center 13.10-0ubuntu6, as well as in the 14.04 LTS version 13.10-0ubuntu4. ** Changed in: software-center (Ubuntu) Status: Invalid = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/909885 Title: software-center chokes on packages larger than 2GB To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/909885/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 909885] Re: software-center chokes on packages larger than 2GB
** Tags removed: oneiric ** Tags added: trusty vivid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/909885 Title: software-center chokes on packages larger than 2GB To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/909885/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 909885] Re: software-center chokes on packages larger than 2GB
That version is no more maintained ** Changed in: software-center (Ubuntu) Status: Confirmed = Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/909885 Title: software-center chokes on packages larger than 2GB To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/909885/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 909885] Re: software-center chokes on packages larger than 2GB
** Changed in: software-center (Ubuntu) Status: Invalid = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/909885 Title: software-center chokes on packages larger than 2GB To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/909885/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 909885] Re: software-center chokes on packages larger than 2GB
This bug is still present in Ubuntu 13.04 with 5.6.0-0ubuntu2. I'm attaching an updated trace generated with 'software-center --debug --disable-buy $HOME/testpkg_1.0-1_all.deb'. ** Attachment added: 'software-center --debug --disable-buy $HOME/testpkg_1.0-1_all.deb' log https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/909885/+attachment/3740142/+files/software-center-5.6.0.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/909885 Title: software-center chokes on packages larger than 2GB To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/909885/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 909885] Re: software-center chokes on packages larger than 2GB
oneiric have reached EOL now ; closing that report. Feel free to report against a newer version if needed, with ubuntu-bug ** Changed in: software-center (Ubuntu) Status: Confirmed = Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/909885 Title: software-center chokes on packages larger than 2GB To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/909885/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 909885] Re: software-center chokes on packages larger than 2GB
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: software-center (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/909885 Title: software-center chokes on packages larger than 2GB To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/909885/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 909885] Re: software-center chokes on packages larger than 2GB
I see this also on ubunu 11.04 64 bit. 'dpkg -i' is a workaround, at least for users not afraid of the commandline. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/909885 Title: software-center chokes on packages larger than 2GB To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/909885/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 909885] Re: software-center chokes on packages larger than 2GB
** Attachment added: Script to build a test package https://bugs.launchpad.net/bugs/909885/+attachment/2650749/+files/testpkg.tar.gz -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/909885 Title: software-center chokes on packages larger than 2GB To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/909885/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 909885] Re: software-center chokes on packages larger than 2GB
I have tracked this down a bit and here's what I believe is happening: software-center creates a DebPackage object (in /usr/share/software-center/softwarecenter/db/debfile.py) DebPackage.__init__() (from /usr/share/pyshared/apt/debfile.py) calls DebPackage.open() which calls apt_inst.DebFile which is implemented in libapt-inst.so by apt-inst/deb/debfile.cc from the apt package which creates an AR object implemented in apt-inst/contrib/arfile.cc which calls ARArchive::LoadHeaders() which calls StrToNum(Head.Size,Memb-Size,sizeof(Head.Size)) I have confirmed with traces that we get a Python exception during the execution of the apt_inst.DebFile constructor. The full text of the exception is: E:Could not open file /home/weaver/testpkg_1.0-1_all.deb - open (75: Value too large for defined data type), E:Unable to determine the file size - fstat (9: Bad file descriptor), E:Read error - read (9: Bad file descriptor) I have not confirmed where the problem occurs in the lower levels though, they may happen in the File() constructor. StrToNum() returns an unsigned long so on 32bit platforms it definitely cannot deal with package sizes between 4GiB and 10GB (which the ar file format can deal with). We find a similar issue with ARArchive::Member.Size. So there's apparently no support for large files on 32bit platforms. However we get an error with 2GiB already on 32bit platforms. The first thing ARArchive::LoadHeaders() does is: signed long Left = File.Size(); On 32bit platforms that's a signed 32bit quantity and will thus end up being negative for a 2.4GiB package, then shunting 'while (Left 0)' so we won't find the control and data members of the archive. This in turn will cause the DebFile() constructor to return an error when CheckMember(control.tar.gz) returns False. Unfortunately that's likely just the tip of the iceberg. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/909885 Title: software-center chokes on packages larger than 2GB To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/909885/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs