There is no option to not update KaOS, that would mean performing partial updates, which will most certainly break your install (Included in partial updates is installing new packages for you, without getting the needed underlying updates).
The kio error you see is common when the whole desktop is replaced and you did not restart all components. You can restart all parts, but best and fastest way is to reboot your system. So make sure to fully update your system, reboot, then add any packages you would like to have in your install.
Updates Break KaOS
[unknown]
Yes, thanks ! That worked ok. I'm now finding a problem with one of the apps I have installed. After sudo pacman -Syu frescobaldi will not run. I removed it totally with sudo pacman -Rns frescobaldi then re-installed it. Same result. Here's is what shows when attempting to run frescobaldi from command line:
frescobaldi
Traceback (most recent call last):
File "/usr/bin/frescobaldi", line 7, in <module>
import main
File "/usr/lib/python3.6/site-packages/frescobaldi_app/main.py", line 25, in <module>
import sip
ModuleNotFoundError: No module named 'sip'
RDL
[unknown]
Yes, thanks ! That worked ok. I'm now finding a problem with one of the apps I have installed. After sudo pacman -Syu frescobaldi will not run. I removed it totally with sudo pacman -Rns frescobaldi then re-installed it. Same result. Here's is what shows when attempting to run frescobaldi from command line:
frescobaldi
Traceback (most recent call last):
File "/usr/bin/frescobaldi", line 7, in <module>
import main
File "/usr/lib/python3.6/site-packages/frescobaldi_app/main.py", line 25, in <module>
import sip
ModuleNotFoundError: No module named 'sip'
RDL
[unknown]
As I mentioned earlier, I installed all the apps I wanted without ever giving this command:
sudo pacman -Syu
Then I used Clonezilla to make an image of the partition containing KaOS. So, I just restored KaOS from that image I made with Clonezilla. Frescobaldi runs fine now. So running updates breaks frescobaldi.
RDL
Frescobaldi is known, waiting for an upstream fix regarding new ways of sip.
In the meantime, there is a temporary workaround to make frescobaldi find the new sip lib location.:
sudo ln /usr/lib/python3.6/site-packages/PyQt5/sip.so /usr/lib/python3.6/site-packages/sip.so
And again, I cannot stress enough, NEVER INSTALL ANY without updating first. You will actually break your install if you continue with that habit. As all the KaOS docs show, never skip running sudo pacman -Syu
prior to installing any.
[unknown]
/usr/lib/python3.6/site-packages/sip.so resulted in 'No such file or directory' But
/usr/lib/python3.6/site-packages/sip.so worked. Frescobaldi runs fine now.
About not updating before install: I read and understood the pacman doc in Croeso about that. I wouldn't have done what I did ordinarily. I can re-install KaOS in about 10 minutes, then install the 8 apps I want, then configure the KDE desktop the way I like it. Probably 45 min total, I'll have everything up and installed correctly, then I'll make an image using Clonezilla in case I break KaOS in future. This Frescobaldi problem was a show-stopper for me. I use that app all the time with Ubuntu.
Now, I'll move off Ubuntu which I've used for about 9 years, over to KaOS. Thank You 'demm'.
RDL
- Edited
Uh Oh...
I screwed it up. When I ran that command above:
sudo ln /usr/lib/python3.6/site-packages/PyQt5/sip.so /usr/lib/python3.6/site-packages/sip.so
I was running the OS without any updates. I had just restored the image from Clonezilla.
So, when I got the 222 updates ( sudo pacman -Syu ), frescobaldi wouldn't run of course. Invoking the command above resulted in this:
robert ~ frescobaldi
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/frescobaldi_app/plugin.py", line 79, in instance
return _instances[cls][obj]
File "/usr/lib/python3.6/weakref.py", line 394, in __getitem__
return self.data[ref(key)]
KeyError: <weakref at 0x7f3435489b38; to 'type' at 0x2af0878 (PanelManager)>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/frescobaldi", line 11, in <module>
main.main() # Parse command line, create windows etc
File "/usr/lib/python3.6/site-packages/frescobaldi_app/main.py", line 247, in main
win = mainwindow.MainWindow()
File "/usr/lib/python3.6/site-packages/frescobaldi_app/mainwindow.py", line 128, in __init__
self.createMenus()
File "/usr/lib/python3.6/site-packages/frescobaldi_app/mainwindow.py", line 1010, in createMenus
menu.createMenus(self)
File "/usr/lib/python3.6/site-packages/frescobaldi_app/menu.py", line 61, in createMenus
m.addMenu(menu_file(mainwindow))
File "/usr/lib/python3.6/site-packages/frescobaldi_app/menu.py", line 96, in menu_file
m.addMenu(snippet.menu.TemplateMenu(mainwindow))
File "/usr/lib/python3.6/site-packages/frescobaldi_app/snippet/menu.py", line 139, in __init__
self.addAction(self.tool().actionCollection.templates_manage)
File "/usr/lib/python3.6/site-packages/frescobaldi_app/snippet/menu.py", line 59, in tool
return panelmanager.manager(self.mainwindow()).snippettool
File "/usr/lib/python3.6/site-packages/frescobaldi_app/panelmanager.py", line 36, in manager
return PanelManager.instance(mainwindow)
File "/usr/lib/python3.6/site-packages/frescobaldi_app/plugin.py", line 84, in instance
result.__init__(obj)
File "/usr/lib/python3.6/site-packages/frescobaldi_app/panelmanager.py", line 51, in __init__
self.loadPanel("musicview.MusicViewPanel")
File "/usr/lib/python3.6/site-packages/frescobaldi_app/panelmanager.py", line 86, in loadPanel
__import__(module_name)
File "/usr/lib/python3.6/site-packages/frescobaldi_app/musicview/__init__.py", line 56, in <module>
from . import documents
File "/usr/lib/python3.6/site-packages/frescobaldi_app/musicview/documents.py", line 32, in <module>
import popplerqt5
ValueError: PyCapsule_GetPointer called with incorrect name
So, that didn't work after all. I'll wait. Maybe the upstream fix(s) will happen soon for Frescobaldi. I'll check back in a week or so.
Regards,
RDL
- Edited
Please use code tags when posting cli output, done for you this time (code tags in markdown means enclosing with 3 backticks ```).
And did you reboot after the 222 updates? When creating that link there is no issue running frescobaldi.
EDIT:
The above occurs with poppler-qt5 in the stable repos, newest version, build on latest sip is still in [build]. It will move soon, though not today anymore, thus you can install it now with:
sudo pacman -U http://kaosx.tk/repo/build/python3-poppler-qt-0.25.1-1-x86_64.pkg.tar.xz
[unknown]
So, I re-installed KaOS from USB, and before doing anything else, updated the system ( -Syu ). Then I installed Frescobaldi. It failed to open of course. Then I made this link as you suggested:
sudo ln /usr/lib/python3.6/site-packages/PyQt5/sip.so /usr/lib/python3.6/site-packages/sip.so
This didn't fix, so installed this version of python3-poppler-qt5:
sudo pacman -U http://kaosx.tk/repo/build/python3-poppler-qt-0.25.1-1-x86_64.pkg.tar.xz
Now Frescobaldi runs normally. So, then I got the other 7 apps I like. Everything's great now. Thanks !
Just a couple other minor issues while I have your attention. Most of the time, the boot hangs at this screen:
starting version 239
/sbin/fsch.xfs: xfs file system
If I wait maybe 2.5 minutes, the login screen will appear. But, if I tap the enter key 3 or 4 times slowly, the login screen will appear without the 2.5 min wait.
With Ubuntu, I used Diodon clipboard manager. Similar to KDE clipboard but when you open it up and click on a line, it automatically gets pasted to wherever you have your cursor. With KDE clipboard, you click on the entry, then have to do control V. That's an extra step.
So, the Frescobaldi issue is <Solved> for now. Can I expect it to break when the issue gets corrected in updates ?
RDL
- Edited
Regarding slow boot on some systems, see:
https://forum.kaosx.us/d/2169-slow-boot-hangs-a-long-time-before-gui-login/26
When you see a frescobaldi or python-poppler-qt update, make sure to remove the link you now created, so you do not have files on your system not tracked by the package manager.
For the other questions, please open a new topic. To keep the forum as clear as possible one topic per issue/question.
Don't forgent to update mirror list before updating. There's normaly a alias in KaOS called "upd" that does it right.
alias upd='mirror-check && sudo pacman -Syyu'