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

Current master rpm package does not install in fedora-22 #5375

Closed
purbon opened this issue May 27, 2016 · 5 comments
Closed

Current master rpm package does not install in fedora-22 #5375

purbon opened this issue May 27, 2016 · 5 comments
Assignees

Comments

@purbon
Copy link
Contributor

purbon commented May 27, 2016

From the investigations done to adapt the acceptance_test feature branch to the new package format, see #5341 for details. I discovered the current master rpm package does not install in fedora-22, see:

[vagrant@localhost ~]$ sudo yum install -y /logstash-build/logstash-5.0.0.dev.rpm 
Yum command has been deprecated, redirecting to '/usr/bin/dnf install -y /logstash-build/logstash-5.0.0.dev.rpm'.
See 'man dnf' and 'man yum2dnf' for more information.
To transfer transaction metadata from yum to DNF, run:
'dnf install python-dnf-plugins-extras-migrate && dnf-2 migrate'

Failed to set locale, defaulting to C
Last metadata expiration check performed 0:12:52 ago on Fri May 27 15:45:43 2016.
Dependencies resolved.
=========================================================================================================================================================
 Package                            Arch                            Version                                  Repository                             Size
=========================================================================================================================================================
Installing:
 logrotate                          x86_64                          3.8.8-1.fc22                             fedora                                 70 k
 logstash                           noarch                          1:5.0.0~dev-1                            @commandline                           96 M

Transaction Summary
=========================================================================================================================================================
Install  2 Packages

Total size: 96 M
Total download size: 70 k
Installed size: 182 M
Downloading Packages:
logrotate-3.8.8-1.fc22.x86_64.rpm                                                                                        237 kB/s |  70 kB     00:00    
---------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                     36 kB/s |  70 kB     00:01     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Installing  : logrotate-3.8.8-1.fc22.x86_64                                                                                                        1/2 
  Installing  : logstash-1:5.0.0~dev-1.noarch                                                                                                        2/2 
Error unpacking rpm package logstash-1:5.0.0~dev-1.noarch
Error unpacking rpm package logstash-1:5.0.0~dev-1.noarch
error: unpacking of archive failed: cpio: Bad magic
logstash-1:5.0.0~dev-1.noarch was supposed to be installed but is not!
  Verifying   : logstash-1:5.0.0~dev-1.noarch                                                                                                        1/2 
  Verifying   : logrotate-3.8.8-1.fc22.x86_64                                                                                                        2/2 

Installed:
  logrotate.x86_64 3.8.8-1.fc22                                                                                                                          

Failed:
  logstash.noarch 1:5.0.0~dev-1                                                                                                                          

Complete!
[vagrant@localhost ~]$ 

for details.

@untergeek
Copy link
Member

error: unpacking of archive failed: cpio: Bad magic

That's odd. It should be that way across all packages if that's the case.

@untergeek
Copy link
Member

Blessedly, Fedora 22 is not on the support matrix. 😉

@jordansissel
Copy link
Contributor

I'll take a look at this. Very strange. I looked the cpio payload of the rpm and the header seems OK to me. I'll try on fedora 22.

@untergeek
Copy link
Member

Any updates on this, @jordansissel ?

@jordansissel
Copy link
Contributor

I don't know if this still an issue. On my fedora 24 machine, it works fine. We haven't had reports of rpm failures on 5.x like this. I'm OK closing.

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

No branches or pull requests

4 participants