Comments (9)
You can use the refresh os option from the installer. 21.10 is EOL since July so Ubuntu took the repositories offline.
from upgrade.
Alternatively, you can try updating the sources lists in /etc/apt/sources.list.d/
to 22.04 (set all of the codenames to jammy
) and updating manually with sudo apt update
and sudo apt full-upgrade
after that.
The output of apt policy pop-desktop pop-session chrome-gnome-shell gdm3 gnome-shell pop-default-settings
may show why you're currently encountering the error message in your issue description.
We do have code that partially handles old-releases URLs for EOL'd versions of Ubuntu (e.g. here and here), but looking at this section of the code, that may only take effect if the current release is EOL, not the next release.
from upgrade.
thanks for your replies.
I have tried the jacob's solution but still issues with the broken packages. (full-upgrade does not work).
the "apt policy " command generates the below report. the installed & candidate versions are identical.
pop-desktop:
Installé : 1.6.0~1625267683~21.04~ac0465f
Candidat : 1.6.0~1625267683~21.04~ac0465f
Table de version :
*** 1.6.0~1625267683~21.04~ac0465f 100
100 /var/lib/dpkg/status
pop-session:
Installé : 5.0.0~1619191259~21.04~cb619a2
Candidat : 5.0.0~1619191259~21.04~cb619a2
Table de version :
*** 5.0.0~1619191259~21.04~cb619a2 100
100 /var/lib/dpkg/status
chrome-gnome-shell:
Installé : 10.1-5
Candidat : 10.1-5
Table de version :
*** 10.1-5 500
500 http://old-releases.ubuntu.com/ubuntu hirsute/universe amd64 Packages
500 http://old-releases.ubuntu.com/ubuntu hirsute/universe i386 Packages
100 /var/lib/dpkg/status
gdm3:
Installé : 3.38.2.1-3ubuntu1pop1~1623103326~21.04~54de09a
Candidat : 3.38.2.1-3ubuntu1pop1~1623103326~21.04~54de09a
Table de version :
*** 3.38.2.1-3ubuntu1pop1~1623103326~21.04~54de09a 100
100 /var/lib/dpkg/status
3.38.2.1-2ubuntu1 500
500 http://old-releases.ubuntu.com/ubuntu hirsute/main amd64 Packages
gnome-shell:
Installé : 40.5-1ubuntu2
Candidat : 40.5-1ubuntu2
Table de version :
*** 40.5-1ubuntu2 100
100 /var/lib/dpkg/status
3.38.4-1ubuntu3~21.04.1 500
500 http://old-releases.ubuntu.com/ubuntu hirsute-updates/main amd64 Packages
3.38.4-1ubuntu2 500
500 http://old-releases.ubuntu.com/ubuntu hirsute/main amd64 Packages
pop-default-settings:
Installé : 5.0.0~1624981545~21.04~38927e0
Candidat : 5.0.0~1624981545~21.04~38927e0
Table de version :
*** 5.0.0~1624981545~21.04~38927e0 100
100 /var/lib/dpkg/status
from upgrade.
I have edited your comment to put the output in a code block. Please place three backticks (```) and a line break before and after output when you post.
from upgrade.
thanks. I didn't aware of it.
from upgrade.
I have tried the jacob's solution
Your output does not show that you applied the configuration change that I suggested properly. You still have hirsute
sources, not jammy
. Also, you are missing the Pop!_OS release repository source (that is why you're getting the apt error message.)
If you want to recover the current system, you need to access /etc/apt/sources.list
and the files in /etc/apt/sources.list.d/
and change all instances of old-releases.ubuntu.com/ubuntu
to apt.pop-os.org/ubuntu
, change all instances of hirsute
to jammy
, and you also need to add the Pop!_OS repository (apt.pop-os.org/release
) to the system. For the final step, you should have a file at /etc/apt/sources.list.d/pop-os-release.sources
containing the following text:
X-Repolib-Name: Pop_OS Release Sources
Enabled: yes
Types: deb deb-src
URIs: http://apt.pop-os.org/release
Suites: jammy
Components: main
Running sudo apt update
should show no errors and should only say jammy
(not hirsute
anywhere.) Only after that is the case, you can try the sudo apt full-upgrade
again.
I would recommend creating a Pop!_OS USB live disk (or verifying that your Recovery partition is working, if you have one) before attempting this. Doing a Refresh Install from the installer like Michael suggested would be your escape valve if something else goes wrong during this process.
System76 customers can reach out to support for technical assistance. For non-System76 hardware, you can seek community support on Reddit or Mattermost.
from upgrade.
I think you are right a fresh install is the best choice before loosing everything.
thanks for your support.
from upgrade.
A Refresh Install is not a "fresh" install. Refresh keeps your home directory.
from upgrade.
I'm going to go ahead and close this issue since we haven't heard back from a while (also because upgrading to an EOL release seems to be out of scope right now.) If you still need assistance, please reach out on Mattermost: https://chat.pop-os.org/pop-os/channels/upgrade-help
from upgrade.
Related Issues (20)
- Cannot upgrade from 21.10 to 22.04, 'Upgrading to: 22.04 New version available: false no release available to upgrade to' HOT 17
- The recovery update failed for the recovery partition
- Residual packages after upgrade HOT 1
- pop-upgrade 100% CPU usage HOT 17
- Pop thinks it's on the latest version / Reversed upgrade? HOT 1
- Dependency issues after attempting upgrade with PipeWire PPA HOT 7
- Constant "Failed to start Local session service for the Pop System Updater." and related logs every 10~ seconds
- `pop-upgrade release upgrade` silently removes a lot of packages from system HOT 17
- After the recent gnome-shell updates, pop-upgrade stopped working. HOT 14
- fyletype associations (pop-mimeapps.list) wiped on release upgrade HOT 1
- clear HOT 1
- Unable to upgrade from 21.10 to 22.04 -- no longer has a release file HOT 2
- pop-upgrade.service times out while activating
- Doubt about gnome-shell update on 22.04 lts HOT 2
- Failure to upgrade from 20.04 to 22.04 HOT 2
- Fresh 20.04 to 22.04 upgrade fails HOT 6
- Upgrade to 22.04 fails (failed to downgrade packages) HOT 82
- [Request] Load panel/display GUI before checking for updates HOT 2
- 20.04 to 22.04: Failed to apply pre-release fixes: WipePulse "not a directory" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from upgrade.