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.
Trying to suggest things to improve is something toxic now... Well, what I can say is go to my black list for your stupidity.
That's too bad. I tried to give you the benefit of the doubt here, but apparently you are determined to start fights and keep doubling down on your mistake. Oh well...
And FWIW, I've been poking at the way slackpkg info <pkg> displays info on my screen and there is definitely room for improvement. It's not broken, but when viewing info for a package that exists in multiple repos (I'm using slackpkg+) things get pretty messy. There's definitely room for discussion on improving that output because right now it hurts my brain..
Code:
root@vapyr:~# slackpkg info mesa-compat32
NOTICE: pkglist is older than 24h; you are encouraged to re-run 'slackpkg update'
PACKAGE NAME: mesa-compat32-21.3.5-x86_64-2compat32.txz
PACKAGE LOCATION: ./x-compat32
PACKAGE SIZE (compressed): 20005 K
PACKAGE SIZE (uncompressed): 200780 K
PACKAGE DESCRIPTION:
mesa-compat32: mesa-compat32 (a 3-D graphics library)
mesa-compat32:
mesa-compat32: Mesa is a 3-D graphics library with an API very similar to that of
mesa-compat32: another well-known 3-D graphics library. The Mesa libraries are used
mesa-compat32: by X to provide both software and hardware accelerated graphics.
mesa-compat32:
mesa-compat32: Mesa was written by Brian Paul.
mesa-compat32:
mesa-compat32: Homepage: https://www.mesa3d.org
mesa-compat32:
mesa-compat32: This package contains 32-bit compatibility binaries.
PACKAGE NAME: mesa-compat32-21.3.5-x86_64-2compat32.txz
PACKAGE LOCATION: ./slackware64-compat32/x-compat32
PACKAGE SIZE (compressed): 41988 K
PACKAGE SIZE (uncompressed): 200780 K
PACKAGE DESCRIPTION:
mesa-compat32: mesa-compat32 (a 3-D graphics library)
mesa-compat32:
mesa-compat32: Mesa is a 3-D graphics library with an API very similar to that of
mesa-compat32: another well-known 3-D graphics library. The Mesa libraries are used
mesa-compat32: by X to provide both software and hardware accelerated graphics.
mesa-compat32:
mesa-compat32: Mesa was written by Brian Paul.
mesa-compat32:
mesa-compat32: Homepage: https://www.mesa3d.org
mesa-compat32:
mesa-compat32: This package contains 32-bit compatibility binaries.
Package: mesa-compat32-21.3.5-x86_64-2compat32
Repository: compat32
Path: ./x-compat32/mesa-compat32-21.3.5-x86_64-2compat32.txz
Url: http://192.168.0.13/mirror/slackware/multilib/15.0/x-compat32/mesa-compat32-21.3.5-x86_64-2compat32.txz
Package: mesa-compat32-21.3.5-x86_64-2compat32
Repository: multilib
Path: ./slackware64-compat32/x-compat32/mesa-compat32-21.3.5-x86_64-2compat32.txz
Url: https://taper.alienbase.nl/people/alien/multilib/15.0/slackware64-compat32/x-compat32/mesa-compat32-21.3.5-x86_64-2compat32.txz
My brain has better things to do than parse large blocks of machine readable text. I have a computer to handle those mundane tasks.
There is something wrong with your setup or how you installed. I use slackpkg with slackpkg+, this is what I get.
Code:
~# slackpkg info mesa-compat32
PACKAGE NAME: mesa-compat32-21.3.8-x86_64-1compat32.txz
PACKAGE LOCATION: ./slackware64-compat32/x-compat32
PACKAGE SIZE (compressed): 42008 K
PACKAGE SIZE (uncompressed): 200850 K
PACKAGE DESCRIPTION:
mesa-compat32: mesa-compat32 (a 3-D graphics library)
mesa-compat32:
mesa-compat32: Mesa is a 3-D graphics library with an API very similar to that of
mesa-compat32: another well-known 3-D graphics library. The Mesa libraries are used
mesa-compat32: by X to provide both software and hardware accelerated graphics.
mesa-compat32:
mesa-compat32: Mesa was written by Brian Paul.
mesa-compat32:
mesa-compat32: Homepage: https://www.mesa3d.org
mesa-compat32:
mesa-compat32: This package contains 32-bit compatibility binaries.
Package: mesa-compat32-21.3.8-x86_64-1compat32
Repository: multilib
Path: ./slackware64-compat32/x-compat32/mesa-compat32-21.3.8-x86_64-1compat32.txz
Url: file://home/non-slack/multilib/current/slackware64-compat32/x-compat32/mesa-compat32-21.3.8-x86_64-1compat32.txz
Last edited by chrisretusn; 04-03-2022 at 02:00 AM.
@chrisretusn I have alienbob's repo added as "multilib" , and then a local "compat32" repo with higher priority. I run massconvert32 to make my own packages and store them on my own NAS. I set this up back when alienbob's server was struggling and I was getting insane download times.
slackpkg seems to put every package in the same PACKAGES.TXT file and slackpkg info just prints every instance of that package. So in my case, compat32 packages end up have 2 instances with one of them being masked.
I can see how this might be jarring since it deviates from how 'slackpkg search' displays similar info. Not at all a bug, and certainly not the result of negligence** by whoever wrote that particular feature. It's just ugly
** OP needs to check the dictionary definition of negligent. It's such a rude word to use in any open source context and he really doesn't seem to get it.
@chrisretusn I have alienbob's repo added as "multilib" , and then a local "compat32" repo with higher priority. I run massconvert32 to make my own packages and store them on my own NAS. I set this up back when alienbob's server was struggling and I was getting insane download times.
ah okay, I sort of suspected something like this. Your output is simply reporting what you have. Makes perfect sense.
My use case. I use a sync (manual run using a batch file "update.multilib.sh") of alienbob's multilib locally.
Last edited by chrisretusn; 04-03-2022 at 02:00 AM.
Relax with the declarations of intent. You aren't a slackpkg dev and your name isn't credited at the top of the script
If you read through the code, there is no way to think they didn't purposefully strip anything off everything but the package name.
Quote:
Originally Posted by PartiZan
This was not intentional for sure; It was written and forgotten. It's not by design, but by negligence.
How can you read the code and not say it was intentional? They even pass it through the cutpkg awk script, which only has one function, to remove everything from the variable except for the package name. The developer(s) specifically chose to remove everything but the package name when searching PACKAGES.TXT.
Now, if you have a better solution, they might be willing to change how slackpkg info functions, but the way it currently functions was written purposefully to remove everything but the package name and use that for parsing the PACKAGES.TXT.
Quote:
Originally Posted by PartiZan
Trying to suggest things to improve is something toxic now... Well, what I can say is go to my black list for your stupidity.
You're not suggesting something to improve, you're saying something is broken.
Those are two wildly different things. One is considered an enhancement and the other is considered a bug. You've definitely been considering this a bug when it is obvious it isn't. If you had decided to push for an improvement, that might've been received differently.
Last edited by bassmadrigal; 04-03-2022 at 12:46 PM.
Regarding suspend/resume issues on AMD based Lenovo ThinkPad T495, the issue seems to be resolved with the combination of kernel-generic-5.17.3-x86_64-1 and kernel-firmware-20220411_f219d61.
Last edited by steve4lqdo; 04-14-2022 at 05:35 PM.
Regarding suspend/resume issues on AMD based Lenovo ThinkPad T495, the issue seems to be revolved with the combination of kernel-generic-5.17.3-x86_64-1 and kernel-firmware-20220411_f219d61.
I would also like to share my experience on this subject
My hibernation/resume problem was solved by switching from eLilo to grub
I think this is something to consider
Have been using Grub all along as I dual boot Slackware64-current and Linux Mint 19.3. Recent kernel upgrade solved the AMD based suspend/resume for me (in Slackware - Mint was used briefly recently to be able to suspend/resume, but now back to Slackware, again ;-).
Have been using Grub all along as I dual boot Slackware64-current and Linux Mint 19.3. Recent kernel upgrade solved the AMD based suspend/resume for me (in Slackware - Mint was used briefly recently to be able to suspend/resume, but now back to Slackware, again ;-).
Apologies - should have used the Quote option on my prior post - Newbie!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.