G_THREAD ERROR: DietPi-Cleaner.desktop exit code 6

Having issues with your DietPi installation or found a bug? Post it here.
Post Reply
elderwolf123
Posts: 4
Joined: Sun Nov 14, 2021 10:56 am

G_THREAD ERROR: DietPi-Cleaner.desktop exit code 6

Post by elderwolf123 »

Every time I try to set up diet pi and select a desktop, it always error with G_THREAD ERROR: -Command = curl -sSfL https://raw.githubusercontent.com/Micha ... er.desktop -o /usr/share/applications/dietpi-cleaner.desktop - Exit code = 6

I have completely reinstalled diet pi multiple times thinking it may have been an install problem but I've gotten nowhere. All I want is a desktop environment I can use (which starts on launch) but it always errors. I cant try a different WiFi as dietpi fails to connect to my mobile hotspot for some reason (the password is correct) and I can't use USB tether to hotspot. Help would be much appreciated as I have no idea what's going on or why it's happening. I did a google but couldn't find anything on the GitHub or in this forum about it
User avatar
Joulinar
Posts: 6441
Joined: Sat Nov 16, 2019 12:49 am

Re: G_THREAD ERROR: DietPi-Cleaner.desktop exit code 6

Post by Joulinar »

What happen if you execute following manually

Code: Select all

curl -sSfL https://raw.githubusercontent.com/MichaIng/DietPi/master/.conf/desktop/apps/dietpi-cleaner.desktop
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
elderwolf123
Posts: 4
Joined: Sun Nov 14, 2021 10:56 am

Re: G_THREAD ERROR: DietPi-Cleaner.desktop exit code 6

Post by elderwolf123 »

Code: Select all

[Desktop Entry]
version=1.0
Name=DietPi-Cleaner
Type=Application
Comment=Removes unwanted junk from your system.
Terminal=true
Exec=/boot/dietpi/dietpi-cleaner
Icon=var/lib/dietpi/dietpi-software/installed/desktop/icons/dietpi-icon.png
categories=ConsoleOnly;System;
GenericName=DietPi-Cleaner
elderwolf123
Posts: 4
Joined: Sun Nov 14, 2021 10:56 am

Re: G_THREAD ERROR: DietPi-Cleaner.desktop exit code 6

Post by elderwolf123 »

It seems like all curl while installing a desktop errors, after the first i got the same error code when trying to curl es2_gears.desktop, glx_info.desktop, glx_gears.desktop
User avatar
Joulinar
Posts: 6441
Joined: Sat Nov 16, 2019 12:49 am

Re: G_THREAD ERROR: DietPi-Cleaner.desktop exit code 6

Post by Joulinar »

can you share some more information on your system

Required Information
  • DietPi version | cat /boot/dietpi/.version
  • Distro version | echo $G_DISTRO_NAME $G_RASPBIAN
  • Kernel version | uname -a
  • SBC model | echo $G_HW_MODEL_NAME or (EG: RPi3)
which desktop your are trying to install?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
elderwolf123
Posts: 4
Joined: Sun Nov 14, 2021 10:56 am

Re: G_THREAD ERROR: DietPi-Cleaner.desktop exit code 6

Post by elderwolf123 »

DietPi Version: Core=7, Sub=8, RC=2
Distro Version: Bullseye
Kernel Version: Linux DietPi 5.10.63-v7l+ #1459
SBC Model: RPi4

Im trying to install LXQt
User avatar
Joulinar
Posts: 6441
Joined: Sat Nov 16, 2019 12:49 am

Re: G_THREAD ERROR: DietPi-Cleaner.desktop exit code 6

Post by Joulinar »

hmm I did a test installation on my RPi3B+ ARMv7 Bullseye without issues. All desktop icons are download as expected

Code: Select all

[  OK  ] DietPi-Software | mkdir -p /usr/share/applications /var/lib/dietpi/dietpi-software/installed/desktop/icons /var/lib/dietpi/dietpi-software/installed/desktop/wallpapers
[ INFO ] DietPi-Software | G_THREAD_START_0 | curl -sSfL https://raw.githubusercontent.com/MichaIng/DietPi-Website/master/images/dietpi-logo_128x128.png -o /var/lib/dietpi/dietpi-software/installed/desktop/icons/dietpi-icon.png
[ INFO ] DietPi-Software | G_THREAD_START_1 | curl -sSfL https://raw.githubusercontent.com/MichaIng/DietPi/master/.conf/desktop/icons/grey_16x16.png -o /var/lib/dietpi/dietpi-software/installed/desktop/icons/grey_16x16.png
[ INFO ] DietPi-Software | G_THREAD_START_2 | curl -sSfL https://raw.githubusercontent.com/MichaIng/DietPi/master/.conf/desktop/icons/justboom.png -o /var/lib/dietpi/dietpi-software/installed/desktop/icons/justboom.png
[ INFO ] DietPi-Software | G_THREAD_START_3 | curl -sSfL https://raw.githubusercontent.com/MichaIng/DietPi/master/.conf/desktop/wallpapers/dietpi-logo_inverted_1080p.png -o /var/lib/dietpi/dietpi-software/installed/desktop/wallpapers/dietpi-logo_inverted_1080p.png
[ INFO ] DietPi-Software | G_THREAD_START_4 | curl -sSfL https://raw.githubusercontent.com/MichaIng/DietPi/master/.conf/desktop/wallpapers/dietpi-logo_1080p.png -o /var/lib/dietpi/dietpi-software/installed/desktop/wallpapers/dietpi-logo_1080p.png
[ INFO ] DietPi-Software | G_THREAD_START_5 | curl -sSfL https://raw.githubusercontent.com/MichaIng/DietPi/master/.conf/desktop/gtk/.gtk-bookmarks -o /var/lib/dietpi/dietpi-software/installed/desktop/.gtk-bookmarks
[ INFO ] DietPi-Software | G_THREAD_START_6 | curl -sSfL https://raw.githubusercontent.com/MichaIng/DietPi/master/.conf/desktop/apps/dietpi-software.desktop -o /usr/share/applications/dietpi-software.desktop
[ INFO ] DietPi-Software | G_THREAD_START_7 | curl -sSfL https://raw.githubusercontent.com/MichaIng/DietPi/master/.conf/desktop/apps/dietpi-drive_manager.desktop -o /usr/share/applications/dietpi-drive_manager.desktop
[ INFO ] DietPi-Software | G_THREAD_START_8 | curl -sSfL https://raw.githubusercontent.com/MichaIng/DietPi/master/.conf/desktop/apps/dietpi-update.desktop -o /usr/share/applications/dietpi-update.desktop
[ INFO ] DietPi-Software | G_THREAD_START_9 | curl -sSfL https://raw.githubusercontent.com/MichaIng/DietPi/master/.conf/desktop/apps/dietpi-config.desktop -o /usr/share/applications/dietpi-config.desktop
[ INFO ] DietPi-Software | G_THREAD_START_10 | curl -sSfL https://raw.githubusercontent.com/MichaIng/DietPi/master/.conf/desktop/apps/dietpi-backup.desktop -o /usr/share/applications/dietpi-backup.desktop
[ INFO ] DietPi-Software | G_THREAD_START_11 | curl -sSfL https://raw.githubusercontent.com/MichaIng/DietPi/master/.conf/desktop/apps/dietpi-sync.desktop -o /usr/share/applications/dietpi-sync.desktop
[ INFO ] DietPi-Software | G_THREAD_START_12 | curl -sSfL https://raw.githubusercontent.com/MichaIng/DietPi/master/.conf/desktop/apps/dietpi-services.desktop -o /usr/share/applications/dietpi-services.desktop
[ INFO ] DietPi-Software | G_THREAD_START_13 | curl -sSfL https://raw.githubusercontent.com/MichaIng/DietPi/master/.conf/desktop/apps/dietpi-cleaner.desktop -o /usr/share/applications/dietpi-cleaner.desktop
[ INFO ] DietPi-Software | G_THREAD_START_14 | curl -sSfL https://raw.githubusercontent.com/MichaIng/DietPi/master/.conf/desktop/apps/dietpi-cron.desktop -o /usr/share/applications/dietpi-cron.desktop
[ INFO ] DietPi-Software | G_THREAD_START_15 | curl -sSfL https://raw.githubusercontent.com/MichaIng/DietPi/master/.conf/desktop/apps/dietpi-launcher.desktop -o /usr/share/applications/dietpi-launcher.desktop
[ INFO ] DietPi-Software | G_THREAD_START_16 | curl -sSfL https://raw.githubusercontent.com/MichaIng/DietPi/master/.conf/desktop/apps/dietpi-justboom.desktop -o /usr/share/applications/dietpi-justboom.desktop
[ INFO ] DietPi-Software | G_THREAD_START_17 | curl -sSfL https://raw.githubusercontent.com/MichaIng/DietPi/master/.conf/desktop/apps/es2_info.desktop -o /usr/share/applications/es2_info.desktop
[ INFO ] DietPi-Software | G_THREAD_START_18 | curl -sSfL https://raw.githubusercontent.com/MichaIng/DietPi/master/.conf/desktop/apps/es2_gears.desktop -o /usr/share/applications/es2_gears.desktop
[ INFO ] DietPi-Software | G_THREAD_START_19 | curl -sSfL https://raw.githubusercontent.com/MichaIng/DietPi/master/.conf/desktop/apps/glx_info.desktop -o /usr/share/applications/glx_info.desktop
[ INFO ] DietPi-Software | G_THREAD_START_20 | curl -sSfL https://raw.githubusercontent.com/MichaIng/DietPi/master/.conf/desktop/apps/glx_gears.desktop -o /usr/share/applications/glx_gears.desktop
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply