Yum Erasure Behavoir With Pending Update

Charles Curley charlescurley at charlescurley.com
Fri Jan 21 21:55:14 UTC 2005


On Fri, Jan 21, 2005 at 02:33:21PM -0700, Charles Curley wrote:
> I just erased a package while there was an update awaiting that
> package. yum downloaded the update, installed it, and only then did it
> remove the (updated) package and dependencies. Is that a bit of
> unnecessary overhead?
> 
> It's no big deal for me; I did the update across my local network. But
> for someone on a slow connection, it could be irritating.

To further add to the problem: yum did not remove the updated code. I
found this out by checking for more gimp packages:

--------------------------------------------------
[root at taltos ~]# pre gimp
gimp-2.2.2-0.fc3.3
gimp-print-4.2.7-2
gimp-print-utils-4.2.7-2
[root at taltos ~]# yum erase $(pre gimp)
Repository updates-released already added, not adding again
Repository base already added, not adding again
Setting up Remove Process
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package gimp-print-utils.i386 0:4.2.7-2 set to be erased
---> Package gimp-print.i386 0:4.2.7-2 set to be erased
---> Package gimp.i386 2:2.2.2-0.fc3.3 set to be erased
--> Running transaction check

Dependencies Resolved
Transaction Listing:
  Remove: gimp.i386 2:2.2.2-0.fc3.3
  Remove: gimp-print.i386 0:4.2.7-2
  Remove: gimp-print-utils.i386 0:4.2.7-2
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Erasing: gimp-print 1/3
Erasing: gimp-print-utils 2/3
Erasing: gimp 3/3

Removed: gimp.i386 2:2.2.2-0.fc3.3 gimp-print.i386 0:4.2.7-2 gimp-print-utils.i386 0:4.2.7-2
Complete!
[root at taltos ~]#
[root at taltos ~]# pre gimp
gimp-2.2.2-0.fc3.3
gimp-print-4.2.7-2
gimp-print-utils-4.2.7-2
[root at taltos ~]# yum erase $(pre gimp)
Repository updates-released already added, not adding again
Repository base already added, not adding again
Setting up Remove Process
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package gimp-print-utils.i386 0:4.2.7-2 set to be erased
---> Package gimp-print.i386 0:4.2.7-2 set to be erased
---> Package gimp.i386 2:2.2.2-0.fc3.3 set to be erased
--> Running transaction check

Dependencies Resolved
Transaction Listing:
  Remove: gimp.i386 2:2.2.2-0.fc3.3
  Remove: gimp-print.i386 0:4.2.7-2
  Remove: gimp-print-utils.i386 0:4.2.7-2
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Erasing: gimp-print 1/3
Erasing: gimp-print-utils 2/3
Erasing: gimp 3/3

Removed: gimp.i386 2:2.2.2-0.fc3.3 gimp-print.i386 0:4.2.7-2 gimp-print-utils.i386 0:4.2.7-2
Complete!
[root at taltos ~]# pre gimp
[root at taltos ~]#
--------------------------------------------------

I should add that this is on FC3, as updated. Yum is version 2.1.12.

Thank you

-- 

Charles Curley                  /"\    ASCII Ribbon Campaign
Looking for fine software       \ /    Respect for open standards
and/or writing?                  X     No HTML/RTF in email
http://www.charlescurley.com    / \    No M$ Word docs in email

Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20050121/da6a24cc/attachment-0002.bin 


More information about the users mailing list