Yum question

seth vidal skvidal at phy.duke.edu
Sat Oct 8 00:09:29 UTC 2005


On Fri, 2005-10-07 at 17:17 -0400, Paul W. Frields wrote:
> While working on a new package for FE:
> 
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=170165
> 
> I've run into a goofiness that I can't figure out how to resolve
> properly.  When I build this package, the "main" package includes a
> specific %dir:
> 
> %dir %{_libdir}/nautilus-sendto/plugins/
> 
> The subpackages with the plugins write files into that directory.  When
> I do "yum remove nautilus-sendto\*" to remove the packages after testing
> functionality, I get these messages:
> 
> = = = = = = = = = = = = = = = = = = = = =
> Setting up Remove Process
> Resolving Dependencies
> --> Populating transaction set with selected packages. Please wait.
> ---> Package nautilus-sendto-evolution.i386 0:0.4-1 set to be erased
> ---> Package nautilus-sendto.i386 0:0.4-1 set to be erased
> ---> Package nautilus-sendto-gaim.i386 0:0.4-1 set to be erased
> --> Running transaction check
> 
> Dependencies Resolved
> 
> =============================================================================
>  Package                 Arch       Version          Repository
> Size
> =============================================================================
> Removing:
>  nautilus-sendto         i386       0.4-1            installed
> 135 k
>  nautilus-sendto-evolution  i386       0.4-1            installed
> 9.8 k
>  nautilus-sendto-gaim    i386       0.4-1            installed
> 17 k
> 
> Transaction Summary
> =============================================================================
> Install      0 Package(s)
> Update       0 Package(s)
> Remove       3 Package(s)
> Total download size: 0
> Is this ok [y/N]: y
> Downloading Packages:
> Running Transaction Test
> Finished Transaction Test
> Transaction Test Succeeded
> Running Transaction
>   Removing  : nautilus-sendto              #########################
> [1/3]
>   Removing  : nautilus-sendto-evolution    #########################
> [2/3]
>   Removing  : nautilus-sendto-gaim         #########################
> [3/3]
> 
> Removed: nautilus-sendto.i386 0:0.4-1 nautilus-sendto-evolution.i386
> 0:0.4-1 nautilus-sendto-gaim.i386 0:0.4-1
> Complete!
> = = = = = = = = = = = = = = = = = = =
> 
> But:
> 
> = = = = = = = = = = = = = = = = = = =
> [pfrields at localhost ~]$ ls /usr/lib/nautilus
> nautilus/        nautilus-sendto/
> [pfrields at localhost ~]$ ls /usr/lib/nautilus-sendto/
> plugins
> [pfrields at localhost ~]$ ls /usr/lib/nautilus-sendto/plugins/
> [pfrields at localhost ~]$ rpm -qf /usr/lib/nautilus-sendto/plugins/
> file /usr/lib/nautilus-sendto/plugins is not owned by any package
> = = = = = = = = = = = = = = = = = = =
> 
> Have I made a spec boo-boo, or is this a yum bug?  Apologies if this is
> too rudimentary a problem, it's only my third package.


it's definitely not a yum bug. I guess it might be some sort of odd bug
in rpm - but I bet it's just a packaging bug. 

-sv





More information about the fedora-extras-list mailing list