Re: Strange things in Yum

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dan ha scritto / said the following    il giorno/on 13/02/2006 21:55:
I had a similar problem before when after many frustrating hours, was the cause of a proxy setting in the env.

try env command and look for HTTP_PROXY environment variable.

If there is something there, then that maybe your problem.

try unset that and rerun yum and see what happens.

another test is to try connect to an ftp server using terminal ftp client. That also throws error as it seems to read the same env varibles used to defin a proxy as yum does. The different is it provides better error message which helped me in the original situation.

If it is the case, the next daunting task is to figure out what script is setting the env variable :D

also i think there are two env varibles one uppercase and one lowercase.

Hope that helps

On 2/14/06, *Antonio Montagnani* <anto.montagnani@xxxxxxxxxxx <mailto:anto.montagnani@xxxxxxxxxxx>> wrote:

    Paul Howarth ha scritto / said the following    il giorno/on
    13/02/2006
    17:10:
    > Antonio Montagnani wrote:
    >> Antonio Montagnani wrote / ha scritto on /il 13/02/2006 09:49:
    >>
    >>> Thomas Springer ha scritto / wrote  il / on 12/02/2006 22:11:
    >>>
    >>>> Am Sonntag, den 12.02.2006, 20:22 +0100 schrieb Antonio
    Montagnani:
    >>>>
    >>>>> Tomorrow morning I will check the contents of /etc/yum.repo.d
    >>>>> files and if corrupted I will copy from the working machine
    to the
    >>>>> router (it should be no problem): any other configuration
    file to
    >>>>> check?
    >>>>>
    >>>>
    >>>>
    >>>> Maybe an increased errlevel will reveal sth of interest:
    >>>> $ yum -d 9 -e 9 update
    >>>> See yum manpage.
    >>>>
    >>>>
    >>>> Thomas
    >>>>
    >>>
    >>> yum -d 10 -e 10 update
    >>> Yum Version: 2.4.1
    >>> COMMAND: yum -d 10 -e 10
    >>> Installroot: /
    >>> Setting up Update Process
    >>> Setting up repositories
    >>> Cannot find a valid baseurl for repo: updates-released
    >>> Error: Cannot find a valid baseurl for repo: updates-released
    >>>
    >>> I checked also yum configuration files and they seem o.k.
    >>> What about $basearch or $releasever broken?? how do I see
    their value??
    >>>
    >> I moved all *.repo files from working machine to my broken machine
    >> and also yum.conf .
    >> Results didn't change.
    >>
    >> I made another test using only this base repo file :
    >>
    >> [base]
    >> name=Fedora Core $releasever - $basearch - Base
    >>
    baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
    <http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/>
    >>
    >>
    #mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-$releasever
    >>
    >> enabled=1
    >> gpgcheck=1
    >> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
    >>
    >> and I got this result:
    >>
    >> yum -d 9 -e 9 update
    >> Yum Version: 2.4.1
    >> COMMAND: yum -d 9 -e 9
    >> Installroot: /
    >> Setting up Update Process
    >> Setting up repositories
    >> Baseurl(s) for repo:
    >> [' http://download.fedora.redhat.com/pub/fedora/linux/core/4
    /i386/os/']
    >>
    http://download.fedora.redhat.com/pub/fedora/linux/core/4/i386/os/repodata/repom
    <http://download.fedora.redhat.com/pub/fedora/linux/core/4/i386/os/repodata/repom>
    >> d.xml: [Errno 4] IOError: <urlopen error (2, 'No such file or
    >> directory')>
    >> Trying other mirror.
    >> Cannot open/read repomd.xml file for repository: base
    >> failure: repodata/repomd.xml from base: [Errno 256] No more
    mirrors
    >> to try.
    >> Error: failure: repodata/repomd.xml from base: [Errno 256] No more
    >> mirrors to try.
    >>
    >>
    >> Any hint?
    >
    > Perhaps the broken machine has a proxy configured in the
    environment
    > or in /etc/yum.conf, and that proxy is broken?
    >
    > Paul.
    >
    This is my yum.conf file.I am surprised because the machine was
    running
    fine until thursday night.How can I check if a proxy has been
    configured
    in the enviroment?
    Please note that I am writing from my Home router that is a sister
    machine of office's network...Yum and Yumex are running o.k.

    [main]
    cachedir=/var/cache/yum
    debuglevel=2
    logfile=/var/log/yum.log
    pkgpolicy=newest
    distroverpkg=redhat-release
    tolerant=1
    exactarch=1
    retries=20
    obsoletes=1
    gpgcheck=1
    metadata_expire=1800

    # PUT YOUR REPOS HERE OR IN separate files named file.repo
    # in /etc/yum.repos.d

    --
    Antonio

    Skype: antoniomontag
    =============================================================
    Mail by Thunderbird 1.5 - Websurfing by Firefox 1.5
    =============================================================
    Linux Fedora Core 4 on Home
    Linux user number 362582
    http://www.linuxsaronno.net
    http://www.montagnani.org
    http://www.campingmonterosa.com
    =============================================================

    --
    fedora-list mailing list
    fedora-list@xxxxxxxxxx <mailto:fedora-list@xxxxxxxxxx>
    To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Dan

please note that Synaptic is working fine.
Has Yum a different way to manage HTTP_PROXY??

--
Antonio

Skype: antoniomontag
=============================================================
Mail by Thunderbird 1.5 - Websurfing by Firefox 1.5
=============================================================
Linux Fedora Core 4 on Home
Linux user number 362582
http://www.linuxsaronno.net
http://www.montagnani.org
http://www.campingmonterosa.com
=============================================================


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux