LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   RPM Install Failure (https://www.linuxquestions.org/questions/linux-newbie-8/rpm-install-failure-4175648307/)

swamprat 02-14-2019 11:26 AM

RPM Install Failure
 
Greetings:

I downloaded the RPM for the Moneydance app indicated below and then used the RPM command indicated below to do the install and I received the following errors. I never saw this before with RPM.

I'm using CentOS 7.6 and there is enough disk storage.

I would appreciate some advice on how to solve this error abd what it really means.

Thanks

[root@localhost Downloads]# rpm -ivh moneydance_linux_amd64.rpm
Preparing... ################################# [100%]
Updating / installing...
1:Moneydance-2012.5-1 ################################# [100%]
error: unpacking of archive failed: cpio: Bad magic
error: Moneydance-2012.5-1.i386: install failed
[root@localhost Downloads]#

pan64 02-14-2019 12:17 PM

I would say that file is not a valid rpm package. Probably not downloaded properly or ???

mrmazda 02-14-2019 12:27 PM

Where did you get that 2012.5-1 download from? I searched for it, and found that apparently newer versions exist. I also found rpm problems with it seem common. I fetched http://moneydance.com/download_2011 and no complaint from rpm -iv --test. "Bad magic" could mean your rpm download was corrupted in the process of downloading, or as placed on the server you fetched from. Download again, but use wget or curl instead of a web browser, and maybe try finding a newer version. Then use the -iv --test switch set to see if it checks OK.

ceantuco 02-14-2019 01:21 PM

Hi,

I checked the site and they have downloads for Windows, Mac and Linux DEB package only. They also have an installation script available. I'd say try using the Install script.

Brains 02-14-2019 01:29 PM

Code:

[root@localhost Downloads]# rpm -ivh moneydance_linux_amd64.rpm
Preparing... ################################# [100%]
Updating / installing...
1:Moneydance-2012.5-1 ################################# [100%]
error: unpacking of archive failed: cpio: Bad magic
error: Moneydance-2012.5-1.i386: install failed

I highlighted the problem


All times are GMT -5. The time now is 07:58 PM.