[Bug 1782567] Re: apt changelog outputs "usage: which [-as] program ..." if variable PAGER doesn't exist

Julian Andres Klode 1782567 at bugs.launchpad.net
Wed Aug 22 09:59:31 UTC 2018


Cannot reproduce. APT does not run which, so it's definitely not apts
problems.

** Changed in: apt (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1782567

Title:
  apt changelog outputs "usage: which [-as] program ..." if variable
  PAGER doesn't exist

Status in apt package in Ubuntu:
  Invalid

Bug description:
  When variable PAGER isn't in the environment, apt changelog always
  outputs this message:

  usage: which [-as] program ...

  but it goes on and shows the changelog with less. Most certainly it's
  running:

  which $PAGER

  without checking first if PAGER is empty.

  sensible-browser has the same bug, but with variable BROWSER:

  bug #1782447

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: apt 1.6.3
  ProcVersionSignature: Ubuntu 4.15.0-29.31-generic 4.15.18
  Uname: Linux 4.15.0-29-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7.2
  Architecture: amd64
  CurrentDesktop: XFCE
  Date: Thu Jul 19 09:35:46 2018
  InstallationDate: Installed on 2018-04-28 (81 days ago)
  InstallationMedia: Xubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
  SourcePackage: apt
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1782567/+subscriptions



More information about the foundations-bugs mailing list