Giter Site home page Giter Site logo

Comments (9)

mmstick avatar mmstick commented on June 26, 2024

You can use the refresh os option from the installer. 21.10 is EOL since July so Ubuntu took the repositories offline.

from upgrade.

jacobgkau avatar jacobgkau commented on June 26, 2024

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.

edd5913 avatar edd5913 commented on June 26, 2024

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.

jacobgkau avatar jacobgkau commented on June 26, 2024

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.

edd5913 avatar edd5913 commented on June 26, 2024

thanks. I didn't aware of it.

from upgrade.

jacobgkau avatar jacobgkau commented on June 26, 2024

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.

edd5913 avatar edd5913 commented on June 26, 2024

I think you are right a fresh install is the best choice before loosing everything.
thanks for your support.

from upgrade.

jacobgkau avatar jacobgkau commented on June 26, 2024

A Refresh Install is not a "fresh" install. Refresh keeps your home directory.

from upgrade.

jacobgkau avatar jacobgkau commented on June 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.