Giter Site home page Giter Site logo

Comments (6)

jacobgkau avatar jacobgkau commented on July 24, 2024

I attempted to replicate this again today, running upgrade.sh manually. The script did not appear to fail. After it finished, /etc/os-release still said 20.04. After rebooting, I am in 22.04, and all packages are up-to-date, but pop-upgrade still offers to "upgrade" to 22.04 since /etc/os-release is wrong.

image

This feels like something is wrong with the pop-default-settings packaging causing those files not to be updated. However, a possible workaround might simply be force reinstalling the /etc/os-release/etc/lsb-release files as described here at the end of the upgrade.sh script.

from upgrade.

jacobgkau avatar jacobgkau commented on July 24, 2024

pop-os/default-settings#163 touched the conffiles configuration of pop-default-settings. I'm beginning to suspect this issue was caused by that PR.

from upgrade.

mmstick avatar mmstick commented on July 24, 2024

Perhaps it'll be fixed by renaming it back to conffiles from pop-default-settings.conffiles.

from upgrade.

jacobgkau avatar jacobgkau commented on July 24, 2024

I see in the upgrade.sh output where pop-upgrade is leaving the old pop-default-settings conf files by default:

image

Perhaps it'll be fixed by renaming it back to conffiles from pop-default-settings.conffiles.

I think the breaking change in pop-os/default-settings@7fcad35 might have been that we used to override dh_installdeb and copy our conffiles file over manually after the automatic version has been run. Without doing that, dh_installdeb is going to include any file under /etc by default, and we leave it there (by not copying over it.)

So maybe the naming doesn't matter so much as that override. (The new naming is correct if we want to have it use that and then add its auto-generated ones; doesn't matter so much if we use the "correct" name or not if we're overriding?)

from upgrade.

jacobgkau avatar jacobgkau commented on July 24, 2024

I'm working on this in a branch: https://github.com/pop-os/default-settings/tree/conffiles_jammy

from upgrade.

jacobgkau avatar jacobgkau commented on July 24, 2024

image

/etc/os-release is displaying correctly with the fix in pop-os/default-settings#165.

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.