Skip to content

.deb package's installed size should be an integer #21

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
thezbyg opened this issue Mar 21, 2015 · 1 comment
Closed

.deb package's installed size should be an integer #21

thezbyg opened this issue Mar 21, 2015 · 1 comment

Comments

@thezbyg
Copy link
Owner

thezbyg commented Mar 21, 2015

Original issue 21 created by thezbyg on 2010-10-19T22:46:59.000Z:

What steps will reproduce the problem?

  1. Download the Deb file
  2. Double click or execute the downloaded to install
  3. See the error during installation

What is the expected output? What do you see instead?
During installation you might (depending if using gdebi or softwarecenter) get the following error:
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/aptdaemon/worker.py", line 768, in simulate
return self._simulate_helper(trans, status_path)
File "/usr/lib/python2.6/dist-packages/aptdaemon/worker.py", line 851, in _simulate_helper
size = int(deb["Installed-Size"]) * 1024
ValueError: invalid literal for int() with base 10: '706.0'

What version of the product are you using? On what operating system?
0.2.3-1 on Ubuntu 10.10

Please provide any additional information below.
Originally posted to Launchpad at https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/662936

The problem comes from "Installed-Size: 706.0" which should be an integer.
See http://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Installed-Size

@thezbyg
Copy link
Owner Author

thezbyg commented Mar 21, 2015

Comment #1 originally posted by thezbyg on 2010-10-20T17:26:13.000Z:

This issue was closed by revision 72a0b85948.

@thezbyg thezbyg closed this as completed Mar 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant