Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.os.linux.ubuntu > #192953 > unrolled thread

Unterminated quoted string

Started byCaver1 <caver1@inthemud.org>
First post2016-09-30 14:22 -0400
Last post2016-10-03 04:23 -0700
Articles 20 on this page of 26 — 10 participants

Back to article view | Back to alt.os.linux.ubuntu


Contents

  Unterminated quoted string Caver1 <caver1@inthemud.org> - 2016-09-30 14:22 -0400
    Re: Unterminated quoted string "Jonathan N. Little" <lws4art@gmail.com> - 2016-09-30 15:31 -0400
      Re: Unterminated quoted string Caver1 <caver1@inthemud.org> - 2016-09-30 15:51 -0400
        Re: Unterminated quoted string "Jonathan N. Little" <lws4art@gmail.com> - 2016-09-30 19:18 -0400
          Re: Unterminated quoted string Caver1 <caver1@inthemud.org> - 2016-09-30 21:35 -0400
            Re: Unterminated quoted string gamo <gamo@telecable.es> - 2016-10-02 03:58 +0200
              Re: Unterminated quoted string "Jonathan N. Little" <lws4art@gmail.com> - 2016-10-02 12:20 -0400
              Re: Unterminated quoted string Caver1 <caver1@inthemud.org> - 2016-10-02 12:33 -0400
                Re: Unterminated quoted string "Jonathan N. Little" <lws4art@gmail.com> - 2016-10-02 12:59 -0400
                  Re: Unterminated quoted string Henry Crun <mike@rechtman.com> - 2016-10-02 21:49 +0300
                  Re: Unterminated quoted string Caver1 <caver1@inthemud.org> - 2016-10-02 15:41 -0400
                    Re: Unterminated quoted string "Jonathan N. Little" <lws4art@gmail.com> - 2016-10-02 16:34 -0400
                      Re: Unterminated quoted string Caver1 <caver1@inthemud.org> - 2016-10-02 20:43 -0400
                        Re: Unterminated quoted string "Jonathan N. Little" <lws4art@gmail.com> - 2016-10-02 21:51 -0400
                          Re: Unterminated quoted string Big Bad Bob <BigBadBob-at-mrp3-dot-com@testing.local> - 2016-10-03 04:36 -0700
                          SOLVED Re: Unterminated quoted string Caver1 <caver1@inthemud.org> - 2016-10-03 08:39 -0400
    Re: Unterminated quoted string SopwithCamel <sopwithcamel@email.com> - 2016-10-02 15:25 -0400
      Re: Unterminated quoted string Chris Ahlstrom <OFeem1987@teleworm.us> - 2016-10-02 19:37 -0400
        Re: Unterminated quoted string Melzzzzz <mel@zzzzz.com> - 2016-10-03 02:49 +0200
          Re: Unterminated quoted string Silver Slimer <.m@nsn.s> - 2016-10-03 09:28 -0400
      Re: Unterminated quoted string Big Bad Bob <BigBadBob-at-mrp3-dot-com@testing.local> - 2016-10-03 04:26 -0700
    Re: Unterminated quoted string gamo <gamo@telecable.es> - 2016-10-03 01:12 +0200
      Re: Unterminated quoted string Caver1 <caver1@inthemud.org> - 2016-10-02 20:50 -0400
        Re: Unterminated quoted string Wildman <best_lay@yahoo.com> - 2016-10-02 22:37 -0500
          Re: Unterminated quoted string Caver1 <caver1@inthemud.org> - 2016-10-03 08:40 -0400
    Re: Unterminated quoted string Big Bad Bob <BigBadBob-at-mrp3-dot-com@testing.local> - 2016-10-03 04:23 -0700

Page 1 of 2  [1] 2  Next page →


#192953 — Unterminated quoted string

FromCaver1 <caver1@inthemud.org>
Date2016-09-30 14:22 -0400
SubjectUnterminated quoted string
Message-ID<nsmagn$rh1$1@dont-email.me>
I just started having this problem. If I try to update 
anything I keep getting this error message;
/etc/grub.d/05_debian_theme: 14: 
/usr/share/desktop-base/grub_background.sh: Syntax error: 
Unterminated quoted string

My /etc/grub.d/05_debian_theme has these lines that correspond;

# Include the configuration of desktop-base if available.
if [ -f "/usr/share/desktop-base/grub_background.sh" ]; then
	. "/usr/share/desktop-base/grub_background.sh"
fi

What is wrong here?
-- 
Caver1

[toc] | [next] | [standalone]


#192954

From"Jonathan N. Little" <lws4art@gmail.com>
Date2016-09-30 15:31 -0400
Message-ID<nsmehf$acd$1@dont-email.me>
In reply to#192953
Caver1 wrote:
> I just started having this problem. If I try to update anything I keep
> getting this error message;
> /etc/grub.d/05_debian_theme: 14:
> /usr/share/desktop-base/grub_background.sh: Syntax error: Unterminated
> quoted string
> 
> My /etc/grub.d/05_debian_theme has these lines that correspond;
> 
> # Include the configuration of desktop-base if available.
> if [ -f "/usr/share/desktop-base/grub_background.sh" ]; then
>     . "/usr/share/desktop-base/grub_background.sh"
> fi
> 
> What is wrong here?

Nothing, the error most likely precedes it. Normally you don't edit that
file, and you probably didn't but some customization you did in an
include such as /etc/default/grub is where your syntax error lies.


-- 
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

[toc] | [prev] | [next] | [standalone]


#192955

FromCaver1 <caver1@inthemud.org>
Date2016-09-30 15:51 -0400
Message-ID<nsmfo1$eu8$1@dont-email.me>
In reply to#192954
On 09/30/2016 03:31 PM, Jonathan N. Little wrote:
> Caver1 wrote:
>> I just started having this problem. If I try to update anything I keep
>> getting this error message;
>> /etc/grub.d/05_debian_theme: 14:
>> /usr/share/desktop-base/grub_background.sh: Syntax error: Unterminated
>> quoted string
>>
>> My /etc/grub.d/05_debian_theme has these lines that correspond;
>>
>> # Include the configuration of desktop-base if available.
>> if [ -f "/usr/share/desktop-base/grub_background.sh" ]; then
>>      . "/usr/share/desktop-base/grub_background.sh"
>> fi
>>
>> What is wrong here?
>
> Nothing, the error most likely precedes it. Normally you don't edit that
> file, and you probably didn't but some customization you did in an
> include such as /etc/default/grub is where your syntax error lies.
>
>

I haven't customized grub. As far as /etc/default/grub line 
14 is blank.
I take it that the 14: in the error message denotes line 14.

-- 
Caver1

[toc] | [prev] | [next] | [standalone]


#192956

From"Jonathan N. Little" <lws4art@gmail.com>
Date2016-09-30 19:18 -0400
Message-ID<nsmrs0$o0h$1@dont-email.me>
In reply to#192955
Caver1 wrote:
> On 09/30/2016 03:31 PM, Jonathan N. Little wrote:
>> Caver1 wrote:
>>> I just started having this problem. If I try to update anything I keep
>>> getting this error message;
>>> /etc/grub.d/05_debian_theme: 14:
>>> /usr/share/desktop-base/grub_background.sh: Syntax error: Unterminated
>>> quoted string
>>>
>>> My /etc/grub.d/05_debian_theme has these lines that correspond;
>>>
>>> # Include the configuration of desktop-base if available.
>>> if [ -f "/usr/share/desktop-base/grub_background.sh" ]; then
>>>      . "/usr/share/desktop-base/grub_background.sh"
>>> fi
>>>
>>> What is wrong here?
>>
>> Nothing, the error most likely precedes it. Normally you don't edit that
>> file, and you probably didn't but some customization you did in an
>> include such as /etc/default/grub is where your syntax error lies.
>>
>>
> 
> I haven't customized grub. As far as /etc/default/grub line 14 is blank.
> I take it that the 14: in the error message denotes line 14.
> 

No the error could be BEFORE so that in Line 14 of
/etc/grub.d/05_debian_theme

the mismatch get picked up.

Post your /etc/default/grub

-- 
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

[toc] | [prev] | [next] | [standalone]


#192957

FromCaver1 <caver1@inthemud.org>
Date2016-09-30 21:35 -0400
Message-ID<nsn3ss$9uv$1@dont-email.me>
In reply to#192956
On 09/30/2016 07:18 PM, Jonathan N. Little wrote:
> Caver1 wrote:
>> On 09/30/2016 03:31 PM, Jonathan N. Little wrote:
>>> Caver1 wrote:
>>>> I just started having this problem. If I try to update anything I keep
>>>> getting this error message;
>>>> /etc/grub.d/05_debian_theme: 14:
>>>> /usr/share/desktop-base/grub_background.sh: Syntax error: Unterminated
>>>> quoted string
>>>>
>>>> My /etc/grub.d/05_debian_theme has these lines that correspond;
>>>>
>>>> # Include the configuration of desktop-base if available.
>>>> if [ -f "/usr/share/desktop-base/grub_background.sh" ]; then
>>>>       . "/usr/share/desktop-base/grub_background.sh"
>>>> fi
>>>>
>>>> What is wrong here?
>>>
>>> Nothing, the error most likely precedes it. Normally you don't edit that
>>> file, and you probably didn't but some customization you did in an
>>> include such as /etc/default/grub is where your syntax error lies.
>>>
>>>
>>
>> I haven't customized grub. As far as /etc/default/grub line 14 is blank.
>> I take it that the 14: in the error message denotes line 14.
>>
>
> No the error could be BEFORE so that in Line 14 of
> /etc/grub.d/05_debian_theme
>
> the mismatch get picked up.
>
> Post your /etc/default/grub
>

# If you change this file, run 'update-grub' afterwards to 
update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=0
#GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
GRUB_BACKGROUND=/usr/share/backgrounds/TuxGrownUp.tga

# Uncomment to enable BadRAM filtering, modify to suit your 
needs
# This works with Linux (no patch required) and with any 
kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of 
FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card 
supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" 
parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"

-- 
Caver1

[toc] | [prev] | [next] | [standalone]


#192958

Fromgamo <gamo@telecable.es>
Date2016-10-02 03:58 +0200
Message-ID<nsppku$sla$1@gioia.aioe.org>
In reply to#192957
El 01/10/16 a las 03:35, Caver1 escribió:
> On 09/30/2016 07:18 PM, Jonathan N. Little wrote:
>> Caver1 wrote:
>>> On 09/30/2016 03:31 PM, Jonathan N. Little wrote:
>>>> Caver1 wrote:
>>>>> I just started having this problem. If I try to update anything I keep
>>>>> getting this error message;
>>>>> /etc/grub.d/05_debian_theme: 14:
>>>>> /usr/share/desktop-base/grub_background.sh: Syntax error: Unterminated
>>>>> quoted string
>>>>>
>>>>> My /etc/grub.d/05_debian_theme has these lines that correspond;
>>>>>
>>>>> # Include the configuration of desktop-base if available.
>>>>> if [ -f "/usr/share/desktop-base/grub_background.sh" ]; then
>>>>>       . "/usr/share/desktop-base/grub_background.sh"
>>>>> fi
>>>>>
>>>>> What is wrong here?
>>>>
>>>> Nothing, the error most likely precedes it. Normally you don't edit
>>>> that
>>>> file, and you probably didn't but some customization you did in an
>>>> include such as /etc/default/grub is where your syntax error lies.
>>>>
>>>>
>>>
>>> I haven't customized grub. As far as /etc/default/grub line 14 is blank.
>>> I take it that the 14: in the error message denotes line 14.
>>>
>>
>> No the error could be BEFORE so that in Line 14 of
>> /etc/grub.d/05_debian_theme
>>
>> the mismatch get picked up.
>>
>> Post your /etc/default/grub
>>
>
> # If you change this file, run 'update-grub' afterwards to update
> # /boot/grub/grub.cfg.
> # For full documentation of the options in this file, see:
> #   info -f grub -n 'Simple configuration'
>
> GRUB_DEFAULT=0
> #GRUB_HIDDEN_TIMEOUT=0
> #GRUB_HIDDEN_TIMEOUT_QUIET=true
> GRUB_TIMEOUT=5
> GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
> GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
> GRUB_CMDLINE_LINUX=""
> GRUB_BACKGROUND=/usr/share/backgrounds/TuxGrownUp.tga
>
> # Uncomment to enable BadRAM filtering, modify to suit your needs
> # This works with Linux (no patch required) and with any kernel that
> obtains
> # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
> #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
>
> # Uncomment to disable graphical terminal (grub-pc only)
> #GRUB_TERMINAL=console
>
> # The resolution used on graphical terminal
> # note that you can use only modes which your graphic card supports via VBE
> # you can see them in real GRUB with the command `vbeinfo'
> #GRUB_GFXMODE=640x480
>
> # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to
> Linux
> #GRUB_DISABLE_LINUX_UUID=true
>
> # Uncomment to disable generation of recovery mode menu entries
> #GRUB_DISABLE_RECOVERY="true"
>
> # Uncomment to get a beep at grub start
> #GRUB_INIT_TUNE="480 440 1"
>


Let's summarize this: you get an error message about two files and you 
post the content of a third file.

LOL




-- 
http://gamo.eu.pn/
Do not mix your decrepitude with that of the world.
Different racing teams.

[toc] | [prev] | [next] | [standalone]


#192959

From"Jonathan N. Little" <lws4art@gmail.com>
Date2016-10-02 12:20 -0400
Message-ID<nsrc39$dpb$1@dont-email.me>
In reply to#192958
gamo wrote:
> 
> Let's summarize this: you get an error message about two files and you
> post the content of a third file.
> 
> LOL

It is not that straight forward, the configuration is set with a series
of loaded partials. Generally you do not edit the /etc/grub.d/ partials
except for 40_custom, but make your edits to /etc/default/grub

-- 
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

[toc] | [prev] | [next] | [standalone]


#192960

FromCaver1 <caver1@inthemud.org>
Date2016-10-02 12:33 -0400
Message-ID<nsrcra$fmk$1@dont-email.me>
In reply to#192958
On 10/01/2016 09:58 PM, gamo wrote:
> El 01/10/16 a las 03:35, Caver1 escribió:
>> On 09/30/2016 07:18 PM, Jonathan N. Little wrote:
>>> Caver1 wrote:
>>>> On 09/30/2016 03:31 PM, Jonathan N. Little wrote:
>>>>> Caver1 wrote:
>>>>>> I just started having this problem. If I try to update anything I keep
>>>>>> getting this error message;
>>>>>> /etc/grub.d/05_debian_theme: 14:
>>>>>> /usr/share/desktop-base/grub_background.sh: Syntax error: Unterminated
>>>>>> quoted string
>>>>>>
>>>>>> My /etc/grub.d/05_debian_theme has these lines that correspond;
>>>>>>
>>>>>> # Include the configuration of desktop-base if available.
>>>>>> if [ -f "/usr/share/desktop-base/grub_background.sh" ]; then
>>>>>>        . "/usr/share/desktop-base/grub_background.sh"
>>>>>> fi
>>>>>>
>>>>>> What is wrong here?
>>>>>
>>>>> Nothing, the error most likely precedes it. Normally you don't edit
>>>>> that
>>>>> file, and you probably didn't but some customization you did in an
>>>>> include such as /etc/default/grub is where your syntax error lies.
>>>>>
>>>>>
>>>>
>>>> I haven't customized grub. As far as /etc/default/grub line 14 is blank.
>>>> I take it that the 14: in the error message denotes line 14.
>>>>
>>>
>>> No the error could be BEFORE so that in Line 14 of
>>> /etc/grub.d/05_debian_theme
>>>
>>> the mismatch get picked up.
>>>
>>> Post your /etc/default/grub
>>>
>>
>> # If you change this file, run 'update-grub' afterwards to update
>> # /boot/grub/grub.cfg.
>> # For full documentation of the options in this file, see:
>> #   info -f grub -n 'Simple configuration'
>>
>> GRUB_DEFAULT=0
>> #GRUB_HIDDEN_TIMEOUT=0
>> #GRUB_HIDDEN_TIMEOUT_QUIET=true
>> GRUB_TIMEOUT=5
>> GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
>> GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
>> GRUB_CMDLINE_LINUX=""
>> GRUB_BACKGROUND=/usr/share/backgrounds/TuxGrownUp.tga
>>
>> # Uncomment to enable BadRAM filtering, modify to suit your needs
>> # This works with Linux (no patch required) and with any kernel that
>> obtains
>> # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
>> #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
>>
>> # Uncomment to disable graphical terminal (grub-pc only)
>> #GRUB_TERMINAL=console
>>
>> # The resolution used on graphical terminal
>> # note that you can use only modes which your graphic card supports via VBE
>> # you can see them in real GRUB with the command `vbeinfo'
>> #GRUB_GFXMODE=640x480
>>
>> # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to
>> Linux
>> #GRUB_DISABLE_LINUX_UUID=true
>>
>> # Uncomment to disable generation of recovery mode menu entries
>> #GRUB_DISABLE_RECOVERY="true"
>>
>> # Uncomment to get a beep at grub start
>> #GRUB_INIT_TUNE="480 440 1"
>>
>
>
> Let's summarize this: you get an error message about two files and you
> post the content of a third file.
>
> LOL
>
>
>
>

Jonathan asked me to post mt  etc/default/grub, so I did.

-- 
Caver1

[toc] | [prev] | [next] | [standalone]


#192961

From"Jonathan N. Little" <lws4art@gmail.com>
Date2016-10-02 12:59 -0400
Message-ID<nsrecl$l1k$1@dont-email.me>
In reply to#192960
Caver1 wrote:
> 
> Jonathan asked me to post mt  etc/default/grub, so I did.

It is the one where most user edits occur and therefor most likely where
a syntax might be. Which files did you edit?

-- 
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

[toc] | [prev] | [next] | [standalone]


#192962

FromHenry Crun <mike@rechtman.com>
Date2016-10-02 21:49 +0300
Message-ID<ef18cd-a38.ln1@Ubuntu.mike-r.com>
In reply to#192961
On 02-Oct-2016 19:59, Jonathan N. Little wrote:
> Caver1 wrote:
>>
>> Jonathan asked me to post mt  etc/default/grub, so I did.
>
> It is the one where most user edits occur and therefor most likely where
> a syntax might be. Which files did you edit?
>
Or:
a) compare all /grub... files with a (known, good) backup
b) reinstall grub from scratch

-- 
Mike R.
Home: http://alpha.mike-r.com/
QOTD: http://alpha.mike-r.com/qotd.php
No Micro$oft products were used in the URLs above, or in preparing this message.
Recommended reading: http://www.catb.org/~esr/faqs/smart-questions.html#before
                 and: http://alpha.mike-r.com/jargon/T/top-post.html
Missile address: N31.7624/E34.9691

--- news://freenews.netfront.net/ - complaints: news@netfront.net ---

[toc] | [prev] | [next] | [standalone]


#192964

FromCaver1 <caver1@inthemud.org>
Date2016-10-02 15:41 -0400
Message-ID<nsrnsv$o8t$1@dont-email.me>
In reply to#192961
On 10/02/2016 12:59 PM, Jonathan N. Little wrote:
> Caver1 wrote:
>>
>> Jonathan asked me to post mt  etc/default/grub, so I did.
>
> It is the one where most user edits occur and therefor most likely where
> a syntax might be. Which files did you edit?
>

The only file I edited is the /etc/default/grub

-- 
Caver1

[toc] | [prev] | [next] | [standalone]


#192966

From"Jonathan N. Little" <lws4art@gmail.com>
Date2016-10-02 16:34 -0400
Message-ID<nsrr0i$4mp$1@dont-email.me>
In reply to#192964
Caver1 wrote:
> On 10/02/2016 12:59 PM, Jonathan N. Little wrote:
>> Caver1 wrote:
>>>
>>> Jonathan asked me to post mt  etc/default/grub, so I did.
>>
>> It is the one where most user edits occur and therefor most likely where
>> a syntax might be. Which files did you edit?
>>
> 
> The only file I edited is the /etc/default/grub
> 

Which is why I suspect the error is in the file you edited. One way to
test is this:

sudo mv /etc/default/grub /etc/default/grub.bad
sudo cp /usr/share/grub/default/grub /etc/default/grub
sudo update-grub

and see if you still get the error.

-- 
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

[toc] | [prev] | [next] | [standalone]


#192972

FromCaver1 <caver1@inthemud.org>
Date2016-10-02 20:43 -0400
Message-ID<nss9ip$gov$1@dont-email.me>
In reply to#192966
On 10/02/2016 04:34 PM, Jonathan N. Little wrote:
> Caver1 wrote:
>> On 10/02/2016 12:59 PM, Jonathan N. Little wrote:
>>> Caver1 wrote:
>>>>
>>>> Jonathan asked me to post mt  etc/default/grub, so I did.
>>>
>>> It is the one where most user edits occur and therefor most likely where
>>> a syntax might be. Which files did you edit?
>>>
>>
>> The only file I edited is the /etc/default/grub
>>
>
> Which is why I suspect the error is in the file you edited. One way to
> test is this:
>
> sudo mv /etc/default/grub /etc/default/grub.bad
> sudo cp /usr/share/grub/default/grub /etc/default/grub
> sudo update-grub
>
> and see if you still get the error.
>

Yes I get the same error.

sudo update-grub
Generating grub configuration file ...
Warning: Setting GRUB_TIMEOUT to a non-zero value when 
GRUB_HIDDEN_TIMEOUT is set is no longer supported.
/etc/grub.d/05_debian_theme: 14: 
/usr/share/desktop-base/grub_background.sh: Syntax error: 
Unterminated quoted string


-- 
Caver1

[toc] | [prev] | [next] | [standalone]


#192975

From"Jonathan N. Little" <lws4art@gmail.com>
Date2016-10-02 21:51 -0400
Message-ID<nssdin$hcj$1@dont-email.me>
In reply to#192972
Caver1 wrote:
> On 10/02/2016 04:34 PM, Jonathan N. Little wrote:
>> Caver1 wrote:
>>> On 10/02/2016 12:59 PM, Jonathan N. Little wrote:
>>>> Caver1 wrote:
>>>>>
>>>>> Jonathan asked me to post mt  etc/default/grub, so I did.
>>>>
>>>> It is the one where most user edits occur and therefor most likely
>>>> where
>>>> a syntax might be. Which files did you edit?
>>>>
>>>
>>> The only file I edited is the /etc/default/grub
>>>
>>
>> Which is why I suspect the error is in the file you edited. One way to
>> test is this:
>>
>> sudo mv /etc/default/grub /etc/default/grub.bad
>> sudo cp /usr/share/grub/default/grub /etc/default/grub
>> sudo update-grub
>>
>> and see if you still get the error.
>>
> 
> Yes I get the same error.
> 
> sudo update-grub
> Generating grub configuration file ...
> Warning: Setting GRUB_TIMEOUT to a non-zero value when
> GRUB_HIDDEN_TIMEOUT is set is no longer supported.

Yep. That is the default file with the bug they have not fixed, i.e.,
that line needs to be commented out.

> /etc/grub.d/05_debian_theme: 14:
> /usr/share/desktop-base/grub_background.sh: Syntax error: Unterminated
> quoted string
> 
> 

So your error must be in "/usr/share/desktop-base/grub_background.sh"
because that is NOT present in the default install. Check that script,
or rename it and see if the error disappears.

sudo mv /usr/share/desktop-base/grub_background.sh
/usr/share/desktop-base/grub_background.sh.backup

sudo update-grub

and see if you still get the error.

-- 
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

[toc] | [prev] | [next] | [standalone]


#192979

FromBig Bad Bob <BigBadBob-at-mrp3-dot-com@testing.local>
Date2016-10-03 04:36 -0700
Message-ID<8padnS3ZnKTA32_KnZ2dnUU7-aPNnZ2d@earthlink.com>
In reply to#192975
On 10/02/16 18:51, Jonathan N. Little so wittily quipped:
> Caver1 wrote:
>> On 10/02/2016 04:34 PM, Jonathan N. Little wrote:
>>> Caver1 wrote:
>>>> On 10/02/2016 12:59 PM, Jonathan N. Little wrote:
>>>>> Caver1 wrote:
>>>>>>
>>>>>> Jonathan asked me to post mt  etc/default/grub, so I did.
>>>>>
>>>>> It is the one where most user edits occur and therefor most likely
>>>>> where
>>>>> a syntax might be. Which files did you edit?
>>>>>
>>>>
>>>> The only file I edited is the /etc/default/grub
>>>>
>>>
>>> Which is why I suspect the error is in the file you edited. One way to
>>> test is this:
>>>
>>> sudo mv /etc/default/grub /etc/default/grub.bad
>>> sudo cp /usr/share/grub/default/grub /etc/default/grub
>>> sudo update-grub
>>>
>>> and see if you still get the error.
>>>
>>
>> Yes I get the same error.
>>
>> sudo update-grub
>> Generating grub configuration file ...
>> Warning: Setting GRUB_TIMEOUT to a non-zero value when
>> GRUB_HIDDEN_TIMEOUT is set is no longer supported.
> 
> Yep. That is the default file with the bug they have not fixed, i.e.,
> that line needs to be commented out.
> 
>> /etc/grub.d/05_debian_theme: 14:
>> /usr/share/desktop-base/grub_background.sh: Syntax error: Unterminated
>> quoted string
>>
>>
> 
> So your error must be in "/usr/share/desktop-base/grub_background.sh"
> because that is NOT present in the default install. Check that script,
> or rename it and see if the error disappears.
> 
> sudo mv /usr/share/desktop-base/grub_background.sh
> /usr/share/desktop-base/grub_background.sh.backup
> 
> sudo update-grub
> 
> and see if you still get the error.
> 

I think the solution is simpler if you look at 'grub_background.sh'
itself.  The '.' command effectively "includes" the contents of this
shell script [in the appropriate context] and runs them in the context
of the current script.  SO, if 'grub_background.sh' has a syntax error
in it, you'll see an error message similar to the one reported.

try this

a.sh

#!/bin/sh

. ./b.sh


b.sh

#!/bin/sh

echo "something


(leave off quote deliberately)

NOTE:  when I specified 'bash' in the hash-bang, I got different errors.
 But with 'sh' I got the same 'Unterminated quoted string'



-- 
your story is so touching, but it sounds just like a lie
"Straighten up and fly right"

[toc] | [prev] | [next] | [standalone]


#192980 — SOLVED Re: Unterminated quoted string

FromCaver1 <caver1@inthemud.org>
Date2016-10-03 08:39 -0400
SubjectSOLVED Re: Unterminated quoted string
Message-ID<nstjhv$skn$1@dont-email.me>
In reply to#192975
On 10/02/2016 09:51 PM, Jonathan N. Little wrote:
> Caver1 wrote:
>> On 10/02/2016 04:34 PM, Jonathan N. Little wrote:
>>> Caver1 wrote:
>>>> On 10/02/2016 12:59 PM, Jonathan N. Little wrote:
>>>>> Caver1 wrote:
>>>>>>
>>>>>> Jonathan asked me to post mt  etc/default/grub, so I did.
>>>>>
>>>>> It is the one where most user edits occur and therefor most likely
>>>>> where
>>>>> a syntax might be. Which files did you edit?
>>>>>
>>>>
>>>> The only file I edited is the /etc/default/grub
>>>>
>>>
>>> Which is why I suspect the error is in the file you edited. One way to
>>> test is this:
>>>
>>> sudo mv /etc/default/grub /etc/default/grub.bad
>>> sudo cp /usr/share/grub/default/grub /etc/default/grub
>>> sudo update-grub
>>>
>>> and see if you still get the error.
>>>
>>
>> Yes I get the same error.
>>
>> sudo update-grub
>> Generating grub configuration file ...
>> Warning: Setting GRUB_TIMEOUT to a non-zero value when
>> GRUB_HIDDEN_TIMEOUT is set is no longer supported.
>
> Yep. That is the default file with the bug they have not fixed, i.e.,
> that line needs to be commented out.
>
>> /etc/grub.d/05_debian_theme: 14:
>> /usr/share/desktop-base/grub_background.sh: Syntax error: Unterminated
>> quoted string
>>
>>
>
> So your error must be in "/usr/share/desktop-base/grub_background.sh"
> because that is NOT present in the default install. Check that script,
> or rename it and see if the error disappears.
>
> sudo mv /usr/share/desktop-base/grub_background.sh
> /usr/share/desktop-base/grub_background.sh.backup
>
> sudo update-grub
>
> and see if you still get the error.
>

Yes that fixed it. I didn't know that 
/usr/share/desktop-base/grub existed.
It also solved an issue that I had with loading the 4.4.0-* 
kernels.
Thank you very much for your help.

-- 
Caver1

[toc] | [prev] | [next] | [standalone]


#192963

FromSopwithCamel <sopwithcamel@email.com>
Date2016-10-02 15:25 -0400
Message-ID<dln2vbd31bor2dmr2368odn8de0v6ahqm2@4ax.com>
In reply to#192953
On Fri, 30 Sep 2016 14:22:31 -0400, Caver1 <caver1@inthemud.org>
wrote:

>I just started having this problem. If I try to update 
>anything I keep getting this error message;
>/etc/grub.d/05_debian_theme: 14: 
>/usr/share/desktop-base/grub_background.sh: Syntax error: 
>Unterminated quoted string
>
>My /etc/grub.d/05_debian_theme has these lines that correspond;
>
># Include the configuration of desktop-base if available.
>if [ -f "/usr/share/desktop-base/grub_background.sh" ]; then
>	. "/usr/share/desktop-base/grub_background.sh"
>fi
>
>What is wrong here?

What's wrong?
You are running Linux.

Solution--->>>

1. Boot Windows 10 install media.
2. Overwrite everything that is Linux.
3. Start enjoying your computer again.

Solution 2 --->>>

1 Buy a Mac.
2. Start enjoying your computer again. 

[toc] | [prev] | [next] | [standalone]


#192971

FromChris Ahlstrom <OFeem1987@teleworm.us>
Date2016-10-02 19:37 -0400
Message-ID<nss666$6dg$4@dont-email.me>
In reply to#192963
SopwithCamel wrote this copyrighted missive and expects royalties:

> <misguided advice regarding switching to Windows or OSX snipped>

I enjoy my experience with Linux much more than with Windows.
And the few minutes I spent with a Mac left me quite underwhelmed.

-- 
Q:	How does a hacker fix a function which
	doesn't work for all of the elements in its domain?
A:	He changes the domain.

[toc] | [prev] | [next] | [standalone]


#192973

FromMelzzzzz <mel@zzzzz.com>
Date2016-10-03 02:49 +0200
Message-ID<20161003024944.01a08062@maxa-pc.cpe.bvcom.net>
In reply to#192971
On Sun, 2 Oct 2016 19:37:32 -0400
Chris Ahlstrom <OFeem1987@teleworm.us> wrote:

> SopwithCamel wrote this copyrighted missive and expects royalties:
> 
> > <misguided advice regarding switching to Windows or OSX snipped>  
> 
> I enjoy my experience with Linux much more than with Windows.
> And the few minutes I spent with a Mac left me quite underwhelmed.
> 

Windows experience is ruined by Windows Update. All I can say it is
bloated piece of crap that trashes computer constantly.
Mac is better in this regard for light processing, that is chit
chatting sending mails and surfing. I heard that it is not so good in
regard of heavier tasks.
Linux is best of all three because it is lightest , you can choose
whatever setup and you have all control what is going on with the
system. Only thing that surprised me was upload spikes to google sites
and I easily found out that evolution data server was responsible. So I
just removed damn thing and problem no more. Anyway I don't use
evolution and empathy which relies on that. Eh I lost date annotation
and holidays in Gnome calendar but anyway I don't need that.

-- 
press any key to continue or any other to quit

[toc] | [prev] | [next] | [standalone]


#192983

FromSilver Slimer <.m@nsn.s>
Date2016-10-03 09:28 -0400
Message-ID<nstmde$5a3$2@dont-email.me>
In reply to#192973
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 2016-10-02 8:49 PM, Melzzzzz wrote:
> On Sun, 2 Oct 2016 19:37:32 -0400 Chris Ahlstrom
> <OFeem1987@teleworm.us> wrote:
> 
>> SopwithCamel wrote this copyrighted missive and expects
>> royalties:
>> 
>>> <misguided advice regarding switching to Windows or OSX
>>> snipped>
>> 
>> I enjoy my experience with Linux much more than with Windows. And
>> the few minutes I spent with a Mac left me quite underwhelmed.
>> 
> 
> Windows experience is ruined by Windows Update. All I can say it
> is bloated piece of crap that trashes computer constantly. Mac is
> better in this regard for light processing, that is chit chatting
> sending mails and surfing. I heard that it is not so good in regard
> of heavier tasks. Linux is best of all three because it is lightest
> , you can choose whatever setup and you have all control what is
> going on with the system. Only thing that surprised me was upload
> spikes to google sites and I easily found out that evolution data
> server was responsible. So I just removed damn thing and problem no
> more. Anyway I don't use evolution and empathy which relies on
> that. Eh I lost date annotation and holidays in Gnome calendar but
> anyway I don't need that.

Linux is indeed light and fast but it also seems to come with
inexplicable problems. Twice already in the weekend I had to suffer
through the computer being unable to shut down. I would tell you what
the cause was but after a reboot, it shut down properly so there was
no message of any kind at the end indicating what the issue was. That
and "Files" in Gnome 3 just decided to not be able to load itself.
It's just sad to say the least.


- -- 
Silver Slimer
Islam is a disease
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJX8lz7AAoJEIwFfgf/rr+usUEH/RIEh0nniW7VOYF7U4Jt4jMt
OyY7yzARVCvzdk+PJAVfPXkPPvB9gljxkbXAUwBgvMoWta7rEeo0g9PTewjpmid7
jH3FZsNNpS5oTsoIPKKyC4EFduFm0E9bljtR8aOBwJnqcRFxl6Bh0HYkzgYZYOh5
Fb0U+pYTSXS17ltllZeO/FVflsQONLrVWJFvbG41vmPWN+RNUqNktiv80N0JRnFx
1YhgQuGT6GCFpeY4sFuQ0/ppKGjnsGLQmrXd4+ouK2decuR7TKwREJePONG2mCND
dO/u70iGj02LmY8OqFR1RclzV9g/gIoBq7DHaUCN6Cl6xQaMP5EY6nl28Rlv7Ic=
=uktU
-----END PGP SIGNATURE-----

[toc] | [prev] | [next] | [standalone]


Page 1 of 2  [1] 2  Next page →

Back to top | Article view | alt.os.linux.ubuntu


csiph-web