Opengist

Explore

  • All gists
  • Topics
  • Users
Give feedback on the new UI Powered by Opengist ⋅ 21ms

user:thomas gists created by user

title:mygist gists with given title

description:sync gists with given description

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

all:systemctl search all fields

Login
s

sources-list

Recently created Least recently created Recently updated Least recently updated

timmy / 切換舊版 Ubuntu 源

Last active 5 hours ago apt old-releases sources-list ubuntu

一行指令把 sources.list 改成 old‑releases,讓舊版 Ubuntu 仍能 apt 更新。

0 0 0 1
1 sed -i 's/archive.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
2 sed -i 's/security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list