Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#67066 - pacman -Syu without reboot can break kernel modules
Attached to Project:
Arch Linux
Opened by Volker Weißmann (volker_weissmann) - Sunday, 21 June 2020, 13:15 GMT
Last edited by Eli Schwartz (eschwartz) - Sunday, 21 June 2020, 13:19 GMT
Opened by Volker Weißmann (volker_weissmann) - Sunday, 21 June 2020, 13:15 GMT
Last edited by Eli Schwartz (eschwartz) - Sunday, 21 June 2020, 13:19 GMT
|
DetailsSteps to reproduce:
1. Wait for a new kernel update 2. Remove any usb drives 3. Reboot 4. Run lsmod to check if usb_storage is loaded, it shouldn't be 5. Run pacman -Syu 6. Insert a usb drive. It won't work because pacman -Syu deleted /lib/modules/old-kernel , therefore usb_storage can't be loaded. Recommended way to fix it: /lib/modules/old-kernel shouldn't be deleted while running pacman -Syu, but at the next reboot. |
This task depends upon
Closed by Eli Schwartz (eschwartz)
Sunday, 21 June 2020, 13:19 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#16702
Sunday, 21 June 2020, 13:19 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#16702

Pacman will per definition delete files owned by versions of packages which have been uninstalled in order to install new versions. In order to prevent that, you'd need to, well, not uninstall the old package. That is covered by FS#16702.