3061 .rpm installation fails

Tom Smith's Avatar

Tom Smith

03 Apr, 2021 12:00 PM

The 3061 .rpm package is kicking out the following error:

Running transaction check
error: /<...>/moneydance_linux_amd64.rpm: invalid signature tag Archivesize (1046)
Error: error reading package header: 'moneydance_linux_amd64.rpm'

  1. 1 Posted by Tom Smith on 03 Apr, 2021 12:50 PM

    Tom Smith's Avatar

    This is Fedora 33 with latest updates.

  2. 2 Posted by Tom Smith on 04 Apr, 2021 12:57 PM

    Tom Smith's Avatar

    3062 has the same problem

  3. 3 Posted by Tom Smith on 10 Apr, 2021 12:45 PM

    Tom Smith's Avatar

    3065 has same problem.
    Something has changed with Fedora 33.
    Even 3056 (which is installed currently) fails to re install the same way.
    My bet is that Fedora has become more strict while interpreting the header information.

  4. 4 Posted by sth on 10 Apr, 2021 04:44 PM

    sth's Avatar

    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?
    (Not IK Support)

  5. 5 Posted by dwg on 10 Apr, 2021 08:37 PM

    dwg's Avatar

    I'm a fellow user.

    If RPM or DEB installations fail on a machine you can always try the sh installation kit This is generally the fall back option..

  6. 6 Posted by Tom Smith on 12 Apr, 2021 02:01 PM

    Tom Smith's Avatar

    I'm just trying to file a bug report.
    What happens in Fedora usually propagates through the community. Thought I could provide a heads-up.

    Using the dnf debug flag (-d 10 ) I get the following:

    Downloading Packages:
    Running transaction check
    error: /home/smith/Documents/Software/MoneyDance/2021/3064/moneydance_linux_amd64.rpm: invalid signature tag Archivesize (1046)
    Cleaning up.

    Traceback (most recent call last):
      File "/usr/lib/python3.9/site-packages/dnf/rpm/__init__.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

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "/usr/lib/python3.9/site-packages/dnf/cli/main.py", line 67, in main
        return _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/__init__.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'
    Error: error reading package header: 'moneydance_linux_amd64.rpm'

    Reference:
    http://ftp.rpm.org/max-rpm/s1-rpm-file-format-rpm-file-format.html

  7. 7 Posted by Tom Smith on 12 Apr, 2021 02:55 PM

    Tom Smith's Avatar

    Even the base rpm command no longer works...

    rpm -i -vv moneydance_linux_amd64.rpm
    ufdio: 1 reads, 17654 total bytes in 0.000006 secs
    ufdio: 1 reads, 5662 total bytes in 0.000003 secs
    ufdio: 1 reads, 17654 total bytes in 0.000010 secs
    D: ============== moneydance_linux_amd64.rpm
    D: loading keyring from pubkeys in /var/lib/rpm/pubkeys/*.key
    D: couldn't find any keys in /var/lib/rpm/pubkeys/*.key
    D: loading keyring from rpmdb
    D: PRAGMA secure_delete = OFF: 0
    D: PRAGMA case_sensitive_like = ON: 0
    D: read h# 3239
    Header SHA256 digest: OK
    Header SHA1 digest: OK
    D: added key gpg-pubkey-9570ff31-5e3006fb to keyring
    D: Using legacy gpg-pubkey(s) from rpmdb
    D: moneydance_linux_amd64.rpm: Header SHA256 digest: OK
    D: moneydance_linux_amd64.rpm: Header SHA1 digest: OK
    error: moneydance_linux_amd64.rpm: invalid signature tag Archivesize (1046)
    ufdio: 5 reads, 34640 total bytes in 0.000031 secs
    error: moneydance_linux_amd64.rpm cannot be installed
    D: added source package [0]
    D: found 1 source and 0 binary packages
    D: Exit status: 1

    Something has definitely changed in Fedora

  8. 8 Posted by OpenAudible on 16 Apr, 2021 04:42 AM

    OpenAudible's Avatar

    This is a bug in install4j due to a recent change in rpm.
    There are some fixes and work-arounds.
    https://github.com/openaudible/openaudible/issues/603
    Quick fix is sudo yum downgrade rpm

  9. 9 Posted by Tom Smith on 03 May, 2021 02:30 PM

    Tom Smith's Avatar

    This temporary fix did work for Fedora 33. Thanks!
    Unfortunately, I've updated Fedora 34 and rpm cannot be downgraded.
    I have installed several rpms and Moneydance is the only one that fails.
    Is there any ETA for when this will be fixed?

    Fedora 34 output:
    error: /home/smith/Documents/Software/MoneyDance/2021/3066/moneydance_linux_amd64.rpm: invalid signature tag Archivesize (1046)
    Error: error reading package header: 'moneydance_linux_amd64.rpm'

    # dnf downgrade rpm
    Last metadata expiration check: 0:01:27 ago on Mon 03 May 2021 09:19:16 AM CDT.
    Package rpm of lowest version already installed, cannot downgrade it.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac