Good afternoon,
A short while ago, I upgraded from f28 to f29. One post-upgrade step suggested by the upgrade instructions is: ----- bash.3[~]: dnf list extras Last metadata expiration check: 0:32:03 ago on Thu 18 Apr 2019 02:01:12 PM MDT. Extra Packages clutter-gst.x86_64 1.6.0-20.fc28 @fedora clutter-gst2.x86_64 2.0.18-5.fc28 @fedora compat-libicu57.x86_64 57.1-2.fc28 @fedora eclipse-emf-query.noarch 1.10.0-5.fc28 @fedora eclipse-emf-validation.noarch 1.10.0-5.fc28 @fedora eclipse-fedorapackager.noarch 0.6.0-4.fc28 @fedora eclipse-mdt-ocl.noarch 6.2.1-4.fc28 @fedora eclipse-mdt-uml2.noarch 5.2.3-3.fc28 @fedora gegl.x86_64 0.2.0-38.fc28 @fedora java-9-openjdk.x86_64 1:9.0.4.11-6.fc28 @fedora java-9-openjdk-headless.x86_64 1:9.0.4.11-6.fc28 @fedora kernel.x86_64 5.0.6-100.fc28 @updates kernel.x86_64 5.0.7-100.fc28 @updates kernel-core.x86_64 5.0.6-100.fc28 @updates kernel-core.x86_64 5.0.7-100.fc28 @updates kernel-debug-devel.x86_64 5.0.6-100.fc28 @updates kernel-debug-devel.x86_64 5.0.7-100.fc28 @updates kernel-devel.x86_64 5.0.6-100.fc28 @updates kernel-devel.x86_64 5.0.7-100.fc28 @updates kernel-modules.x86_64 5.0.6-100.fc28 @updates kernel-modules.x86_64 5.0.7-100.fc28 @updates kmod-nvidia-5.0.6-100.fc28.x86_64.x86_64 3:418.56-1.fc28 @@commandline kmod-nvidia-5.0.7-100.fc28.x86_64.x86_64 3:418.56-1.fc28 @@commandline kmod-nvidia-5.0.7-200.fc29.x86_64.x86_64 3:418.56-1.fc29 @@commandline libXevie.x86_64 1.0.3-14.fc27 @fedora libgit2.x86_64 0.27.8-1.fc29 @updates lucene4.noarch 4.10.4-12.fc28 @fedora mozjs24.x86_64 24.2.0-11.fc26 @@commandline python2-pygpgme.x86_64 0.3-26.fc28 @fedora bash.4[~]: ----- My grub menu does include the last 2 patches. In the above output, I see kmod-nvidia and kernel entries. Is is safe for me to the "dnf remove $dnf repoquery --extras --exclude=kernel,kernel-*) as suggested by the upgrade instructions?
Thank-you, Bill.
If you are able to boot with F29 last kernels without errors you might want remove old F2x kernels and their devel/module packages too.
dmesg|grep -iEw 'bad|bug|conflict|corrupted|error|fail|failed|fault|fatal|Lock|NULL|segfault|stack|trace|warn'
"uname -a" will tell you the release version of your booted kernel and what module version is needed for your nvidia card. if I pick it right removing kmod-nvidia-5.0.7-200.fc29 could be a problem. it seems 5.0.7-200 is the last released F29 kernel: https://bodhi.fedoraproject.org/updates/?packages=kernel
to be save save the above output in a file, remove the above packages and play with your application if they are still running. If not reinstall the needed packages.
maybe java could be the case if you are running java programs which need old java. install the old java packages and reconfigure your java with "alternatives --config java"
*I* usually do after an upgrade: sudo dnf autoremove sudo dnf distrosync
handle with care !
Q.'s: what does "@@commandline" mean ? kmod-nvidia installed by hand ? is rpmfusion on your box enabled ?
dmesg|grep -iEw
bad|bug|conflict|corrupted|error|fail|failed|fault|fatal|Lock|NULL|segfault|stack|trace|warn'
See here: "https://paste.fedoraproject.org/paste/LrdPf~bE3iIlDkAPXHaPaw" for results.
"uname -a" [etc]
Results: -bash.14[~]: uname -a Linux [sys. name] 5.0.7-200.fc29.x86_64 #1 SMP Mon Apr 8 15:40:59 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux -bash.15[~]:
*I* usually do after an upgrade: sudo dnf autoremove
Seems risky. Suppose I myself never used (for example) python, but it's "under the hood" of other packages (such as dnf). Would that command remove python?
sudo dnf distrosync
I already did it.
Q.'s: what does "@@commandline" mean ?
I don't know.
kmod-nvidia installed by hand ?
I installed that 5-6 years ago as instructed by others in this list. I don't recall how it was done.
is rpmfusion on your box enabled ?
yes.
Thank-you, "sixpack13". Bill.
...
See here: "https://paste.fedoraproject.org/paste/LrdPf~bE3iIlDkAPXHaPaw"
... there are errors mostly regarding ACPI, but it doesn't seems to me that the box has difficulties to run. ...
-bash.14[~]: uname -a Linux [sys. name] 5.0.7-200.fc29.x86_64 ...
as I thought kmod-nvidia-5.0.7-200 belongs to your running kernel. I guess it's in your remove list cause it was installed by hand and NOT via dnf from rpmfusion. at the rpmfusion website is a howto how to install nvidia modules. https://rpmfusion.org/Howto/NVIDIA?highlight=%28CategoryHowto%29
...
Seems risky. ...
I don't think so - if handled with care - man dnf (cit.): "dnf [options] autoremove Removes all "leaf" packages from the system that were originally installed as dependencies of user-installed packages, but which are no longer required by any such package."
Thank-you, "sixpack13".
never mind !
(responding to sixpack13)
there are errors mostly regarding ACPI, but it doesn't seems to me that the box has difficulties to run.
Agreed. I used to see those (or something similar) every time I booted. I haven't seen such messages in a while now.
as I thought kmod-nvidia-5.0.7-200 belongs to your running kernel. I guess it's in your remove list cause it was installed by hand and NOT via dnf from rpmfusion. at the rpmfusion website is a howto how to install nvidia modules. https://rpmfusion.org/Howto/NVIDIA?highlight=%28CategoryHowto%29
It took a lot of brute-force digging through the 2013 postings in this list. HyperKitty does not make this easy; it doesn't list my postings before 2014. kmod-nvidia... was installed in September 2013 following the process given here: "https://www.if-not-true-then-false.com/2013/fedora-18-nvidia-guide/", as suggested by Rick Stevens in my thread "problem: system freezes.". So I manually ran yum (dnf's predecessor) to install kmod-nvidia... from the RPMFusion repositories.
Shortly after posting the initial message of this thread, I realized part of my question was unneeded. The "--exclude=kernel,kernel-*" part of the recommended command answers my question about all the kernel... items in the "dnf list extras" list.
I believe I now have all the info I need on this thread's topic. I'm marking the thread [SOLVED]. Thank-you for your help.
I forgot one point: ...
Seems risky. Suppose I myself never used (for example) python, but it's "under the hood" of other packages (such as dnf). Would that command remove python?
... un-needed python only, I would like to say.
dnf is self-protected and -I guess- all dependent packages (python ?) too to make sure dnf is normally able to run see ls -l /etc/dnf/protected.d/ and prove: "sudo dnf remove dnf" => "Error: Problem: The operation would result in removing the following protected packages: dnf (try to add '--skip-broken' to skip uninstallable packages)"
in generall: there is an history regarding executed dnf commands: - sudo dnf history - sudo dnf history info <your number here> - sudo dnf history undo <your number here>
man dnf for more
dnf history lives under /var/lib/dnf