urpmq -i doesn't return Epoch whereas rpm -qi does. $ rpm -qpi /var/cache/urpmi/rpms/lib64svrcore0-1.4.0.18-7.mga8.x86_64.rpm Name : lib64svrcore0 Epoch : 1 Version : 1.4.0.18 Release : 7.mga8 $ urpmq -i /var/cache/urpmi/rpms/lib64svrcore0-1.4.0.18-7.mga8.x86_64.rpm Name : lib64svrcore0 Version : 1.4.0.18 Release : 7.mga8 Same applies to urpmq -f. It would be nice if -f would also output Epoch, if it's used. $ urpmq -f /var/cache/urpmi/rpms/lib64svrcore0-1.4.0.18-7.mga8.x86_64.rpm lib64svrcore0-1.4.0.18-7.mga8.x86_64
I was unable to find any meaning for Epoch = 1; only that epoch is the Unix time (seconds since the start). Nor could I get it displayed with 'rpm -qpi' on a cached RPM. "if it's used" then. Assigning to tv for 'urpmi'.
CC: (none) => lewyssmithAssignee: bugsquad => thierry.vignaudSource RPM: urpmi => urpmi-8.118.2-1.mga7.src.rpmSeverity: normal => enhancement
Ping. Dnf shows epoch also nicely. $ LC_ALL=C.UTF-8 dnf info lib64svrcore0 Last metadata expiration check: 0:02:37 ago on Mon Mar 2 13:41:23 2020. Available Packages Name : lib64svrcore0 Epoch : 1 Version : 1.4.0.26 Release : 3.mga8 ..snip..
urpmq -i is fixed in git: http://gitweb.mageia.org/software/rpm/urpmi/commit/?id=4bc01538afa0d6399ee5c72f784ca77a62fbd68c For -f, I'm relunctant. Maybe adding a --nevra option…
CC: lewyssmith => (none)
sound like a good compromise.
CC: (none) => mageia