Progeny42 / refrapt

Tool to create local Debian mirrors using Python
GNU General Public License v3.0
34 stars 5 forks source link

[BUG] Crash when decompressing debian bookworm repo #33

Closed mapfeld closed 1 year ago

mapfeld commented 1 year ago

Describe the bug When adding the repositories for arch=i386 or arch=amd64 the new Debian release bookworm, refrapt aborts.

[2023-05-11 16:16:41] INFO: Decompressing Packages / Sources Indices...
Repositories :  29%|█████████████████████████████▋                                                                          | 6/21 [00:03<00:09,  1.52 repo/s]

Aborted!

Configuration File and Logs Condensed lines which cause the error (both provided lines do):

deb [arch=i386] http://deb.debian.org/debian/ bookworm main
deb [arch=amd64] http://deb.debian.org/debian/ bookworm main

Trailing part of log file refrapt.log:

[2023-05-11 16:16:41] DEBUG: Getting timestamps of downloaded files in Skel
[2023-05-11 16:16:41] DEBUG:    Download: [main] [amd64] [updates.signal.org/desktop/apt/dists/xenial/main/binary-amd64/Packages.bz2]: 1683749428.0
[2023-05-11 16:16:41] DEBUG:    Download: [main] [amd64] [updates.signal.org/desktop/apt/dists/xenial/main/binary-amd64/Packages]: 1683814445.138973
[2023-05-11 16:16:41] DEBUG:    Download: [main] [amd64] [updates.signal.org/desktop/apt/dists/xenial/main/binary-amd64/Packages.gz]: 1683749428.0
[2023-05-11 16:16:41] INFO: Decompressing Packages / Sources Indices...

Obviously, I set logLevel = DEBUG.

System Information:

mapfeld commented 1 year ago

Please excuse my ignorance. It seems like I aborted refrapt at whatever stage which consequently caused the issue by having debris left after the operation. Deleting the corresponding folder in the skel solved the issue.