Sorry, yes, I remember. I was using putenv() rather than setenv() for memory safety reasons, pointless ones, and that overrides values
** Changed in: apt (Ubuntu) Status: New => Triaged ** Changed in: apt (Ubuntu) Assignee: (unassigned) => Julian Andres Klode (juliank) ** Tags added: foundations-todo -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apt in Ubuntu. https://bugs.launchpad.net/bugs/2103921 Title: APT doesn't respect pager's configuration with apt show Status in apt package in Ubuntu: Triaged Bug description: I'm using less as my pager. PAGER env variable, `pager` and `sensible-pager` commands also points to less. When I execute `apt show <package>`, the pager is invoked by apt, it's less (I can go up, different than more), but it doesn't use the configuration I had set with the LESS env variable, so things like scrolling with the mouse wheel are not possible. If I execute `apt changelog <package>`, it did work since the command downloads the changelog file in /tmp and opens it with the pager. `apt show <package>|less` also works. I found a $PAGER_ENV set in the file CMakeLists.txt in the apt's source, and it sets some options for LESS env variable. I don't know if these values are being used just during the compilation for the tests, or the value is kept forever, which maybe isn't correct since it should respect the configurations defined by the user in LESS env variable. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/2103921/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp