Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11th October 2009, 02:21 AM
jim1944 Offline
Registered User
 
Join Date: Jun 2007
Posts: 251
windows_xp_2003firefox
yum update errors. Why did it do what it did?

I just did 'yum update' on my system and got a number of errors such as this one:
Code:
  Updating       : xfce4-settings-4.6.1-4.fc11.i586                       87/184 
Error unpacking rpm package xfce4-settings-4.6.1-4.fc11.i586
error: unpacking of archive failed on file /usr/share/locale/zh_CN/LC_MESSAGES/xfce4-settings.mo;4ad11889: cpio: open
Sometimes instead of "cpio: open" it was "cpio: rename". There were a total of 18 such errors. These were listed as failures in the summary at the end. I then did another "yum update" and it redid 17 of the 18 successfully. It did not redo f-spot. Here's a snippet of the summary at the end of the first update:
Code:
Updated:
  apr.i586 0:1.3.9-1.fc11                                                        
  b43-fwcutter.i586 0:012-2.fc11                                                 
  bluez.i586 0:4.42-6.fc11                                                       
  bluez-cups.i586 0:4.42-6.fc11                                                  
  bluez-libs.i586 0:4.42-6.fc11                                                  
  <snip>                                       
  yum-utils.noarch 0:1.1.23-1.fc11                                               

Replaced:
  f-spot.i586 0:0.6.0.0-1.fc11                                                   

Failed:
  exo.i586 0:0.3.101-4.fc11                                                      
  f-spot.i586 0:0.6.1.2-2.fc11                                                   
  gnome-settings-daemon.i586 0:2.26.1-11.fc11                                    
<snip>                                             

Complete!
Note that f-spot was replaced but then failed. I checked to see what was installed:
Code:
[]$ rpm -qa | grep f-spot
f-spot-screensaver-0.6.1.2-2.fc11.i586
So I lost f-spot as a result of the failure. Why did it behave that way? Why was f-spot "replaced" rather than "updated". What's the difference?

Recovery by 'yum install f-spot' was easy enough, but still.

Thanks
Jim
Reply With Quote
  #2  
Old 11th October 2009, 03:10 AM
Hlingler's Avatar
Hlingler Offline
Administrator
 
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,289
linuxopera
By any chance, are you anywhere near capacity on disk ? That's one typical cause of such unpacing errors.

V
Reply With Quote
  #3  
Old 11th October 2009, 03:57 AM
jim1944 Offline
Registered User
 
Join Date: Jun 2007
Posts: 251
linuxfedorafirefox
Not likely.
Code:
[] df -k
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/mapper/VolGroup-lv_root
                      76631096   5080000  67658464   7% /
/dev/sda7               198333     29329    158765  16% /boot
tmpfs                   154104         0    154104   0% /dev/shm
If I had to guess, I just hooked the machine up to a wireless network in my house and that's not as reliable as the wire and some bits got garbled and the garbling wasn't detected until then.

Again, it isn't the error itself that I'm questioning. It's why the replace vs. update on the f-spot package and why yum didn't pick it up on the retry, forcing a reinstall.

Jim
Reply With Quote
  #4  
Old 11th October 2009, 04:19 AM
Hlingler's Avatar
Hlingler Offline
Administrator
 
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,289
linuxopera
Packages are sometimes "replaced" by equivalent packages with different names, for various reasons.

The install of "whatever replaced f-spot" failed, but f-spot was almost certainly "cleaned" during the transaction "cleaning" cycle, leaving you with: nothing. Curiously, it certainly appears to me that this was a simple, typical update from f-spot-0.6.0.0-1 to 0.6.1.2-2, not any kind of package-name-voodoo "replacement". <SHRUG>. Still: the transaction resulted (effectively) in a removal of f-spot. This kind of thing has happened to me before. YUM is not really all that smart.

Quite frankly: I'd be far more concerned about the multiple failures that occurred.

V

P.S. The above is my best assessment of what happened, based on the output you showed. I may be mistaken - the full output might shed more light on what really happened.

P.P.S. Here's where the "replace" comes from:
Quote:
* Sat Sep 19 2009 Christian Krause <chkr@fedoraproject.org> - 0.6.1.2-1
- Update to 0.6.1.2
- Move the screensaver plugin into a sub-package (BZ 519640)
- Let f-spot-screensaver obsolete older f-spot version so that it
is pulled in during update (fresh installations of f-spot will not
pull in gnome-screensaver)
Someone trying to be fancy... .
Messed you up good, didn't it ? But NOT the cause of the failed transactions. Probably not.

Last edited by Hlingler; 11th October 2009 at 04:38 AM.
Reply With Quote
Reply

Tags
errors, update, yum

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Update Errors liquidfunk Installation and Live Media 0 19th June 2009 03:18 PM
Update Errors metatron Alpha, Beta & Snapshots Discussions (Fedora 11 Only) 1 17th April 2009 04:53 AM
errors in yum update maalamaal Using Fedora 0 5th February 2009 02:02 AM
Update Errors and Errors When Installing New Software fluxxuate Using Fedora 9 25th January 2007 11:22 AM
su -c 'yum update' gives errors bjourn Installation and Live Media 4 29th May 2006 12:21 AM


Current GMT-time: 07:21 (Wednesday, 19-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat