Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 17
Hello, after installing Fedora7 on a laptop I was able to run a Software Update with the default configuration, just as it was installed from the DVD. However ( after ...
  1. #1
    Just Joined!
    Join Date
    Jun 2007
    Posts
    2

    'yum update' fails to connect to update-site

    Hello, after installing Fedora7 on a laptop I was able to run a Software Update with the default configuration, just as it was installed from the DVD.

    However ( after some days) , when browsing the internet I now and then get a pop-up message reading approx.: "Missing valid proxy configuration file", and Software Update fails. I have also run "yum update" without any luck.

    How can I check that the YUM configuration is correct or reinitialize it ?

  2. #2
    Just Joined!
    Join Date
    Jun 2007
    Location
    Middlesbrough, Yorkshire
    Posts
    5

    Question

    I am afraid I am having similar problems. I looked at a thread where Glennzo kindly helped out Jack059, which you will find here: http://www.linuxforums.org/forum/red...m-updates.html
    Try that and see whether it helps you.
    I went through that post, and got as far as where Glennzo told Jack059 to inactivate the Java update. I tried the same, but cannot find a Java update: when I look for /etc/yum.repo.d, this is what I get:-
    Code:
    [root@dhcppc0 Campbell]# yum --disablerepo=jpackage update
    Loading "installonlyn" plugin
    
    
    Error getting repository data for jpackage, repository not found
    [root@dhcppc0 Campbell]# ls /etc/yum/repos.d
    ls: cannot access /etc/yum/repos.d: No such file or directory
    [root@dhcppc0 Campbell]# ls /etc/yum.repos.d
    atrpms.repo                  freshrpms.repo      vlc-contrib.repo~
    dries.repo                   livna-devel.repo    vlc-devel.repo~
    fedora-development.repo      livna.repo          vlc.repo~
    fedora.repo                  livna-testing.repo  vlc-source.repo~
    fedora-updates.repo          macromedia.repo
    fedora-updates-testing.repo  newrpms.repo
    [root@dhcppc0 Campbell]#
    I presume the repo~ files are backups which I could safely lose, so I tried, but no luck
    Code:
    [root@dhcppc0 Campbell]# cd /etc/yum.repos.d
    [root@dhcppc0 yum.repos.d]# rm *~
    rm: remove regular empty file `vlc-contrib.repo~'? y
    rm: remove regular file `vlc-devel.repo~'? y
    rm: remove regular empty file `vlc.repo~'? y
    rm: remove regular empty file `vlc-source.repo~'? y
    [root@dhcppc0 yum.repos.d]# yum update
    Loading "installonlyn" plugin
    Setting up Update Process
    http://ftp.belnet.be/packages/dries....ta/repomd.xml: [Errno 14] HTTP Error 404: Date: Thu, 21 Jun 2007 10:06:01 GMT
    Server: Apache
    Content-Length: 373
    Content-Type: text/html; charset=iso-8859-1
    
    Trying other mirror.
    Error: Cannot open/read repomd.xml file for repository: dries
    [root@dhcppc0 yum.repos.d]#
    Has anybody got any ideas what I ought to do? I don't particularly wish to try a clean installation .

    CR
    Last edited by devils casper; 06-21-2007 at 10:17 AM. Reason: added code tags

  3. #3
    Linux User glennzo's Avatar
    Join Date
    Sep 2004
    Location
    Salem, Mass
    Posts
    434
    Here's my /etc/yum/repos.d:

    [root@toshiba ~]# ls /etc/yum.repos.d/
    fedora-development.repo
    fedora-updates.repo
    livna-devel.repo
    livna-testing.repo
    fedora.repo
    fedora-updates-testing.repo
    livna.repo


    I suggest you guys get rid of the other repos like jpackage, atrpms, vlc, newrpms, and start over. As root user, you should be able to rename the offending repos and move them to a temp folder somewhere or delete them all together. Then try yum clean all and yum update with only the basic repos that are installed by default. I've added Livna as I always do and have had no problems at all with yum. Also, man yum will give you some insight on yum usage.
    Glenn
    Powered by Fedora 16 and Arch Linux

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    i agree with glenzzo. remove all other useless repos. conflicting packages in those repos cause a lot of problems. Livna and Fedora repos has almost every package.
    Last edited by devils casper; 06-21-2007 at 10:42 AM. Reason: typo
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #5
    Just Joined!
    Join Date
    Jun 2007
    Location
    Middlesbrough, Yorkshire
    Posts
    5

    Wink Thank you very much

    I moved out all the repos except those starting fresh, fedora and livna, and put them in a temp folder in /etc/ I have tried yum update, and so far I have got this.

    Code:
    [root@dhcppc0 ~]# yum update
    Loading "installonlyn" plugin
    Setting up Update Process
    livna                     100% |=========================| 2.1 kB    00:00     
    primary.sqlite.bz2        100% |=========================| 126 kB    00:05     
    fedora                    100% |=========================| 2.1 kB    00:00     
    primary.sqlite.bz2        100% |=========================| 3.8 MB    01:43     
    updates                   100% |=========================| 1.9 kB    00:00     
    primary.sqlite.bz2        100% |=========================| 503 kB    00:16     
    http://ayo.us5.freshrpms.net/fedora/linux/7/i386/freshrpms/repodata/repomd.xml: [Errno 12] Timeout: <urlopen error timed out>
    Trying other mirror.
    freshrpms                 100% |=========================| 2.1 kB    00:01     
    primary.sqlite.bz2        100% |=========================|  90 kB    00:07     
    Resolving Dependencies
    --> Running transaction check
    filelists.sqlite.bz2      100% |=========================| 1.3 MB    00:25
    I think that means I am working again; shall tell you if I have any more problems.

    Thank you again.

    CR

  6. #6
    Banned
    Join Date
    Jun 2007
    Posts
    3
    Thank you alot

  7. #7
    Just Joined!
    Join Date
    Jun 2007
    Location
    Middlesbrough, Yorkshire
    Posts
    5

    Thumbs up Thank you again . . . good news and bad news

    Thank you again.
    The good news is, I have downloaded 14 packages to be updated . . .
    The bad news is, I still have 309 packages to download and they total 683 MB.

    CR

  8. #8
    Just Joined!
    Join Date
    Jun 2007
    Location
    Middlesbrough, Yorkshire
    Posts
    5

    Thumbs up Thank you again

    It has worked.

    Thank you

  9. #9
    Just Joined!
    Join Date
    Jun 2007
    Posts
    2

    Now it works !

    Hello - after removing the extra atrpm repo in /etc/yum.repos.d , "yum update" is up an running! Thanks !

  10. #10
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    glad to help you all !!
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...