Opened 17 hours ago

Last modified 17 hours ago

#19369 new bug

pkgman does not remove failed downloads on checksum errors, blocking updates

Reported by: grexe Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Applications/Command Line Tools Version: R1/beta5
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

When - for whatever reason - a pkgman update fails due to some download errors, giving me a "bad checksum" error (same in SoftwareUpdater oc), I am stuck:

I cannot re-download the failed packages since the failed ones are still cached.

Instead, I have to manually clean up the failed transaction in Terminal, which is not obvious and also not user friendly [1]:

rm -rf /system/packages/administrative/transaction-*

Pkgman needs to remove failed transactions on its own or at least provide an option to cleanup transactions, and to force re-downloading packages.

Related issues: #18115 #15915

[1] Cleanup tip via https://haikuinsider.wordpress.com/2024/12/15/resolving-software-updater-error/

Change History (2)

comment:1 by grexe, 17 hours ago

sorry got the wrong component - didn't find anything for pkgman, maybe file systems/packagefs?

Last edited 17 hours ago by grexe (previous) (diff)

comment:2 by waddlesplash, 17 hours ago

Component: Sys-AdminApplications/Command Line Tools
Owner: changed from haiku-web to nobody
Note: See TracTickets for help on using tickets.