https://bugzilla.novell.com/show_bug.cgi?id=441395
User dave.plater@yahoo.co.uk added comment
https://bugzilla.novell.com/show_bug.cgi?id=441395#c3
--- Comment #3 from Dave Plater 2008-11-13 01:52:40 MST ---
This works :-
# export $SUSEVERSION=11.1
# zypper ar http://ftp.skynet.be/pub/packman/suse/$SUSEVERSION packtest
Adding repository 'packtest' [done]
Repository 'packtest' successfully added
Enabled: Yes
Autorefresh: No
URI: http://ftp.skynet.be/pub/packman/suse/11.1
But in order for the feature to work properly $SUSEVERSION needs to be
recognized by libzypp.
I will now edit packtest.repo to actually add the $SUSEVERSION to the URI in
place of /11.1
zypper ref -r packtest
File '/repodata/repomd.xml' not found on medium
'http://ftp.skynet.be/pub/packman/suse/$SUSEVERSION'
Abort, retry, ignore? [A/r/i]: a
Problem retrieving files from 'packtest'.
File '/repodata/repomd.xml' not found on medium
'http://ftp.skynet.be/pub/packman/suse/$SUSEVERSION'
Please see the above error message for a hint.
Skipping repository 'packtest' because of the above error.
Could not refresh the repositories because of errors.
libzypp obviously doesn't recognize variable $SUSEVERSION
will upload logs
--
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.