Skip to content

Commit ac3e25f

Browse files
authored
fix(script): Ensure package lists are updated before desktop install
1 parent a5d6175 commit ac3e25f

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

03-install-desktop.sh

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# LuminOS Build Script, Phase 3: Desktop Environment Installation
55
#
66
# Author: Gabriel, Project Leader @ LuminOS
7-
# Version: 0.1.4 (Debug Verbose APT)
7+
# Version: 0.1.5
88
# ==============================================================================
99

1010
set -e
@@ -22,16 +22,19 @@ cat > "$LUMINOS_CHROOT_DIR/tmp/install_desktop.sh" << "EOF"
2222
set -e
2323
export DEBIAN_FRONTEND=noninteractive
2424
25-
echo "--> Updating package lists inside chroot..."
25+
echo "--> Updating package lists inside chroot (first pass)..."
2626
apt-get update
2727
2828
echo "--> Installing Linux kernel and GRUB bootloader..."
29-
# Add debug options for apt
29+
# Keep debug options for now
3030
apt-get install -y -o Debug::pkgProblemResolver=yes linux-image-amd64 grub-pc
3131
32+
echo "--> Updating package lists again before desktop install..." # Added step
33+
apt-get update # Added command
34+
3235
echo "--> Installing KDE Plasma desktop and essential services (with debug)..."
3336
DESKTOP_PACKAGES="plasma-desktop konsole sddm network-manager neofetch"
34-
# Add debug options for apt
37+
# Keep debug options for now
3538
apt-get install -y -o Debug::pkgProblemResolver=yes $DESKTOP_PACKAGES
3639
3740
echo "--> Cleaning up APT cache..."

0 commit comments

Comments
 (0)