SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
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.
Idk about the glibc issues, I updated my slackware yesterday and it didn't work before that either.
Just to make sure, 'ls -l /usr/lib64/gconv/gconv-modules' should tell the size of 3916 bytes. The broken file was 290 bytes.
There is no locale "en_SE.UTF-8". Try en_US.UTF-8 or sv_SE.UTF-8.
Just want to start of by thanking you for your help.
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?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.