Save package hash along with the version #32

Closed
opened 2024-08-05 15:48:26 +02:00 by antux18 · 1 comment
Collaborator

Could be that a package manager is using the same version number for 2 different versions of a package (we have to check which package managers are doing so).

Could be that a package manager is using the same version number for 2 different versions of a package (we have to check which package managers are doing so).
antux18 added the
Priority
Medium
Kind/Thinking
labels 2024-08-05 16:01:39 +02:00
Author
Collaborator

Seems a bit too complicated, but here is the command to retrieve the hash of a deb file in the cache:
dpkg -l | awk 'NR>5 {print $2 system("apt-cache show " $2 " | grep SHA256 ") }'

Seems a bit too complicated, but here is the command to retrieve the hash of a deb file in the cache: `dpkg -l | awk 'NR>5 {print $2 system("apt-cache show " $2 " | grep SHA256 ") }'`
antux18 added
Kind/Enhancement
and removed
Kind/Thinking
labels 2024-08-05 17:42:26 +02:00
antux18 added
Reviewed
Won't Fix
Priority
Low
and removed
Priority
Medium
labels 2024-08-05 18:23:53 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: GuilloteauQ/study-docker-repro-longevity#32
No description provided.