[Bug 1713586] Re: gnome-software displays wildly inaccurate estimate of package size when a certain deb file is double-clicked in nautilus

2017-12-18 Thread Launchpad Bug Tracker
This bug was fixed in the package gnome-software -
3.20.5-0ubuntu0.16.04.7

---
gnome-software (3.20.5-0ubuntu0.16.04.7) xenial; urgency=medium

  * debian/patches/0016-Add-a-dpkg-plugin.patch:
  * debian/patches/0017-Add-an-APT-plugin.patch:
- Fix overflow showing installed size (LP: #1713586)
  * 
debian/patches/0047-Use-the-developer-name-if-set-in-preference-to-the-p.patch:
- Backport support for showing developer name
  * debian/patches/0018-Add-a-Snap-plugin.patch:
- Show snap developer (LP: #1715054)
- Set correct store name (LP: #1706500)
- Show license field
- Send Polkit interactive header (LP: #1736232)
- Fix crash due to multiple threads accessing a cache (LP: #1716633)
  * debian/patches/0001-ubuntu-reviews-Fix-Wilson-score-calculation.patch:
- Fix average rating calculation (LP: #1721419)

 -- Robert Ancell   Wed, 06 Dec 2017
10:36:16 +1300

** Changed in: gnome-software (Ubuntu Xenial)
   Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-software in 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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1713586] Re: gnome-software displays wildly inaccurate estimate of package size when a certain deb file is double-clicked in nautilus

2017-12-12 Thread Jean-Baptiste Lallement
** Tags removed: verification-needed
** Tags added: verification-done

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-software in 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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1713586] Re: gnome-software displays wildly inaccurate estimate of package size when a certain deb file is double-clicked in nautilus

2017-12-07 Thread Neil McPhail
I installed gnome-software-common_3.20.5-0ubuntu0.16.04.7_all.deb,
gnome-software_3.20.5-0ubuntu0.16.04.7_amd64.deb and ubuntu-
software_3.20.5-0ubuntu0.16.04.7_amd64.deb. I cannot locate the original
deb which cause the problem but I tried robert-ancell's test package
before and after the new packages. I can confirm the bug is fixed for
me.

Thanks!

** Tags removed: verification-needed-xenial
** Tags added: verification-done-xenial

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-software in 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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1713586] Re: gnome-software displays wildly inaccurate estimate of package size when a certain deb file is double-clicked in nautilus

2017-12-07 Thread Brian Murray
Hello Neil, or anyone else affected,

Accepted gnome-software into xenial-proposed. The package will build now
and be available at https://launchpad.net/ubuntu/+source/gnome-
software/3.20.5-0ubuntu0.16.04.7 in a few hours, and then in the
-proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-xenial to verification-done-xenial. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-xenial. In either case, without details of
your testing we will not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Tags added: verification-needed verification-needed-xenial

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-software in 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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1713586] Re: gnome-software displays wildly inaccurate estimate of package size when a certain deb file is double-clicked in nautilus

2017-08-28 Thread Launchpad Bug Tracker
** Branch linked: lp:~ubuntu-desktop/gnome-software/ubuntu-xenial

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-software in 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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 1713586] Re: gnome-software displays wildly inaccurate estimate of package size when a certain deb file is double-clicked in nautilus

2017-08-28 Thread Robert Ancell
** 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
Desktop Bugs, which is subscribed to gnome-software in 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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 1713586] Re: gnome-software displays wildly inaccurate estimate of package size when a certain deb file is double-clicked in nautilus

2017-08-28 Thread Robert Ancell
It was an overflow (using an int to try and fit the value). This was
fixed upstream in 3.22.

** Also affects: gnome-software (Ubuntu Xenial)
   Importance: Undecided
   Status: New

** Changed in: gnome-software (Ubuntu Xenial)
   Status: New => Fix Committed

** Changed in: gnome-software (Ubuntu Xenial)
   Importance: Undecided => Medium

** Changed in: gnome-software (Ubuntu)
   Status: Confirmed => Fix Released

** Changed in: gnome-software (Ubuntu Xenial)
 Assignee: (unassigned) => Robert Ancell (robert-ancell)

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-software in 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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 1713586] Re: gnome-software displays wildly inaccurate estimate of package size when a certain deb file is double-clicked in nautilus

2017-08-28 Thread Robert Ancell
** Changed in: gnome-software (Ubuntu)
   Status: New => Confirmed

** Changed in: gnome-software (Ubuntu)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-software in 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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 1713586] Re: gnome-software displays wildly inaccurate estimate of package size when a certain deb file is double-clicked in nautilus

2017-08-28 Thread Robert Ancell
** Attachment added: "A test deb (no contents) that reports the installed size 
matching the test case"
   
https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1713586/+attachment/4940487/+files/test-deb-1_all.deb

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gnome-software in 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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs