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>

https://bugzilla.novell.com/show_bug.cgi?id=641328

https://bugzilla.novell.com/show_bug.cgi?id=641328#c4


--- 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:
1.4.5

And yes, bug exists there as well. (And there is no /etc/zypp/credentials.cat
too)


(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
/etc/zypp/credentials.cat

Yeah of course a saved encrypted password is much better, but there is no
credentials.cat 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 ftp.example.com
3. # zypper ref

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

electdev8:~ # zypper ref
Retrieving repository 'ftp.example.com' metadata [\]
Failed to download /repodata/repomd.xml from
ftp://USER@xxxxxxxxxxxxxxx/online-update
Abort, retry, ignore? [a/r/i/?] (a):
Retrieving repository 'ftp.example.com' metadata [error]
Repository 'ftp.example.com' 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
repository.
Skipping repository 'ftp.example.com' because of the above error.
Could not refresh the repositories because of errors.

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >
References