-
Notifications
You must be signed in to change notification settings - Fork 88
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
Upgrade to 22.04 fails #2303
Comments
I am trying to fix the mess that this upgrade created, I am using
|
did you find any solution? i have the same problem |
Same issue -- down to the exact error logs. Weird / random question due to a suggestion I saw on StackOverflow -- do you have SonicWall Net Extender or the Pritunl client installed? |
I'm facing the same problem |
Same problem here. I tried to fix the sources.list files by replacing the impish with jammy, but that didn't help. # sudo apt install systemd
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libnss-systemd : Depends: systemd (= 248.3-1ubuntu8.6~1650893010~21.10~9a0cd5e)
systemd : Depends: libsystemd0 (= 249.11-0ubuntu3pop0~1650312774~22.04~cecf6af) but 248.3-1ubuntu8.6~1650893010~21.10~9a0cd5e is to be installed |
I fixed it. Please be cautious with the following commands, as they could break stuff.
|
@theBrash your fix almost worked for me. In my case ( upgrade from 21.10 to 22.04 ) i had to do:
|
@Mach10k I also upgraded from 21.10 to 22.04 and also tried |
I still get some issues when running the last command of the fix:
|
I have the same issue trying to do a dist-upgrade, sudo apt --fix-broken install -y won't fix. |
After following the recommendation from @theBrash :
I had to also fix the server names:
After this I was finally able to upgrade from 21.10 to 22.04 (I have been trying to get this to work since May! What a pain!) |
Ran into the same issue. The OS was actually updated to 22.04 as indicated by the I've pasted the diffs of the updated files below. This is the 2nd time I've had serious upgrade issues with Pop!_OS. Unfortunately the commonly distributed article https://support.system76.com/articles/upgrade-pop/ does not sufficiently address any update issue that I have come across. /etc/os-release:
pop-os-release.sources:
pop-os-apps.sources:
system.sources:
|
Well here it is FEB 2023 and I have the same problem updating POP22.04. It has partially upgraded but I still have 20.04 showing. I get the same messages as above. |
There is no need to sign a date on your comments, GitHub has timestamps on each comment automatically.
Nobody can tell you the problem on your system with certainty since you didn't provide any diagnostic data. I would suggest running You are welcome to join the Mattermost server at https://chat.pop-os.org/pop-os/channel/upgrade-help for community assistance, or you can open a support ticket at https://support.system76.com if you own System76 hardware. |
@ChiefHart If the issue you're experiencing is the one referenced by the comment that I linked (there's not enough info in your comment to tell), then it will be fixed by pop-os/default-settings#165 (once tested, approved, merged, and released) so running those commands manually is no longer necessary. |
Closing now that pop-os/default-settings#165 has been merged, it should be released later this week. If anyone else has upgrade issue in the future, please ask at https://chat.pop-os.org/pop-os/channels/upgrade-help if you want help recovering, or open an issue in https://github.com/pop-os/upgrade/issues if you have a reproducible issue and/or you would like to help find the root cause of an issue to fix. (Or, of course, open a ticket at https://support.system76.com/ if you own System76 hardware.) |
Distribution (run
cat /etc/os-release
):**Related Application and/or Package Version **
Upgrade tool
Issue/Bug Description:
The upgrade failed.
Steps to reproduce (if you know):
From settings, I have clicked on upgrade. If fails, and it gave me a list of command that I am supposed to launch. The first 3 were:
sudo apt clean
sudo apt update -m
sudo dpkg --configure -a
This last command fails with the error above.
Expected behavior:
The upgrade should work
Other Notes:
I have created a pop_support_log.tar.xz, please contact me and I will send it to you in case you need it
The text was updated successfully, but these errors were encountered: