Skip to content

Failed to scan updatable packages: zypper -q lu Unknown format #515

Closed
@MSPatey

Description

@MSPatey

Environment

OpenSUSE Leap 42.3
SUSE Linux Enterprise Server 11

Vuls

Hash : a32845f

To check the commit hash of HEAD
$ vuls -v

or
$ cd $GOPATH/src/github.com/future-architect/vuls
$ git rev-parse --short HEAD

OS

  • Target Server: OpenSUSE Leap 42.3
  • Vuls Server: CentOS 6.9

Go

  • Go version: 1.9.1

Current Output

Failed to scan updatable packages: zypper -q lu Unknown format

Please re-run the command using -debug and provide the output below.

cmd: /usr/bin/ssh -tt -o StrictHostKeyChecking=yes -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none root@172.22.1.25 -p 22 -i /tmp/id_dsa -o PasswordAuthentication=no stty cols 1000; zypper --no-color -q lu
exitstatus: 0
stdout: S | Repository | Name | Current Version | Available Version | Arch
--+------------------------+-----------------------------+------------------------------+------------------------------+-------
v | Main Update Repository | device-mapper | 1.02.97-75.28 | 1.02.97-77.1 |
...
snip
..
| Main Update Repository | yast2-xml | 3.1.1-6.4 | 3.1.2-8.1 | x86_64

stderr: tcgetattr: Inappropriate ioctl for device

err: %!s()
[Oct 18 16:24:09] ERROR [172-22-1-25] Failed to scan updatable packages: zypper -q lu Unknown format: v | Main Update Repository | device-mapper | 1.02.97-75.28 | 1.02.97-77.1 | x86_64

Addition Details

Same error displayed with SLES Enterprise Server 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions