Re: upgrade problem: space on '/' filesystem.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> (responding to sixpack13)
> -bash.9[~]: uname -a
> Linux coyote 5.2.18-200.fc30.x86_64 #1 SMP Tue Oct 1 13:14:07 UTC 2019 
... 
> The grub menu has the following choices:
> Fedora-30
> Fedora-29 (from Oct. 10?)
> Fedora-29 (from Oct, 03?)
> Fedora-30 rescue
> Windows-7
> 

remove elder kernels and elder modules:
================================

1.
rpm -qa | grep kernel-core

2.
sudo dnf remove <mark with mouse and copy-paste from output of the last command: all and ONLY the kernels elder then 5.2.18-200.fc30>

means all F29 and maybe elder F30 kernels (for F30 carefully read the version numbers)
if unsure leave F30 kernels, they will removed automatically when newer kernels gets installed via upgrade.

ever, carefully read what dnf wants to remove !
usually it is (on a box WITHOUT nvidia !):
- kernel
- kernel-core
- kernel-modules

2b.
sudo dnf remove kernel-devel < for the kernel-versions you removed in step 2.>
 
kernel-devel is needed to compile your kmod-nvidia.
if unsure leave for F30.

3.
to fix grub entries after removing kernels:
[ -d /sys/firmware/efi/efivars ] && sudo grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg || sudo grub2-mkconfig -o /boot/grub2/grub.cfg

- last line is ONE line ([ ... .cfg] -

4.
rpm -qa | grep kmod-nvidia

5.
sudo dnf remove <mark with mouse and copy-paste from output of the last command (step 4.): all kmod versions with same versions of kernels you removed in step 2.>

carefully read what dnf wants to remove !
don't remove the nvidia package, only kmod-nvidia !
if unsure leave all F30 kmod-nvidia !

extra:
==== 
kmod-nvidia are automatically compiled for the running kernel and gets installed.
kmod packages are kept on your box under
 /usr or /var

- I don't know exactly, cause I don't run nvdia here (only VBOX), so maybe I'm wrong -

e.g. find /usr -iname '*kmod-nvidia*' will find the directory
I guess there are a lot of elder kmod's in...


packages clean up
===============
as mentioned do a research !

one research could be:

for each package in your list you provided on "Montag, 14 Oktober"
find out if a package for F30 is installed beside elder one's:

rpm -qa | grep <package-name>

if a package is installed for F30 and you got elder one e.g. for F29 do

sudo dnf remove <elder package>

carefully read what dnf want's to remove !
...

AND as mentioned you want get that much space from the above cleanage !

in general:
========
I for myself would do an fresh and clean install.
at least if bugs turn up during running that old box and the need to debug them.

the question then is: 
what do I currently/really debug: F30 bugs or bugs somehow reaching down to F18
 
I would like to be on a save(r) side with a clean box, so 5 upgrades okay, but ~12 ?

sure, it needs more work !
but all the work and hours you put in for the cleanage and stuff is more then ~1h installation
plus some (depends on your setup) hours reinstalling additional packages and configuration.

thinks about it !


> I got somewhat overwhelmed and lost in the rest of the post.  Let's 
> please take this one step at a time.
> 
sorry !
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux