Skip to content

Updater reverts repositories to default #919

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

Open
1 of 3 tasks
cassidea opened this issue Jan 26, 2025 · 3 comments
Open
1 of 3 tasks

Updater reverts repositories to default #919

cassidea opened this issue Jan 26, 2025 · 3 comments
Labels

Comments

@cassidea
Copy link

Describe the bug
Mintupdate reverts repositories to Ubuntu and Mint defaults which are extremely slow in my case (<20kB/s)

To Reproduce

  • be on Mint 22
  • select mirrors for Mint and Ubuntu
  • start update to 22.1
  • cancel update when packages are downloaded
  • check repositories in mintupdate

Expected behavior
Configured repositories should be used

Distribution:

  • Linux Mint
  • LMDE
  • Other (please specify)

Software version:
7.0.5 and previous
I started the update process with a previous version when the problem occurred. Then mintupdater got updated to 7.0.5. probably due to the canceling of the update process. But the error still exists.

@cassidea cassidea added the BUG label Jan 26, 2025
@cassidea
Copy link
Author

Reason is, that the updater copies a file with the default repos from /usr/share/mint-upgrade-info/{codename}/official-package-repositories.list to /etc/apt/sources.list.d/official-package-repositories.list, see

subprocess.run(["cp", sources_list, "/etc/apt/sources.list.d/official-package-repositories.list"])

I guess some sed magic could do the trick, too.

@cassidea
Copy link
Author

I just learned that this is expected behavior, see https://forums.linuxmint.com/viewtopic.php?p=2417609#p2417609

@LinuxOnTheDesktop
Copy link
Contributor

Cf. #911.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants