From 827a6233de892c4752149dd9538a17f1dcf1f2dd Mon Sep 17 00:00:00 2001 From: user1 Date: Tue, 7 Mar 2023 12:55:35 +0100 Subject: [PATCH] fix pacman update --- arch-graphical-install-auto.sh | 2 +- arch-install.sh | 2 +- make_mksquashfs-auto.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch-graphical-install-auto.sh b/arch-graphical-install-auto.sh index dcb9a7d..81fa094 100755 --- a/arch-graphical-install-auto.sh +++ b/arch-graphical-install-auto.sh @@ -48,7 +48,7 @@ function pacmanconf() { pacman-key --init pacman-key --populate archlinux - pacman -Sy git glibc --needed --noconfirm + pacman -Syu git glibc --needed --noconfirm } diff --git a/arch-install.sh b/arch-install.sh index 88b75cd..6fc684d 100755 --- a/arch-install.sh +++ b/arch-install.sh @@ -1442,7 +1442,7 @@ elif [ "${phaseone}" != "n" ] && [ "${fastinstallnext}" != "y" ]; then if [ "${updatepackages}" == "y" ]; then echo "Please dont update the linux kernel!!!" if [ -f /opt/${repo}/packages.txt ]; then - pacman -Sy $(cat /opt/${repo}/packages.txt) --noconfirm --needed --ignore linux + pacman -Syu $(cat /opt/${repo}/packages.txt) --noconfirm --needed --ignore linux else echo "Kann keine neuen Packete nachinstallieren weil die base.txt nicht gefunden werden kann!!" echo "Es kann sein das dass Programm nicht korrekt funktioniert!!!" diff --git a/make_mksquashfs-auto.sh b/make_mksquashfs-auto.sh index 11a961c..a60e7ec 100755 --- a/make_mksquashfs-auto.sh +++ b/make_mksquashfs-auto.sh @@ -64,7 +64,7 @@ function mount_chroot() { function system() { - pacman -Sy arch-install-scripts squashfs-tools dosfstools libisoburn --needed --noconfirm + pacman -Syu arch-install-scripts squashfs-tools dosfstools libisoburn --needed --noconfirm if [ "${makesystem}" == "y" ]; then mkdir -p ${work_dir}/${arch}/airootfs