-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Dependency calculation seems to be broken when deciding whether the user can remove a package when there are multiple versions of the same package installed. In this case I had two versions of ruby installed and attempted to remove one. There should not have been a dependency problem with removing the package.
jheiss@typhoon:~> tpkg -q ruby
ruby-1.9.3-p194-1-redhat6-x86_64.tpkg
ruby-1.8.7-p358-1-redhat6-x86_64.tpkg
jheiss@typhoon:~> tpkg -r ruby-1.9.3-p194-1-redhat6-x86_64.tpkg
Executing with sudo
[sudo] password for jheiss:
/usr/lib/ruby/site_ruby/1.8/tpkg.rb:4208:in remove': Package nventory-1.62.8.tpkg depends on gem-facter (RuntimeError) from /usr/lib/ruby/site_ruby/1.8/tpkg.rb:4201:ineach'
from /usr/lib/ruby/site_ruby/1.8/tpkg.rb:4201:in remove' from /usr/lib/ruby/site_ruby/1.8/tpkg.rb:4198:ineach'
from /usr/lib/ruby/site_ruby/1.8/tpkg.rb:4198:in `remove'
from /usr/bin/tpkg:611
jheiss@typhoon:~> tpkg --qd gem-facter
Package gem-facter-1.5.8-1.tpkg depends on:
name: rubygems
type: tpkg
jheiss@typhoon:~> tpkg --qd rubygems
Package 'rubygems' does not depend on other packages