Bug 385791
Summary: | Yum does not update if mirrorlist is selected instead of baseurl | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Luis A. Florit <cacho96> | ||||||
Component: | yum | Assignee: | Seth Vidal <skvidal> | ||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | low | ||||||||
Version: | 8 | CC: | ffesti, grfgguvf.73282182, james.antill, jhutar, katzj, pmatilai, tim.lauridsen | ||||||
Target Milestone: | --- | Keywords: | Reopened | ||||||
Target Release: | --- | ||||||||
Hardware: | i386 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | yum-3.2.19 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2008-09-03 14:00:24 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Luis A. Florit
2007-11-15 22:00:22 UTC
would you run this command: rpm -q fedora-release and send the output? thanks, $ rpm -q fedora-release fedora-release-8-3 Interesting. What does the "-3" means? and could you run this command: python -c 'import rpmUtils.arch; print rpmUtils.arch.getCanonArch()' and this command: python -c 'import rpmUtils.arch; print rpmUtils.arch.getBaseArch()' and report the output. thanks Closing due to inactivity. Please reopen or file a new bug if you have further information to add to this bug report (In reply to comment #3) > and could you run this command: > python -c 'import rpmUtils.arch; print rpmUtils.arch.getCanonArch()' i686 > and this command: > > python -c 'import rpmUtils.arch; print rpmUtils.arch.getBaseArch()' i386 Thanks, L. Could you post a couple of things: 1. your yum.conf file 2. the output of this command: urlgrabber 'http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-8&arch=i386' thanks Created attachment 291659 [details]
my yum.conf file
(In reply to comment #6) > Could you post a couple of things: > 1. your yum.conf file > 2. the output of this command: > urlgrabber 'http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-8&arch=i386' mirrorlist 6.8 kB 00:00 file written to mirrorlist The file mirrorlist has the following content: # repo = fedora-8 arch = i386 country = BR country = global http://fedora.c3sl.ufpr.br/linux/releases/8/Everything/i386/os http://mirror.3fl.net.au/pub/fedora/linux/releases/8/Everything/i386/os ftp://ftp.uninett.no/pub/linux/Fedora/releases/8/Everything/i386/os ftp://alviss.et.tudelft.nl/pub/fedora/linux/releases/8/Everything/i386/os http://ultra.linux.cz/MIRRORS/fedora.redhat.com/linux/releases/8/Everything/i386/os [...] L. YUMBUGDAY b/c I have no idea what's happening here Ping. Is this still happening? (In reply to comment #10) > Ping. Is this still happening? Yes, nothing have changed. Now using: yum-3.2.8-2.fc8 L. What might be happening is that the mirror that gets selected from the list is in an old state and so yum finds no updates. Can you test moving the data to it's own blah.repo file? I know I fixed the bug with the variable substitution, and I'm just wondering if something to do with that is affecting things ... as it's fair to say that quite a few people have used mirrorlist + updates-testing + 3.2.8 ... so something must be different for you. Yes, in the blah.repo it works. I never use those, but a single /etc/yum.conf file. Just to remember the bug: with the line mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-f8&arch=i386 yum does the update, but with the line mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-f$releasever&arch=$basearch it does not. Yum is not substituting the variable values in the /etc/yum.conf file. Could you provide your yum.conf? I can't make this happen here with this in my /etc/yum.conf file [repo-$releasever] name=repo-$releasever mirrorlist=file:///tmp/repo-$releasever-mirrors enabled=0 gpgcheck=0 Created attachment 308170 [details] yum.conf file Try this with the attached yum.comf file: $ sudo yum --enablerepo=updates-testing update You will get: Loading "downloadonly" plugin removing mirrorlist with no valid mirrors: //var/cache/yum/updates-testing/mirrorlist.txt Error: Cannot retrieve repository metadata (repomd.xml) for repository: updates-testing. Please verify its path and try again Now, comment line 101 uncomment line 102. You will get: Loading "downloadonly" plugin DVD 100% |=========================| 951 B 00:00 updates-testing 100% |=========================| 2.3 kB 00:00 primary.sqlite.bz2 100% |=========================| 397 kB 00:01 fedora 100% |=========================| 2.1 kB 00:00 flash 100% |=========================| 1.9 kB 00:00 hugin 100% |=========================| 951 B 00:00 updates 100% |=========================| 2.3 kB 00:00 Setting up Update Process Resolving Dependencies.............. and 62 packages for update. Thanks, L. Could this be related to bug 432889? If you would test yum 3.2.19 from updates-testing, I believe this issue is resolved there. Please reopen if it is not. (In reply to comment #18) > If you would test yum 3.2.19 from updates-testing, I believe this issue is > resolved there. Please reopen if it is not. The updates-testing shows yum-3.2.18-1.fc8, but it did solve the issue. Thanks!!! L. |