During download operation, below exception is seen.
rrs@priyasi:~/.../apt-offline (master)$ ./apt-offline get /tmp/upgrade.uris --bundle /tmp/upgrade.zip --threads 5 --proxy-host chutzpah --proxy-port 3142
Fetching APT Data
WARNING: If you are on a slow connection, it is good to
WARNING: limit the number of threads to a low number like 2.
WARNING: Else higher number of threads executed could cause
WARNING: network congestion and timeouts.
Downloading linux-headers-5.15.0-16.1-liquorix-amd64 - 11 MiB
Downloading linux-headers-5.15.0-17.1-liquorix-amd64 - 11 MiB
Downloading linux-headers-liquorix-amd64 - 163 KiB
Downloading linux-image-5.15.0-16.1-liquorix-amd64 - 61 MiB
Downloading linux-image-liquorix-amd64 - 163 KiB
linux-headers-liquorix-amd64 done
Downloading linux-image-5.15.0-17.1-liquorix-amd64 - 61 MiB
linux-image-liquorix-amd64 done
Downloading bsdutils - 145 KiB
.....snipped.......
Downloading llvm-13-runtime - 258 KiB
llvm-13-runtime done
Downloading llvm-13-tools - 410 KiB
llvm-13-dev done
Exception in thread Thread-1:###################] 100.0% of 385 MiB
Traceback (most recent call last):
File "/usr/lib/python3.9/threading.py", line 973, in _bootstrap_inner
self.run()s: [##############################] 99.9% of 385 MiB
File "/usr/lib/python3.9/threading.py", line 910, in runf 385 MiB
self._target(*self._args, **self._kwargs)###] 99.9% of 385 MiB
File "/home/rrs/rrs-home/devel/apt-offline/apt-offline/apt_offline_core/AptOfflineLib.py", line 703, in run
self.responseQueue.put( self.WorkerFunction( item, thread_name ) )
File "/home/rrs/rrs-home/devel/apt-offline/apt-offline/apt_offline_core/AptOfflineCoreLib.py", line 1341, in DataFetcher
FetcherInstance.buildChangelog(pkgFile, PackageInstalledVersion[PackageName])
File "/home/rrs/rrs-home/devel/apt-offline/apt-offline/apt_offline_core/AptOfflineCoreLib.py", line 1158, in buildChangelog
pkgHandle = DebPackage(pkgPath)#############] 99.9% of 385 MiB
File "/usr/lib/python3/dist-packages/apt/debfile.py", line 65, in __init__
self.open(filename)#########################] 99.9% of 385 MiB
File "/usr/lib/python3/dist-packages/apt/debfile.py", line 75, in open
self._debfile = apt_inst.DebFile(self.filename)99.9% of 385 MiB
apt_pkg.Error: E:Invalid archive member header
llvm-13-tools done
Downloading libclang1-13 - 5 MiB
libclang1-13 done
Downloading libdaxctl1 - 19 KiB
.....snipped.......
Downloading wpasupplicant - 1 MiB
wpasupplicant done
Downloading xapps-common - 52 KiB
xapps-common done
libpython2.7-stdlib done
Exception in thread Thread-5:###################] 99.7% of 469 MiB
Traceback (most recent call last):##############] 99.7% of 469 MiB
File "/usr/lib/python3.9/threading.py", line 973, in _bootstrap_inner
self.run()s: [##############################] 99.7% of 469 MiB
File "/usr/lib/python3.9/threading.py", line 910, in runf 469 MiB
self._target(*self._args, **self._kwargs)###] 99.7% of 469 MiB
File "/home/rrs/rrs-home/devel/apt-offline/apt-offline/apt_offline_core/AptOfflineLib.py", line 703, in run
self.responseQueue.put( self.WorkerFunction( item, thread_name ) )
File "/home/rrs/rrs-home/devel/apt-offline/apt-offline/apt_offline_core/AptOfflineCoreLib.py", line 1341, in DataFetcher
FetcherInstance.buildChangelog(pkgFile, PackageInstalledVersion[PackageName])
File "/home/rrs/rrs-home/devel/apt-offline/apt-offline/apt_offline_core/AptOfflineCoreLib.py", line 1158, in buildChangelog
pkgHandle = DebPackage(pkgPath)#############] 99.7% of 469 MiB
File "/usr/lib/python3/dist-packages/apt/debfile.py", line 65, in __init__
self.open(filename)#########################] 99.7% of 469 MiB
File "/usr/lib/python3/dist-packages/apt/debfile.py", line 75, in open
self._debfile = apt_inst.DebFile(self.filename)99.7% of 469 MiB
apt_pkg.Error: E:Invalid archive member header##] 99.7% of 469 MiB
virtualbox-guest-additions-iso done
linux-image-5.15.0-16.1-liquorix-amd64 done
170 / 170 items: [##############################] 100.0% of 469 MiB
Downloaded data to /tmp/upgrade.zip
14:37 ♒ ॐ ♅ ♄ ⛢ ☺ 😄
During download operation, below exception is seen.
== Acceptance criteria
Investigate what leads to the exception
apt_pkg.Error: E:Invalid archive member headerHandle the exception
apt-offlineexited clean (My prompt exit status returns clean). So highly possible that the payload is NOT corrupt.