Bug 150843 - yum-2.2.0 accesses the web in >>clean<< mode even if >>-C<< is used
Summary: yum-2.2.0 accesses the web in >>clean<< mode even if >>-C<< is used
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 3
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact:
URL:
Whiteboard:
: 166367 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-03-11 09:19 UTC by Niki W. Waibel
Modified: 2014-01-21 22:51 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-09-21 19:25:19 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Niki W. Waibel 2005-03-11 09:19:51 UTC
From Bugzilla Helper:
User-Agent: Opera/7.54 (X11; SunOS sun4u; U)  [en]

Description of problem:
yum-2.2.0 accesses the web or proxy server in >>clean<< mode (also even if >>-
C<< is used) and reports:
        Cannot find a valid baseurl for repo: base
if
    a) you use --enable-repo=base
    b) there is no proxy / no web available

this did not happen in yum-2.1.12-0.fc3 (prev version).

Version-Release number of selected component (if applicable):
yum-2.2.0-0.fc3

How reproducible:
Always

Steps to Reproduce:
1. # ftp_proxy="http://nosuchserver:8080" \
http_proxy="http://nosuchserver:8080" \
https_proxy="http://nosuchserver:8080" \
yum -y -C clean packages
Cleaning up Packages
0 packages removed

2. # ftp_proxy="http://nosuchserver:8080" \
http_proxy="http://nosuchserver:8080" \
https_proxy="http://nosuchserver:8080" \
yum -y -C --enablerepo=base clean packages
Cannot find a valid baseurl for repo: base


Actual Results:  after 1: all ok -- no web access.
after 2: yum tries to access the web. in this demo-case via an invalid proxy. it 
reports that it cannot find the baseurl.

Expected Results:  it is correct that yum is not able to find the baseurl. but it should at least 
continue cleaning the packages and tread that as a warning instead an error. the 
packages should be cleaned.

Additional info:

yum did not report and error and cleaned the packages in yum-2.1.12-0.fc3 (prev 
version).

Comment 1 Seth Vidal 2005-07-29 18:51:00 UTC
this should be fixed in recent versions of yum - closing as errata

Comment 2 Niki W. Waibel 2005-08-01 12:27:58 UTC
sorry, but i've the same trouble with yum-2.2.1-0.fc3.

Comment 3 Niki W. Waibel 2005-08-05 10:36:33 UTC
same trouble using yum-2.2.2-0.fc3

Comment 4 Rahul Sundaram 2005-08-27 20:02:36 UTC
*** Bug 166367 has been marked as a duplicate of this bug. ***

Comment 5 Jeremy Katz 2005-09-21 19:25:19 UTC
I think by recent Seth actually meant the 2.4 series


Note You need to log in before you can comment on or make changes to this bug.