Description of problem: During upgrade F33→F34: Running scriptlet: maven-1:3.6.3-5.fc33.noarch 5959/11769 warning: %postun(maven-1:3.6.3-5.fc33.noarch) scriptlet failed, exit status 1 Error in POSTUN scriptlet in rpm package maven Version-Release number of selected component (if applicable): maven-3.6.3-8.fc34.noarch (after upgrade) maven-1:3.6.3-5.fc33.noarch (before upgrade) Expected results: Quiet upgrade.
I am unsure how this is failing: [[ $1 -eq 0 ]] && update-alternatives --remove mvn %{homedir}/bin/mvn Unless you had maven installed from before this commit: https://src.fedoraproject.org/rpms/maven/c/d44e09e7c816ecd188a06f9200ec48d68f19c53b?branch=rawhide
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.
(In reply to Fabio Valentini from comment #1) > I am unsure how this is failing: > [[ $1 -eq 0 ]] && update-alternatives --remove mvn %{homedir}/bin/mvn During upgrade $1 expands to 1, so the left side of && is false and the whole command fails. $ [[ 1 -eq 0 ]] && true $ echo $? 1
Proposed fix: https://src.fedoraproject.org/fork/mbi/rpms/maven/c/f5aee6a
Fix committed to dist-git: https://src.fedoraproject.org/rpms/maven/c/467945625166df9652d5734df97537bbed84be89?branch=rawhide
FEDORA-2021-bcbca49b6d has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-bcbca49b6d
FEDORA-2021-bcbca49b6d has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report.