Does not appear to be a RPM package


Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
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  
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  
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; 01-01-2019 at 07:19 AM..
# 4  
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; 01-01-2019 at 06:32 AM.. Reason: Fix typo: s/box[.]/box)./
# 5  
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.
Login or Register to Reply

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

More UNIX and Linux Forum Topics You Might Find Helpful
Problem when trying to remove a package using rpm command - error: package is not installed
g_p
Hello, i have installed a package by using the command sudo rpm -i filepackage.rpm package filepackage is already installed when i try to remove it, i get an error saying "is not installed": sudo rpm -e filepackage.rpm error: package filepackage is not installed How can...... Emergency UNIX and Linux Support
4
Emergency UNIX and Linux Support
Can't install rpm package with --prefix in new path.Error: package is not relocatable
g_p
Hello, i have downloaded an rpm package "hadoop-0.20.205.0-1.amd64.rpm" in /usr/local/ directory. I'm trying to install the rpm package in a new path/location (/usr/local/hadoop-0.20.205), but i can't. I did: 1st try: Didn't work sudo rpm -i --prefix=/usr/local/hadoop-0.20.205...... UNIX for Dummies Questions & Answers
1
UNIX for Dummies Questions & Answers
How to find dependancies of .dstream package (Solaris) & .rpm package( linux)
yb4779
Friends, Please let meknow, How we can find the dependancies of .dstream package & .rpm package before installation ? For AIX, We can use the inutoc . command to create the .toc file for the bff package, What about Solaris & Linux ?... UNIX for Advanced & Expert Users
0
UNIX for Advanced & Expert Users
Rpm package
c00kie88
Hi All, I just recently installed UBUNTU 2.6.24-16 and i installed my phone software which is a RPM package (it's a similiar package with MSN). The software called MXIE. I managed to install it successfully but i can't run the software. When i try to run it, i received...... Ubuntu
8
Ubuntu
how to restore original package after uninstalling the upgraded package using rpm
amitpansuria
have following package installed rpm -qa |grep ADMIN It will give the following package installed: ADMIN-4.0.0.1 Now I will upgrade the ADMIN package using the following command. rpm --upgrade ADMIN-4.1.0.1 It will upgrade the ADMIN packagge to ADMIN-4.1.0.1 Now I want that...... Linux
0
Linux