Bug 1251593
Summary: | dnf and rpm out of sync - claim installed pkgs are not installed | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Leek Soup <leeksoup10> |
Component: | dnf | Assignee: | Michael Mráka <mmraka> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 22 | CC: | jsilhan, mluscon, mmraka, packaging-team-maint, pnemade, rholy, tim.lauridsen, vmukhame |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-08-10 08:19:01 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Leek Soup
2015-08-07 20:23:51 UTC
(In reply to Leek Soup from comment #0) > Actual results: > 1. sudo dnf install sane-backends-libs.i686 ... > Installed: > sane-backends-libs.i686 1.0.24-14.fc22 > Complete! > > 2. rpm -Uvh http://mirror.sfo12.us.leaseweb.net/fedora/linux/releases/22/Everything/i386/os/Packages/s/sane-backends-1.0.24-13.fc22.i686.rpm ... error: Failed dependencies: > sane-backends-libs(x86-32) = 1.0.24-13.fc22 is needed by sane-backends-1.0.24-13.fc22.i686 > > 3. sudo dnf list sane-backends-libs > Last metadata expiration check performed 2:45:58 ago on Thu Aug 6 13:20:30 2015. > Installed Packages > sane-backends-libs.i686 1.0.24-14.fc22 @System > sane-backends-libs.x86_64 1.0.24-14.fc22 @System > > > Expected results: > If a package is installed it should be recognized as installed by both rpm > and dnf. Here clearly dnf installed the sane-backends-libs.i686 package, but > rpm did not find it installed. As you can see from listing above dnf installed sane-backends-libs.i686 1.0.24-14.fc22. While you tried to install -13.fc22.i686 with rpm (one release older) so rpm reported broken dependencies. This is correct behaviour and it will work if you install -14.fc22.i686 package with rpm. Sorry, you are right. I missed that detail. And the reason for the other strange behavior (in Additional info) was that rpm does not install any package if one of them listed is already installed. I thought it was like dnf or yum and would install those that were not installed. My mistake. |