Slackware 15.0 -eq: unary operator expected
by lancsuk from LinuxQuestions.org on (#6E440)
Hiya guys,
Code:WARNING: Unique directory /usr/src/linux-6.4.11/Documentation/PCI/ contains new files
/sbin/removepkg: line 289: [: -eq: unary operator expected
WARNING: Unique directory /usr/src/linux-6.4.11/Documentation/ABI/testing/ contains new files
/sbin/removepkg: line 289: [: -eq: unary operator expected
WARNING: Unique directory /usr/src/linux-6.4.11/Documentation/ABI/stable/ contains new files
/sbin/removepkg: line 289: [: -eq: unary operator expected
WARNING: Unique directory /usr/src/linux-6.4.11/Documentation/ABI/removed/ contains new files
/sbin/removepkg: line 289: [: -eq: unary operator expected
WARNING: Unique directory /usr/src/linux-6.4.11/Documentation/ABI/obsolete/ contains new files
/sbin/removepkg: line 289: [: -eq: unary operator expected
WARNING: Unique directory /usr/src/linux-6.4.11/Documentation/ABI/ contains new files
/sbin/removepkg: line 289: [: -eq: unary operator expected
WARNING: Unique directory /usr/src/linux-6.4.11/Documentation/ contains new files
/sbin/removepkg: line 289: [: -eq: unary operator expected
WARNING: Unique directory /usr/src/linux-6.4.11/ contains new files
/sbin/removepkg: line 289: [: -eq: unary operator expected
WARNING: Unique directory /usr/src/ contains new files
/sbin/removepkg: line 289: [: -eq: unary operator expected
WARNING: Unique directory /usr/ contains new files
/sbin/removepkg: line 289: [: -eq: unary operator expected
WARNING: Unique directory /./ contains new files
Verifying package kernel-source-6.4.12-noarch-1.txz.
/sbin/installpkg: line 559: [: -lt: unary operator expected
Installing package kernel-source-6.4.12-noarch-1.txz:
OK: /lib/modules/6.4.12/kernel/drivers/hid/hid-logitech-hidpp.ko added.
OK: /lib/modules/6.4.12/kernel/drivers/hid/hid.ko added.
OK: /lib/modules/6.4.12/kernel/drivers/hid/hid-lenovo.ko added.
OK: /lib/modules/6.4.12/kernel/drivers/hid/hid.ko added.
OK: /lib/modules/6.4.12/kernel/drivers/hid/hid-microsoft.ko added.
OK: /lib/modules/6.4.12/kernel/drivers/hid/hid.ko added.
OK: /lib/modules/6.4.12/kernel/drivers/hid/hid-multitouch.ko added.
/sbin/mkinitrd: line 256: [: -eq: unary operator expected
/sbin/mkinitrd: line 256: [: -eq: unary operator expected
/sbin/mkinitrd: line 256: [: -eq: unary operator expectedI guess, maybe Pat's Kernel scripts need a double bracket, instead a single bracket?
Or is that something I should be worry about? Appeared when I upgrade my Kernel to 6.4.12 yesterday.
Code:WARNING: Unique directory /usr/src/linux-6.4.11/Documentation/PCI/ contains new files
/sbin/removepkg: line 289: [: -eq: unary operator expected
WARNING: Unique directory /usr/src/linux-6.4.11/Documentation/ABI/testing/ contains new files
/sbin/removepkg: line 289: [: -eq: unary operator expected
WARNING: Unique directory /usr/src/linux-6.4.11/Documentation/ABI/stable/ contains new files
/sbin/removepkg: line 289: [: -eq: unary operator expected
WARNING: Unique directory /usr/src/linux-6.4.11/Documentation/ABI/removed/ contains new files
/sbin/removepkg: line 289: [: -eq: unary operator expected
WARNING: Unique directory /usr/src/linux-6.4.11/Documentation/ABI/obsolete/ contains new files
/sbin/removepkg: line 289: [: -eq: unary operator expected
WARNING: Unique directory /usr/src/linux-6.4.11/Documentation/ABI/ contains new files
/sbin/removepkg: line 289: [: -eq: unary operator expected
WARNING: Unique directory /usr/src/linux-6.4.11/Documentation/ contains new files
/sbin/removepkg: line 289: [: -eq: unary operator expected
WARNING: Unique directory /usr/src/linux-6.4.11/ contains new files
/sbin/removepkg: line 289: [: -eq: unary operator expected
WARNING: Unique directory /usr/src/ contains new files
/sbin/removepkg: line 289: [: -eq: unary operator expected
WARNING: Unique directory /usr/ contains new files
/sbin/removepkg: line 289: [: -eq: unary operator expected
WARNING: Unique directory /./ contains new files
Verifying package kernel-source-6.4.12-noarch-1.txz.
/sbin/installpkg: line 559: [: -lt: unary operator expected
Installing package kernel-source-6.4.12-noarch-1.txz:
OK: /lib/modules/6.4.12/kernel/drivers/hid/hid-logitech-hidpp.ko added.
OK: /lib/modules/6.4.12/kernel/drivers/hid/hid.ko added.
OK: /lib/modules/6.4.12/kernel/drivers/hid/hid-lenovo.ko added.
OK: /lib/modules/6.4.12/kernel/drivers/hid/hid.ko added.
OK: /lib/modules/6.4.12/kernel/drivers/hid/hid-microsoft.ko added.
OK: /lib/modules/6.4.12/kernel/drivers/hid/hid.ko added.
OK: /lib/modules/6.4.12/kernel/drivers/hid/hid-multitouch.ko added.
/sbin/mkinitrd: line 256: [: -eq: unary operator expected
/sbin/mkinitrd: line 256: [: -eq: unary operator expected
/sbin/mkinitrd: line 256: [: -eq: unary operator expectedI guess, maybe Pat's Kernel scripts need a double bracket, instead a single bracket?
Or is that something I should be worry about? Appeared when I upgrade my Kernel to 6.4.12 yesterday.