You are not logged in.
Pages: 1
I am relatively new to linux. So this is probably a very easy fix but it seems to be Q4OS specific and searching online doesn't yield a solution to this. Basically everytime I launch the discover center I get an error message. Trying to update from the terminal doesn't work either.
The error reads as follows: E: Problem executing scripts APT::Update::Post-Invoke-Success '/usr/lib/q4os/qunattended-ctl refresh-origins'
E: Sub-process returned an error code.
Any help is appreciated, Thank you very much.
Offline
Which Q4OS do you have installed?
Andromeda Plasma 64bit or Andromeda Trinity 64bit?
Offline
Welcome to the forum 
Thanks for reporting, it seems to be Q4OS issue.
It is fixed on our side now and the fix gets public in a few days.
Could you post the output of these two lines:
$ dpkg -l q4os-updater-common | tail -1
$ sudo /usr/lib/q4os/qunattended-ctl refresh-origins ; echo "exit: $?"
If the first line starts with "rc", or the second says "No such file or
directory", then the update manager was removed at some point and only its
leftover apt hook file is still there. Deleting that leftover fixes it right away:
$ sudo rm /etc/apt/apt.conf.d/55unattended-upgrades-q4os-refresh-hook
$ sudo apt update
If the line starts with "ii" instead, leave the file alone and just post the
two outputs here.
Offline
Welcome to the forum
Thanks for reporting, it seems to be Q4OS issue.
It is fixed on our side now and the fix gets public in a few days.Could you post the output of these two lines:
$ dpkg -l q4os-updater-common | tail -1
$ sudo /usr/lib/q4os/qunattended-ctl refresh-origins ; echo "exit: $?"If the first line starts with "rc", or the second says "No such file or
directory", then the update manager was removed at some point and only its
leftover apt hook file is still there. Deleting that leftover fixes it right away:
$ sudo rm /etc/apt/apt.conf.d/55unattended-upgrades-q4os-refresh-hook
$ sudo apt update
If the line starts with "ii" instead, leave the file alone and just post the
two outputs here.
Hello, Thank you so much for your answer. Here are my results, I hope it will be helpful.
Inputing the fisrt line:
rc q4os-updater-common 4.6-a1 amd64 Q4OS update manager - backend
The second:
sudo: /usr/lib/q4os/qunattended-ctl: command not found
exit: 1
Note about the update manager. Now I understand that it might be my fault, I was tinkering for a bit with the Q4OS software center and installing things and I installed the update manager but I thought having the KDE Discover center alone is sufficent for updating so I removed it.
Added later 01 min 24 s:
Which Q4OS do you have installed?
Andromeda Plasma 64bit or Andromeda Trinity 64bit?
I'm using Andromeda Plasma 64bit.
Offline
Removing the update manager was a perfectly reasonable thing to do - if
Discover covers your updates, you do not need it. The fault is ours: our file
should have gone with the package instead of staying behind and breaking apt
for you.
One command clears it:
$ sudo apt purge q4os-updater-common
Then "sudo apt update" should run clean again.
Offline
Removing the update manager was a perfectly reasonable thing to do - if
Discover covers your updates, you do not need it. The fault is ours: our file
should have gone with the package instead of staying behind and breaking apt
for you.One command clears it:
$ sudo apt purge q4os-updater-common
Then "sudo apt update" should run clean again.
I did as you istructed and 'sudo apt update' ran perfectly fine. Thank you so much.
The issue is fixed.
Offline
I hope that the speed with which the Q4OS team helps solve problems will convince more and more people to use this operating system.
Offline
We have fixed the issue, so affected users only need to update their systems regularly.
Offline
Speed and efficiency, as always! 
Offline
Pages: 1