Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ldeluca opened this issue Apr 11, 2017 · 4 comments
Open

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

ldeluca opened this issue Apr 11, 2017 · 4 comments

Comments

@ldeluca
Copy link

ldeluca commented Apr 11, 2017

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
@juankmt
Copy link

juankmt commented Jan 7, 2018

Hi Ideluca, did you find the error? I have the same problem.

Juankmt

@aallou
Copy link

aallou commented Oct 15, 2018

Hello,
This command is ok for me :

RUN yum -y upgrade
RUN yum -y install wget

@svadlama
Copy link

svadlama commented May 6, 2019

RUN yum -y update && yum -y install wget

@imattdu
Copy link

imattdu commented Sep 22, 2022

RUN yum -y update && yum -y install wget
thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants