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! |
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. |
No I am running 15
|
Is it possible that I am using slackpg wrong and upgrading to current by mistake? I have never intended to use current
|
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. |
Quote:
The versions are frozen in slackware 15.0 to : glibc 2.33 gcc 11.2 |
Quote:
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 EDIT: This thread might be helpful: https://www.linuxquestions.org/quest...le-4175708677/ |
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. |
Quote:
Quote:
|
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. |
Ok,
the only uncommented line in mirrors is and in slackpkgplus Quote:
Quote:
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. |
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. |
I would check the man pages to set repo priorities for packages.
|
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. |
All times are GMT -5. The time now is 06:24 PM. |