impossible to have numlock on at startup. numlok 2.1.2-12.mga6: How reproducible: Steps to Reproduce: 1.ne service numlock 2.no numlock on in sddm, lxdm 3.1 use a portable computer with no light for numlock
Assigning to all packagers collectively as numlock has no registered maintainer.
Assignee: bugsquad => pkg-bugs
I can confirm something fishy with numlock, as: # urpmi numlock [...] Warning: Problems encountered when activating services. Please check and enable manually if necessary. Service units affected: numlock.service service numlock does not support chkconfig # urpme numlock removing numlock-2.1.2-12.mga6.x86_64 service numlock does not support chkconfig error: %preun(numlock-2.1.2-12.mga6.x86_64) scriptlet failed, exit status 1 ERROR: 'script' failed for numlock-2.1.2-12.mga6.x86_64 error: numlock-2.1.2-12.mga6.x86_64: erase failed
Priority: Normal => HighTarget Milestone: --- => Mageia 6
Bonjour Numlock ne fonctionne toujours pas. Le service numlock n'existe toujours pas dans le MCC. Numlock ne se désinstalle pas dans le MCC : la manip se fait mais numlocks reste installé. Effacement de numlock dans Mcc donne ceci en console : getting lock on urpmi getting exclusive lock on rpm transaction créée pour l'installation sur / (remove=1, install=0, upgrade=0) le service numlock ne prend pas en charge chkconfig erreur : %preun(numlock-2.1.2-12.mga6.x86_64) scriptlet échoué, état de sortie 1 Error: ERROR: 'script' failed for numlock-2.1.2-12.mga6.x86_64 erreur : numlock-2.1.2-12.mga6.x86_64: effacer échoué unlocking urpmi database unlocking rpm database getting lock on urpmi Effacement de numlock en console donne ceci : [root@mageiahost roger]# urpmi numlock Le paquetage numlock-2.1.2-12.mga6.x86_64 est déjà installé [root@mageiahost roger]# urpme numlock désinstallation de numlock-2.1.2-12.mga6.x86_64 le service numlock ne prend pas en charge chkconfig erreur : %preun(numlock-2.1.2-12.mga6.x86_64) scriptlet échoué, état de sortie 1 ERROR: 'script' failed for numlock-2.1.2-12.mga6.x86_64 erreur : numlock-2.1.2-12.mga6.x86_64: effacer échoué [root@mageiahost roger]#
It would be good to add a note about this in the Errata, thus I'm adding the FOR_ERRATA6 keyword. Once added to https://wiki.mageia.org/en/Mageia_6_Errata please replace FOR_ERRATA6 with IN_ERRATA6.
Keywords: (none) => FOR_ERRATA6
Seems it might be a duplicate of bug 18027, which has a documented workaround? Though it doesn't necessarily cover the %preun failure shown in comment 3.
(In reply to Rémi Verschelde from comment #5) > Seems it might be a duplicate of bug 18027, which has a documented > workaround? > Though it doesn't necessarily cover the %preun failure shown in comment 3. So let's keep this report for that issue... it's annoying that even uninstalling the package doesn't work. I'll move FOR_ERRATA6 to bug 18027
See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=18027Summary: numlock non active on start. => numlock cannot be uninstalled (%preun failure)CC: (none) => marja11Keywords: FOR_ERRATA6 => (none)
The problem with the numlock service comes from the /etc/init.d/numlock script. The "chkconfig" comment line is wrong : # chkconfig 3457 26 15 The runlevel 7 doesn't exist and the line should be : # chkconfig 345 26 15 After correction, everything is ok and the package can be uninstalled. Best regards.
CC: (none) => thguyot
See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=21301
The cause is the same as that of bug #18027 Closing this one as duplicate. Fix in progress. *** This bug has been marked as a duplicate of bug 18027 ***
Resolution: (none) => DUPLICATEStatus: NEW => RESOLVED