tag:infinitekind.tenderapp.com,2009-01-14:/discussions/problems/69238-3061-rpm-installation-failsInfinite Kind: Discussion 2021-08-02T14:40:19Ztag:infinitekind.tenderapp.com,2009-01-14:Comment/491229812021-04-03T12:50:15Z2021-04-03T12:50:17Z3061 .rpm installation fails<div><p>This is Fedora 33 with latest updates.</p></div>Tom Smithtag:infinitekind.tenderapp.com,2009-01-14:Comment/491229812021-04-04T12:57:52Z2021-04-04T12:57:53Z3061 .rpm installation fails<div><p>3062 has the same problem</p></div>Tom Smithtag:infinitekind.tenderapp.com,2009-01-14:Comment/491229812021-04-10T12:45:28Z2021-04-10T12:45:32Z3061 .rpm installation fails<div><p>3065 has same problem.<br>
Something has changed with Fedora 33.<br>
Even 3056 (which is installed currently) fails to re install the same way.<br>
My bet is that Fedora has become more strict while interpreting the header information.</p></div>Tom Smithtag:infinitekind.tenderapp.com,2009-01-14:Comment/491229812021-04-10T16:44:02Z2021-04-10T16:44:02Z3061 .rpm installation fails<div><p>Is there an override for installing non-signed packages? Can you use gpg to see if it is just an expired signature or exactly what is wrong with the signature?<br>
(Not IK Support)</p></div>sthtag:infinitekind.tenderapp.com,2009-01-14:Comment/491229812021-04-10T20:37:15Z2021-04-10T20:37:15Z3061 .rpm installation fails<div><p>I'm a fellow user.</p>
<p>If RPM or DEB installations fail on a machine you can always try the sh installation kit This is generally the fall back option..</p></div>dwgtag:infinitekind.tenderapp.com,2009-01-14:Comment/491229812021-04-12T14:01:04Z2021-04-12T14:01:05Z3061 .rpm installation fails<div><p>I'm just trying to file a bug report.<br>
What happens in Fedora usually propagates through the community. Thought I could provide a heads-up.</p>
<p>Using the dnf debug flag (-d 10 ) I get the following:</p>
<p>Downloading Packages:<br>
Running transaction check<br>
error: /home/smith/Documents/Software/MoneyDance/2021/3064/moneydance_linux_amd64.rpm: invalid signature tag Archivesize (1046)<br>
Cleaning up.</p>
<p>Traceback (most recent call last):<br>
File "/usr/lib/python3.9/site-packages/dnf/rpm/<strong>init</strong>.py", line 79, in _header hdr = ts.hdrFromFdno(fdno) File "/usr/lib64/python3.9/site-packages/rpm/transaction.py", line 184, in hdrFromFdno raise rpm.error("error reading package header") _rpm.error: error reading package header</p>
<p>During handling of the above exception, another exception occurred:</p>
<p>Traceback (most recent call last):<br>
File "/usr/lib/python3.9/site-packages/dnf/cli/main.py", line 67, in main return <em>main(base, args, cli_class, option_parser_class) File "/usr/lib/python3.9/site-packages/dnf/cli/main.py", line 106, in _main return cli_run(cli, base) File "/usr/lib/python3.9/site-packages/dnf/cli/main.py", line 130, in cli_run ret = resolving(cli, base) File "/usr/lib/python3.9/site-packages/dnf/cli/main.py", line 176, in resolving base.do_transaction(display=displays) File "/usr/lib/python3.9/site-packages/dnf/cli/cli.py", line 246, in do_transaction tid = super(BaseCli, self).do_transaction(display) File "/usr/lib/python3.9/site-packages/dnf/base.py", line 896, in do_transaction self.transaction._populate_rpm_ts(self._ts) File "/usr/lib/python3.9/site-packages/dnf/db/group.py", line 324, in _populate_rpm_ts hdr = tsi.pkg._header File "/usr/lib/python3.9/site-packages/dnf/package.py", line 105, in _header return dnf.rpm._header(self.localPkg()) File "/usr/lib/python3.9/site-packages/dnf/rpm/</em><em>init</em>_.py", line 81, in _header raise dnf.exceptions.Error("{0}: '{1}'".format(e, path)) dnf.exceptions.Error: error reading package header: 'moneydance_linux_amd64.rpm'<br>
Error: error reading package header: 'moneydance_linux_amd64.rpm'</p>
<p>Reference:<br>
<a href="http://ftp.rpm.org/max-rpm/s1-rpm-file-format-rpm-file-format.html">http://ftp.rpm.org/max-rpm/s1-rpm-file-format-rpm-file-format.html</a></p></div>Tom Smithtag:infinitekind.tenderapp.com,2009-01-14:Comment/491229812021-04-12T14:55:02Z2021-04-12T14:55:04Z3061 .rpm installation fails<div><p>Even the base rpm command no longer works...</p>
<p>rpm -i -vv moneydance_linux_amd64.rpm<br>
ufdio: 1 reads, 17654 total bytes in 0.000006 secs<br>
ufdio: 1 reads, 5662 total bytes in 0.000003 secs<br>
ufdio: 1 reads, 17654 total bytes in 0.000010 secs<br>
D: ============== moneydance_linux_amd64.rpm<br>
D: loading keyring from pubkeys in /var/lib/rpm/pubkeys/<em>.key<br>
D: couldn't find any keys in /var/lib/rpm/pubkeys/</em>.key<br>
D: loading keyring from rpmdb<br>
D: PRAGMA secure_delete = OFF: 0<br>
D: PRAGMA case_sensitive_like = ON: 0<br>
D: read h# 3239<br>
Header SHA256 digest: OK<br>
Header SHA1 digest: OK<br>
D: added key gpg-pubkey-9570ff31-5e3006fb to keyring<br>
D: Using legacy gpg-pubkey(s) from rpmdb<br>
D: moneydance_linux_amd64.rpm: Header SHA256 digest: OK<br>
D: moneydance_linux_amd64.rpm: Header SHA1 digest: OK<br>
error: moneydance_linux_amd64.rpm: invalid signature tag Archivesize (1046)<br>
ufdio: 5 reads, 34640 total bytes in 0.000031 secs<br>
error: moneydance_linux_amd64.rpm cannot be installed<br>
D: added source package [0]<br>
D: found 1 source and 0 binary packages<br>
D: Exit status: 1</p>
<p>Something has definitely changed in Fedora</p></div>Tom Smithtag:infinitekind.tenderapp.com,2009-01-14:Comment/491229812021-04-16T04:42:38Z2021-04-16T04:42:38Z3061 .rpm installation fails<div><p>This is a bug in install4j due to a recent change in rpm.<br>
There are some fixes and work-arounds.<br>
<a href="https://github.com/openaudible/openaudible/issues/603">https://github.com/openaudible/openaudible/issues/603</a><br>
Quick fix is sudo yum downgrade rpm</p></div>OpenAudibletag:infinitekind.tenderapp.com,2009-01-14:Comment/491229812021-05-03T14:30:40Z2021-05-03T14:30:42Z3061 .rpm installation fails<div><p>This temporary fix did work for Fedora 33. Thanks!<br>
Unfortunately, I've updated Fedora 34 and rpm cannot be downgraded.<br>
I have installed several rpms and Moneydance is the only one that fails.<br>
Is there any ETA for when this will be fixed?</p>
<p>Fedora 34 output:<br>
error: /home/smith/Documents/Software/MoneyDance/2021/3066/moneydance_linux_amd64.rpm: invalid signature tag Archivesize (1046)<br>
Error: error reading package header: 'moneydance_linux_amd64.rpm'</p>
<h1><a name="dnf-downgrade-rpm" class="anchor" href="#dnf-downgrade-rpm"></a>dnf downgrade rpm</h1>
<p>Last metadata expiration check: 0:01:27 ago on Mon 03 May 2021 09:19:16 AM CDT.<br>
Package rpm of lowest version already installed, cannot downgrade it.</p></div>Tom Smith