Last active
April 28, 2021 16:37
-
-
Save waja/d6f8715b0a187796212e012bf2289033 to your computer and use it in GitHub Desktop.
Fix source lists after removal of jessie-updates and move of jessie-backports into archive.debian.org
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# disable jessie-updates in /etc/apt/sources.list | |
sed -i 's/\(.*jessie\-updates\)/#\1/' /etc/apt/sources.list | |
# disable jessie-backports, it's deprecated | |
sed -i 's/\(.*jessie\-backports\)/#\1/' /etc/apt/sources.list.d/jessie-backports.list | |
apt-get update |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment