...
Can I remove all these without causing any problems with the
Fedora-29
or rescue options in the grub menu?
good question !
cause to me it's not clear on what
1. architecture you are (x86_64 or i686) ?
see your first post cit.: "...libcap-2.26-5.fc30.i686 needs..." =>
"i686" !
2. kernel you are ?
uname -a (show us the answers of this two questions)
3. fedora version you are ?
your run of "dnf list extras" shows that you are somehow/partly on F30.
But the main problem was - if I'm right - that the upgrade F29 => F30 hasn't
worked !
according to the answer of my question 2. you need to be carefull if you remove the wrong
kmod-nvidia for your running kernel !
I guess you could
- remove all packages lower than F29 if you are currently on F29
- remove all i686 packages if you are on x86_64, with one exception - at least it was true
in the past -
(I guess it was named- don't know -) "glib-something.i686 !
you are on the save side if you exclude all packages with "lib" in it's
name
sudo dnf remove *.i686 --exclude=*lib* ... something like that...
general:
dnf history shows you what you have done with packages (install, upgrade, remove) in the
past.
see man dnf and search for "history"
what I'm after is "dnf history undo <number>", means you are able to
undo a remove in the sense of re-install.
But - I guess - you can't undo a package from F28 repo if you are currently on F30
repo (see answer question 3.)
If it would be clear on what Fedora version you are I would do the following see [**]
- df -f (space before cleanage, just for the record)
- clean up the above mess (remove i686 packages and all packages lower then F29)
- sudo dnf clean all (delete the cache, means: to be downloaded again later, but maybe
fewer packages
- sudo dnf distro-sync (brings the box to a clean state on the current fedora version)
- maybe a subsequent sudo dnf autoremove (handle with care !!!!!)
- df -h (space after cleanage)
- at least THE upgrade:
1. sudo dnf install dnf-plugin-system-upgrade (if anymore installed since cleanage)
2. sudo dnf system-upgrade download --refresh --releasever=30
--setopt='module_platform_id=platform:f30' --allowerasing
command in 2. is ONE line (sudo ... allowerasing) !
3. sudo dnf system-upgrade reboot
4. sudo dnf system-upgrade clean
Does this clean the upgrade log's too ???
then 4. later until all is correct !
specials:
5. sudo dnf install rpmconf
6. sudo rpmconf -a (resets all configs under /etc/ to it's default state, handle with
care !!!!!, maybe take a backup BEFORE)
if you haven't edit the config file rpmconf is working on, i or y is a save option
(you will be asked)
7. sudo touch /.autorelabel (selinux label to defaults)
8. reboot
9. boot errors ?:
dmesg|grep -iEw
'bad|bug|conflict|corrupted|error|fail|failed|fault|fatal|invalid|Lock|NULL|segfault|stack|trace|warn'
command in 9. is ONE line (dmesg ... warn') !
ALLWAYS think twice before hitting the "y"-key while cleaning with dnf
remove/distro-sync/autoremove !
[**]
apart from doing a new install and removing all the old cruft, cause so much work for an
so old box !
=> fc26 from above "mozjs24.x86_64 24.2.0-11.fc26
@@commandline"