Skip to content

Module Clean Up "error: No package owns /usr/lib/modules/5.11.15-arch1-2" #22

@CorvetteCole

Description

@CorvetteCole

Realized old modules were junking up my system and that this service was not activated. Tried to start it manually which resulted in the following error. Confused by this since I thought check if a package owned the module was kind of the point of this script?

Oct 28 00:26:31 cole-pc systemd[1]: Starting Clean up modules from old kernels...
Oct 28 00:26:31 cole-pc bash[103383]: + for i in /usr/lib/modules/[0-9]*
Oct 28 00:26:31 cole-pc bash[103383]: + [[ 5.11.15-arch1-2 = \6\.\0\.\2\-\a\r\c\h\1\-\1 ]]
Oct 28 00:26:31 cole-pc bash[103383]: + pacman -Qo /usr/lib/modules/5.11.15-arch1-2
Oct 28 00:26:31 cole-pc bash[103456]: error: No package owns /usr/lib/modules/5.11.15-arch1-2
Oct 28 00:26:31 cole-pc bash[103383]: + rsync -AHXal /usr/lib/modules/5.11.15-arch1-2 /usr/lib/modules/.old/
Oct 28 00:26:31 cole-pc bash[103688]: rsync: [Receiver] ERROR: cannot stat destination "/usr/lib/modules/.old/": Not a directory (20)
Oct 28 00:26:31 cole-pc bash[103688]: rsync error: errors selecting input/output files, dirs (code 3) at main.c(770) [Receiver=3.2.7]
Oct 28 00:26:31 cole-pc systemd[1]: linux-modules-cleanup.service: Main process exited, code=exited, status=3/NOTIMPLEMENTED
Oct 28 00:26:32 cole-pc systemd[1]: linux-modules-cleanup.service: Failed with result 'exit-code'.
Oct 28 00:26:32 cole-pc systemd[1]: Failed to start Clean up modules from old kernels.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions