User Tools

Site Tools


en:source.list

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:source.list [2024/02/28 10:17] – angelegt - Externe Bearbeitung 127.0.0.1en:source.list [2024/02/28 10:19] (current) domele
Line 1: Line 1:
-# Howto Replace the distribution +# Howto Replace distribtion a to b in the source.list with sed
 <code bash> <code bash>
-  OLDDISTRI=bullseye +OLDDISTRI=bullseye 
-  NEWDISTRI=bookworm +NEWDISTRI=bookworm 
-  sed -i 's/\$OLDDISTRI/$NEWDISTRI/gi' /etc/apt/sources.list.d/*.list +sed -i 's/\$OLDDISTRI/$NEWDISTRI/gi' /etc/apt/sources.list.d/*.list 
-  sed -i 's/\%OLDDISTRI/$NEWDISTRI/gi' /etc/apt/*.list+sed -i 's/\%OLDDISTRI/$NEWDISTRI/gi' /etc/apt/*.list
 </code> </code>
en/source.list.1709115427.txt.gz · Last modified: by 127.0.0.1