User Tools

Site Tools


en:source.list

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:source.list [2024/02/28 10:18] – gelöscht domeleen:source.list [2024/02/28 10:19] (current) domele
Line 1: Line 1:
 +# Howto Replace distribtion a to b in the source.list with sed 
 +<code bash> 
 +OLDDISTRI=bullseye 
 +NEWDISTRI=bookworm 
 +sed -i 's/\$OLDDISTRI/$NEWDISTRI/gi' /etc/apt/sources.list.d/*.list 
 +sed -i 's/\%OLDDISTRI/$NEWDISTRI/gi' /etc/apt/*.list 
 +</code>
en/source.list.1709115511.txt.gz · Last modified: by domele