Hello,
I get the following error when I try to update my fedora.
Error: Transaction check error: file /usr/sbin/upsmon from install of nut-client-2.7.4-14.fc26.x86_64 conflicts with file from package nut-2.7.4-7.fc26.x86_64 file /usr/sbin/upssched from install of nut-client-2.7.4-14.fc26.x86_64 conflicts with file from package nut-2.7.4-7.fc26.x86_64
Error Summary
=========================================================================== Patrick DUPRÉ | | email: pdupre@gmx.com Laboratoire de Physico-Chimie de l'Atmosphère | | Université du Littoral-Côte d'Opale | | Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44 189A, avenue Maurice Schumann | | 59140 Dunkerque, France ===========================================================================
On 09/29/2017 09:12 AM, Patrick Dupre wrote:
I get the following error when I try to update my fedora.
Error: Transaction check error: file /usr/sbin/upsmon from install of nut-client-2.7.4-14.fc26.x86_64 conflicts with file from package nut-2.7.4-7.fc26.x86_64 file /usr/sbin/upssched from install of nut-client-2.7.4-14.fc26.x86_64 conflicts with file from package nut-2.7.4-7.fc26.x86_64
It looks like a packaging error. For some reason, those executables are in both subpackages. You have to make sure you are updating both of them at the same time. You again didn't include the full output, so the useful information is missing, but it looks like "nut-client" is included in the update, but not "nut".
I am sorry,
This is all what I get. Is something missing?
Downloading Packages: nut-2.7.4-7.fc26.x86_64.rpm 5.4 MB/s | 1.8 MB 00:00 -------------------------------------------------------------------------------- Total 1.2 MB/s | 1.8 MB 00:01 Running transaction check Transaction check succeeded. Running transaction test The downloaded packages were saved in cache until the next successful transaction. You can remove cached packages by executing 'dnf clean packages'. Error: Transaction check error: file /usr/sbin/upsmon from install of nut-2.7.4-7.fc26.x86_64 conflicts with file from package nut-client-2.7.4-14.fc26.x86_64 file /usr/sbin/upssched from install of nut-2.7.4-7.fc26.x86_64 conflicts with file from package nut-client-2.7.4-14.fc26.x86_64
Error Summary
=========================================================================== Patrick DUPRÉ | | email: pdupre@gmx.com Laboratoire de Physico-Chimie de l'Atmosphère | | Université du Littoral-Côte d'Opale | | Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44 189A, avenue Maurice Schumann | | 59140 Dunkerque, France ===========================================================================
Sent: Friday, September 29, 2017 at 6:24 PM From: "Samuel Sieb" samuel@sieb.net To: users@lists.fedoraproject.org Subject: Re: update fails
On 09/29/2017 09:12 AM, Patrick Dupre wrote:
I get the following error when I try to update my fedora.
Error: Transaction check error: file /usr/sbin/upsmon from install of nut-client-2.7.4-14.fc26.x86_64 conflicts with file from package nut-2.7.4-7.fc26.x86_64 file /usr/sbin/upssched from install of nut-client-2.7.4-14.fc26.x86_64 conflicts with file from package nut-2.7.4-7.fc26.x86_64
It looks like a packaging error. For some reason, those executables are in both subpackages. You have to make sure you are updating both of them at the same time. You again didn't include the full output, so the useful information is missing, but it looks like "nut-client" is included in the update, but not "nut". _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org
On 09/29/2017 11:05 AM, Patrick Dupre wrote:
I am sorry,
This is all what I get. Is something missing?
Downloading Packages: nut-2.7.4-7.fc26.x86_64.rpm 5.4 MB/s | 1.8 MB 00:00
Total 1.2 MB/s | 1.8 MB 00:01
Getting closer. You still left out the command you ran and the list from dnf of what it was going to do. It's best to just include the complete output starting from where you type until you get a command prompt again. From your original post, I couldn't tell if dnf was trying to install nut-2.7.4-7 or nut-client-2.7.4-14 or both.
Anyway, it looks like you are getting an old version of nut for some reason. Maybe your mirror is not up-to-date or your cache is old. How did you get that version of nut-client installed?
Try running "dnf install --refresh nut" and see if that solves it.
OK,
This machine was originally installed in 2012. I guess that I should just be get rid of this nut
dnf install --refresh nut Repository mgeups has no mirror or baseurl set. RPM Fusion for Fedora 26 - Nonfree - Updates 396 kB/s | 17 kB 00:00 Last metadata expiration check: 0:00:00 ago on Fri 29 Sep 2017 09:24:06 PM CEST. Dependencies resolved. ================================================================================================================== Package Arch Version Repository Size ================================================================================================================== Installing: nut x86_64 2.7.4-7.fc26 fedora 1.8 M
Transaction Summary ================================================================================================================== Install 1 Package
Total size: 1.8 M Installed size: 6.7 M Is this ok [y/N]: y Downloading Packages: [SKIPPED] nut-2.7.4-7.fc26.x86_64.rpm: Already downloaded Running transaction check Transaction check succeeded. Running transaction test The downloaded packages were saved in cache until the next successful transaction. You can remove cached packages by executing 'dnf clean packages'. Error: Transaction check error: file /usr/sbin/upsmon from install of nut-2.7.4-7.fc26.x86_64 conflicts with file from package nut-client-2.7.4-14.fc26.x86_64 file /usr/sbin/upssched from install of nut-2.7.4-7.fc26.x86_64 conflicts with file from package nut-client-2.7.4-14.fc26.x86_64
Error Summary -------------
=========================================================================== Patrick DUPRÉ | | email: pdupre@gmx.com Laboratoire de Physico-Chimie de l'Atmosphère | | Université du Littoral-Côte d'Opale | | Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44 189A, avenue Maurice Schumann | | 59140 Dunkerque, France ===========================================================================
Sent: Friday, September 29, 2017 at 8:26 PM From: "Samuel Sieb" samuel@sieb.net To: users@lists.fedoraproject.org Subject: Re: update fails
On 09/29/2017 11:05 AM, Patrick Dupre wrote:
I am sorry,
This is all what I get. Is something missing?
Downloading Packages: nut-2.7.4-7.fc26.x86_64.rpm 5.4 MB/s | 1.8 MB 00:00
Total 1.2 MB/s | 1.8 MB 00:01
Getting closer. You still left out the command you ran and the list from dnf of what it was going to do. It's best to just include the complete output starting from where you type until you get a command prompt again. From your original post, I couldn't tell if dnf was trying to install nut-2.7.4-7 or nut-client-2.7.4-14 or both.
Anyway, it looks like you are getting an old version of nut for some reason. Maybe your mirror is not up-to-date or your cache is old. How did you get that version of nut-client installed?
Try running "dnf install --refresh nut" and see if that solves it. _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org
On 09/29/2017 12:27 PM, Patrick Dupre wrote:
Error: Transaction check error: file /usr/sbin/upsmon from install of nut-2.7.4-7.fc26.x86_64 conflicts with file from package nut-client-2.7.4-14.fc26.x86_64 file /usr/sbin/upssched from install of nut-2.7.4-7.fc26.x86_64 conflicts with file from package nut-client-2.7.4-14.fc26.x86_64
File a bugzilla and see what happens.
On Fri, 29 Sep 2017 21:27:25 +0200, Patrick Dupre wrote:
Installing: nut x86_64 2.7.4-7.fc26 fedora 1.8 M
This is only an old package in the base 'fedora' repo. Why don't you troubleshoot this a bit more to list available packages in all repos including the 'updates' repo? For example with:
dnf list nut*
Also show what "nut" packages are installed:
rpm -qa nut*
Error: Transaction check error: file /usr/sbin/upsmon from install of nut-2.7.4-7.fc26.x86_64 conflicts with file from package nut-client-2.7.4-14.fc26.x86_64 file /usr/sbin/upssched from install of nut-2.7.4-7.fc26.x86_64 conflicts with file from package nut-client-2.7.4-14.fc26.x86_64
This -14.fc26 build is a much newer one from the 'updates' repo. If you no longer see the corresponding "nut" base package from the same set of builds with the -14.fc26 release, check your repo configuration until you see the updates again. Or downgrade nut-client, so you can install the corresponding old "nut" package with -7.fc26 release.
Sure,
dnf list nut* Repository mgeups has no mirror or baseurl set. Last metadata expiration check: 3 days, 9:44:08 ago on Fri 29 Sep 2017 11:36:48 AM CEST. Installed Packages nut-cgi.x86_64 2.7.4-14.fc26 @updates nut-client.x86_64 2.7.4-14.fc26 @updates nut-xml.x86_64 2.7.4-14.fc26 @updates Available Packages nut.i686 2.7.4-7.fc26 fedora nut.x86_64 2.7.4-7.fc26 fedora nut-client.i686 2.7.4-7.fc26 fedora nut-devel.i686 2.7.4-7.fc26 fedora nut-devel.x86_64 2.7.4-7.fc26 fedora nut-nutrition.x86_64 19.2-9.fc26 fedora nuttcp.x86_64 6.1.2-15.fc26 fedora
I guess that I should just remove nut-client
=========================================================================== Patrick DUPRÉ | | email: pdupre@gmx.com Laboratoire de Physico-Chimie de l'Atmosphère | | Université du Littoral-Côte d'Opale | | Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44 189A, avenue Maurice Schumann | | 59140 Dunkerque, France ===========================================================================
Sent: Monday, October 02, 2017 at 9:15 PM From: "Michael Schwendt" mschwendt@gmail.com To: users@lists.fedoraproject.org Subject: Re: update fails
On Fri, 29 Sep 2017 21:27:25 +0200, Patrick Dupre wrote:
Installing: nut x86_64 2.7.4-7.fc26 fedora 1.8 M
This is only an old package in the base 'fedora' repo. Why don't you troubleshoot this a bit more to list available packages in all repos including the 'updates' repo? For example with:
dnf list nut*
Also show what "nut" packages are installed:
rpm -qa nut*
Error: Transaction check error: file /usr/sbin/upsmon from install of nut-2.7.4-7.fc26.x86_64 conflicts with file from package nut-client-2.7.4-14.fc26.x86_64 file /usr/sbin/upssched from install of nut-2.7.4-7.fc26.x86_64 conflicts with file from package nut-client-2.7.4-14.fc26.x86_64
This -14.fc26 build is a much newer one from the 'updates' repo. If you no longer see the corresponding "nut" base package from the same set of builds with the -14.fc26 release, check your repo configuration until you see the updates again. Or downgrade nut-client, so you can install the corresponding old "nut" package with -7.fc26 release. _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org
On Mon, 2 Oct 2017 21:23:44 +0200, Patrick Dupre wrote:
Sure,
dnf list nut* Repository mgeups has no mirror or baseurl set. Last metadata expiration check: 3 days, 9:44:08 ago on Fri 29 Sep 2017 11:36:48 AM CEST. Installed Packages nut-cgi.x86_64 2.7.4-14.fc26 @updates nut-client.x86_64 2.7.4-14.fc26 @updates nut-xml.x86_64 2.7.4-14.fc26 @updates Available Packages nut.i686 2.7.4-7.fc26 fedora nut.x86_64 2.7.4-7.fc26 fedora nut-client.i686 2.7.4-7.fc26 fedora nut-devel.i686 2.7.4-7.fc26 fedora nut-devel.x86_64 2.7.4-7.fc26 fedora nut-nutrition.x86_64 19.2-9.fc26 fedora nuttcp.x86_64 6.1.2-15.fc26 fedora
I guess that I should just remove nut-client
And then? Where is the 'updates' repo? Have you disabled it accidentally? See:
dnf repolist
On Mon, 2 Oct 2017 21:23:44 +0200, Patrick Dupre wrote:
Sure,
dnf list nut* Repository mgeups has no mirror or baseurl set. Last metadata expiration check: 3 days, 9:44:08 ago on Fri 29 Sep 2017 11:36:48 AM CEST. Installed Packages nut-cgi.x86_64 2.7.4-14.fc26 @updates nut-client.x86_64 2.7.4-14.fc26 @updates nut-xml.x86_64 2.7.4-14.fc26 @updates Available Packages nut.i686 2.7.4-7.fc26 fedora nut.x86_64 2.7.4-7.fc26 fedora nut-client.i686 2.7.4-7.fc26 fedora nut-devel.i686 2.7.4-7.fc26 fedora nut-devel.x86_64 2.7.4-7.fc26 fedora nut-nutrition.x86_64 19.2-9.fc26 fedora nuttcp.x86_64 6.1.2-15.fc26 fedora
I guess that I should just remove nut-client
And then? Where is the 'updates' repo? Have you disabled it accidentally? See:
dnf repolist
dnf install --refresh nut Repository mgeups has no mirror or baseurl set. Fedora 26 - x86_64 - Updates 9.8 MB/s | 15 MB 00:01 RPM Fusion for Fedora 26 - Free - Updates 508 kB/s | 250 kB 00:00 RPM Fusion for Fedora 26 - Nonfree - Updates 393 kB/s | 17 kB 00:00 Last metadata expiration check: 0:00:00 ago on Mon 02 Oct 2017 10:24:37 PM CEST. Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: nut x86_64 2.7.4-7.fc26 fedora 1.8 M
Transaction Summary ================================================================================ Install 1 Package
Total size: 1.8 M Installed size: 6.7 M Is this ok [y/N]: y Downloading Packages: [SKIPPED] nut-2.7.4-7.fc26.x86_64.rpm: Already downloaded Running transaction check Transaction check succeeded. Running transaction test The downloaded packages were saved in cache until the next successful transaction. You can remove cached packages by executing 'dnf clean packages'. Error: Transaction check error: file /usr/sbin/upsmon from install of nut-2.7.4-7.fc26.x86_64 conflicts with file from package nut-client-2.7.4-14.fc26.x86_64 file /usr/sbin/upssched from install of nut-2.7.4-7.fc26.x86_64 conflicts with file from package nut-client-2.7.4-14.fc26.x86_64
Error Summary -------------
dnf repolist Repository mgeups has no mirror or baseurl set. Last metadata expiration check: 0:02:28 ago on Mon 02 Oct 2017 10:24:37 PM CEST. repo id repo name status Frippery gnome-Frippery for Fedora 1 Webmin Webmin Distribution Neutral 273 adobe-linux-i386 Adobe Systems Incorporated 3 adobe-linux-x86_64 Adobe Systems Incorporated 3 *fedora Fedora 26 - x86_64 53,911 *rpmfusion-free RPM Fusion for Fedora 26 - Free 536 *rpmfusion-free-updates RPM Fusion for Fedora 26 - Free - Updates 125 *rpmfusion-nonfree RPM Fusion for Fedora 26 - Nonfree 202 *rpmfusion-nonfree-updates RPM Fusion for Fedora 26 - Nonfree - Updates 23 *updates Fedora 26 - x86_64 - Updates 9,096 virtualbox Fedora 26 - x86_64 - VirtualBox 10
On Mon, 2 Oct 2017 22:28:26 +0200, Patrick Dupre wrote:
dnf install --refresh nut
It makes no sense to run that command before you see the latest packages available in the "updates" repo.
Also, adding --refresh again and again only forces dnf to redownload the repo metadata again and again, which also makes no sense, if the metadata haven't changed.
Of course you may erase/uninstall packages and start from scratch with what you see in the repos _currently_ as a workaround, but it doesn't explain why you don't see the latest nut- updates. Perhaps the mirror you use currently is out-of-date.
The -14.fc26 nut- updates have been pushed to 'updates' 4 days ago: https://bodhi.fedoraproject.org/updates/FEDORA-2017-de0f8ded67
Every time, I get:
dnf install nut Repository mgeups has no mirror or baseurl set. Last metadata expiration check: 1:24:29 ago on Mon 02 Oct 2017 10:24:37 PM CEST. Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: nut x86_64 2.7.4-7.fc26 fedora 1.8 M Installing dependencies: nut-client x86_64 2.7.4-14.fc26 updates 212 k
Transaction Summary ================================================================================ Install 2 Packages
Total size: 2.0 M Total download size: 212 k Installed size: 7.3 M Is this ok [y/N]: y Downloading Packages: [SKIPPED] nut-2.7.4-7.fc26.x86_64.rpm: Already downloaded (2/2): nut-client-2.7.4-14.fc26.x86_64.rpm 471 kB/s | 212 kB 00:00 -------------------------------------------------------------------------------- Total 148 kB/s | 212 kB 00:01 Running transaction check Transaction check succeeded. Running transaction test The downloaded packages were saved in cache until the next successful transaction. You can remove cached packages by executing 'dnf clean packages'. Error: Transaction check error: file /usr/sbin/upsmon conflicts between attempted installs of nut-2.7.4-7.fc26.x86_64 and nut-client-2.7.4-14.fc26.x86_64 file /usr/sbin/upssched conflicts between attempted installs of nut-2.7.4-7.fc26.x86_64 and nut-client-2.7.4-14.fc26.x86_64
Error Summary -------------
I do not know what to do.
=========================================================================== Patrick DUPRÉ | | email: pdupre@gmx.com Laboratoire de Physico-Chimie de l'Atmosphère | | Université du Littoral-Côte d'Opale | | Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44 189A, avenue Maurice Schumann | | 59140 Dunkerque, France ===========================================================================
Sent: Monday, October 02, 2017 at 10:44 PM From: "Michael Schwendt" mschwendt@gmail.com To: users@lists.fedoraproject.org Subject: Re: update fails
On Mon, 2 Oct 2017 22:28:26 +0200, Patrick Dupre wrote:
dnf install --refresh nut
It makes no sense to run that command before you see the latest packages available in the "updates" repo.
Also, adding --refresh again and again only forces dnf to redownload the repo metadata again and again, which also makes no sense, if the metadata haven't changed.
Of course you may erase/uninstall packages and start from scratch with what you see in the repos _currently_ as a workaround, but it doesn't explain why you don't see the latest nut- updates. Perhaps the mirror you use currently is out-of-date.
The -14.fc26 nut- updates have been pushed to 'updates' 4 days ago: https://bodhi.fedoraproject.org/updates/FEDORA-2017-de0f8ded67 _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org
On Mon, Oct 02, 2017 at 11:50:25PM +0200, Patrick Dupre wrote: [...]
Installing: nut x86_64 2.7.4-7.fc26 fedora 1.8 M Installing dependencies: nut-client x86_64 2.7.4-14.fc26 updates 212 k Transaction Summary
FOr some reason, you have 'nut' already downloaded and it's not getting it from the cache. That doesn't match the newer version of nut-client you are trying to install, and therefore failure.
I bet "sudo dnf clean all" will clear this up.
I did dnf clean all 74 files removed
Then
dnf update nut Repository mgeups has no mirror or baseurl set. Adobe Systems Incorporated 28 kB/s | 1.9 kB 00:00 Adobe Systems Incorporated 28 kB/s | 1.9 kB 00:00 Fedora 26 - x86_64 - Updates 8.1 MB/s | 15 MB 00:01 Fedora 26 - x86_64 9.2 MB/s | 53 MB 00:05 gnome-Frippery for Fedora 37 kB/s | 2.9 kB 00:00 RPM Fusion for Fedora 26 - Free - Updates 502 kB/s | 250 kB 00:00 RPM Fusion for Fedora 26 - Free 886 kB/s | 519 kB 00:00 RPM Fusion for Fedora 26 - Nonfree - Updates 368 kB/s | 17 kB 00:00 RPM Fusion for Fedora 26 - Nonfree 295 kB/s | 158 kB 00:00 Fedora 26 - x86_64 - VirtualBox 966 kB/s | 46 kB 00:00 Webmin Distribution Neutral 5.8 MB/s | 18 MB 00:03 Last metadata expiration check: 0:00:00 ago on Tue 03 Oct 2017 09:30:24 AM CEST. Package nut available, but not installed. No match for argument: nut * Maybe you meant: nut Error: No packages marked for upgrade.
dnf list nut* Repository mgeups has no mirror or baseurl set. Last metadata expiration check: 0:03:32 ago on Tue 03 Oct 2017 09:30:24 AM CEST. Available Packages nut.i686 2.7.4-14.fc26 updates nut.x86_64 2.7.4-14.fc26 updates nut-cgi.x86_64 2.7.4-14.fc26 updates nut-client.i686 2.7.4-14.fc26 updates nut-client.x86_64 2.7.4-14.fc26 updates nut-devel.i686 2.7.4-14.fc26 updates nut-devel.x86_64 2.7.4-14.fc26 updates nut-nutrition.x86_64 19.2-9.fc26 fedora nut-xml.x86_64 2.7.4-14.fc26 updates nuttcp.x86_64 6.1.2-15.fc26 fedora
grep enabled /etc/yum.repos.d/*.repo /etc/yum.repos.d/adobe-linux-i386.repo:enabled=1 /etc/yum.repos.d/adobe-linux-x86_64.repo:enabled=1 /etc/yum.repos.d/fedora-cisco-openh264.repo:enabled=0 /etc/yum.repos.d/fedora-cisco-openh264.repo:enabled_metadata=1 /etc/yum.repos.d/fedora-cisco-openh264.repo:enabled=0 /etc/yum.repos.d/fedora.repo:enabled=1 /etc/yum.repos.d/fedora.repo:enabled=0 /etc/yum.repos.d/fedora.repo:enabled=0 /etc/yum.repos.d/fedora-updates.repo:enabled=1 /etc/yum.repos.d/fedora-updates.repo:enabled=0 /etc/yum.repos.d/fedora-updates.repo:enabled=0 /etc/yum.repos.d/fedora-updates-testing.repo:enabled=0 /etc/yum.repos.d/fedora-updates-testing.repo:enabled=0 /etc/yum.repos.d/fedora-updates-testing.repo:enabled=0 /etc/yum.repos.d/frippery.repo:enabled=1 /etc/yum.repos.d/mgeups.repo:enabled=0 /etc/yum.repos.d/rpmfusion-free.repo:enabled=1 /etc/yum.repos.d/rpmfusion-free.repo:enabled=0 /etc/yum.repos.d/rpmfusion-free.repo:enabled=0 /etc/yum.repos.d/rpmfusion-free-updates.repo:enabled=1 /etc/yum.repos.d/rpmfusion-free-updates.repo:enabled=0 /etc/yum.repos.d/rpmfusion-free-updates.repo:enabled=0 /etc/yum.repos.d/rpmfusion-free-updates-testing.repo:enabled=0 /etc/yum.repos.d/rpmfusion-free-updates-testing.repo:enabled=0 /etc/yum.repos.d/rpmfusion-free-updates-testing.repo:enabled=0 /etc/yum.repos.d/rpmfusion-nonfree.repo:enabled=1 /etc/yum.repos.d/rpmfusion-nonfree.repo:enabled=0 /etc/yum.repos.d/rpmfusion-nonfree.repo:enabled=0 /etc/yum.repos.d/rpmfusion-nonfree-updates.repo:enabled=1 /etc/yum.repos.d/rpmfusion-nonfree-updates.repo:enabled=0 /etc/yum.repos.d/rpmfusion-nonfree-updates.repo:enabled=0 /etc/yum.repos.d/rpmfusion-nonfree-updates-testing.repo:enabled=0 /etc/yum.repos.d/rpmfusion-nonfree-updates-testing.repo:enabled=0 /etc/yum.repos.d/rpmfusion-nonfree-updates-testing.repo:enabled=0 /etc/yum.repos.d/virtualbox.repo:enabled=1 /etc/yum.repos.d/webmin.repo:enabled=1
=========================================================================== Patrick DUPRÉ | | email: pdupre@gmx.com Laboratoire de Physico-Chimie de l'Atmosphère | | Université du Littoral-Côte d'Opale | | Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44 189A, avenue Maurice Schumann | | 59140 Dunkerque, France ===========================================================================
Sent: Tuesday, October 03, 2017 at 1:11 AM From: "Matthew Miller" mattdm@fedoraproject.org To: "Community support for Fedora users" users@lists.fedoraproject.org Subject: Re: update fails
On Mon, Oct 02, 2017 at 11:50:25PM +0200, Patrick Dupre wrote: [...]
Installing: nut x86_64 2.7.4-7.fc26 fedora 1.8 M Installing dependencies: nut-client x86_64 2.7.4-14.fc26 updates 212 k Transaction Summary
FOr some reason, you have 'nut' already downloaded and it's not getting it from the cache. That doesn't match the newer version of nut-client you are trying to install, and therefore failure.
I bet "sudo dnf clean all" will clear this up.
-- Matthew Miller mattdm@fedoraproject.org Fedora Project Leader _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org
On Tue, 3 Oct 2017 09:38:57 +0200, Patrick Dupre wrote:
dnf update nut
Package nut available, but not installed. No match for argument: nut
- Maybe you meant: nut
Error: No packages marked for upgrade.
Now we're entering the space of "DNF mess", such as hiding some things from the user or printing odd error messages, because the DNF developers think that's helpful.
You haven't installed "nut" before, but only "nut-client", so you cannot "update nut". You would need to install it first.
However, if you visit the ticket in the Fedora Updates System, which I've linked before,
https://bodhi.fedoraproject.org/updates/FEDORA-2017-de0f8ded67
somebody points out that "freeipmi" from the updates-testing repo is needed for the latest "nut", and the packagers have missed that. You may need to fetch freeipmi from its update ticket manually or enable the updates-testing repo temporarily.
dnf --enablerepo=updates-testing install nut
At least you now see the latest nut- package updates. Good. That's progress.
dnf list nut* Repository mgeups has no mirror or baseurl set. Last metadata expiration check: 0:03:32 ago on Tue 03 Oct 2017 09:30:24 AM CEST. Available Packages nut.i686 2.7.4-14.fc26 updates nut.x86_64 2.7.4-14.fc26 updates
I uninstalled freeipmi, and then
dnf install nut Repository mgeups has no mirror or baseurl set. Last metadata expiration check: 3:29:37 ago on Tue 03 Oct 2017 09:30:24 AM CEST. Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: nut x86_64 2.7.4-7.fc26 fedora 1.8 M Installing dependencies: freeipmi x86_64 1.5.6-1.fc26 updates 2.0 M nut-client x86_64 2.7.4-14.fc26 updates 212 k
Transaction Summary ================================================================================ Install 3 Packages
Total size: 4.0 M Total download size: 2.0 M Installed size: 17 M Is this ok [y/N]: y Downloading Packages: [SKIPPED] nut-2.7.4-7.fc26.x86_64.rpm: Already downloaded [SKIPPED] nut-client-2.7.4-14.fc26.x86_64.rpm: Already downloaded (3/3): freeipmi-1.5.6-1.fc26.x86_64.rpm 1.2 MB/s | 2.0 MB 00:01 -------------------------------------------------------------------------------- Total 807 kB/s | 2.0 MB 00:02 Running transaction check Transaction check succeeded. Running transaction test The downloaded packages were saved in cache until the next successful transaction. You can remove cached packages by executing 'dnf clean packages'. Error: Transaction check error: file /usr/sbin/upsmon conflicts between attempted installs of nut-2.7.4-7.fc26.x86_64 and nut-client-2.7.4-14.fc26.x86_64 file /usr/sbin/upssched conflicts between attempted installs of nut-2.7.4-7.fc26.x86_64 and nut-client-2.7.4-14.fc26.x86_64
Error Summary -------------
freeipmi is needed by nut!!
/etc/yum.repos.d/fedora-updates-testing.repo:enabled=0 /etc/yum.repos.d/fedora-updates-testing.repo:enabled=0 /etc/yum.repos.d/fedora-updates-testing.repo:enabled=0
/etc/yum.repos.d/rpmfusion-free-updates-testing.repo:enabled=0 /etc/yum.repos.d/rpmfusion-free-updates-testing.repo:enabled=0 /etc/yum.repos.d/rpmfusion-free-updates-testing.repo:enabled=0
seem to indicate that the updates-testing packages are no active. Am I wrong?
=========================================================================== Patrick DUPRÉ | | email: pdupre@gmx.com Laboratoire de Physico-Chimie de l'Atmosphère | | Université du Littoral-Côte d'Opale | | Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44 189A, avenue Maurice Schumann | | 59140 Dunkerque, France ===========================================================================
Sent: Tuesday, October 03, 2017 at 12:36 PM From: "Michael Schwendt" mschwendt@gmail.com To: users@lists.fedoraproject.org Subject: Re: update fails
On Tue, 3 Oct 2017 09:38:57 +0200, Patrick Dupre wrote:
dnf update nut
Package nut available, but not installed. No match for argument: nut
- Maybe you meant: nut
Error: No packages marked for upgrade.
Now we're entering the space of "DNF mess", such as hiding some things from the user or printing odd error messages, because the DNF developers think that's helpful.
You haven't installed "nut" before, but only "nut-client", so you cannot "update nut". You would need to install it first.
However, if you visit the ticket in the Fedora Updates System, which I've linked before,
https://bodhi.fedoraproject.org/updates/FEDORA-2017-de0f8ded67
somebody points out that "freeipmi" from the updates-testing repo is needed for the latest "nut", and the packagers have missed that. You may need to fetch freeipmi from its update ticket manually or enable the updates-testing repo temporarily.
dnf --enablerepo=updates-testing install nut
At least you now see the latest nut- package updates. Good. That's progress.
dnf list nut* Repository mgeups has no mirror or baseurl set. Last metadata expiration check: 0:03:32 ago on Tue 03 Oct 2017 09:30:24 AM CEST. Available Packages nut.i686 2.7.4-14.fc26 updates nut.x86_64 2.7.4-14.fc26 updates
users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org
On 10/03/17 19:10, Patrick Dupre wrote:
I uninstalled freeipmi, and then
dnf install nut
I thought people told you this in an earlier response....
You don't want this.... (please make sure you scroll down....)
[root@acer ~]# dnf install nut Last metadata expiration check: 3:30:48 ago on Tue 03 Oct 2017 05:21:38 PM CST. Dependencies resolved. =================================================================================== Package Arch Version Repository Size =================================================================================== Installing: nut x86_64 2.7.4-7.fc26 fedora 1.8 M Installing dependencies: freeipmi x86_64 1.5.6-1.fc26 updates 2.0 M net-snmp-libs x86_64 1:5.7.3-17.fc26 updates 790 k nut-client x86_64 2.7.4-14.fc26 updates 212 k
Transaction Summary =================================================================================== Install 4 Packages
Total download size: 4.7 M Installed size: 20 M Is this ok [y/N]: y Downloading Packages: (1/4): net-snmp-libs-5.7.3-17.fc26.x86_64.rpm 340 kB/s | 790 kB 00:02 [MIRROR] nut-client-2.7.4-14.fc26.x86_64.rpm: Status code: 404 for http://mirror.cogentco.com/pub/linux/fedora/linux/updates/26/x86_64/n/nut-cl... (2/4): freeipmi-1.5.6-1.fc26.x86_64.rpm 717 kB/s | 2.0 MB 00:02 (3/4): nut-2.7.4-7.fc26.x86_64.rpm 520 kB/s | 1.8 MB 00:03 (4/4): nut-client-2.7.4-14.fc26.x86_64.rpm 128 kB/s | 212 kB 00:01 ----------------------------------------------------------------------------------- Total 736 kB/s | 4.7 MB 00:06 Running transaction check Transaction check succeeded. Running transaction test The downloaded packages were saved in cache until the next successful transaction. You can remove cached packages by executing 'dnf clean packages'. Error: Transaction check error: file /usr/sbin/upsmon conflicts between attempted installs of nut-2.7.4-7.fc26.x86_64 and nut-client-2.7.4-14.fc26.x86_64 file /usr/sbin/upssched conflicts between attempted installs of nut-2.7.4-7.fc26.x86_64 and nut-client-2.7.4-14.fc26.x86_64
Error Summary -------------
[root@acer ~]# dnf clean all 66 files removed
YOU WANT THIS!!
[root@acer ~]# dnf --enablerepo updates-testing install nut <------------------------------------------------------------------------------------------
Adobe Systems Incorporated 2.4 kB/s | 1.9 kB 00:00 Fedora 26 - x86_64 - Test Updates 666 kB/s | 3.6 MB 00:05 Fedora 26 - x86_64 - Updates 929 kB/s | 15 MB 00:16 Fedora 26 - x86_64 1.8 MB/s | 53 MB 00:29 google-chrome 16 kB/s | 3.9 kB 00:00 RPM Fusion for Fedora 26 - Free - Updates 582 kB/s | 250 kB 00:00 RPM Fusion for Fedora 26 - Free 179 kB/s | 519 kB 00:02 RPM Fusion for Fedora 26 - Nonfree - Updates 29 kB/s | 17 kB 00:00 RPM Fusion for Fedora 26 - Nonfree 521 kB/s | 158 kB 00:00 Last metadata expiration check: 0:00:00 ago on Tue 03 Oct 2017 08:56:07 PM CST. Dependencies resolved. =================================================================================== Package Arch Version Repository Size =================================================================================== Installing: nut x86_64 2.7.4-14.fc26 updates 1.8 M Installing dependencies: freeipmi x86_64 1.5.7-1.fc26 updates-testing 2.0 M net-snmp-libs x86_64 1:5.7.3-17.fc26 updates 790 k nut-client x86_64 2.7.4-14.fc26 updates 212 k
Transaction Summary =================================================================================== Install 4 Packages
Total download size: 4.8 M Installed size: 20 M Is this ok [y/N]: y Downloading Packages: [MIRROR] nut-2.7.4-14.fc26.x86_64.rpm: Status code: 404 for http://mirror.cogentco.com/pub/linux/fedora/linux/updates/26/x86_64/n/nut-2.... (1/4): net-snmp-libs-5.7.3-17.fc26.x86_64.rpm 325 kB/s | 790 kB 00:02 [MIRROR] nut-client-2.7.4-14.fc26.x86_64.rpm: Status code: 404 for http://mirror.cogentco.com/pub/linux/fedora/linux/updates/26/x86_64/n/nut-cl... (2/4): freeipmi-1.5.7-1.fc26.x86_64.rpm 598 kB/s | 2.0 MB 00:03 (3/4): nut-client-2.7.4-14.fc26.x86_64.rpm 113 kB/s | 212 kB 00:01 (4/4): nut-2.7.4-14.fc26.x86_64.rpm 229 kB/s | 1.8 MB 00:08 ----------------------------------------------------------------------------------- Total 478 kB/s | 4.8 MB 00:10 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Running scriptlet: nut-client-2.7.4-14.fc26.x86_64 1/4 Installing : nut-client-2.7.4-14.fc26.x86_64 1/4 Running scriptlet: nut-client-2.7.4-14.fc26.x86_64 1/4 Installing : net-snmp-libs-1:5.7.3-17.fc26.x86_64 2/4 Running scriptlet: net-snmp-libs-1:5.7.3-17.fc26.x86_64 2/4 Installing : freeipmi-1.5.7-1.fc26.x86_64 3/4 Running scriptlet: freeipmi-1.5.7-1.fc26.x86_64 3/4 Running scriptlet: nut-2.7.4-14.fc26.x86_64 4/4 Installing : nut-2.7.4-14.fc26.x86_64 4/4 Running scriptlet: nut-2.7.4-14.fc26.x86_64 4/4 Verifying : nut-2.7.4-14.fc26.x86_64 1/4 Verifying : freeipmi-1.5.7-1.fc26.x86_64 2/4 Verifying : net-snmp-libs-1:5.7.3-17.fc26.x86_64 3/4 Verifying : nut-client-2.7.4-14.fc26.x86_64 4/4
Installed: nut.x86_64 2.7.4-14.fc26 freeipmi.x86_64 1.5.7-1.fc26 net-snmp-libs.x86_64 1:5.7.3-17.fc26 nut-client.x86_64 2.7.4-14.fc26
Complete!
On 10/03/17 19:10, Patrick Dupre wrote:
I uninstalled freeipmi, and then
dnf install nut
I thought people told you this in an earlier response....
You don't want this.... (please make sure you scroll down....)
[root@acer ~]# dnf install nut Last metadata expiration check: 3:30:48 ago on Tue 03 Oct 2017 05:21:38 PM CST. Dependencies resolved. =================================================================================== Package Arch Version Repository Size =================================================================================== Installing: nut x86_64 2.7.4-7.fc26 fedora 1.8 M Installing dependencies: freeipmi x86_64 1.5.6-1.fc26 updates 2.0 M net-snmp-libs x86_64 1:5.7.3-17.fc26 updates 790 k nut-client x86_64 2.7.4-14.fc26 updates 212 k
Transaction Summary
Install 4 Packages
Total download size: 4.7 M Installed size: 20 M Is this ok [y/N]: y Downloading Packages: (1/4): net-snmp-libs-5.7.3-17.fc26.x86_64.rpm 340 kB/s | 790 kB 00:02 [MIRROR] nut-client-2.7.4-14.fc26.x86_64.rpm: Status code: 404 for http://mirror.cogentco.com/pub/linux/fedora/linux/updates/26/x86_64/n/nut-cl... (2/4): freeipmi-1.5.6-1.fc26.x86_64.rpm 717 kB/s | 2.0 MB 00:02 (3/4): nut-2.7.4-7.fc26.x86_64.rpm 520 kB/s | 1.8 MB 00:03 (4/4): nut-client-2.7.4-14.fc26.x86_64.rpm 128 kB/s | 212 kB 00:01
Total 736 kB/s | 4.7 MB 00:06 Running transaction check Transaction check succeeded. Running transaction test The downloaded packages were saved in cache until the next successful transaction. You can remove cached packages by executing 'dnf clean packages'. Error: Transaction check error: file /usr/sbin/upsmon conflicts between attempted installs of nut-2.7.4-7.fc26.x86_64 and nut-client-2.7.4-14.fc26.x86_64 file /usr/sbin/upssched conflicts between attempted installs of nut-2.7.4-7.fc26.x86_64 and nut-client-2.7.4-14.fc26.x86_64
Error Summary
[root@acer ~]# dnf clean all 66 files removed
YOU WANT THIS!!
[root@acer ~]# dnf --enablerepo updates-testing install nut <------------------------------------------------------------------------------------------
Adobe Systems Incorporated 2.4 kB/s | 1.9 kB 00:00 Fedora 26 - x86_64 - Test Updates 666 kB/s | 3.6 MB 00:05 Fedora 26 - x86_64 - Updates 929 kB/s | 15 MB 00:16 Fedora 26 - x86_64 1.8 MB/s | 53 MB 00:29 google-chrome 16 kB/s | 3.9 kB 00:00 RPM Fusion for Fedora 26 - Free - Updates 582 kB/s | 250 kB 00:00 RPM Fusion for Fedora 26 - Free 179 kB/s | 519 kB 00:02 RPM Fusion for Fedora 26 - Nonfree - Updates 29 kB/s | 17 kB 00:00 RPM Fusion for Fedora 26 - Nonfree 521 kB/s | 158 kB 00:00 Last metadata expiration check: 0:00:00 ago on Tue 03 Oct 2017 08:56:07 PM CST. Dependencies resolved. =================================================================================== Package Arch Version Repository Size =================================================================================== Installing: nut x86_64 2.7.4-14.fc26 updates 1.8 M Installing dependencies: freeipmi x86_64 1.5.7-1.fc26 updates-testing 2.0 M net-snmp-libs x86_64 1:5.7.3-17.fc26 updates 790 k nut-client x86_64 2.7.4-14.fc26 updates 212 k
Transaction Summary
Install 4 Packages
Total download size: 4.8 M Installed size: 20 M Is this ok [y/N]: y Downloading Packages: [MIRROR] nut-2.7.4-14.fc26.x86_64.rpm: Status code: 404 for http://mirror.cogentco.com/pub/linux/fedora/linux/updates/26/x86_64/n/nut-2.... (1/4): net-snmp-libs-5.7.3-17.fc26.x86_64.rpm 325 kB/s | 790 kB 00:02 [MIRROR] nut-client-2.7.4-14.fc26.x86_64.rpm: Status code: 404 for http://mirror.cogentco.com/pub/linux/fedora/linux/updates/26/x86_64/n/nut-cl... (2/4): freeipmi-1.5.7-1.fc26.x86_64.rpm 598 kB/s | 2.0 MB 00:03 (3/4): nut-client-2.7.4-14.fc26.x86_64.rpm 113 kB/s | 212 kB 00:01 (4/4): nut-2.7.4-14.fc26.x86_64.rpm 229 kB/s | 1.8 MB 00:08
Total 478 kB/s | 4.8 MB 00:10 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Running scriptlet: nut-client-2.7.4-14.fc26.x86_64 1/4 Installing : nut-client-2.7.4-14.fc26.x86_64 1/4 Running scriptlet: nut-client-2.7.4-14.fc26.x86_64 1/4 Installing : net-snmp-libs-1:5.7.3-17.fc26.x86_64 2/4 Running scriptlet: net-snmp-libs-1:5.7.3-17.fc26.x86_64 2/4 Installing : freeipmi-1.5.7-1.fc26.x86_64 3/4 Running scriptlet: freeipmi-1.5.7-1.fc26.x86_64 3/4 Running scriptlet: nut-2.7.4-14.fc26.x86_64 4/4 Installing : nut-2.7.4-14.fc26.x86_64 4/4 Running scriptlet: nut-2.7.4-14.fc26.x86_64 4/4 Verifying : nut-2.7.4-14.fc26.x86_64 1/4 Verifying : freeipmi-1.5.7-1.fc26.x86_64 2/4 Verifying : net-snmp-libs-1:5.7.3-17.fc26.x86_64 3/4 Verifying : nut-client-2.7.4-14.fc26.x86_64 4/4
Installed: nut.x86_64 2.7.4-14.fc26 freeipmi.x86_64 1.5.7-1.fc26 net-snmp-libs.x86_64 1:5.7.3-17.fc26 nut-client.x86_64 2.7.4-14.fc26
OK, good, thank.
Complete!
-- Fedora Users List - The place to go to speculate endlessly _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org
On Tue, 3 Oct 2017 13:10:35 +0200, Patrick Dupre wrote:
I uninstalled freeipmi, and then
dnf install nut
That is not the suggested command.
freeipmi is needed by nut!!
/etc/yum.repos.d/fedora-updates-testing.repo:enabled=0 /etc/yum.repos.d/fedora-updates-testing.repo:enabled=0 /etc/yum.repos.d/fedora-updates-testing.repo:enabled=0
/etc/yum.repos.d/rpmfusion-free-updates-testing.repo:enabled=0 /etc/yum.repos.d/rpmfusion-free-updates-testing.repo:enabled=0 /etc/yum.repos.d/rpmfusion-free-updates-testing.repo:enabled=0
seem to indicate that the updates-testing packages are no active. Am I wrong?
Read my previous mail more slowly.
On Mon, 2 Oct 2017 23:50:25 +0200 "Patrick Dupre" pdupre@gmx.com wrote:
I do not know what to do.
What's the output of this command?
grep enabled /etc/yum.repos.d/*.repo
If nothing else, you can go here,
https://koji.fedoraproject.org/koji/buildinfo?buildID=970458
download the appropriate binary rpms, and install them with
dnf -C install [rpm name]
in the directory where they are.
On Fri, 29 Sep 2017 18:12:28 +0200 "Patrick Dupre" pdupre@gmx.com wrote:
Hello,
I get the following error when I try to update my fedora.
Error: Transaction check error: file /usr/sbin/upsmon from install of nut-client-2.7.4-14.fc26.x86_64 conflicts with file from package nut-2.7.4-7.fc26.x86_64 file /usr/sbin/upssched from install of nut-client-2.7.4-14.fc26.x86_64 conflicts with file from package nut-2.7.4-7.fc26.x86_64
Error Summary
dnf -x nut-client update will exclude this package from the update and allow the rest to complete. If it doesn't resolve after a while, open a bugzilla against nut-client and put this information in it. The package maintainer will then be able to resolve the issue in the spec files.
The problem is that the new version of nut depends on a new version of freeipmi ( https://bodhi.fedoraproject.org/updates/FEDORA-2017-5f8e18be61 ) which is still in updates-testing. Installing it manually allows nut to update. The freeipmi update has been eligible to be pushed to stable for weeks now. There is probably a similar issue in F25.