You are not logged in.
Pages: 1
I've upgrade pae kernel to 3.1.4 but when I check the modules folder, it's:
$ ls /lib/modules
3.1.0-4-pae 3.1.2-1-pae 3.1.4-1-ARCH extramodules-3.1-ARCH
3.1.1-1-pae 3.1.3-1-pae 3.1.4-1-pae extramodules-3.1-paeHow to remove old kernel which is not use anymore
Offline
You need to manually remove the leftover directories. Pacman didn't remove them because they contain untracked files (or maybe files owned by other packages).
The four module directories for kernels older than 3.1.4 should be safe to remove.
Offline
I'd recommend using pacman -Qo /path/to/file to find out if they belong to any other packages.
Offline
Are you tell me?
sudo pacman -Qo /lib/modulesOffline
I saw similar output in my /lib/modules
When I looked inside "extramodules-3.1-ARCH" I noticed a file called "version". The contents of the "version" file matched the kernel version.
There were no other files in my "/lib/modules/extramodules-3.1-ARCH" directory.
Might be worth a try for Narga....
Offline
Because this thread comes up on searches about removing stray kernel modules, someone may need this:
Are you tell me?
sudo pacman -Qo /lib/modules
The pacman ownership query works on files, not directories. In order to check whether one of the files in a directory is owned by pacman, it can be done automatically with something like this:
$ find /lib/modules/3.0-ARCH/ -type f | xargs pacman -Qo
error: No package owns /lib/modules/3.0-ARCH/misc/vboxnetadp.ko
error: No package owns /lib/modules/3.0-ARCH/misc/vboxnetflt.ko
error: No package owns /lib/modules/3.0-ARCH/misc/vboxdrv.ko
error: No package owns /lib/modules/3.0-ARCH/misc/vboxpci.koIn this case, none of the files in it are managed by pacman. Grep can be used to filter the results and show only the the managed packages, if any:
$ find /lib/modules/3.0-ARCH/ -type f | xargs pacman -Qo | grep "is owned by"Offline
Pages: 1