[SOLVED] Latest slackpkg ugrade-all seems to have broken printing and libreoffice
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.
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.
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,072
Rep:
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.
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,072
Rep:
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?
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.
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
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,072
Rep:
Quote:
Originally Posted by arubin
... /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:
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.
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.
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,072
Rep:
Quote:
Originally Posted by Petri Kaukasoina
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.
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!
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.