Yum repository throwing - [Errno -1] Package does not match intended download
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I am building a Yum repository to install RPM packages.
I am creating a folder mkdir -p ~/yum/el7/x86_64
and moving rpm file to it under same path given above.
Here is my my-app.repo file info.
[my-app]
name=My App
baseurl=https://dl.my-app.com/yum/el7/$basearch
gpgkey=https://dl.my-app.com/rpm.gpg
gpgcheck=1
enabled=1
repo_gpgcheck=1
Here is the error I get when I install the package.
[root@ip-192-31-59-132 ~]# yum install my-app
Loaded plugins: langpacks, priorities, update-motd
Resolving Dependencies
--> Running transaction check
---> Package my-app.x86_64 0:1.3.15-2.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
==================================================================================================================================================================================
Package Arch Version Repository Size
==================================================================================================================================================================================
Installing:
my-app x86_64 1.3.15-2.el7 my-app 9.5 M
Transaction Summary
==================================================================================================================================================================================
Install 1 Package
Total download size: 9.5 M
Installed size: 33 M
Is this ok [y/d/N]: y
Downloading packages:
my-app-1.3.15-2.el7.x8 FAILED
https://dl.my-app.com/yum/el7/x86_64/my-app-1.3.15-2.el7.x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=my-app clean metadata
Trying other mirror.
Error downloading packages:
my-app-1.3.15-2.el7.x86_64: [Errno 256] No more mirrors to try.
[root@ip-192-31-59-132 ~]#
I have the Gnupg configuration correct. I hope thats not the cause of this issue.
What am I doing wrong here? Why is Yum throwing Package does not match intended download
error?
yum rpm repository packaging
add a comment |Â
up vote
0
down vote
favorite
I am building a Yum repository to install RPM packages.
I am creating a folder mkdir -p ~/yum/el7/x86_64
and moving rpm file to it under same path given above.
Here is my my-app.repo file info.
[my-app]
name=My App
baseurl=https://dl.my-app.com/yum/el7/$basearch
gpgkey=https://dl.my-app.com/rpm.gpg
gpgcheck=1
enabled=1
repo_gpgcheck=1
Here is the error I get when I install the package.
[root@ip-192-31-59-132 ~]# yum install my-app
Loaded plugins: langpacks, priorities, update-motd
Resolving Dependencies
--> Running transaction check
---> Package my-app.x86_64 0:1.3.15-2.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
==================================================================================================================================================================================
Package Arch Version Repository Size
==================================================================================================================================================================================
Installing:
my-app x86_64 1.3.15-2.el7 my-app 9.5 M
Transaction Summary
==================================================================================================================================================================================
Install 1 Package
Total download size: 9.5 M
Installed size: 33 M
Is this ok [y/d/N]: y
Downloading packages:
my-app-1.3.15-2.el7.x8 FAILED
https://dl.my-app.com/yum/el7/x86_64/my-app-1.3.15-2.el7.x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=my-app clean metadata
Trying other mirror.
Error downloading packages:
my-app-1.3.15-2.el7.x86_64: [Errno 256] No more mirrors to try.
[root@ip-192-31-59-132 ~]#
I have the Gnupg configuration correct. I hope thats not the cause of this issue.
What am I doing wrong here? Why is Yum throwing Package does not match intended download
error?
yum rpm repository packaging
Did you you as suggested:Suggestion: run yum --enablerepo=my-app clean metadata
.
â Thomas
Jan 13 at 9:17
Yes. I did that. I even deleted /var/cache/yum
â Mir
Jan 13 at 19:54
This seems to be an issue with meta-data
â Mir
Jan 13 at 20:01
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am building a Yum repository to install RPM packages.
I am creating a folder mkdir -p ~/yum/el7/x86_64
and moving rpm file to it under same path given above.
Here is my my-app.repo file info.
[my-app]
name=My App
baseurl=https://dl.my-app.com/yum/el7/$basearch
gpgkey=https://dl.my-app.com/rpm.gpg
gpgcheck=1
enabled=1
repo_gpgcheck=1
Here is the error I get when I install the package.
[root@ip-192-31-59-132 ~]# yum install my-app
Loaded plugins: langpacks, priorities, update-motd
Resolving Dependencies
--> Running transaction check
---> Package my-app.x86_64 0:1.3.15-2.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
==================================================================================================================================================================================
Package Arch Version Repository Size
==================================================================================================================================================================================
Installing:
my-app x86_64 1.3.15-2.el7 my-app 9.5 M
Transaction Summary
==================================================================================================================================================================================
Install 1 Package
Total download size: 9.5 M
Installed size: 33 M
Is this ok [y/d/N]: y
Downloading packages:
my-app-1.3.15-2.el7.x8 FAILED
https://dl.my-app.com/yum/el7/x86_64/my-app-1.3.15-2.el7.x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=my-app clean metadata
Trying other mirror.
Error downloading packages:
my-app-1.3.15-2.el7.x86_64: [Errno 256] No more mirrors to try.
[root@ip-192-31-59-132 ~]#
I have the Gnupg configuration correct. I hope thats not the cause of this issue.
What am I doing wrong here? Why is Yum throwing Package does not match intended download
error?
yum rpm repository packaging
I am building a Yum repository to install RPM packages.
I am creating a folder mkdir -p ~/yum/el7/x86_64
and moving rpm file to it under same path given above.
Here is my my-app.repo file info.
[my-app]
name=My App
baseurl=https://dl.my-app.com/yum/el7/$basearch
gpgkey=https://dl.my-app.com/rpm.gpg
gpgcheck=1
enabled=1
repo_gpgcheck=1
Here is the error I get when I install the package.
[root@ip-192-31-59-132 ~]# yum install my-app
Loaded plugins: langpacks, priorities, update-motd
Resolving Dependencies
--> Running transaction check
---> Package my-app.x86_64 0:1.3.15-2.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
==================================================================================================================================================================================
Package Arch Version Repository Size
==================================================================================================================================================================================
Installing:
my-app x86_64 1.3.15-2.el7 my-app 9.5 M
Transaction Summary
==================================================================================================================================================================================
Install 1 Package
Total download size: 9.5 M
Installed size: 33 M
Is this ok [y/d/N]: y
Downloading packages:
my-app-1.3.15-2.el7.x8 FAILED
https://dl.my-app.com/yum/el7/x86_64/my-app-1.3.15-2.el7.x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=my-app clean metadata
Trying other mirror.
Error downloading packages:
my-app-1.3.15-2.el7.x86_64: [Errno 256] No more mirrors to try.
[root@ip-192-31-59-132 ~]#
I have the Gnupg configuration correct. I hope thats not the cause of this issue.
What am I doing wrong here? Why is Yum throwing Package does not match intended download
error?
yum rpm repository packaging
edited May 1 at 6:47
halloleo
1267
1267
asked Jan 13 at 0:22
Mir
101
101
Did you you as suggested:Suggestion: run yum --enablerepo=my-app clean metadata
.
â Thomas
Jan 13 at 9:17
Yes. I did that. I even deleted /var/cache/yum
â Mir
Jan 13 at 19:54
This seems to be an issue with meta-data
â Mir
Jan 13 at 20:01
add a comment |Â
Did you you as suggested:Suggestion: run yum --enablerepo=my-app clean metadata
.
â Thomas
Jan 13 at 9:17
Yes. I did that. I even deleted /var/cache/yum
â Mir
Jan 13 at 19:54
This seems to be an issue with meta-data
â Mir
Jan 13 at 20:01
Did you you as suggested:
Suggestion: run yum --enablerepo=my-app clean metadata
.â Thomas
Jan 13 at 9:17
Did you you as suggested:
Suggestion: run yum --enablerepo=my-app clean metadata
.â Thomas
Jan 13 at 9:17
Yes. I did that. I even deleted /var/cache/yum
â Mir
Jan 13 at 19:54
Yes. I did that. I even deleted /var/cache/yum
â Mir
Jan 13 at 19:54
This seems to be an issue with meta-data
â Mir
Jan 13 at 20:01
This seems to be an issue with meta-data
â Mir
Jan 13 at 20:01
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
# yum clean metadata
and try again. Your client yum(8) has its own idea of the RPM characteristics, so ask it to check their repo value again.
I have tried this andyum clean all
. Its something to do with metadata
â Mir
Jan 15 at 4:07
There is something wrong with the package name too. Its show half of itmy-app-1.3.15-2.el7.x8
â Mir
Jan 15 at 4:08
I am create a new folder and place the .rpm file under it. then runningcreaterepo -v /path/to/rpm
and then run it. It works fine. When I move it to S3 I have issues withPackage does not match intended download
errors
â Mir
Jan 15 at 4:09
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
# yum clean metadata
and try again. Your client yum(8) has its own idea of the RPM characteristics, so ask it to check their repo value again.
I have tried this andyum clean all
. Its something to do with metadata
â Mir
Jan 15 at 4:07
There is something wrong with the package name too. Its show half of itmy-app-1.3.15-2.el7.x8
â Mir
Jan 15 at 4:08
I am create a new folder and place the .rpm file under it. then runningcreaterepo -v /path/to/rpm
and then run it. It works fine. When I move it to S3 I have issues withPackage does not match intended download
errors
â Mir
Jan 15 at 4:09
add a comment |Â
up vote
0
down vote
# yum clean metadata
and try again. Your client yum(8) has its own idea of the RPM characteristics, so ask it to check their repo value again.
I have tried this andyum clean all
. Its something to do with metadata
â Mir
Jan 15 at 4:07
There is something wrong with the package name too. Its show half of itmy-app-1.3.15-2.el7.x8
â Mir
Jan 15 at 4:08
I am create a new folder and place the .rpm file under it. then runningcreaterepo -v /path/to/rpm
and then run it. It works fine. When I move it to S3 I have issues withPackage does not match intended download
errors
â Mir
Jan 15 at 4:09
add a comment |Â
up vote
0
down vote
up vote
0
down vote
# yum clean metadata
and try again. Your client yum(8) has its own idea of the RPM characteristics, so ask it to check their repo value again.
# yum clean metadata
and try again. Your client yum(8) has its own idea of the RPM characteristics, so ask it to check their repo value again.
answered Jan 14 at 17:12
Oldest Software Guy
1672
1672
I have tried this andyum clean all
. Its something to do with metadata
â Mir
Jan 15 at 4:07
There is something wrong with the package name too. Its show half of itmy-app-1.3.15-2.el7.x8
â Mir
Jan 15 at 4:08
I am create a new folder and place the .rpm file under it. then runningcreaterepo -v /path/to/rpm
and then run it. It works fine. When I move it to S3 I have issues withPackage does not match intended download
errors
â Mir
Jan 15 at 4:09
add a comment |Â
I have tried this andyum clean all
. Its something to do with metadata
â Mir
Jan 15 at 4:07
There is something wrong with the package name too. Its show half of itmy-app-1.3.15-2.el7.x8
â Mir
Jan 15 at 4:08
I am create a new folder and place the .rpm file under it. then runningcreaterepo -v /path/to/rpm
and then run it. It works fine. When I move it to S3 I have issues withPackage does not match intended download
errors
â Mir
Jan 15 at 4:09
I have tried this and
yum clean all
. Its something to do with metadataâ Mir
Jan 15 at 4:07
I have tried this and
yum clean all
. Its something to do with metadataâ Mir
Jan 15 at 4:07
There is something wrong with the package name too. Its show half of it
my-app-1.3.15-2.el7.x8
â Mir
Jan 15 at 4:08
There is something wrong with the package name too. Its show half of it
my-app-1.3.15-2.el7.x8
â Mir
Jan 15 at 4:08
I am create a new folder and place the .rpm file under it. then running
createrepo -v /path/to/rpm
and then run it. It works fine. When I move it to S3 I have issues with Package does not match intended download
errorsâ Mir
Jan 15 at 4:09
I am create a new folder and place the .rpm file under it. then running
createrepo -v /path/to/rpm
and then run it. It works fine. When I move it to S3 I have issues with Package does not match intended download
errorsâ Mir
Jan 15 at 4:09
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f416713%2fyum-repository-throwing-errno-1-package-does-not-match-intended-download%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Did you you as suggested:
Suggestion: run yum --enablerepo=my-app clean metadata
.â Thomas
Jan 13 at 9:17
Yes. I did that. I even deleted /var/cache/yum
â Mir
Jan 13 at 19:54
This seems to be an issue with meta-data
â Mir
Jan 13 at 20:01