To confirm, I did not add the word “export” to the environment file. I did remove “export” and that freed me of a list of error (most having to do with emacs packages)
This all started as an upgrade from Ubuntu 24.04 which makes it difficult for me to thoroughly reproduce. In my testing I could update a package ( texinfo?) and upgrade and regenerate the ‘export export’ issue. But I don’t know the origin of the ‘/etc/environment’ file. > On Jun 16, 2026, at 2:55 PM, Simon Poirier <[email protected]> wrote: > > 1) As far as I can tell, the erroneous line "export __GL_SYNC_TO_VBLANK=0" > isn't added by a package. > If it is, then that would be a bug against the package which added it. > > 2) If you added that line yourself to the configuration, then that would > be a mistake on your part. > > In any case, that would not be a bug with texinfo. > > When you say "the file as delivered", do you mean you didn't add that > line yourself? If so we'll need more info to figure what package is at > fault here. > > ** Changed in: texinfo (Ubuntu) > Status: New => Incomplete > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/2154701 > > Title: > /etc/environment has extraneous "export" > > Status in texinfo package in Ubuntu: > Incomplete > > Bug description: > Noticed multiple installation errors during upgrade from 24.04 to > 26.04. > > The fundamental problem was: > /usr/sbin/update-info-dir: 27: export: export __GL_SYNC_TO_VBLANK: bad > variable name > > This because /etc/environment has the line: > export __GL_SYNC_TO_VBLANK=0 > > and /usr/sbin/update-info-dir tries to actually export all pertinent line > from /etc/environment which results in the bash command: > export export __GL_SYNC_TO_VBLANK=0 > > which throws the message reported above. > > Removing "export" from the line in /etc/environment fixes the problem > (for me) > > bash:~$ install-info --version > install-info (GNU texinfo) 7.2 > > bash:~$ apt-cache policy install-info > install-info: > Installed: 7.2-5ubuntu2 > Candidate: 7.2-5ubuntu2 > Version table: > *** 7.2-5ubuntu2 500 > 500 http://us.archive.ubuntu.com/ubuntu resolute/main amd64 Packages > 100 /var/lib/dpkg/status > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/texinfo/+bug/2154701/+subscriptions > -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2154701 Title: /etc/environment has extraneous "export" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/texinfo/+bug/2154701/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
