Mailinglist Archive: opensuse-bugs (4675 mails)

< Previous Next >
[Bug 641328] zypper can't add ftp repositories with a user and password
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Tue, 28 Sep 2010 11:59:00 +0000
  • Message-id: <20100928115900.4366CCC7CE@xxxxxxxxxxxxxxxxxxxxxx>

--- Comment #4 from Christopher Loessl <cloessl@xxxxxxxxx> 2010-09-28 11:58:59
UTC ---
(In reply to comment #1)
Is this reproducible in openSUSE 11.3?

openSuse 11.3 zypper version:

And yes, bug exists there as well. (And there is no /etc/zypp/

(In reply to comment #2)
Please attach the zypper logfile /var/log/zypper.log

see attachment

The workaround works, but it's intended that just the user name stays in the
baseurl. The corresponding password should be stored in

Yeah of course a saved encrypted password is much better, but there is no file at all. Whether in /etc/zypp nor in ~/.zypp

$ ls /etc/zypp/
repos.d services.d systemCheck vendors.d zypp.conf zypper.conf

The vendors.d was created by me the other day.

2. # zypper ar -C ftp://USER:PASSWORD@SERVER/extra-update
3. # zypper ref

electdev8:~ # zypper ar -C ftp://USER:PASSWORD@xxxxxxxxxxxxxxx/online-update
Adding repository '' [done]
Repository '' successfully added
Enabled: Yes
Autorefresh: No
URI: ftp://USER@xxxxxxxxxxxxxxx/online-update < Already here without password

electdev8:~ # zypper ref
Retrieving repository '' metadata [\]
Failed to download /repodata/repomd.xml from
Abort, retry, ignore? [a/r/i/?] (a):
Retrieving repository '' metadata [error]
Repository '' is invalid.
Can't provide /repodata/repomd.xml : Failed to download /repodata/repomd.xml
from ftp://USER@xxxxxxxxxxxxxxx/online-update
Please check if the URIs defined for this repository are pointing to a valid
Skipping repository '' because of the above error.
Could not refresh the repositories because of errors.

Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >