You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 -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
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:in
each'from /usr/lib/ruby/site_ruby/1.8/tpkg.rb:4201:in
remove' from /usr/lib/ruby/site_ruby/1.8/tpkg.rb:4198:in
each'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
Was: https://sourceforge.net/apps/trac/tpkg/ticket/49
The text was updated successfully, but these errors were encountered: