LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-24-2024, 01:39 AM   #46
however
Member
 
Registered: Jan 2019
Distribution: slackware current
Posts: 527

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by wpeckham View Post
Perhaps because they value this community: it used to be more friendly and helpful most of the time. Less of this "don't let the door hit you on the way out" attitude.
There are still some gentlemen left!
Thank you
 
Old 05-24-2024, 01:43 AM   #47
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,706
Blog Entries: 19

Rep: Reputation: 4506Reputation: 4506Reputation: 4506Reputation: 4506Reputation: 4506Reputation: 4506Reputation: 4506Reputation: 4506Reputation: 4506Reputation: 4506Reputation: 4506
I came over to the Slackware community only a few years ago and I've never found them to be anything other than helpful. It's the Archers who are intellectual snobs.
 
6 members found this post helpful.
Old 05-24-2024, 03:48 AM   #48
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,964

Rep: Reputation: 1574Reputation: 1574Reputation: 1574Reputation: 1574Reputation: 1574Reputation: 1574Reputation: 1574Reputation: 1574Reputation: 1574Reputation: 1574Reputation: 1574
Quote:
Originally Posted by RadicalDreamer View Post
Grub looks like too much work. I just need to run elilo once to register it to nvram then I can copy the new vmlinuz and intitrd.gz to the Slackware folder on the efi partition after each update.
Grub could actually mean less work. When it's configured to use versioned kernel names, there is the need for a new grub.cfg after kernel upgrade. It would be the same with lilo.conf or elilo.conf with 'image' lines referring to versioned kernels. But grub can also be configured to look for '/boot/vmlinuz' instead of versioned kernel names. Then grub will find the new kernel on the root filesystem behind the /boot/vmlinuz link: no need to run 'lilo' or copy the kernel to the efi partition for elilo.
 
2 members found this post helpful.
Old 05-24-2024, 05:52 AM   #49
Andersen
Member
 
Registered: Dec 2008
Distribution: Slackware
Posts: 179

Rep: Reputation: 72
Quote:
Originally Posted by Petri Kaukasoina View Post
Grub could actually mean less work. When it's configured to use versioned kernel names, there is the need for a new grub.cfg after kernel upgrade. It would be the same with lilo.conf or elilo.conf with 'image' lines referring to versioned kernels. But grub can also be configured to look for '/boot/vmlinuz' instead of versioned kernel names. Then grub will find the new kernel on the root filesystem behind the /boot/vmlinuz link: no need to run 'lilo' or copy the kernel to the efi partition for elilo.
Good point. I used lilo for almost 20 years and I switched to grub recently. I was a bit worried about how much I will need to learn and what will be necessary to do after kernel upgrades, especially since I'm running the current line. Finally, I found out that all I need to do after an upgrade is:

Code:
cp /boot/vmlinuz-huge-x.x.x /boot/efi/EFI/Slackware/vmlinuz

and

grub-mkconfig -o /boot/grub/grub.cfg
Btw, as @Petri Kaukasoina pointed out, I probably didn't need to rerun that second one at all.
 
Old 05-24-2024, 06:31 AM   #50
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,964

Rep: Reputation: 1574Reputation: 1574Reputation: 1574Reputation: 1574Reputation: 1574Reputation: 1574Reputation: 1574Reputation: 1574Reputation: 1574Reputation: 1574Reputation: 1574
Quote:
Originally Posted by Andersen View Post
Code:
cp /boot/vmlinuz-huge-x.x.x /boot/efi/EFI/Slackware/vmlinuz

and

grub-mkconfig -o /boot/grub/grub.cfg
Btw, as @Petri Kaukasoina pointed out, I probably didn't need to rerun that second one at all.
I think the first one is not needed. Try this:
Code:
grep [[:space:]]linux /boot/grub/grub.cfg
It shows the 'linux' lines which load the kernel. If there is a line which starts 'linux /boot/vmlinuz-huge-6.9.1' then it will load the kernel from /boot (in the root filesystem, not in the EFI filesystem). The copy in /boot/efi/EFI/Slackware is not used.

But your second line is also unnecessary if you do a little change. Edit file /etc/grub.d/10_linux. Search for the first line with word 'vmlinuz'. It's this:

Code:
        for i in /boot/vmlinuz-* /vmlinuz-* /boot/kernel-* ; do
Change it to:

Code:
        for i in /boot/vmlinuz ; do
Then make sure that 10_linux is executable but the editor backup copy is not. Then
Code:
# grub-mkconfig > /boot/grub/grub.cfg
Now /boot/grub/grub.cfg will load the kernel using a line starting 'linux /boot/vmlinuz' and there is no need to rerun grub-mkconfig after kernel upgrade.

Last edited by Petri Kaukasoina; 05-24-2024 at 06:36 AM.
 
2 members found this post helpful.
Old 05-24-2024, 07:04 AM   #51
however
Member
 
Registered: Jan 2019
Distribution: slackware current
Posts: 527

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by marav View Post
A SINGLE pkg manager, a SINGLE distribution, a SINGLE web browser, a SINGLE DE, a SINGLE graphic card, etc ...
Ok, but who decides?
Does everybody like RPM, RedHat, Chrome, Gnome, Nvidia ...?
I think I stumbled on the perfect example to use as a response:

since I have been involved with graphic, posters/marketing, etc. in the last year or so, one of the first cpl of packages that i always install when running a clean slackware are 'scribus' and 'inkscape'.

let's use the former: scribus

First SBOPKG
Code:
bash-5.2# sbopkg -i scribus


###########################################
       New queue process started on:
       Fri May 24 13:31:18 -01 2024
###########################################

+++++++++++++++++++++++++++++++++++++++++++
PRE-CHECK LOG
Using the UNSUPPORTED SBo git repository for -current
Queue Process:  Download, build, and install

scribus:
  GPG checks not supported for the SBo-git repository.
  Processing scribus 1.6.1-1
  Using original .info file
  Using original SlackBuild file
  No build options selected.

+++++++++++++++++++++++++++++++++++++++++++

Pre-check complete.

Do you wish to proceed based on the search results above? Packages not
found will be skipped during the process.

(P)roceed or (Q)uit?: p
.......... 
..........
[ 68%] Building CXX object scribus/plugins/import/pdf/CMakeFiles/importpdf.dir/importpdf_autogen/mocs_compilation.cpp.o
[ 68%] Building CXX object scribus/plugins/import/pdf/CMakeFiles/importpdf.dir/importpdf.cpp.o
In file included from /usr/include/poppler/Error.h:35,
                 from /usr/include/poppler/GlobalParams.h:47,
                 from /tmp/SBo/scribus-1.6.1/scribus/plugins/import/pdf/importpdf.cpp:23:
/usr/include/poppler/goo/GooString.h:241:24: error: ‘starts_with’ has not been declared in ‘std::string’
  241 |     using std::string::starts_with;
      |                        ^~~~~~~~~~~
/usr/include/poppler/goo/GooString.h:244:24: error: ‘ends_with’ has not been declared in ‘std::string’
  244 |     using std::string::ends_with;
      |                        ^~~~~~~~~
make[2]: *** [scribus/plugins/import/pdf/CMakeFiles/importpdf.dir/build.make:95: scribus/plugins/import/pdf/CMakeFiles/importpdf.dir/importpdf.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:5311: scribus/plugins/import/pdf/CMakeFiles/importpdf.dir/all] Error 2
make: *** [Makefile:156: all] Error 2

scribus:
Would you like to continue processing the rest of the
queue or would you like to abort?  If this failed
package is a dependency of another package in the queue
then it may not make sense to continue.

(Y)es to continue, (N)o to abort, (R)etry the build?: y

+++++++++++++++++++++++++++++++++++++++++++
SUMMARY LOG
Using the UNSUPPORTED SBo git repository for -current
Queue Process:  Download, build, and install

scribus:
  MD5SUM check for scribus-1.6.1.tar.xz ... OK
  Error occurred with build.  Please check the log.

+++++++++++++++++++++++++++++++++++++++++++

###########################################
          Queue process complete!
###########################################

bash-5.2#
SLPKG
Code:
bash-5.2# slpkg -b scribus
Database loading... ✔
Resolving dependencies... ✔
┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│                                                 Slpkg Build Packages                                                 │
├──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ The following packages will be build:                                                                                │
├──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ Package:                                                        Version:                     Size:             Repo: │
│ scribus                                                         1.5.7                                            sbo │
└──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
Total 1 packages will be build in /tmp folder.

Do you want to continue? [y/N] y

.....................
-- Autogen Include Path: /tmp/SBo/scribus-1.5.7/scribus/scribus_autogen/include
RPATH: lib64/scribus/plugins/;
-- Qt5::CoreQt5::WidgetsQt5::GuiQt5::XmlQt5::NetworkQt5::OpenGL/usr/lib64/libxml2.so/usr/lib64/libz.so
-- Qt based Markdown plugin: Qt version >= 5.14.0 Ok, Installed Qt version: 5.15.13
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2")
-- Checking for module 'libcdr-0.1>=0.1'
--   Found libcdr-0.1, version 0.1.6
Building Corel Draw Importer with librevenge
-- Checking for module 'libfreehand-0.1'
--   Found libfreehand-0.1, version 0.1.2
Building Freehand Importer with librevenge
-- Checking for module 'libpagemaker-0.0'
--   Found libpagemaker-0.0, version 0.0.4
Building Pagemaker Importer with librevenge
-- Checking for module 'libmspub-0.1>=0.1'
--   Found libmspub-0.1, version 0.1.4
Building MS Publisher Importer with librevenge
-- Checking for module 'libqxp-0.0'
--   Found libqxp-0.0, version 0.0.2
Building QuarkXPress Importer
-- Checking for module 'libvisio-0.1>=0.1'
--   Found libvisio-0.1, version 0.1.7
Building MS-Visio Importer with librevenge
-- Checking for module 'libzmf-0.0'
--   Found libzmf-0.0, version 0.0.2
Building Zoner Draw Importer
-- Building with Scripter 1
-- No source header files will be installed
-- /tmp/SBo/scribus-1.5.7/resources/translations
-- The following GUI languages will be installed:
-- Configuring incomplete, errors occurred!

=======================================================
Error occurred with process. Please check the log file.
=======================================================

bash-5.2#
PKGS.ORG
Code:
 Slackware Current
Slackel x86_64 Third-Party
scribus-1.4.7-x86_64-1dj.txz 	open-source professional page layout program
Slackers x86_64 Third-Party
scribus-1.6.1-x86_64-4cf.txz 	open-source professional page layout program
it's worth mentioning that pkgs.org lists scribus with seven dependencies, which only 3 are already present in slackware (i know, bcos i went through the process of checking them one-by-one and then installing the mising deps)
Code:
Scribus is an open-source program that brings award-winning
professional page layout to Linux/Unix, MacOS X and Windows
desktops with a combination of "press-ready" output and new
approaches to page layout.

Alternatives 1
Package 	Version 	Arch 	Repository
scribus-1.4.7-x86_64-1dj.txz 	1.4.7 	x86_64 	Slackel Third-Party
scribus 	All 	All 	All
Requires 7
Name 	Value
libcdr 	-
libfreehand 	-
libmspub 	-
libpagemaker 	-
libqxp 	-
libzmf 	-
podofo
Two package management systems for the same distro have two different versions of the same package and a 'try-to-unite-them-all' website has one more and, guess what: none of them works.
Scribus installed perfectly 3days ago (as i said, it's always one of the first installs, when I had the system seemingly working and then found out in the morning that everything was broken again).

Similar thing with inkscape (can't build it and the binary i find on pkgs.org won't launch).

I am not sure I am entitled to comment on this matter, or perhaps 20yrs of using the OS give me a little reason to say something, but if I were Patrick I would definitely say: what the heck is happening to my distro? how is this possible? 1 package, 3 sources, none of them is working!!

My computer again? maybe? hardware-software-hardware-soft....! I just have a CLEAN slackware. How can hardware issues cause this?

I am sorry for the 'rant'. I love you all!

Last edited by however; 05-24-2024 at 07:11 AM.
 
Old 05-24-2024, 07:13 AM   #52
rizitis
Member
 
Registered: Mar 2009
Location: Greece,Crete
Distribution: Slackware64-current, Slint
Posts: 724
Blog Entries: 2

Rep: Reputation: 535Reputation: 535Reputation: 535Reputation: 535Reputation: 535Reputation: 535
you have rsync sbopkg to slackbuilds.org and slpkg to ponce...

sudo inxi -r
what is the output?

Last edited by rizitis; 05-24-2024 at 07:17 AM.
 
Old 05-24-2024, 07:23 AM   #53
however
Member
 
Registered: Jan 2019
Distribution: slackware current
Posts: 527

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rizitis View Post
you have rsync sbopkg to slackbuilds.org and slpkg to ponce...
I think i synced Ponce's repo last night and updated slpkg this morning

Quote:
sudo inxi -r
what is the output?


Quote:
bash-5.2# sudo inxi -r
Repos:
Active sbopkg repo: /etc/sbopkg/sbopkg.conf
1: SBo-git ~ current
slackpkg mirror in: /etc/slackpkg/mirrors
1: https://mirrors.slackware.com/slackw...are64-current/
slackpkg+ repos in: /etc/slackpkg/slackpkgplus.conf
1: slackpkgplus ~ https://slakfinder.org/slackpkg+15/
No active slpkg repos in: /etc/slpkg/repositories.toml
bash-5.2#
 
Old 05-24-2024, 07:29 AM   #54
rizitis
Member
 
Registered: Mar 2009
Location: Greece,Crete
Distribution: Slackware64-current, Slint
Posts: 724
Blog Entries: 2

Rep: Reputation: 535Reputation: 535Reputation: 535Reputation: 535Reputation: 535Reputation: 535
Quote:
I am sorry for the 'rant'. I love you all!
we all love you too...
since we all are in love (its no ironic) and since after 15 years of slacking you cant realize the wrong output
Quote:
bash-5.2# sudo inxi -r
Repos:
Active sbopkg repo: /etc/sbopkg/sbopkg.conf
1: SBo-git ~ current
slackpkg mirror in: /etc/slackpkg/mirrors
1: https://mirrors.slackware.com/slackw...are64-current/
slackpkg+ repos in: /etc/slackpkg/slackpkgplus.conf
1: slackpkgplus ~ https://slakfinder.org/slackpkg+15/
No active slpkg repos in: /etc/slpkg/repositories.toml
bash-5.2#
PLEASE day a day off... get out drink a beer , a coffee , wine... what ever you like and clean your mind from Slackware, Linux, PC and all these stuffs...
Next day you will fix everything alone... trust me.
I did it when friends suggested and it works 100%
 
3 members found this post helpful.
Old 05-24-2024, 07:39 AM   #55
however
Member
 
Registered: Jan 2019
Distribution: slackware current
Posts: 527

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rizitis View Post
we all love you too...
since we all are in love (its no ironic) and since after 15 years of slacking you cant realize the wrong output

PLEASE day a day off... get out drink a beer , a coffee , wine... what ever you like and clean your mind from Slackware, Linux, PC and all these stuffs...
Next day you will fix everything alone... trust me.
I did it when friends suggested and it works 100%
ahahah you are right! My last brain-cell left is over-spinning like a crazy mouse-wheel.

I noticed the wrong output once i run the line you suggested; i just didn't know about that command.

Alright! beer o'clock!
 
Old 05-24-2024, 07:43 AM   #56
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,964

Rep: Reputation: 1574Reputation: 1574Reputation: 1574Reputation: 1574Reputation: 1574Reputation: 1574Reputation: 1574Reputation: 1574Reputation: 1574Reputation: 1574Reputation: 1574
Quote:
Originally Posted by however View Post
let's use the former: scribus

Two package management systems for the same distro have two different versions of the same package and a 'try-to-unite-them-all' website has one more and, guess what: none of them works.
Scribus installed perfectly 3days ago (as i said, it's always one of the first installs, when I had the system seemingly working and then found out in the morning that everything was broken again).
Your error message was about poppler. It was upgraded in -current a day or two ago. "l/poppler-24.05.0-x86_64-1.txz: Upgraded. This seems to require C++20 now...". In ponce git there seems to be scribus-1.6.1-poppler-24.03.patch from last week. I guess there is a need for a new patch. -current is a moving target. It can take more than a day or two to get slackbuilds upgraded. The ready-made binaries you found are even much older. Maybe you could try the stable 15.0?
 
1 members found this post helpful.
Old 05-24-2024, 07:59 AM   #57
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,964

Rep: Reputation: 1574Reputation: 1574Reputation: 1574Reputation: 1574Reputation: 1574Reputation: 1574Reputation: 1574Reputation: 1574Reputation: 1574Reputation: 1574Reputation: 1574
Actually there is already a fix: https://www.linuxquestions.org/quest...ml#post6503316 I guess it will take a while to be pushed to the repository.
 
Old 05-25-2024, 12:16 AM   #58
quickbreakfast
Member
 
Registered: Oct 2015
Location: northern territory
Distribution: slackware 15
Posts: 340

Rep: Reputation: Disabled
Quote:
Originally Posted by however View Post
My computer again? maybe? hardware-software-hardware-soft....! I just have a CLEAN slackware. How can hardware issues cause this?
You have an either or choice. It's either the the distro or the hardware.

Since you have a clean distro, then it's gotta be the hardware. ...... somewhere.

What made you decide to replace the video card?

How old is the motherboard?

Quote:
I am sorry for the 'rant'. I love you all!
As long as the rant is specific, I don't mind.

By the way do you have the same problem(s) running say Alienbob's live version?
 
Old 05-25-2024, 02:58 AM   #59
however
Member
 
Registered: Jan 2019
Distribution: slackware current
Posts: 527

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by quickbreakfast View Post
You have an either or choice. It's either the the distro or the hardware.


What made you decide to replace the video card?

How old is the motherboard?
well, for a while the pc wouldn't even boot with the video card and, according to the technician, at service centre, who tried to diagnose the problem it was a faulty video card. So, i bought another one (which i am still waiting for from China). However, about a month after that expert 'diagnosis' I tried the card for curiosity and it was working flawlessly. I am still on it actually and typing this post from it. In reality though, the computer acts strange at random times i.e. it doesn't start or, all the fans go at top-speed as if it was melting or, LILO/GRUB detect non-existent partitions.... really strange things!

Quote:
Originally Posted by quickbreakfast

By the way do you have the same problem(s) running say Alienbob's live version?
I didnt try Alienbob's live CD yet; however, a few days ago, in a desperate attempt to rule out distro issues, I installed the latest Debian-12.5 and it was like 'healing-of-the-dead'. One single attempt at installing a distro that i have never used resolved all the issues. No lines on screen, no partitions confusion, etc...

Oh yes, I forgot to mention the lines on screen which, for some reason, I cannot show here because I cannot attach any files regardless of file-size; https://file.io/IO3vdi1ESxjl. These lines started about 5-6 system updates ago, during one of those kernel/MESA dance.
 
Old 05-25-2024, 03:18 AM   #60
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,706
Blog Entries: 19

Rep: Reputation: 4506Reputation: 4506Reputation: 4506Reputation: 4506Reputation: 4506Reputation: 4506Reputation: 4506Reputation: 4506Reputation: 4506Reputation: 4506Reputation: 4506
Quote:
Originally Posted by however View Post
However, about a month after that expert 'diagnosis' I tried the card for curiosity and it was working flawlessly. I am still on it actually and typing this post from it. In reality though, the computer acts strange at random times i.e. it doesn't start or, all the fans go at top-speed as if it was melting or, LILO/GRUB detect non-existent partitions.... really strange things!
Definitely hardware and not just the video either. It's actually quite common for hardware problems to come and go in the way you describe for your video card. But the wider problems suggest a screwed-up motherboard to me.
Quote:
a few days ago, in a desperate attempt to rule out distro issues, I installed the latest Debian-12.5 and it was like 'healing-of-the-dead'. One single attempt at installing a distro that i have never used resolved all the issues. No lines on screen, no partitions confusion, etc...
So use Debian for the time being. As long as it goes on working, you're OK. If it starts playing up in the same way, get a new machine.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Get first day of last month and last day of last month in bash xowl Linux - Software 18 02-09-2017 09:49 AM
An awful Comcast experience (warning: long long post) Cultist General 3 09-21-2013 11:50 AM
Aboout "with very long lines",how long is very long? yun1st Linux - Newbie 4 07-20-2012 03:38 PM
long long long: Too long for GCC Kenny_Strawn Programming 5 09-18-2010 01:14 AM
Long-time Slacker, first-time poster JimBrewster LinuxQuestions.org Member Intro 1 02-02-2010 11:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration