LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Please advise on 2.2 -> 2.4 upgrade issues
#2
You must manualy make a directory with superuser privileges
Press Ctrl+Alt+T to open Terminal
Code:
sudo     mkdir -p /etc/skel/.llupgradebackup/2.4
Then edit lite-upgrade-series2
Type in:
Code:
gksudo leafpad /usr/bin/lite-upgrade-series2
Comment lines in a script with a hash # at the begining to prevent execution of a command that creates a directory
Code:
# Set functions for non-root execution
# The ones that need root go to the other file: lite-upgrade-system-series2
MKDIRBUPS() {
    echo "#Creating back up directories..."
    sleep 2
        mkdir -p /home/$USER/.llupgradebackup/2.4
            if [ "${PIPESTATUS[0]}" -ne "0" ]; then
                        echo "#Error"
                    sleep 2
                                        zenity --error \
                                        --title="Error" --text="There was an error while\nCreating back up directories!\nUpgrade canceled."
                    exit 1
                        fi
# This line has a hash at the begining and will not execute
#    mkdir -p /etc/skel/.llupgradebackup/2.4
#            if [ "${PIPESTATUS[0]}" -ne "0" ]; then
#                        echo "#Error"
#                    sleep 2
#                                       zenity --error \
#                                        --title="Error" --text="There was an error while\nCreating back up directories!\nUpgrade canceled."
#                   exit 1
#                        fi
}
Save it and close the text editor.
Run lite-upgrade-series2

Cheers Smile
Reply


Messages In This Thread
Re: Please advise on 2.2 -> 2.4 upgrade issues - by misko_2083 - 04-03-2015, 08:10 PM

Forum Jump:


Users browsing this thread: 3 Guest(s)