Does not appear to be a RPM package

Tags
aix, package, rpm

 
Thread Tools Search this Thread
# 1  
Old 2 Weeks Ago
Does not appear to be a RPM package

Hi Guys

I got this error when I try to install perl-5.24.0-1.aix6.1.ppc.rpm package
Code:
rpm -ivh perl-5.24.0-1.aix6.1.ppc.rpm
error: perl-5.24.0-1.aix6.1.ppc.rpm does not appear to be a RPM package

# 2  
Old 2 Weeks Ago
What output do you get from the command:
Code:
file perl-5.24.0-1.aix6.1.ppc.rpm

? What output do you get from the command:
Code:
ls -l perl-5.24.0-1.aix6.1.ppc.rpm

?

What version of AIX are you using?

What hardware are you using?
# 3  
Old 2 Weeks Ago
here's the result of code that u asked
Code:
# file perl-5.24.0-1.aix6.1.ppc.rpm
perl-5.24.0-1.aix6.1.ppc.rpm: empty

Code:
# ls -l perl-5.24.0-1.aix6.1.ppc.rpm
-rw-r--r--    1 sysadm2  system            0 Dec 31 12:08 perl-5.24.0-1.aix6.1.ppc.rpm

Code:
# oslevel
7.1.0.0


Last edited by RavinderSingh13; 2 Weeks Ago at 08:19 AM..
# 4  
Old 2 Weeks Ago
RPM package files are supposed to contain data that can be loaded into your system to install various pieces of software (in this case perl version 5.24.0 to run on a Power PC box). Since the size of this file is zero bytes, it obviously does not contain any data to allow the rpm utility to install any software. As the diagnostic you showed us from rpm said, that file does not seem to be a valid RPM package.

Last edited by Don Cragun; 2 Weeks Ago at 07:32 AM.. Reason: Fix typo: s/box[.]/box)./
# 5  
Old 2 Weeks Ago
Quote:
Originally Posted by khaled_ly84
here's the result of code that u asked
Code:
# file perl-5.24.0-1.aix6.1.ppc.rpm
perl-5.24.0-1.aix6.1.ppc.rpm: empty

Code:
Code:
# ls -l perl-5.24.0-1.aix6.1.ppc.rpm
-rw-r--r--    1 sysadm2  system            0 Dec 31 12:08 perl-5.24.0-1.aix6.1.ppc.rpm

Code:
# oslevel
7.1.0.0

Well your file is a NULL one, that is, it has nothing in it; it is 0, zero, bytes in size.
Try obtaining the package again but before attempting to install it make a backup of the rpm package until you have a successful install then you can delete your backup.

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Protected RPM package cokedude UNIX for Advanced & Expert Users 2 02-20-2014 04:42 PM
Issue with rpm package cyrus.ranjith Red Hat 1 02-19-2013 04:54 AM
Build Rpm package mastansaheb Red Hat 1 02-18-2013 02:24 AM
I can't remove rpm package Douglas Ramalho Red Hat 1 02-06-2013 02:30 AM
Problem when trying to remove a package using rpm command - error: package is not installed g_p Emergency UNIX and Linux Support 4 04-04-2012 06:36 AM
Can't install rpm package with --prefix in new path.Error: package is not relocatable g_p UNIX for Dummies Questions & Answers 1 04-01-2012 12:18 PM
Creating rpm package file kailash19 Red Hat 1 09-22-2011 09:20 AM
How to find dependancies of .dstream package (Solaris) & .rpm package( linux) yb4779 UNIX for Advanced & Expert Users 0 03-09-2011 05:54 AM
RPM package installation naan Red Hat 1 02-06-2009 11:38 AM
RPM Package question ajayyadavmca Linux 0 09-05-2008 05:30 AM
RPM Package - Rollback sydney2008 UNIX for Dummies Questions & Answers 3 09-01-2008 04:55 AM
Rpm package c00kie88 Ubuntu 8 06-06-2008 03:57 PM
how to restore original package after uninstalling the upgraded package using rpm amitpansuria Linux 0 05-27-2008 05:08 AM
User installing a rpm package potro Shell Programming and Scripting 1 04-24-2008 10:55 AM
package glibc-2.3.2-95.27_x86.rpm big123456 Linux 1 01-24-2007 09:49 AM