[Bug 1998265] Re: OverFlow error when using cnf-extractor

Brian Murray 1998265 at bugs.launchpad.net
Tue Nov 29 23:55:33 UTC 2022


Well the context for the Jammy traceback isn't as useful:

Traceback (most recent call last):verse/amd64... 8%
  File "./bin/cnf-extract.py", line 54, in <module>
    mirror_root, suite, component, arch)
  File "/srv/cnf-extractor/extractor/extractor.py", line 174, in command_not_found_extract
    debpath = pkg.candidate.fetch_binary(destdir=tmpdir)
  File "/usr/lib/python3/dist-packages/apt/package.py", line 883, in fetch_binary
    self.size, base, destfile=destfile)
OverflowError: signed integer is greater than maximum


** Description changed:

- I'm trying to update the command-not-found indexes on the production cnf
- extractor system (running bionic) and have encountered Tracebacks when
- generating them for Jammy and Lunar. This is causing the command not
- found indexes to be out of date for all(?) releases of Ubuntu.
+ I'm trying to update the command-not-found indexes (bin/cnf-extract.py
+ $MIRROR $suite $component $arch) on the production cnf extractor system
+ (running bionic) and have encountered Tracebacks when generating them
+ for Jammy and Lunar. This is causing the command not found indexes to be
+ out of date for all(?) releases of Ubuntu.
  
  The lunar failure:
  
  Get:1 dotnet-sdk-6.0_6.0.111-0ubuntu3_amd64.deb [79.1 MB]
  Fetched 79.1 MB in 0s (0 B/s)
  Traceback (most recent call last):64... 7%
-   File "./bin/cnf-extract.py", line 54, in <module>
-     mirror_root, suite, component, arch)
-   File "/srv/cnf-extractor/extractor/extractor.py", line 174, in command_not_found_extract
-     debpath = pkg.candidate.fetch_binary(destdir=tmpdir)
-   File "/usr/lib/python3/dist-packages/apt/package.py", line 883, in fetch_binary
-     self.size, base, destfile=destfile)
+   File "./bin/cnf-extract.py", line 54, in <module>
+     mirror_root, suite, component, arch)
+   File "/srv/cnf-extractor/extractor/extractor.py", line 174, in command_not_found_extract
+     debpath = pkg.candidate.fetch_binary(destdir=tmpdir)
+   File "/usr/lib/python3/dist-packages/apt/package.py", line 883, in fetch_binary
+     self.size, base, destfile=destfile)
  OverflowError: signed integer is greater than maximum
  
  I'll get more context for the Jammy failure but it wouldn't surprise me
  if it was the same package.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1998265

Title:
  OverFlow error when using cnf-extractor

Status in apt package in Ubuntu:
  New
Status in apt source package in Bionic:
  New

Bug description:
  I'm trying to update the command-not-found indexes (bin/cnf-extract.py
  $MIRROR $suite $component $arch) on the production cnf extractor
  system (running bionic) and have encountered Tracebacks when
  generating them for Jammy and Lunar. This is causing the command not
  found indexes to be out of date for all(?) releases of Ubuntu.

  The lunar failure:

  Get:1 dotnet-sdk-6.0_6.0.111-0ubuntu3_amd64.deb [79.1 MB]
  Fetched 79.1 MB in 0s (0 B/s)
  Traceback (most recent call last):64... 7%
    File "./bin/cnf-extract.py", line 54, in <module>
      mirror_root, suite, component, arch)
    File "/srv/cnf-extractor/extractor/extractor.py", line 174, in command_not_found_extract
      debpath = pkg.candidate.fetch_binary(destdir=tmpdir)
    File "/usr/lib/python3/dist-packages/apt/package.py", line 883, in fetch_binary
      self.size, base, destfile=destfile)
  OverflowError: signed integer is greater than maximum

  I'll get more context for the Jammy failure but it wouldn't surprise
  me if it was the same package.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1998265/+subscriptions




More information about the foundations-bugs mailing list