LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-15-2022, 04:48 PM   #1
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,350

Rep: Reputation: 75
Latest slackpkg ugrade-all seems to have broken printing and libreoffice


Having just done an upgrade using slackpkg I seem to have lost libreoffice and cups printing.

Running libreoffice --writer from the command line I get a quick splash screen then nothing and no error message.
Nothing seems to print including testpages from cups.
The upgrade seemed to be installing glib packages.

Help please!
 
Old 09-15-2022, 05:07 PM   #2
kgha
Senior Member
 
Registered: May 2018
Location: Sweden
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,072

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
Are you running .current? If so, it's probably due to the aaa_libraries upgrade which removed an older boost library.
If so, installing AlienBob's boost-compat package will sort this.

Last edited by kgha; 09-15-2022 at 05:09 PM.
 
Old 09-15-2022, 05:21 PM   #3
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,350

Original Poster
Rep: Reputation: 75
No I am running 15
 
Old 09-15-2022, 05:31 PM   #4
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,350

Original Poster
Rep: Reputation: 75
Is it possible that I am using slackpg wrong and upgrading to current by mistake? I have never intended to use current
 
Old 09-16-2022, 01:59 AM   #5
kgha
Senior Member
 
Registered: May 2018
Location: Sweden
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,072

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
Yes, it's possible if you by mistake have chosen a Slackware64-current mirror when uncommenting one (and only one) mirror in your /etc/slackpkg/mirrors file. The mirrors are listed in two sections; the one for Slackware-15 starts on line 49, the one for current on line 190. Take a look at the /var/lib/pkgtools/packages folder: which packages were upgraded yesterday? If the new packages are those mentioned in the slackware64-15.0 changelog, you're OK - if not, you're using the wrong mirror.

Which LibreOffice version and package do you use: AlienBob's, or built with SBo from source, or built with SBo from the -rpm binaries - or something else?
 
Old 09-16-2022, 03:32 AM   #6
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,350

Original Poster
Rep: Reputation: 75
It will have to wait till I'm home. I certainly did not update that long list of packages in the changelog.
/var/lib/pkgtools/packages when I checked it indicated that some glib and gcc packages had been upgraded but I can't see why, as far as I can see no new patches have been released. I am using AlienBob's libreoffice and tried upgrading that to his 7.4 package but that made no difference.

All I know is that I was using libreoffice. Ran a slackpkg upgrade and after that found that I couldn't print. Tried restarting the PC but then found that libreoffice would not start and printing still not working. CUPS sends test pages and the jobs seem to go through but the printer doesn't respond. (My laptop with a similar slackware installation prints fine on the same networked printer)

Something seems to have broken and the upgrades made by slackpkg seem to be the obvious candidate. I would like to revert to how things were before the upgrade or at least have some clue how to investigate this.
 
Old 09-16-2022, 03:39 AM   #7
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,381

Rep: Reputation: 4097Reputation: 4097Reputation: 4097Reputation: 4097Reputation: 4097Reputation: 4097Reputation: 4097Reputation: 4097Reputation: 4097Reputation: 4097Reputation: 4097
Quote:
Originally Posted by arubin View Post
It will have to wait till I'm home. I certainly did not update that long list of packages in the changelog.
/var/lib/pkgtools/packages when I checked it indicated that some glib and gcc packages had been upgraded but I can't see why, as far as I can see no new patches have been released. I am using AlienBob's libreoffice and tried upgrading that to his 7.4 package but that made no difference.

All I know is that I was using libreoffice. Ran a slackpkg upgrade and after that found that I couldn't print. Tried restarting the PC but then found that libreoffice would not start and printing still not working. CUPS sends test pages and the jobs seem to go through but the printer doesn't respond. (My laptop with a similar slackware installation prints fine on the same networked printer)

Something seems to have broken and the upgrades made by slackpkg seem to be the obvious candidate. I would like to revert to how things were before the upgrade or at least have some clue how to investigate this.
If glibc & gcc has been upgraded, you're not on Slackware 15.0, but on -current
The versions are frozen in slackware 15.0 to :
glibc 2.33
gcc 11.2

Last edited by marav; 09-16-2022 at 03:43 AM.
 
Old 09-16-2022, 03:51 AM   #8
kgha
Senior Member
 
Registered: May 2018
Location: Sweden
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,072

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
Quote:
Originally Posted by arubin View Post
... /var/lib/pkgtools/packages when I checked it indicated that some glib and gcc packages had been upgraded but I can't see why, as far as I can see no new patches have been released...
This indeed suggests that your /etc/slackpkg/mirrors file points at a -current repository, since as far as I can see there haven't been any gcc or glibc upgrades to slackware-15.0 since the release in January.

With luck, you can revert by running the following after editing your /etc/slackpkg/mirrors file so that it points at a slackware-15 mirror:

Code:
slackpkg update
slackpkg install-new
slackpkg upgrade-all
slackpkg clean-system
NB: clean-system will remove 3rd party packages unless they're blacklisted. There might also be changes to configuration files that may want or need customising.

EDIT: This thread might be helpful: https://www.linuxquestions.org/quest...le-4175708677/

Last edited by kgha; 09-16-2022 at 03:52 AM.
 
Old 09-16-2022, 03:54 AM   #9
Petri Kaukasoina
Senior Member
 
Registered: Mar 2007
Posts: 1,803

Rep: Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485Reputation: 1485
You have "Distribution: Slackware64 15.0 (multilib)". Multilib means you have replaced the stock gcc and glibc packages with alien's corresponding multilib packages. If you did not blacklist them in /etc/slackpkg/blacklist, slackpkg "upgraded" them to the regular ones, as expected.

This does not explain why libreoffice stopped working, though.
 
2 members found this post helpful.
Old 09-16-2022, 04:43 AM   #10
kgha
Senior Member
 
Registered: May 2018
Location: Sweden
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,072

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
Quote:
Originally Posted by Petri Kaukasoina View Post
You have "Distribution: Slackware64 15.0 (multilib)". Multilib means you have replaced the stock gcc and glibc packages with alien's corresponding multilib packages. If you did not blacklist them in /etc/slackpkg/blacklist, slackpkg "upgraded" them to the regular ones, as expected.
Good point. From https://wiki.alienbase.nl/doku.php?i...kware:multilib :

Quote:
If you use a package manager like slackpkg you will have to add all the glibc and gcc package names to its package blacklist. If you do not take this precaution, you run the risk of your package manager accidentally replacing your multilib versions with Slackware's original pure 64-bit versions!
If you run Slackware 13.37 or newer, then slackpkg supports regular expressions in the blacklist file. In that case, a single line in /etc/slackpkg/blacklist will be enough to blacklist all of my packages (including multilib gcc and glibc packages and all compat32 packages):
Code:
[0-9]+alien
[0-9]+compat32
On the other hand, if you are using the slackpkg extension called slackpkg+ then you should definitely not blacklist these packages, because that prevents slackpkg+ from managing them!
 
1 members found this post helpful.
Old 09-16-2022, 05:51 AM   #11
kermitdafrog8
Member
 
Registered: Dec 2018
Location: Orlando, FL
Distribution: Slackware AARCH64 and X86_64
Posts: 336

Rep: Reputation: Disabled
Latest slackpkg ugrade-all seems to have broken printing and libreoffice

Did you restart rc.cups? I recently had to to get printing working again.

I'm on current.
 
Old 09-16-2022, 10:55 AM   #12
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,350

Original Poster
Rep: Reputation: 75
Ok,
the only uncommented line in mirrors is
and in slackpkgplus
Quote:
MIRRORPLUS['slackpkgplus']=https://slakfinder.org/slackpkg+15/
These are the files that were upgraded by slackpkg yesterday

Quote:
vim-gvim-9.0.0417-x86_64-1_slack15.0
vim-9.0.0417-x86_64-1_slack15.0
glibc-profile-2.33-x86_64-5
glibc-i18n-2.33-x86_64-5
glibc-2.33-x86_64-5
gcc-objc-11.2.0-x86_64-2
gcc-go-11.2.0-x86_64-2
gcc-gnat-11.2.0-x86_64-2
gcc-gfortran-11.2.0-x86_64-2
gcc-gdc-11.2.0-x86_64-2
gcc-g++-11.2.0-x86_64-2
gcc-brig-11.2.0-x86_64-2
gcc-11.2.0-x86_64-2
aaa_glibc-solibs-2.33-x86_64-5
So I don't know what is happening there.
Libreoffice is now working after another reboot.

Printing is still not working. I suspect I need to re-install the multilib packages. I think my Brother printer drivers need multilib.
 
Old 09-16-2022, 11:01 AM   #13
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,350

Original Poster
Rep: Reputation: 75
So I re-installed the alien multilib gcc and glib and printing is now working.
I guess I should mark this solved but there is still a mystery why slackpkg did what it did. I suspect I should blacklist them even though I am using slackpkgplus.
 
Old 09-16-2022, 04:58 PM   #14
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,405
Blog Entries: 3

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
I would check the man pages to set repo priorities for packages.
 
Old 09-17-2022, 05:27 PM   #15
arubin
Senior Member
 
Registered: Mar 2004
Location: Middx UK
Distribution: Slackware64 15.0 (multilib)
Posts: 1,350

Original Poster
Rep: Reputation: 75
Here is what I think happened.

On 8 September I ran slackpkg and it upgraded slackpkg+.
Carelessly, I allowed it to overwrite the slackpkgplus.conf file so I lost my multilib repo settings.
On 15 September I ran slackpkg. It didn't see any multilib setting so re-installed 64 bit glib, gcc etc. This probably messed up my printing. I am not sure why libreoffice was affected but I wonder if trying to print from libreoffice caused a problem in that I was subsequently unable to rerun it.
 
  


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
I stopped a slackpkg upgrade-all in midstream and now I cannot slackpkg upgrade-all jkh2cpu Slackware 5 02-13-2022 03:05 AM
[SOLVED] Installed two LibreOffice helppacks. Now slackpkg thinks I have a broken /var/log/packages. luvr Slackware 12 01-06-2019 10:53 AM
[SOLVED] slackpkg+ is broken with slackpkg 2.83.0 cycojesus Slackware 5 06-01-2018 04:51 PM
latest 14.2-current update seems to have broken virt-manager rthreet Slackware 2 05-01-2018 05:03 PM
Latest pidgin update seems to have broken dock icon halborr Slackware 12 05-29-2010 09:23 AM

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

All times are GMT -5. The time now is 10:14 PM.

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