Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 1486576 Details for
Bug 1632516
dnf-automatic ignores dnf's version lock plugin configuration
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
repro for dnf-automatic upgrading kernel packages that are version-locked and the workaround
dnf-automatic-versionlock-interactions.txt (text/plain), 6.20 KB, created by
Michel Alexandre Salim
on 2018-09-25 00:55:50 UTC
(
hide
)
Description:
repro for dnf-automatic upgrading kernel packages that are version-locked and the workaround
Filename:
MIME Type:
Creator:
Michel Alexandre Salim
Created:
2018-09-25 00:55:50 UTC
Size:
6.20 KB
patch
obsolete
>/usr/lib/systemd/system >⯠cat dnf-automatic.service >[Unit] >Description=dnf automatic ># See comment in dnf-makecache.service >ConditionPathExists=!/run/ostree-booted > >[Service] >Type=oneshot >Nice=19 >IOSchedulingClass=2 >IOSchedulingPriority=7 >Environment="ABRT_IGNORE_PYTHON=1" >ExecStart=/usr/bin/dnf-automatic /etc/dnf/automatic.conf --timer > >/usr/lib/systemd/system >⯠for k in kernel{,-{core,devel,headers,modules}}; do sudo dnf versionlock add $k-0:4.16.3-301.fc28; done >Last metadata expiration check: 1:36:09 ago on Mon 24 Sep 2018 02:44:19 PM PDT. >Adding versionlock on: kernel-0:4.16.3-301.fc28.* >Last metadata expiration check: 1:36:10 ago on Mon 24 Sep 2018 02:44:19 PM PDT. >Adding versionlock on: kernel-core-0:4.16.3-301.fc28.* >Last metadata expiration check: 1:36:11 ago on Mon 24 Sep 2018 02:44:19 PM PDT. >Adding versionlock on: kernel-devel-0:4.16.3-301.fc28.* >Last metadata expiration check: 1:36:13 ago on Mon 24 Sep 2018 02:44:19 PM PDT. >Adding versionlock on: kernel-headers-0:4.16.3-301.fc28.* >Last metadata expiration check: 1:36:14 ago on Mon 24 Sep 2018 02:44:19 PM PDT. >Adding versionlock on: kernel-modules-0:4.16.3-301.fc28.* > >/usr/lib/systemd/system 6s >⯠cat /etc/dnf/plugins/versionlock.list ># Added locks on Mon Sep 24 16:20:29 2018 >kernel-0:4.16.3-301.fc28.* > ># Added locks on Mon Sep 24 16:20:30 2018 >kernel-core-0:4.16.3-301.fc28.* > ># Added locks on Mon Sep 24 16:20:31 2018 >kernel-devel-0:4.16.3-301.fc28.* > ># Added locks on Mon Sep 24 16:20:33 2018 >kernel-headers-0:4.16.3-301.fc28.* > ># Added locks on Mon Sep 24 16:20:34 2018 >kernel-modules-0:4.16.3-301.fc28.* > >/usr/lib/systemd/system >⯠sudo dnf upgrade kernel >Last metadata expiration check: 1:36:30 ago on Mon 24 Sep 2018 02:44:19 PM PDT. >[master 00711ae2] saving uncommitted changes in /etc prior to dnf run > Author: michel <michel@michel-fedora> > 1 file changed, 15 insertions(+) >Dependencies resolved. >Nothing to do. >Complete! > >/usr/lib/systemd/system >⯠cat dnf-automatic.service >[Unit] >Description=dnf automatic ># See comment in dnf-makecache.service >ConditionPathExists=!/run/ostree-booted > >[Service] >Type=oneshot >Nice=19 >IOSchedulingClass=2 >IOSchedulingPriority=7 >Environment="ABRT_IGNORE_PYTHON=1" >ExecStart=/usr/bin/dnf-automatic /etc/dnf/automatic.conf --timer > >/usr/lib/systemd/system >⯠sudo dnf-automatic /etc/dnf/automatic.conf >Last metadata expiration check: 1:36:50 ago on Mon 24 Sep 2018 02:44:19 PM PDT. >Running transaction check >Transaction check succeeded. >Running transaction test >Transaction test succeeded. >Running transaction >The following updates have been applied on 'michel-fedora': >================================================================================= > Package Arch Version Repository Size >================================================================================= >Upgrading: > kernel-headers x86_64 4.18.9-200.fc28 updates 1.2 M >Installing dependencies: > kernel x86_64 4.18.9-200.fc28 updates 98 k > kernel-core x86_64 4.18.9-200.fc28 updates 24 M > kernel-devel x86_64 4.18.9-200.fc28 updates 13 M > kernel-modules x86_64 4.18.9-200.fc28 updates 28 M > >Transaction Summary >================================================================================= >Install 4 Packages >Upgrade 1 Package > > >/usr/lib/systemd/system 1m 19s >⯠rpm -qa kernel\* >kernel-4.16.3-301.fc28.x86_64 >kernel-headers-4.18.9-200.fc28.x86_64 >kernel-core-4.18.9-200.fc28.x86_64 >kernel-core-4.16.3-301.fc28.x86_64 >kernel-4.18.9-200.fc28.x86_64 >kernel-modules-4.16.3-301.fc28.x86_64 >kernel-devel-4.18.9-200.fc28.x86_64 >kernel-modules-4.18.9-200.fc28.x86_64 >kernel-devel-4.16.3-301.fc28.x86_64 > >/usr/lib/systemd/system >⯠sudo dnf install kernel-{headers,modules,devel}-4.16.3-301.fc28.x86_64 >Last metadata expiration check: 1:39:42 ago on Mon 24 Sep 2018 02:44:19 PM PDT. >Package kernel-modules-4.16.3-301.fc28.x86_64 is already installed, skipping. >Package kernel-devel-4.16.3-301.fc28.x86_64 is already installed, skipping. >Dependencies resolved. >================================================================================= > Package Arch Version Repository Size >================================================================================= >Downgrading: > kernel-headers x86_64 4.16.3-301.fc28 fedora 1.2 M > >Transaction Summary >================================================================================= >Downgrade 1 Package > >Total download size: 1.2 M >Is this ok [y/N]: y >Downloading Packages: >kernel-headers-4.16.3-301.fc28.x86_64.rpm 696 kB/s | 1.2 MB 00:01 >--------------------------------------------------------------------------------- >Total 539 kB/s | 1.2 MB 00:02 >Running transaction check >Transaction check succeeded. >Running transaction test >Transaction test succeeded. >Running transaction > Preparing : 1/1 > Downgrading : kernel-headers-4.16.3-301.fc28.x86_64 1/2 > Erasing : kernel-headers-4.18.9-200.fc28.x86_64 2/2 > Verifying : kernel-headers-4.16.3-301.fc28.x86_64 1/2 > Verifying : kernel-headers-4.18.9-200.fc28.x86_64 2/2 > >Downgraded: > kernel-headers.x86_64 4.16.3-301.fc28 > >Complete! > >/usr/lib/systemd/system >⯠sudo rpm -e kernel-devel-4.18.9-200.fc28.x86_64 kernel-core-4.18.9-200.fc28.x86_64 kernel-modules-4.18.9-200.fc28 kernel-4.18.9-200.fc28 >warning: file /lib/modules/4.18.9-200.fc28.x86_64/updates: remove failed: No such file or directory > >/usr/lib/systemd/system >⯠sudo nvim /etc/dnf/automatic.conf >[sudo] password for michel: > >/usr/lib/systemd/system 20s >⯠cat /etc/dnf/automatic.conf| grep excludepkgs >excludepkgs=kernel,kernel-core,kernel-devel,kernel-headers,kernel-modules > >/usr/lib/systemd/system >⯠sudo dnf-automatic /etc/dnf/automatic.conf >Last metadata expiration check: 2:39:58 ago on Mon 24 Sep 2018 02:44:19 PM PDT. >[master bf56affc] saving uncommitted changes in /etc prior to dnf run > Author: michel <michel@michel-fedora> > 1 file changed, 1 insertion(+), 1 deletion(-) >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1632516
: 1486576