Description of problem:I use JAlbum which recently came out with an update. I downloaded the latest RPM from http://jalbum.net/download/15.4/Linux/jalbum-15.4-1.x86_64.rpm and tried to update but got the error message: File jalbum-15.4-1.x86_64.rpm is a source package and cannot be updated, ignoring. Trying install instead gives a similar error: Error: Will not install a source rpm package (jalbum-15.4-1.src) I was eventually able to update the package by using rpm directly Version-Release number of selected component (if applicable): 2.7.5-12.fc28 How reproducible: Always Steps to Reproduce: 1.Download the JAlbum rpm referenced above 2.Attempt to install with 'dnf install ./jalbum-15.4-1.x86_64.rpm' Actual results: dnf displays error message: Error: Will not install a source rpm package (jalbum-15.4-1.src) Expected results: JAlbum is installed without error Additional info: I initially thought that there might be a problem with the package but I reached out to the maintainer but I was told that the process for creating the package is unchanged from previous versions. Given that the package can be installed with rpm, it looks like dnf is the problem
Not sure if it matters but the package doesn't define the SRPM name header. % rpm -qip ./jalbum-15.4-1.x86_64.rpm | grep Source Source RPM : (none) This is typical for SRPMs. All my binary RPMs do.
Please, can you try installing libsolv from our nightly repo as recommended in https://bugzilla.redhat.com/show_bug.cgi?id=1572338#c10 ? It should solve your issue. # dnf update --nogpgcheck --repofrompath=dnfnightly,https://copr-be.cloud.fedoraproject.org/results/rpmsoftwaremanagement/dnf-nightly/fedora-28-x86_64/ libsolv *** This bug has been marked as a duplicate of bug 1572338 ***
(In reply to Marek Blaha from comment #2) > Please, can you try installing libsolv from our nightly repo as recommended > in https://bugzilla.redhat.com/show_bug.cgi?id=1572338#c10 ? It should solve > your issue. > > # dnf update --nogpgcheck > --repofrompath=dnfnightly,https://copr-be.cloud.fedoraproject.org/results/ > rpmsoftwaremanagement/dnf-nightly/fedora-28-x86_64/ libsolv > > *** This bug has been marked as a duplicate of bug 1572338 *** Yes, that does indeed solve the issue. Thanks.