See the Security and Bug Fixes Section - Grub EFI Install Updates Fix Sticky


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] Error when installing additional software (LL 2.2)
#28

So why is a grep command?
Code:
test_appletrailers1=(`apt-cache policy totem-mozilla | grep "Installed:"`)
Before this command?
Code:
if [ "${PIPESTATUS[0]}" -ne "0" ]; then
                    if zenity --question --title=Update --text="You must update package lists before using this tool\nDo you want to update?"
                    then
                                    sudo apt-get update | zenity --progress --text="Updating package lists..." --title="Please wait" --pulsate --auto-close
                                     if [ "${PIPESTATUS[0]}" -ne "0" ]; then
                                                zenity --error --title="Error" --text="Updating package lists has failed."
                                                exit
                                     fi
         
                    else                            exit


In the script it makes a grep call before a zenity call, could the grep cause a fault if there is an error in the grep?


I pulled the code from both the Git and in usr/scripts/lite-software on a current 32 and 64.
I am not sure if that could be the problem but when I removed it the error went away on the 32 bit and 64 bit when another installed language was present. But I am not sure that is the complete issue.

Reply


Messages In This Thread
Re: install additional software 2.2 - by TMG1961 - 12-03-2014, 09:18 AM
Re: install additional software 2.2 - by Valtam - 12-03-2014, 11:22 AM
Re: install additional software 2.2 - by TMG1961 - 12-03-2014, 12:44 PM
Re: install additional software 2.2 - by Valtam - 12-03-2014, 12:58 PM
Re: install additional software 2.2 - by TMG1961 - 12-03-2014, 01:12 PM
Re: install additional software 2.2 - by Valtam - 12-03-2014, 01:15 PM
Re: install additional software 2.2 - by TMG1961 - 12-03-2014, 01:21 PM
Re: install additional software 2.2 - by TMG1961 - 12-03-2014, 04:02 PM
Re: install additional software 2.2 - by bobw - 12-03-2014, 04:45 PM
Re: install additional software 2.2 - by TMG1961 - 12-03-2014, 04:52 PM
Re: install additional software 2.2 - by iwar - 12-03-2014, 11:37 PM
Re: install additional software 2.2 - by TMG1961 - 12-04-2014, 07:13 AM
Re: install additional software 2.2 - by sysdrum - 12-04-2014, 07:55 AM
Re: install additional software 2.2 - by TMG1961 - 12-04-2014, 08:50 AM
Re: install additional software 2.2 - by Valtam - 12-04-2014, 08:56 AM
Re: install additional software 2.2 - by TMG1961 - 12-04-2014, 09:03 AM
Re: install additional software 2.2 - by Valtam - 12-04-2014, 10:09 AM
Re: install additional software 2.2 - by TMG1961 - 12-04-2014, 11:52 AM
Re: install additional software 2.2 - by sysdrum - 12-04-2014, 02:20 PM
Re: install additional software 2.2 - by TMG1961 - 12-04-2014, 02:25 PM
Re: install additional software 2.2 - by iwar - 12-04-2014, 03:20 PM
Re: install additional software 2.2 - by TMG1961 - 12-04-2014, 05:17 PM
Re: install additional software 2.2 - by iwar - 12-04-2014, 06:25 PM
Re: install additional software 2.2 - by TMG1961 - 12-04-2014, 07:57 PM
Re: install additional software 2.2 - by sysdrum - 12-04-2014, 08:26 PM
Re: install additional software 2.2 - by TMG1961 - 12-05-2014, 08:53 AM
Re: install additional software 2.2 - by TMG1961 - 12-05-2014, 09:11 PM
Re: install additional software 2.2 - by TMG1961 - 12-06-2014, 09:09 AM
Re: install additional software 2.2 - by Valtam - 12-06-2014, 09:14 AM
Re: install additional software 2.2 - by TMG1961 - 12-06-2014, 09:17 AM
Re: install additional software 2.2 - by iwar - 12-14-2014, 09:08 PM
Re: install additional software 2.2 - by iwar - 01-04-2015, 07:11 PM

Forum Jump:


Users browsing this thread: 3 Guest(s)