Bug 1038481 - unpacking of archive failed on file /usr/lib64/libgtkd-2.so.0.2.0;52a03030: cpio: read
Summary: unpacking of archive failed on file /usr/lib64/libgtkd-2.so.0.2.0;52a03030: c...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: gtkd
Version: 19
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Christopher Meng
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-05 07:54 UTC by George R. Goffe
Modified: 2013-12-12 21:08 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-12-11 12:32:42 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description George R. Goffe 2013-12-05 07:54:00 UTC
Description of problem:

Yum install gtkd produces error messages: unpacking of archive failed on file /usr/lib64/libgtkd-2.so.0.2.0;52a03030: cpio: read

Version-Release number of selected component (if applicable):

0:2.0.0-42.20130624gitdb5921d.fc19

How reproducible:

always

Steps to Reproduce:
1.yum install gtkd
2.
3.

Actual results:

error messages

Expected results:

successful installation

Additional info:

Here's a log of what happened:

yum install gtkd
Loaded plugins: aliases, auto-update-debuginfo, changelog, fastestmirror, filter-data, fs-snapshot, keys, langpacks, list-data, local, merge-conf, post-
              : transaction-actions, priorities, protectbase, ps, puppetverify, refresh-packagekit, refresh-updatesd, remove-with-leaves, rpm-warm-cache,
              : show-leaves, tmprepo, tsflags, upgrade-helper, verify, versionlock
Loading mirror speeds from cached hostfile
 * fedora: linux.mirrors.es.net
 * fedora-debuginfo: linux.mirrors.es.net
 * updates: linux.mirrors.es.net
 * updates-debuginfo: linux.mirrors.es.net
Skipping filters plugin, no data
0 packages excluded due to repository protections
Resolving Dependencies
Skipping filters plugin, no data
--> Running transaction check
---> Package gtkd.x86_64 0:2.0.0-42.20130624gitdb5921d.fc19 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

==============================================================================================================================================================
 Package                      Arch                           Version                                                     Repository                      Size
==============================================================================================================================================================
Installing:
 gtkd                         x86_64                         2.0.0-42.20130624gitdb5921d.fc19                            _local                         7.2 M

Transaction Summary
==============================================================================================================================================================
Install  1 Package

Total download size: 7.2 M
Installed size: 79 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : gtkd-2.0.0-42.20130624gitdb5921d.fc19.x86_64                                                                                               1/1
Error unpacking rpm package gtkd-2.0.0-42.20130624gitdb5921d.fc19.x86_64
error: unpacking of archive failed on file /usr/lib64/libgtkd-2.so.0.2.0;52a03030: cpio: read
  Verifying  : gtkd-2.0.0-42.20130624gitdb5921d.fc19.x86_64                                                                                               1/1

Failed:
  gtkd.x86_64 0:2.0.0-42.20130624gitdb5921d.fc19

Complete!

Comment 1 Michael Schwendt 2013-12-05 11:37:20 UTC
That smells like it's the "symlink <-> file/dir" RPM problem.

Can you show which "gtkd" is installed already?  rpm -q gtkd
It's likely this old one from F18:
http://koji.fedoraproject.org/koji/rpminfo?rpmID=3384533

Comment 2 George R. Goffe 2013-12-10 08:27:55 UTC
Michael,

Thanks for your attention to this bug.

I currently have NO gtkd installed.

George...

Comment 3 Michael Schwendt 2013-12-10 08:59:10 UTC
> I currently have NO gtkd installed.

That rules out that you're hitting the "symlink <-> file/dir" problem when updating the older build from F18.

And that makes it more likely that it's a problem at your end.

> Installing:
>  gtkd                         x86_64                         
> 2.0.0-42.20130624gitdb5921d.fc19                            
> _local                         7.2 M

These details are interesting. The "_local" repo here means you're retrieving the package via a copy saved by the "local" Yum plugin. The size of the package is suspiciously smaller than expected. A "yum install gtkd" here gives

 gtkd                x86_64  2.0.0-42.20130624gitdb5921d.fc19    updates  7.9 M

which is larger than your download.

I'm not the maintainer of the gtkd package, but I think you've got a corrupted/truncated download of the package. With all the Yum plugins you've installed, please get familiar with the "local" plugin, its local repo contents, and get rid of the saved "gtkd" package. Then retry installing gtkd.

Comment 4 George R. Goffe 2013-12-11 12:07:50 UTC
Michael,

I'm perplexed. I did this command "ls -al $(locate gtkd) | grep rpm" on my system and then tried to manually install it with "rpm -ivh" and got the same failure. Notice the sizes for both rpm's. Why would they be different?


-rw-r--r--    1 root   root 8028012 Jun 27 07:41 /export/home/yum/plugins/local/gtkd-2.0.0-42.20130624gitdb5921d.fc19.i686.rpm
-rw-r--r--    1 root   root 7512064 Nov 12 15:56 /export/home/yum/plugins/local/gtkd-2.0.0-42.20130624gitdb5921d.fc19.x86_64.rpm
-rw-r--r--    1 root   root   54216 Mar 16  2013 /export/home/yum/plugins/local/gtkdatabox-0.9.1.1-10.fc19.i686.rpm
-rw-r--r--    1 root   root   54560 Mar 16  2013 /export/home/yum/plugins/local/gtkdatabox-0.9.1.1-10.fc19.x86_64.rpm
-rw-r--r--    1 root   root  122804 Mar 16  2013 /export/home/yum/plugins/local/gtkdatabox-debuginfo-0.9.1.1-10.fc19.x86_64.rpm
-rw-r--r--    1 root   root   52508 Mar 12  2013 /export/home/yum/plugins/local/gtkdatabox-devel-0.9.1.1-10.fc19.i686.rpm
-rw-r--r--    1 root   root   52480 Mar 16  2013 /export/home/yum/plugins/local/gtkdatabox-devel-0.9.1.1-10.fc19.x86_64.rpm
-rw-r--r--    1 root   root    9540 Mar 16  2013 /export/home/yum/plugins/local/gtkdatabox-libglade-0.9.1.1-10.fc19.x86_64.rpm
-rw-r--r--    1 root   root 1818504 Jun 27 07:41 /export/home/yum/plugins/local/gtkd-devel-2.0.0-42.20130624gitdb5921d.fc19.i686.rpm
-rw-r--r--    1 root   root 1818504 Jun 27 07:41 /export/home/yum/plugins/local/gtkd-devel-2.0.0-42.20130624gitdb5921d.fc19.x86_64.rpm
-rw-r--r--    1 root   root  108592 Jun 27 07:41 /export/home/yum/plugins/local/gtkd-geany-tags-2.0.0-42.20130624gitdb5921d.fc19.noarch.rpm
joker bash-4.2 ~# rpm -ivh /export/home/yum/plugins/local/gtkd-2.0.0-42.20130624gitdb5921d.fc19.x86_64.rpm
Preparing...                          ################################# [100%]
Updating / installing...
   1:gtkd-2.0.0-42.20130624gitdb5921d.################################# [100%]
error: unpacking of archive failed on file /usr/lib64/libgtkd-2.so.0.2.0;52a85442: cpio: read failed - No such file or directory
error: gtkd-2.0.0-42.20130624gitdb5921d.fc19.x86_64: install failed

Comment 5 George R. Goffe 2013-12-11 12:11:50 UTC
Michael,

It appears that there was a network problem or an error in the remote repo for this rpm. I moved the x86_64 verison to /tmp and did another yum install gtkd and it appears to have worked. 

The rpm's are STILL different in size though. I would be asking why that is.

I guess you can close this bug?

Thanks for your help.

George...

Comment 6 Michael Schwendt 2013-12-11 12:43:23 UTC
> The rpm's are STILL different in size though. I would be asking why that is.

Which rpms and where? It's normal the i686 and x86_64 builds differ in size, but your downloaded rpm in /export/home/yum/plugins/local/ was much too short.

A corrupted/truncated download for unknown reasons. Or is there a "remote repo" that offers such a truncated rpm?

If you're unsure about the size of a downloaded package, you could verify it with "rpm", e.g.  rpm -Kv gtkd-2.0.0-42.20130624gitdb5921d.fc19.x86_64.rpm  in the directory where file is stored.

Comment 7 George R. Goffe 2013-12-12 21:08:37 UTC
Michael,

I ONLY get my rpms from the "official" rpm sites provided from the repos distributed in yum.repo.d. I do SA work for a living and think of myself as a tester of what I would term "normal" SA work... on Fedora distributions. It's a way I can feel like I'm giving back to the opensource community. :-)

If I had a list of repos or could automatedly get a list of repos then I'd code a bunch of curls to get from each repo and compare the sizes.

Do you know how I might get such a list of repos?

I would be willing to check each repo and compare sizes... maybe I could get from ALL the repos and compare ALL the rpm sizes? I would post that here or just send you an email with the results.

Let me know what you think?

George...


Note You need to log in before you can comment on or make changes to this bug.