Install4j is a popular installer maker. It appears that some or all rpm's
created by them are not compatible with the latest rpm 4.16.1.3 installed with
fedora (not sure which other versions.)
Example: rpm -qvvpR install4j_linux-x64_9_0_1.rpm
returns error: run invalid signature tag Archivesize (1046)
Below is a simple Dockerfile that shows how to reproduce this:
```
# Simple Dockerfile to demonstrate rpm bug with latest rpm or install4j
# To test, save this as "Dockerfile" and run:
# docker build -t testrpm .
# to Debug in bash, docker run -it testrpm
FROM fedora:latest
WORKDIR /test
RUN yum -y install wget
RUN wget
https://download-gcdn.ej-technologies.com/install4j/install4j_linux-x64_9_0_1.rpm
RUN echo "rpm -qvvpR install4j_linux-x64_9_0_1.rpm" > test.sh && chmod +x
test.sh
# Run and ignore the expected error
RUN ./test.sh;exit 0
ENTRYPOINT ["/bin/bash"]
```
This was found by a user in issue:
https://github.com/openaudible/openaudible/issues/603
A work-around for fedora that is: yum downgrade rpm
which you can also test by running the above docker:
```
docker run -it testrpm
./test.sh # fail
yum -y downgrade rpm
./test.sh # success
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/1635
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint