Bug 487092 - kde default installation: kupdateapplet -- repo-non-oss valid metadata not found at specified URL(s)
Summary: kde default installation: kupdateapplet -- repo-non-oss valid metadata not fo...
Status: RESOLVED WONTFIX
Alias: None
Product: openSUSE 11.1
Classification: openSUSE
Component: Installation (show other bugs)
Version: Final
Hardware: i586 openSUSE 11.1
: P3 - Medium : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: Jiri Srain
URL:
Whiteboard:
Keywords:
Depends on: 458359
Blocks:
  Show dependency treegraph
 
Reported: 2009-03-20 07:41 UTC by Hendrik Müller
Modified: 2012-07-09 11:33 UTC (History)
5 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Screenshot of the error (13.10 KB, image/png)
2009-03-20 07:48 UTC, Hendrik Müller
Details
YaST2 logs (1.73 MB, application/x-gzip)
2009-03-20 07:50 UTC, Hendrik Müller
Details
/var/log/zypper.log (78.46 KB, text/plain)
2009-04-06 08:57 UTC, Hendrik Müller
Details
/var/log/pk_backend_zypp (2.24 MB, text/plain)
2009-04-06 08:58 UTC, Hendrik Müller
Details
new log file: /var/log/pk_backend_zypp (282.69 KB, application/x-gzip)
2009-04-09 07:34 UTC, Hendrik Müller
Details
$HOME/.curlrc (125 bytes, text/plain)
2009-04-09 13:42 UTC, Hendrik Müller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hendrik Müller 2009-03-20 07:41:22 UTC
+++ This bug was initially created as a clone of Bug #458359 +++

kde default installation: kupdateapplet -- repo-non-oss valid metadata not found at specified URL(s)

Network CD RC1 installation -> KDE4.1 install -> default system, no changes -> after installation system started from HDD and just from the start I get this error.
Comment 1 Hendrik Müller 2009-03-20 07:47:51 UTC
First it looks to me that my issue is dublicate of 458359, but my system is up to date and I still see the error message after login (see also attachment for screenshot):
    kupdateapplet
    NVIDIA Repository: [|] Valid metadata not found at specified URL(s)
    repo-non-oss: [|] Valid metadata not found at specified URL(s)
    repo-oss: [|] Valid metadata not found at specified URL(s)
    repo-update: [|] Valid metadata not found at specified URL(s)

Could that be related due to our proxy that uses authentication? Proxy is configured via YaST2.
I have also added the yast2 logs. Do you need more logs? Does kupdate applet has it's own log not included in yast2 logs? Please let me know.
Comment 2 Hendrik Müller 2009-03-20 07:48:42 UTC
Created attachment 280835 [details]
Screenshot of the error
Comment 3 Hendrik Müller 2009-03-20 07:50:57 UTC
Created attachment 280836 [details]
YaST2 logs
Comment 4 Thomas Göttlicher 2009-04-02 14:13:18 UTC
"Valid metadata not found at specified URL(s)" is reported by libzypp. Therefore it isn't a bug in kupdateapplet.

Does libzypp support proxies with authentication?
Comment 5 Michael Andres 2009-04-02 14:40:47 UTC
It should support support proxies with authentication. 
I don't see an error in the yast logs, but updater AFAIK uses zypper. Maybe there...

Hendrik please attach /var/log/zypper.log.
Comment 6 Jan Kupec 2009-04-02 15:32:01 UTC
(In reply to comment #5)
> It should support support proxies with authentication. 
> I don't see an error in the yast logs, but updater AFAIK uses zypper. Maybe
> there...

PackageKit with zypp back-end is the default now, we will need your /var/log/pk_backend_zypp.
Comment 7 Hendrik Müller 2009-04-06 08:57:11 UTC
Created attachment 284197 [details]
/var/log/zypper.log
Comment 8 Hendrik Müller 2009-04-06 08:58:01 UTC
Created attachment 284198 [details]
/var/log/pk_backend_zypp
Comment 9 Hendrik Müller 2009-04-06 08:59:23 UTC
I just have reproduced the problem and added both log files.
Comment 10 Jan Kupec 2009-04-07 10:04:23 UTC
[zypp++] MediaCurl.cc(attachTo):625 Proxy: http://proxy.barco.com:80
[zypp++] MediaCurl.cc(attachTo):651 ~/.curlrc does not contain the proxy-user option

Did you configure the authentication for proxy (does your /root/.curlrc contain the credentials?). If yes, try to copy them over to $HOME/.curlrc and try again. I suspect this is bug 227511.
Comment 11 Hendrik Müller 2009-04-08 09:51:02 UTC
Yes, proxy is propperly initialized using YaSt2 proxy configuration tool. Also updates and downloading data is working propperly, only the update applet seems to have a problem.

The .curlrc file does exist for /root, but not for $HOME.
I have copied it. After that the initial error when starting KDE desktop seems to be gone, but when doing a right click on the update applet and choosing 'update now' error still occurs.
Comment 12 Jan Kupec 2009-04-08 11:13:16 UTC
(In reply to comment #11)
> I have copied it. After that the initial error when starting KDE desktop seems
> to be gone, but when doing a right click on the update applet and choosing
> 'update now' error still occurs.

Can you attach the pk_backend_zypp from doing the "update now" after copying the .curlrc to $HOME?
Comment 13 Hendrik Müller 2009-04-09 07:34:06 UTC
Created attachment 284952 [details]
new log file: /var/log/pk_backend_zypp
Comment 14 Hendrik Müller 2009-04-09 07:35:31 UTC
I have verified this morning:
When booting PC and starting KDE hte error popup didn't appear anymore (with that .curlrc in $HOME).
But when triggering 'check now' manualy, error still appears.
New bk_backend_zypp added (this time as gzip).
Comment 15 Jan Kupec 2009-04-09 08:04:07 UTC
Thanx. Hm, still the same error, indeed. Can you please attach the .curlrc file (replace the password with a few *** chars)?
Comment 16 Hendrik Müller 2009-04-09 13:42:37 UTC
Created attachment 285027 [details]
$HOME/.curlrc
Comment 17 Hendrik Müller 2009-04-09 13:42:52 UTC
added
Comment 18 Jan Kupec 2009-04-09 16:00:06 UTC
Seems alright... I can reproduce it on my machine, too. Seems like PackageKit resets the $HOME env. variable. Libzypp needs it to locate $HOME/.curlrc in which the username:password is stored. Thomas, can you please check this?
Comment 19 Jan Kupec 2009-04-09 16:03:25 UTC
It seems this happens with the zypp backend, too. So this bug will have to do something with the old bug 227511 at last.
Comment 20 Hendrik Müller 2009-04-14 05:24:49 UTC
This morning the problem accoured again directly after reboot. I don't know if that has to do with available updates. Anyhow, I have not changed by setup (i.e. $HOME/.curlrc is still there).
Comment 21 Hendrik Müller 2009-04-17 05:59:24 UTC
It could take up to 45 minutes after booting PC until the error message box appears.
Comment 22 Thomas Göttlicher 2009-04-17 08:51:17 UTC
(In reply to comment #18)
> Seems like PackageKit resets the $HOME env. variable. Libzypp needs it to
> locate $HOME/.curlrc in which the username:password is stored.
> Thomas, can you please check this?
The PackageKit deamon runs as root. I guess that's the reason why the user's environment isn't available.
Did you try to write the settings to /root/.curlrc ?
Comment 23 Jan Kupec 2009-04-17 08:54:49 UTC
That's not the point. The point is the $HOME variable is not defined. Whether root or non-root, that's less important. Can you check this?
Comment 24 Thomas Göttlicher 2009-04-17 09:08:24 UTC
(In reply to comment #23)
> That's not the point. The point is the $HOME variable is not defined. Whether
> root or non-root, that's less important. Can you check this?
That's very PackageKit specific. I guess packagekit maintainers know details about the PackgeKit's environment.
Comment 25 Jan Kupec 2009-04-28 11:58:44 UTC
Gnome maintainers, can you please tell me whether the PackageKit with ZYpp backend gets the user's $HOME env var? ZYpp needs it to get location of file with proxy credentials ($HOME/.curlrc).

@Thomas: can you check what is the situation with $HOME when zypper backend is used? (bug 227511 - please reply there).
Comment 26 Jan Kupec 2009-05-18 15:58:27 UTC
ping gnome.maintainers
Comment 28 Magnus Boman 2010-02-25 22:45:31 UTC
Scott, you'd be the best one to answer this...
Comment 29 Stefan Behlert 2010-07-21 13:20:03 UTC
See question in comment 5.
Comment 30 Stefan Behlert 2012-07-09 11:33:14 UTC
There's no intention to provide an update for that project any longer. Sorry.
We suggest to upgrade to a newer openSUSE version.