[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#182632: xterm: bad upgrade



tag 182632 + moreinfo
thanks

On Wed, Feb 26, 2003 at 10:55:12PM +0000, Lazarus Long wrote:
> Package: xterm

What version of xterm are you using?

$ dpkg -l xterm

will tell you.

> Severity: normal
> 
> No way to know which of the X packages is causing this, but xterm was
> part of the run.  (All the X packages were install'ed together.)
> 
> Preconfiguring packages ...
> The readlink command was not found.  Please install version 1.13.1 or later of
> the debianutils package.
> The readlink command was not found.  Please install version 1.13.1 or later of
> the debianutils package.
> The readlink command was not found.  Please install version 1.13.1 or later of
> the debianutils package.
> (Reading database ...
> 
> ii  debianutils         2.3.1               Miscellaneous utilities specific to Debian
> 
> Sid, today's dinstall run.
> 
> $ dlocate readlink
> debianutils: /bin/readlink
> 
> Some debconf problem, apparently.

No, the message comes from the following bit of shell script:

# we require a readlink command or shell function
if ! which readlink > /dev/null 2>&1; then
  message "The readlink command was not found.  Please install version" \
          "1.13.1 or later of the debianutils package."
  readlink () {
    # returns what symlink in $1 actually points to
    perl -e '$l = shift; exit 1 unless -l $l; $r = readlink $l; exit 1 unless $r; print "$r\n"' $1;
  }
fi

As you can see, the output is just a warning message, and since you saw
no error messages from Perl, it's likely everything executed just fine.

What's interesting is that "which" is failing to find an executable in
/bin/readlink.

1) What's your $PATH in a shell with the same environment as the one in
which you upgraded xterm?
2) What are the file permissions on /bin/readlink?
3) What's the output of "which readlink" in a shell with the same
environment as the one in which you upgraded xterm?

-- 
G. Branden Robinson                |    Optimists believe we live in the
Debian GNU/Linux                   |    best of all possible worlds.
branden@debian.org                 |    Pessimists are afraid the optimists
http://people.debian.org/~branden/ |    are right.

Attachment: pgpV1GJ_PT8ZO.pgp
Description: PGP signature


Reply to: