In my case I checked the '/etc/environment' file and noticed I had a
variable from cloudflared named 'CLOUDFLARED_OPTS' and the value of that
variable was not quoted. Simply quoting the value of 'CLOUDFLARED_OPTS'
resolved the issue
--
You received this bug notification because you are a member
I had added the following lines to my /etc/environment
LC_COLLATE=C
VISUAL=/usr/local/bin/vim
EDITOR=/usr/local/bin/vim
first_weekday 2
I removed the lines and the error went away. I was recently working on
some changes and forgot to remove these changes after testing. I have
these lines in my
Same as @getman above - had spaces in my definition of JAVA_HOME.
Norbert raises a fair point about the file being incorrect, rather
thanthis being a genuine bug. The error message did point to a problem
with the JAVA_HOME variable, but not the specific error in the
/etc/environment file. As
Fair enough if there is a proper error message in some log that
describes that it's because of an error in a given configuration file
that is the cause of the failure to update.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
I found usefull advice about changing 'EXPORT' to 'export'. Additional rised
the follow error:
/etc/environment: string 13: PGDATA: command not found
because I have set up PostgreSQL db. The reason is comically - extra spaces on
the follow string
PGDATA = /var/lib/postgresql/data errors!
On Do, 24 Okt 2013, getman wrote:
I found usefull advice about changing 'EXPORT' to 'export'. Additional rised
the follow error:
/etc/environment: string 13: PGDATA: command not found
because I have set up PostgreSQL db. The reason is comically - extra spaces
on the follow string
PGDATA =
My mistake in the /etc/environment file that probably provoked this
error was that I had a line:
# Setup JDK
JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64/
Instead of:
# Setup JDK
JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64/
Note the missing terminating ''
--
You received this bug notification
** Changed in: texinfo (Ubuntu)
Assignee: Canonical Foundations Team (canonical-foundations) =
(unassigned)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/993407
Title:
install-info can fail
On Do, 10 Okt 2013, Brian Murray wrote:
The package install-info sources /etc/environment and will fail to
install if there are any configuration errors in that file. This
seems to happen a fair bit.
Yes, and if we ad
rm -rf /
into /etc/profile then we can also get bugs ...
I
It looks like /etc/environment is trying to call export, but it is case
sensitive.
So I modified /etc/environment from this:
$ cat /etc/environment
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
EXPORT GNOME_SHELL_DISABLE_TFP=1
To this:
$ cat /etc/environment
Ahh oops. I meant I changed it to this:
$ cat /etc/environment
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
export GNOME_SHELL_DISABLE_TFP=1
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
You should not have the 'export' word in /etc/environment at all. *all*
variables in /etc/environment are exported; the parser simply ignores
this for compatibility.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
** Tags added: bugpattern-written
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/993407
Title:
install-info can fail to install due to syntax errors in
/etc/environment
To manage notifications
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: texinfo (Ubuntu)
Status: New = Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/993407
Title:
** Changed in: texinfo (Ubuntu)
Assignee: (unassigned) = Canonical Foundations Team
(canonical-foundations)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/993407
Title:
install-info can fail
15 matches
Mail list logo