Very long time to clean up after update

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

Very long time to clean up after update

Postby janpihlgren » Jul 12th, '18, 05:57

I have a ThinkPad W701 with 16 GB RAM, 320 GB hd with /usr-partition 16 GB with 1.8 GB free space.
I'm running Mageia 6 with dkms 2.0.19, dkms-nvidia340 340.106, KDE plasma, plasma-desktop 5.12.2

After last update the cleaning up take about 30 minutes. For me it takes longer and longer time to clean up after update.
Why will the clean up take as long time?
User avatar
janpihlgren
 
Posts: 242
Joined: Mar 30th, '11, 12:23
Location: Marsta, Sweden

Re: Very long time to clean up after update

Postby doktor5000 » Jul 12th, '18, 13:20

What cleanup are you talking about in particular, using what tool?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 14397
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Very long time to clean up after update

Postby janpihlgren » Jul 12th, '18, 14:56

The clean up/removing that mcc does after the upgrade is done.
User avatar
janpihlgren
 
Posts: 242
Joined: Mar 30th, '11, 12:23
Location: Marsta, Sweden

Re: Very long time to clean up after update

Postby doktor5000 » Jul 12th, '18, 16:57

So you use MCC to do your regular updates? Does the same happen with the mga-applet that regularly checks for updates? Does it also happen when using urpmi?
Can you please also add the output as root of
Code: Select all
rpm -qa|sort|grep -iE "kernel|dkms"
dkms status


You can also check the journalctl logs for what is happening during that cleanup, if you said it took 30 minutes then you should have the timeframe to look up in the logs and post here.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 14397
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Very long time to clean up after update

Postby janpihlgren » Jul 13th, '18, 04:29

Code: Select all
[root@Humlan jan]# rpm -qa | sort | grep -iE "kernel|dkms"
dkms-2.0.19-39.mga6
dkms-minimal-2.0.19-39.mga6
dkms-nvidia340-340.106-1.mga6.nonfree
dkms-virtualbox-5.2.14-1.mga6
kernel-desktop-4.14.10-1.mga6-1-1.mga6
kernel-desktop-4.14.13-1.mga6-1-1.mga6
kernel-desktop-4.14.16-1.mga6-1-1.mga6
kernel-desktop-4.14.18-1.mga6-1-1.mga6
kernel-desktop-4.14.20-1.mga6-1-1.mga6
kernel-desktop-4.14.25-1.mga6-1-1.mga6
kernel-desktop-4.14.30-3.mga6-1-1.mga6
kernel-desktop-4.14.40-1.mga6-1-1.mga6
kernel-desktop-4.14.44-2.mga6-1-1.mga6
kernel-desktop-4.14.50-2.mga6-1-1.mga6
kernel-desktop-4.4.74-1.mga5-1-1.mga5
kernel-desktop-4.9.35-1.mga6-1-1.mga6
kernel-desktop-4.9.40-1.mga6-1-1.mga6
kernel-desktop-4.9.43-1.mga6-1-1.mga6
kernel-desktop-4.9.50-1.mga6-1-1.mga6
kernel-desktop-4.9.56-1.mga6-1-1.mga6
kernel-desktop-devel-4.14.10-1.mga6-1-1.mga6
kernel-desktop-devel-4.14.13-1.mga6-1-1.mga6
kernel-desktop-devel-4.14.16-1.mga6-1-1.mga6
kernel-desktop-devel-4.14.18-1.mga6-1-1.mga6
kernel-desktop-devel-4.14.20-1.mga6-1-1.mga6
kernel-desktop-devel-4.14.25-1.mga6-1-1.mga6
kernel-desktop-devel-4.14.30-3.mga6-1-1.mga6
kernel-desktop-devel-4.14.40-1.mga6-1-1.mga6
kernel-desktop-devel-4.14.44-2.mga6-1-1.mga6
kernel-desktop-devel-4.14.50-2.mga6-1-1.mga6
kernel-desktop-devel-4.4.74-1.mga5-1-1.mga5
kernel-desktop-devel-4.9.35-1.mga6-1-1.mga6
kernel-desktop-devel-4.9.40-1.mga6-1-1.mga6
kernel-desktop-devel-4.9.43-1.mga6-1-1.mga6
kernel-desktop-devel-4.9.50-1.mga6-1-1.mga6
kernel-desktop-devel-4.9.56-1.mga6-1-1.mga6
kernel-desktop-devel-latest-4.14.50-2.mga6
kernel-desktop-latest-4.14.50-2.mga6
kernel-firmware-20170531-1.mga6
kernel-firmware-nonfree-20180518-1.mga6.nonfree
kernel-server-4.14.10-1.mga6-1-1.mga6
kernel-server-4.14.13-1.mga6-1-1.mga6
kernel-server-4.14.16-1.mga6-1-1.mga6
kernel-server-4.14.18-1.mga6-1-1.mga6
kernel-server-4.14.20-1.mga6-1-1.mga6
kernel-server-4.14.25-1.mga6-1-1.mga6
kernel-server-4.14.30-3.mga6-1-1.mga6
kernel-server-4.14.40-1.mga6-1-1.mga6
kernel-server-4.14.44-2.mga6-1-1.mga6
kernel-server-4.14.50-2.mga6-1-1.mga6
kernel-server-4.4.74-1.mga5-1-1.mga5
kernel-server-4.9.35-1.mga6-1-1.mga6
kernel-server-4.9.40-1.mga6-1-1.mga6
kernel-server-4.9.43-1.mga6-1-1.mga6
kernel-server-4.9.50-1.mga6-1-1.mga6
kernel-server-4.9.56-1.mga6-1-1.mga6
kernel-server-devel-4.14.10-1.mga6-1-1.mga6
kernel-server-devel-4.14.13-1.mga6-1-1.mga6
kernel-server-devel-4.14.16-1.mga6-1-1.mga6
kernel-server-devel-4.14.18-1.mga6-1-1.mga6
kernel-server-devel-4.14.20-1.mga6-1-1.mga6
kernel-server-devel-4.14.25-1.mga6-1-1.mga6
kernel-server-devel-4.14.30-3.mga6-1-1.mga6
kernel-server-devel-4.14.40-1.mga6-1-1.mga6
kernel-server-devel-4.14.44-2.mga6-1-1.mga6
kernel-server-devel-4.14.50-2.mga6-1-1.mga6
kernel-server-devel-4.9.50-1.mga6-1-1.mga6
kernel-server-devel-4.9.56-1.mga6-1-1.mga6
kernel-server-devel-latest-4.14.50-2.mga6
kernel-server-latest-4.14.50-2.mga6
kernel-userspace-headers-4.14.50-2.mga6
vboxadditions-kernel-4.14.10-desktop-1.mga6-5.2.2-5.mga6
vboxadditions-kernel-4.14.10-server-1.mga6-5.2.2-5.mga6
vboxadditions-kernel-4.14.13-desktop-1.mga6-5.2.6-1.mga6
vboxadditions-kernel-4.14.13-server-1.mga6-5.2.6-1.mga6
vboxadditions-kernel-4.14.16-desktop-1.mga6-5.2.6-4.mga6
vboxadditions-kernel-4.14.16-server-1.mga6-5.2.6-4.mga6
vboxadditions-kernel-4.14.18-desktop-1.mga6-5.2.6-6.mga6
vboxadditions-kernel-4.14.18-server-1.mga6-5.2.6-6.mga6
vboxadditions-kernel-4.14.20-desktop-1.mga6-5.2.8-1.mga6
vboxadditions-kernel-4.14.20-server-1.mga6-5.2.8-1.mga6
vboxadditions-kernel-4.14.25-desktop-1.mga6-5.2.8-5.mga6
vboxadditions-kernel-4.14.25-server-1.mga6-5.2.8-5.mga6
vboxadditions-kernel-4.14.30-desktop-3.mga6-5.2.8-6.mga6
vboxadditions-kernel-4.14.30-server-3.mga6-5.2.8-6.mga6
vboxadditions-kernel-4.14.40-desktop-1.mga6-5.2.12-1.mga6
vboxadditions-kernel-4.14.40-server-1.mga6-5.2.12-1.mga6
vboxadditions-kernel-4.14.44-desktop-2.mga6-5.2.12-2.mga6
vboxadditions-kernel-4.14.44-server-2.mga6-5.2.12-2.mga6
vboxadditions-kernel-4.14.50-desktop-2.mga6-5.2.14-1.mga6
vboxadditions-kernel-4.14.50-server-2.mga6-5.2.14-1.mga6
vboxadditions-kernel-4.4.74-desktop-1.mga5-5.1.22-7.mga5
vboxadditions-kernel-4.9.35-desktop-1.mga6-5.1.22-20.mga6
vboxadditions-kernel-4.9.40-desktop-1.mga6-5.1.26-1.mga6
vboxadditions-kernel-4.9.43-desktop-1.mga6-5.1.26-2.mga6
vboxadditions-kernel-4.9.50-desktop-1.mga6-5.1.26-4.mga6
vboxadditions-kernel-4.9.50-server-1.mga6-5.1.26-4.mga6
vboxadditions-kernel-4.9.56-desktop-1.mga6-5.2.2-1.mga6
vboxadditions-kernel-4.9.56-server-1.mga6-5.2.2-1.mga6
vboxadditions-kernel-desktop-latest-5.2.14-1.mga6
vboxadditions-kernel-server-latest-5.2.14-1.mga6
virtualbox-kernel-4.14.10-desktop-1.mga6-5.2.2-5.mga6
virtualbox-kernel-4.14.10-server-1.mga6-5.2.2-5.mga6
virtualbox-kernel-4.14.13-desktop-1.mga6-5.2.6-1.mga6
virtualbox-kernel-4.14.13-server-1.mga6-5.2.6-1.mga6
virtualbox-kernel-4.14.16-desktop-1.mga6-5.2.6-4.mga6
virtualbox-kernel-4.14.16-server-1.mga6-5.2.6-4.mga6
virtualbox-kernel-4.14.18-desktop-1.mga6-5.2.6-6.mga6
virtualbox-kernel-4.14.18-server-1.mga6-5.2.6-6.mga6
virtualbox-kernel-4.14.20-desktop-1.mga6-5.2.8-1.mga6
virtualbox-kernel-4.14.20-server-1.mga6-5.2.8-1.mga6
virtualbox-kernel-4.14.25-desktop-1.mga6-5.2.8-5.mga6
virtualbox-kernel-4.14.25-server-1.mga6-5.2.8-5.mga6
virtualbox-kernel-4.14.30-desktop-3.mga6-5.2.8-6.mga6
virtualbox-kernel-4.14.30-server-3.mga6-5.2.8-6.mga6
virtualbox-kernel-4.14.40-desktop-1.mga6-5.2.12-1.mga6
virtualbox-kernel-4.14.40-server-1.mga6-5.2.12-1.mga6
virtualbox-kernel-4.14.44-desktop-2.mga6-5.2.12-2.mga6
virtualbox-kernel-4.14.44-server-2.mga6-5.2.12-2.mga6
virtualbox-kernel-4.14.50-desktop-2.mga6-5.2.14-1.mga6
virtualbox-kernel-4.14.50-server-2.mga6-5.2.14-1.mga6
virtualbox-kernel-4.4.74-desktop-1.mga5-5.1.22-7.mga5
virtualbox-kernel-4.4.74-server-1.mga5-5.1.22-7.mga5
virtualbox-kernel-4.9.35-desktop-1.mga6-5.1.22-20.mga6
virtualbox-kernel-4.9.35-server-1.mga6-5.1.22-20.mga6
virtualbox-kernel-4.9.40-desktop-1.mga6-5.1.26-1.mga6
virtualbox-kernel-4.9.40-server-1.mga6-5.1.26-1.mga6
virtualbox-kernel-4.9.43-desktop-1.mga6-5.1.26-2.mga6
virtualbox-kernel-4.9.43-server-1.mga6-5.1.26-2.mga6
virtualbox-kernel-4.9.50-desktop-1.mga6-5.1.26-4.mga6
virtualbox-kernel-4.9.50-server-1.mga6-5.1.26-4.mga6
virtualbox-kernel-4.9.56-desktop-1.mga6-5.2.2-1.mga6
virtualbox-kernel-4.9.56-server-1.mga6-5.2.2-1.mga6
virtualbox-kernel-desktop-latest-5.2.14-1.mga6
virtualbox-kernel-server-latest-5.2.14-1.mga6
xtables-addons-kernel-4.14.10-server-1.mga6-2.13-8.mga6
xtables-addons-kernel-4.14.13-server-1.mga6-2.13-10.mga6
xtables-addons-kernel-4.14.16-server-1.mga6-2.13-14.mga6
xtables-addons-kernel-4.14.18-server-1.mga6-2.13-16.mga6
xtables-addons-kernel-4.14.20-server-1.mga6-2.13-20.mga6
xtables-addons-kernel-4.14.25-server-1.mga6-2.13-25.mga6
xtables-addons-kernel-4.14.30-server-3.mga6-2.13-26.mga6
xtables-addons-kernel-4.14.40-server-1.mga6-2.13-34.mga6
xtables-addons-kernel-4.14.44-server-2.mga6-2.13-38.mga6
xtables-addons-kernel-4.14.50-server-2.mga6-2.13-42.mga6
xtables-addons-kernel-4.9.50-server-1.mga6-2.12-43.mga6
xtables-addons-kernel-4.9.56-server-1.mga6-2.13-3.mga6
xtables-addons-kernel-server-latest-2.13-42.mga6


==================================================================

Code: Select all
[root@Humlan jan]# dkms status
virtualbox, 5.2.14-1.mga6, 4.14.50-server-2.mga6, x86_64: installed
dkms.conf: Error! No 'DEST_MODULE_LOCATION' directive specified.
dkms.conf: Error! No 'PACKAGE_NAME' directive specified.
dkms.conf: Error! No 'PACKAGE_VERSION' directive specified.
virtualbox, 5.1.22-1.mga6, 4.4.74-desktop-1.mga5, x86_64: built
nvidia340, 340.106-1.mga6.nonfree, 4.14.30-server-3.mga6, x86_64: installed
nvidia340, 340.106-1.mga6.nonfree, 4.14.18-desktop-1.mga6, x86_64: installed
nvidia340, 340.106-1.mga6.nonfree, 4.14.18-server-1.mga6, x86_64: installed
nvidia340, 340.106-1.mga6.nonfree, 4.14.50-server-2.mga6, x86_64: installed
nvidia340, 340.106-1.mga6.nonfree, 4.14.16-server-1.mga6, x86_64: installed
nvidia340, 340.106-1.mga6.nonfree, 4.14.20-desktop-1.mga6, x86_64: installed
nvidia340, 340.106-1.mga6.nonfree, 4.14.44-desktop-2.mga6, x86_64: installed
nvidia340, 340.106-1.mga6.nonfree, 4.14.25-desktop-1.mga6, x86_64: installed
nvidia340, 340.106-1.mga6.nonfree, 4.14.25-server-1.mga6, x86_64: installed
nvidia340, 340.106-1.mga6.nonfree, 4.14.50-desktop-2.mga6, x86_64: installed
nvidia340, 340.106-1.mga6.nonfree, 4.14.40-desktop-1.mga6, x86_64: installed
nvidia340, 340.106-1.mga6.nonfree, 4.14.30-desktop-3.mga6, x86_64: installed
nvidia340, 340.106-1.mga6.nonfree, 4.14.20-server-1.mga6, x86_64: installed
nvidia340, 340.106-1.mga6.nonfree, 4.14.40-server-1.mga6, x86_64: installed
nvidia340, 340.106-1.mga6.nonfree, 4.14.16-desktop-1.mga6, x86_64: installed
nvidia340, 340.106-1.mga6.nonfree, 4.14.44-server-2.mga6, x86_64: installed
nvidia340, 340.106-1.mga6.nonfree, 4.14.13-server-1.mga6, x86_64: installed
Last edited by doktor5000 on Jul 13th, '18, 10:38, edited 2 times in total.
Reason: added code tags
User avatar
janpihlgren
 
Posts: 242
Joined: Mar 30th, '11, 12:23
Location: Marsta, Sweden

Re: Very long time to clean up after update

Postby morgano » Jul 13th, '18, 09:29

Hej Jan :)
1) You really should remove a lot of the old kernels you do not use and related packages with same version numbers. And related nvidia from dkms will get removed automatically then.
2) For the dkms Error i have no idea.
Mandriva since 2006, then Mageia since 2011 at home & work. Thinkpad T40 T42p T43 T60 T61 T400. Aspire 7. Fileserver. Workstation using LVM, LUKS, VirtualBox, BOINC, Dropbox, CAD, urpmi-proxy, NextCloud...
morgano
 
Posts: 519
Joined: Jun 15th, '11, 17:51
Location: Kivik, Sweden

Re: Very long time to clean up after update

Postby doktor5000 » Jul 13th, '18, 11:00

For the dkms error, you seem to have some dkms.conf file which is broken. You would need to find out which that is, and then either fix it or remove the offending directory.
As root run either
Code: Select all
find / -type f -iname dkms.conf

or
Code: Select all
locate dkms.conf

if you have locate installed and and recent locate cache. Then post the output here.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 14397
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron