slpkg problems out of the blue
Hello humans.
I've recently ran into problems while trying to use slpkg. It has worked for me previously which I think is weird, I've never had this problem before. I've tried reinstalling multiple python3 dependencies but nothing seem to work. These are the errors I get: root@slackware:/etc/slpkg# slpkg Traceback (most recent call last): File "/usr/sbin/slpkg", line 5, in <module> from slpkg.main import main File "/usr/lib64/python3.9/site-packages/slpkg/main.py", line 15, in <module> from slpkg.cleanings import Cleanings File "/usr/lib64/python3.9/site-packages/slpkg/cleanings.py", line 9, in <module> from slpkg.views.views import View File "/usr/lib64/python3.9/site-packages/slpkg/views/views.py", line 10, in <module> from slpkg.dialog_box import DialogBox File "/usr/lib64/python3.9/site-packages/slpkg/dialog_box.py", line 12, in <module> locale.setlocale(locale.LC_ALL, '') File "/usr/lib64/python3.9/locale.py", line 610, in setlocale return _setlocale(category, locale) locale.Error: unsupported locale setting Has anyone experienced this before? |
Is it -current or 15.0?
What does command 'locale' tell you? |
Quote:
locale: Cannot set LC_ALL to default locale: No such file or directory LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME=en_SE.UTF-8 LC_COLLATE=C LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT=sv_SE.UTF-8 LC_IDENTIFICATION="en_US.UTF-8" LC_ALL= |
Maybe you once installed v4l-utils-1.26.0-x86_64-1 which overwrote /usr/lib64/gconv/gconv-modules from glibc. The latest v4l-utils is ok, but to fix the glibc gconv-modules, reinstall glibc.
|
Quote:
|
Quote:
Just to make sure, 'ls -l /usr/lib64/gconv/gconv-modules' should tell the size of 3916 bytes. The broken file was 290 bytes. Quote:
|
Quote:
|
Quote:
I change my locale by editing /etc/profile.d/lang.sh. Looks like slpkg is working now, BUT I can no longer boot into kde 😂 Assuming it has something to do with my system language changing to Swedish? |
All times are GMT -5. The time now is 07:42 AM. |