LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-10-2013, 08:05 AM   #1
shri_22ram
LQ Newbie
 
Registered: Jan 2013
Posts: 11

Rep: Reputation: Disabled
unpacking of archive failed on file


Upgrading a package gives the following error
error: unpacking of archive failed on file <filename> ;51654d53: cpio: read

Any idea about this error..

Note : i am using CentOS 4.8
 
Old 04-10-2013, 09:39 AM   #2
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,175

Rep: Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172Reputation: 1172
corrupted package perhaps, maybe due to an incomplete download it. Re-fetch the package and try again.
 
Old 04-10-2013, 09:53 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,949

Rep: Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693
Quote:
Originally Posted by shri_22ram View Post
Upgrading a package gives the following error
error: unpacking of archive failed on file <filename> ;51654d53: cpio: read

Any idea about this error..
Nope, especially since you don't bother saying WHAT package you're downloading, from where, in what format. Unless you provide details, you can't get answers.
Quote:
Note : i am using CentOS 4.8
The latest CentOS is 6.x...and whatever package you're trying to upgrade, have you just tried to run "yum update <packagename>"?
 
Old 04-10-2013, 08:19 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,241

Rep: Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325
That probably won't work http://wiki.centos.org/FAQ/General#h...91e1dde5b75e6d

Centos appears to only support until the end of Regular (not Extended) RHEL support of the same major version
http://www.redhat.com/security/updates/errata/
 
Old 04-11-2013, 01:30 AM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,825

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
correct CentOS is NOT supporting 4 any longer
and 4.8 went end of life with centos 4.9

currently CentOS is ONLY supporting CentOS 5.9 and 6.4

basically there is nothing to install on 4.8
i am guessing that yum was installed before it became unsupported
if not CentOS 4 uses " up2date" like RHEL4

There is not option to upgrade
so a new install of CentOS 6.4 is required


but if you NEED centos 4.8 for some legacy software that is NOT supported in RHEL5 or 6
then you can use " The Vault"
if yum is installed ????
then you can point the cent.repo to " http://vault.centos.org/4.8/"
but it STOPPED getting updates back in May of 2012
with the "extras repo in mar of 2010

Warning:
the "CentOS-Base.repo" file in the 4.8 vault folder POINTS to centos 4.9 !
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
error: unpacking of archive failed on file /usr/bin/perror;4a3b6207: cpio: read faile mehdi1973 Linux - General 4 06-22-2009 06:47 AM
Yum: unpacking of archive failed neiljt Linux - Software 1 08-01-2006 05:37 AM
unpacking of archive failed: cpio: read failed-input/output error rafc Linux - Newbie 0 04-21-2004 10:03 AM


All times are GMT -5. The time now is 06:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration