[Yum] RE: problems using yum to upgrade from 8.0 to 9

Jeremy Portzer jeremyp at pobox.com
Tue Apr 22 20:48:31 UTC 2003


On Tue, 2003-04-22 at 16:23, Carroll, Jim P [Contractor] wrote:
> But I ran into a problem attempting 'yum upgrade' on the 2nd host:
> 
> $ yum
> -bash: /usr/sbin/yum: No such file or directory
> $ rpm -q yum
> yum-1.96-1
> 
> I then made a backup of /etc/yum.conf, uninstalled then reinstalled yum-1.96-1 on the second host.  Unfortunately the error persists.  Just for fun:
> 
> $ which yum
> /usr/bin/yum
> $ file /usr/bin/yum
> /usr/bin/yum: a /usr/bin/python script text executable
> 
> Thoughts?
> 

It looks like maybe the location of yum changed during the upgrade, and
your shell's hash table still has the old location.  Try running "hash
-r" and see if that fixes it (or logout and log back in).

--Jeremy

-- 
/=====================================================================\
| Jeremy Portzer       jeremyp at pobox.com       trilug.org/~jeremy     |
| GPG Fingerprint: 712D 77C7 AB2D 2130 989F  E135 6F9F F7BC CC1A 7B92 |
\=====================================================================/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.baseurl.org/pipermail/yum/attachments/20030422/faf4a8ed/attachment-0001.pgp 


More information about the Yum mailing list