WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [4.7] commands named exactly as their ondemand packages cannot be started  (Read 2136 times)

Offline yoshi314

  • Full Member
  • ***
  • Posts: 135
when using svn in ondemand, command 'svn' always invokes the ondemand svn command, even if svn package is already loaded.

Any attempt to run 'svn' results in 'Already loaded. Call from regular menu or terminal."

The only way to fix this is to invoke svn by full path.

The odd thing is, 'which svn' points to /usr/local/bin/svn, which appears correct.

Same thing happens with strace. If i would use mc in ondemand mode, i suppose it might happen as well.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: [4.7] commands named exactly as their ondemand packages cannot be started
« Reply #1 on: November 06, 2012, 05:57:15 AM »
hash -r

Offline yoshi314

  • Full Member
  • ***
  • Posts: 135
Re: [4.7] commands named exactly as their ondemand packages cannot be started
« Reply #2 on: November 08, 2012, 05:19:17 AM »
hash -r

i can't believe i forgot that. in single tty mode, it could be issued by default. or at least show a reminder to a user?