-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update October 26 2023 loops itself #29
Comments
I can confirm this bug. Happend on ine of my three systems. I thought it was a problem with running out of free space but after stopping the update process and rebooting the machine everything was alright. I only had to delete/reinstall telegram-desktop for some out of date dependency. |
I think it is a very important issue. No response in 2 days. I will plan a switch to freebsd soon |
Was the update list empty? Also, which desktop was it, MATE or XFCE? I ask the latter question because XFCE had problems with the last upgrade. I'm sorry for not getting back to you sooner. I have been sick with COVID for almost two weeks. |
I moved the issue to the proper issue tracker. |
First of all: Get well soon!! I have MATE. Where can I find any logs covering updates? I always forget, because it (almost) always works. |
If there was an issue in will |
No update.failed file. |
I can only state I removed Linux support first, that one did restart the updates. But there are more places. In the end I simply looked at where it restarted the process and simply stopped it with a reboot, that helped but I somehow feel bad running an os after such problems. |
I have investigated the loop issue and it must be the self-repair. If a package fails to upgrade because of a package that won't upgrade, Update Station uninstall it, reinstall it, and restart the upgrade. I will investigate further. |
In relation to issue #95 do you advise to update to 24.01.1 using pkg to be able to see which package causes the problem? |
@q-pa yes |
I think I should remove the self-heal code and revisit that in the future. |
I am having problems with this on my laptop with the upgrade to 24.01.1. |
It took a few tries. Still got the error but eventually it got through all the updates. |
It seems pkg upgrade -f only upgrades 23.10.1 My final solution was to go back to the last good BE but not login to the GUI. Instead I went to a console. |
It should be better with some of the latest versions of Update Station; I realize that with a forced upgrade, the selfheal would try to reinstall everything on each package fix. To fix that once and for all, I think we need to identify all packages that depend on the kernel version and force upgrades only for those that depend on kernel version changes. |
It would be easier to identify all those that don't depend on the kernel version. You could use such a list before it is complete whereas you would have to wait for the list of those that do depend to be complete. |
I think I finally figured out the problem. I am working on a fix. |
As requested via Telegram please find attached a video of the loop going into another round. |
OK, video is too big... So I will send it in Telegram |
I remove the force upgrade everything this was casing self-heal to loop. This fix is related to ghostbsd/issues#29
I have made a change, but I can't test it right now. It will remove the force upgrade. Everything loops with the self-heal. |
Very cool, really looking forward to it. Unfortunately, I can't test anything myself until end of next week earliest, because I am not near my machines. |
Is this part of the latest updates? Because I would be able again to test it. |
I have one part completed, but I need more testing. |
Meanwhile, I managed to update all my three systems from 24.04.2 (pkg-base) to 24.07.3 by following these steps:
|
So, I have good news. Pkg now correctly supports upgrading kernel changes, and I can clean all the complex codes to upgrade them properly. |
It looks good so far. The problem will likely be solved once and for all. |
Good to hear! I only had problems when updating from 24.04 to 24.07, though. Later updates just worked. |
Version
23.10.1
Explain the issue and what happens
Once updating begins it will loop on 2 occasions. First issue is after the linux subsytem is updaten. I fixed that by removing those packages. After that it updates everything and starts over again. I solved this by stopping the update once it was finished and rebooting the system, the update manager then shows there are no new packages.
It is very weird behavior and I have
Explain how to reproduce the bug?
...
What is the Expected behavior (if applicable)
No response
Additional context (if applicable)
No response
The text was updated successfully, but these errors were encountered: