** Description changed: - I have created a large deb file of game assets for Quake 4 using the - game-data-packager tool in Ubuntu 16.04. If I double-click on this file - in Nautilus, gnome-software opens to install the file. However, the file - size is incorrectly listed as over 18 exabytes (!) as per the screenshot - at https://ovh.themcphails.uk/index.php/s/0pcBDXU0zztzS6a . The output - from dpkg-deb and gdebi is as per http://termbin.com/32q7 . + [Impact] + For .debs with a large Installed-Size GNOME Software shows the incorrect value. This is due to an integer overflow. - I would expect the package size in gnome-software to roughly match the - package size listed (correctly) by dpkg-deb. 18 exabytes is a ludicrous - estimate - has there been a signed/unsigned error? + [Test Case] + 1. Launch the attached test-deb_1_all.deb file in GNOME Software + 2. Check the Size field. - The deb package installs correctly with dpkg -i. I cannot attach the - file to this bug report as it is too large, and contains proprietary - code. The Quake 4 game files were obtained from GOG, and the windows - install file was unpacked by innoextract. The deb was created by game- - data-packager version 44. + Expected result: + Size is set to 3.9GB - Distro: Ubuntu 16.04 - gnome-software version: 3.20.5 + Observed result: + Size is set to 18.4EB + + [Regression Potential] + Took upstream commit that fixed this by using a 64 bit number to calculate size. Unlikely to cause further issues.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1713586 Title: gnome-software displays wildly inaccurate estimate of package size when a certain deb file is double-clicked in nautilus To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1713586/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
