Pacman

Historical bug tracker for the Pacman package manager.

The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues

This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
Tasklist

FS#7967 - pacman : override cheksum verification

Attached to Project: Pacman
Opened by SkippyleGrandGourou (SkippyleGrandGourou) - Thursday, 06 September 2007, 17:57 GMT
Last edited by Dan McGee (toofishes) - Friday, 09 November 2007, 17:47 GMT
Task Type Feature Request
Category General
Status Closed
Assigned To Aaron Griffin (phrakture)
Dan McGee (toofishes)
Architecture All
Severity Low
Priority Normal
Reported Version 3.0.5
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Summary and Info:
I think there should be an option for pacman to override checksum verifications. If you KNOW that the file is not corrupted but the package or repo maintainer forgot to update checksum file, you can wait for a while before to install the package you want while there is no real justification. The so-called "force" option does not apply to this kind of situation, so you are blocked in front of a :
-------------------------------------------------------------------------
:: Archive ZZZ.pkg.tar.gz is corrupted. Do you want to delete it? [Y/n] n
error: failed to commit transaction (corrupted package)
archive ZZZ.pkg.tar.gz is corrupted (bad MD5 or SHA1 checksum)
-------------------------------------------------------------------------

There MUST be an override option. :-)
This task depends upon

Closed by  Dan McGee (toofishes)
Friday, 09 November 2007, 17:47 GMT
Reason for closing:  Won't implement
Additional comments about closing:  There are ways around the problem such as using -U to install the package, or contacting the DB owner to get it fixed.
Comment by Xavier (shining) - Thursday, 06 September 2007, 19:56 GMT
You can use -U instead of -S.
pacman -U /var/cache/pacman/pkg/ZZZ.pkg.tar.gz

Or also edit the database manually in /var/lib/pacman/(sync/)<repo>/ZZZ/desc
Comment by SkippyleGrandGourou (SkippyleGrandGourou) - Thursday, 06 September 2007, 20:36 GMT
Thanks for the workaround, I didn't think about it. But, it is a workaround, "pacman -Sff" would be nicer... ;-)
Comment by Dan McGee (toofishes) - Friday, 09 November 2007, 17:26 GMT
I'm thinking -U is the better route to take here as well.

We wouldn't want to change the meaning of the -f flag for this either.
Comment by Aaron Griffin (phrakture) - Friday, 09 November 2007, 17:45 GMT
Eww, an override in this case sounds really dangerous. I'd rather _not_ incorporate something like that.

Loading...