mirror of
https://github.com/GXDE-OS/GXDE.git
synced 2026-06-22 05:26:37 +08:00
@@ -40,15 +40,12 @@ if [[ -f /sources-list/sources-$1.list ]]; then
|
|||||||
else
|
else
|
||||||
if [[ $(dpkg --print-architecture) == "loong64" ]] || [[ $GXDE_CROSS_ARCH == "loong64" ]]; then
|
if [[ $(dpkg --print-architecture) == "loong64" ]] || [[ $GXDE_CROSS_ARCH == "loong64" ]]; then
|
||||||
cp /sources-list/sources-$1-loong64.list /etc/apt/sources.list.d -v
|
cp /sources-list/sources-$1-loong64.list /etc/apt/sources.list.d -v
|
||||||
|
wget -O /etc/apt/trusted.gpg.d/debian-trixie-loong64.gpg https://loong13.debian.net/keyrings/debian-trixie-loong64.gpg
|
||||||
else
|
else
|
||||||
cp /sources-list/sources-$1.list /etc/apt/sources.list.d -v
|
cp /sources-list/sources-$1.list /etc/apt/sources.list.d -v
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
sed -i "s%deb http%deb [trusted=true] http%g" /etc/apt/sources.list.d/*.list
|
|
||||||
sed -i "s%deb-src http%deb-src [trusted=true] http%g" /etc/apt/sources.list.d/*.list
|
|
||||||
sed -i "s%deb http%deb [trusted=true] http%g" /etc/apt/sources.list
|
|
||||||
sed -i "s%deb-src http%deb-src [trusted=true] http%g" /etc/apt/sources.list
|
|
||||||
for i in {1..8};
|
for i in {1..8};
|
||||||
do
|
do
|
||||||
apt update -o Acquire::Check-Valid-Until=false -y
|
apt update -o Acquire::Check-Valid-Until=false -y
|
||||||
|
|||||||
@@ -1,14 +1,14 @@
|
|||||||
deb http://loong13.debian.net/debian-loong64/ trixie main contrib non-free non-free-firmware
|
deb http://loong13.debian.net/debian-loong64/ trixie main contrib non-free non-free-firmware
|
||||||
deb-src http://loong13.debian.net/debian-loong64/ trixie main contrib non-free non-free-firmware
|
deb-src http://loong13.debian.net/debian-loong64/ trixie main contrib non-free non-free-firmware
|
||||||
|
|
||||||
deb [trusted=true] http://loong13.debian.net/debian-loong64/ trixie-updates main contrib non-free non-free-firmware
|
deb http://loong13.debian.net/debian-loong64/ trixie-updates main contrib non-free non-free-firmware
|
||||||
deb-src [trusted=true] http://loong13.debian.net/debian-loong64/ trixie-updates main contrib non-free non-free-firmware
|
deb-src http://loong13.debian.net/debian-loong64/ trixie-updates main contrib non-free non-free-firmware
|
||||||
|
|
||||||
deb [trusted=true] http://loong13.debian.net/debian-loong64/ trixie-backports main contrib non-free non-free-firmware
|
deb http://loong13.debian.net/debian-loong64/ trixie-backports main contrib non-free non-free-firmware
|
||||||
deb-src [trusted=true] http://loong13.debian.net/debian-loong64/ trixie-backports main contrib non-free non-free-firmware
|
deb-src http://loong13.debian.net/debian-loong64/ trixie-backports main contrib non-free non-free-firmware
|
||||||
|
|
||||||
deb [trusted=true] http://loong13.debian.net/debian-loong64-security/ trixie-security main contrib non-free non-free-firmware
|
deb http://loong13.debian.net/debian-loong64-security/ trixie-security main contrib non-free non-free-firmware
|
||||||
deb-src [trusted=true] http://loong13.debian.net/debian-loong64-security/ trixie-security main contrib non-free non-free-firmware
|
deb-src http://loong13.debian.net/debian-loong64-security/ trixie-security main contrib non-free non-free-firmware
|
||||||
|
|
||||||
# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
|
# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
|
||||||
deb https://deb.debian.org/debian/ trixie main contrib non-free non-free-firmware
|
deb https://deb.debian.org/debian/ trixie main contrib non-free non-free-firmware
|
||||||
|
|||||||
Reference in New Issue
Block a user