yum not available [Re:Fedora core 4 and MySQL problem]
Ugo Bellavance
ugob at camo-route.com
Tue Jun 28 19:51:40 UTC 2005
Leila Lappin wrote:
>
> --- Ugo Bellavance <ugob at camo-route.com> wrote:
>
>
>>Leila Lappin wrote:
>>
>>>
> http://download.fedora.redhat.com/pub/fedora/linux/core/4/i386/os/Fedora/RPMS/
>
>>>>>>mysql server 4.1.11 is available in the standard
>>>>>>repository.
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>>I did that but yum does not work on my setup, I
>>>>
>>>>get
>>>>
>>>>
>>>>>yum command not found
>>>>>
>>>>>[snip]
>>>>>
>>>>>[root at localhost ~]# yum -y install mysql-server
>>>>>bash: yum: command not found
>>>>>
>>>>>[/snip]
>>>>>
>>>>>
>>>>
>>>>Do
>>>>
>>>>rpm -q yum
>>>>
>>>>If you get a 'not installed' message, type, as
>>
>>root
>>
>>>>rpm -i
>>>>
>>>
>>>
> http://download.fedora.redhat.com/pub/fedora/linux/core/4/i386/os/Fedora/RPMS/yum-2.3.2-7.noarch.rpm
>
>>>>or download it (wget
>>>>
>>>
>>>
> http://download.fedora.redhat.com/pub/fedora/linux/core/4/i386/os/Fedora/RPMS/yum-2.3.2-7.noarch.rpm)
>
>>>>and then install with rpm -i
>>
>>yum-2.3.2-7.noarch.rpm
>>
>>>>Let me know how it goes.
>>>>
>>>
>>>
>>>Ugo thank you for all your help. Unfortunately I
>>
>>was
>>
>>>not able to either download or the rpm or install
>>
>>it.
>>
>>>I tried to use wget and download the rpm package
>>
>>first
>>
>>>and then install. I got the following error:
>>>
>>>[snip]
>>>[root at localhost myDownloads]# wget
>>>
>>
> http://download.fedora.redhat.com/pub/fedora/linux/core/4/i386/os/Fedora/RPMS/yum-2.3.2-7.noarch
>
>>the URL is not complete. You're missing .rpm at the
>>end.
>>
>>
>>>--14:48:24--
>>>
>>
> http://download.fedora.redhat.com/pub/fedora/linux/core/4/i386/os/Fedora/RPMS/yum-2.3.2-7.noarch
>
>>> => `yum-2.3.2-7.noarch'
>>>Resolving download.fedora.redhat.com...
>>>209.132.176.20, 209.132.176.220, 209.132.176.221,
>>
>>...
>>
>>>Connecting to
>>>download.fedora.redhat.com[209.132.176.20]:80...
>>>connected.
>>>HTTP request sent, awaiting response... 404 Not
>>
>>Found
>>
>>>14:48:25 ERROR 404: Not Found.
>>>[/snip]
>>>
>>>
>>>When I tried to install directly from the url then
>>
>>I
>>
>>>got some error messages and it hung
>>>
>>>[snip]
>>>[root at localhost myDownloads]# rpm -i
>>>
>>
> http://download.fedora.redhat.com/pub/fedora/linux/core/4/i386/os/Fedora/RPMS/yum-2.3.2-7.noarch
>
>>>error: open of <!DOCTYPE failed: No such file or
>>>directory
>>>error: open of HTML failed: No such file or
>>
>>directory
>>
>>>error: open of PUBLIC failed: No such file or
>>>directory
>>>[/snip]
>>
>>--
>>redhat-list mailing list
>>unsubscribe
>>
>
> mailto:redhat-list-request at redhat.com?subject=unsubscribe
>
>>https://www.redhat.com/mailman/listinfo/redhat-list
>>
>
>
> Duh, that was quite stupid of me not to notice such a
> glaring mistake! Sorry. But now the problem is
> dependency failure. It probably mean I need to
> install something before installing yum. Here's the
> error:
>
> [snip]
> [root at localhost myDownloads]# rpm -i
> http://download.fedora.redhat.com/pub/fedora/linux/core/4/i386/os/Fedora/RPMS/yum-2.3.2-7.noarch.rpm
> warning: /var/tmp/rpm-xfer.F2TQer: Header V3 DSA
> signature: NOKEY, key ID 4f2a6fd2
> error: Failed dependencies:
> python-elementtree is needed by
> yum-2.3.2-7.noarch
> python-sqlite is needed by yum-2.3.2-7.noarch
> [/snip]
Yes, just get the packages and install them. Install all dependencies,
then install yum.
More information about the redhat-list
mailing list