Skip to content

yum install wget failing with non-zero code: 1 #65

@ldeluca

Description

@ldeluca

I tried doing a wget on my docker container from sequenceip and I keep getting the following error.

My command in the Dockerfile

RUN yum update && yum install wget -y

(note: also tried with just yum install without the update first)

Output:

The command '/bin/sh -c yum update && yum install wget -y' returned a non-zero code: 1

Full trace of related output:

Step 14/15 : RUN yum install wget -y
 ---> Running in bc7a6c2fae7a
Loaded plugins: fastestmirror, keys, protect-packages, protectbase
Determining fastest mirrors
 * base: mirror.lug.udel.edu
 * epel: mirror.us.leaseweb.net
 * extras: mirror.cogentco.com
 * updates: mirror.linux.duke.edu
0 packages excluded due to repository protections
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package wget.x86_64 0:1.12-10.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package         Arch              Version                Repository       Size
================================================================================
Installing:
 wget            x86_64            1.12-10.el6            base            484 k

Transaction Summary
================================================================================
Install       1 Package(s)

Total download size: 484 k
Installed size: 1.8 M
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : wget-1.12-10.el6.x86_64                                      1/1

Rpmdb checksum is invalid: dCDPT(pkg checksums): wget.x86_64 0:1.12-10.el6 - u
 
The command '/bin/sh -c yum install wget -y' returned a non-zero code: 1

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