Bug 308832

Summary: installation without network connectivity leaves system without online update repository
Product: [openSUSE] openSUSE 10.3 Reporter: Fred van Zwieten <fvzwieten>
Component: Update ProblemsAssignee: J. Daniel Schmidt <jdsn>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P3 - Medium CC: hennie, info, jdsn, k.zarogoulidis, lslezak, nordhaus, tgoettlicher
Version: Final   
Target Milestone: ---   
Hardware: 32bit   
OS: Linux   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Yast2 logs showing the inability to setup the online repository
Screenshot of Yast not trusting the Suse package signing key
y2logs for the screenshot
/var/log/Yast2.gz
The screenshot where the http update site is in the software rep

Description Fred van Zwieten 2007-09-07 20:43:41 UTC
Well, summary says it at, I guess. I started a fresh install hoping to get wireless (3945) going during setup, but it didn't. I decided to configure network later. Because of this, no update repo was configured. A bit of searching on the opensuse site, in forums, and googling didn't give me any clue as to which repo to use. We can't expect a user to get this going. This install was pretty broken:: wireless worked a bit, resume from S2R nor S2D worked at all. I did a fresh reinstall with my notebook hard wired and everything went smooth and well. Online repo's were added early in the process and during install, lots of packages were pulled in from online repo's. After install, both wireless and resume worked. Not sure how to solve this. Best way seem to be to add a hardcoded update repo when no network is present during install.

Sorry for the long post
Comment 1 Konstantinos Zarogoulidis 2007-09-10 10:51:36 UTC
I can confirm this too. After doing an offine installation using the KDE cd. I installed the OSS and non-OSS repositories from the Community Repositories module in YaST but when I try to install the update repository, even though I get a success notification, the repository is never added.

If I install it manually, using as url

http://download.opensuse.org/update/10.3/

and alias

openSUSE-10.3-Updates

I can access the updates, but opensuseupdater cannot find/display them in normal operation.
Comment 2 Konstantinos Zarogoulidis 2007-09-10 10:53:16 UTC
Sorry, I just need to add that I'm using the 32bit edition.
Comment 3 Cyril Hrubis 2007-09-11 15:08:46 UTC
Please attach y2logs. If you are in doubt follow:

http://en.opensuse.org/Bugs/YaST

Thanks!
Comment 4 Konstantinos Zarogoulidis 2007-09-12 12:40:41 UTC
Created attachment 163537 [details]
Yast2 logs showing the inability to setup the online repository
Comment 5 Stefan Nordhausen 2007-09-19 23:46:38 UTC
Hi Konstantinos!

According to [1] you should have set this bug to assigned after you posted the attachment, I'm doing that now. Maybe this was the reason why there was no reaction.

Additionally, bug #310533 seems to be a duplicate of this bug. I too had the exact same problem: No update possible after offline install, works great after online install.

So lots of people seem to be hitting this bug, and I guess it would be a very severe bug if Suse left half of its users without online updates...



[1] http://en.opensuse.org/Bug_Reporting_FAQ#Bug_Status_NEEDINFO
Comment 6 Konstantinos Zarogoulidis 2007-09-20 12:58:46 UTC
Hi Stefan,

I'm sorry for the delay caused, this is actually my first bug report. I will look more carefully to the Bug Reporting FAQ. 

It is actually the same bug, you're right. How could we merge the two?

Thanks,
Kostas
Comment 7 Stefan Nordhausen 2007-09-20 13:57:25 UTC
*** Bug 310533 has been marked as a duplicate of this bug. ***
Comment 8 Konstantinos Zarogoulidis 2007-09-20 23:38:14 UTC
I have just installed RC1 and the problem seems to be solved, I was able to setup the update repository using the Community Repositories module through YaST and the updating process is working as it should.
Comment 9 Fred van Zwieten 2007-09-21 06:02:51 UTC
Well, i wasn't. I was pleasantly surprised by all the preconfigured repo's in the communitiy repo module. I enabled the main update repo and hit "Finish", onl to be welcomed by a backtrace in an xmessage. I tried to cut and paste info from this window to include here, but that doesnt work. How to get info out of an xmessage?
Comment 10 Fred van Zwieten 2007-09-21 06:04:22 UTC
Maybe bug 326956 is related to this problem
Comment 11 Fred van Zwieten 2007-09-21 06:05:35 UTC
O, I forgot. Adding other repo's using the community repo module works. Also adding the update repo by hand thru the software repo module works too.
Comment 12 Stefan Nordhausen 2007-09-21 11:17:04 UTC
Fred, to copy the contents of a window simply press ALT+PRINT (the key is labeled "Druck" on German keyboards, it's at the upper right). Now you can paste the window's contents into Gimp or OpenOffice. Works the same way in windows, btw.

I could also get the updates after manually configuring the update repo. But when I wanted to do it the official way, I got the message that my system does not trust the "SUSE Package Signing Key" (see attachment). Did this happen to anyone else?

Comment 13 Stefan Nordhausen 2007-09-21 11:20:07 UTC
Created attachment 173835 [details]
Screenshot of Yast not trusting the Suse package signing key
Comment 14 Stefan Nordhausen 2007-09-21 11:23:25 UTC
Created attachment 173836 [details]
y2logs for the screenshot
Comment 15 Fred van Zwieten 2007-09-21 16:14:44 UTC
Well, my problem is gone after I booted the afternoon. I am now able to enable the update repo succesfully. I do not have the problem about not trusting the key. So for me this bug can be closed, but maybe not for others.
Comment 16 Stanislav Visnovsky 2007-09-25 11:54:06 UTC
The way to add the update repository is to run the 'Online Update Configuration' on the running system.
Comment 17 J. Daniel Schmidt 2007-09-25 14:56:40 UTC
(In reply to comment #16 from Stanislav Visnovsky)
> The way to add the update repository is to run the 'Online Update
> Configuration' on the running system.

The opensuseupdater should link to that YaST module and not to "Installation repositories" or at least to both.
Or far more better the "Installation repositories" module should have a button (or something) that fetches a valid update source and adds it to the list.

As the main bug is closed now I will switch to "enhencement" now and leave it open.

stano: any preference?
Comment 20 Konstantinos Zarogoulidis 2007-10-04 16:19:53 UTC
Guys, this bug persists in the GM version. Setting up the online repository doesn't via the respective module doesn't make it visible to the Software Repositories module and opensuseupdater cannot find the repository either.
Comment 21 Hennie Harink 2007-10-11 16:26:26 UTC
I have installed suse 10.3  on laptop with wireless. (GNOME install)
I did have a connection but the update rep does not get added.

Tried adding it with Online Update Configuration wich gives a unrecognised key error wich i skip and then reports it added an update source 
( download.opensuse.org/update/10.3/ but if i look in the software repositories it does not show only the dvd i installed from.

added by hand (server download.opensuse.org and directory update/10.3  then add
then finish   this results in downloading and then hanging while busy with
patch-evince-4465.xml   


quiting gives no update source in the software repository. 

Comment 22 Hennie Harink 2007-10-11 16:41:10 UTC
Created attachment 177837 [details]
/var/log/Yast2.gz

the logfiles from Yast2
Comment 23 Hennie Harink 2007-10-11 18:04:05 UTC
(In reply to comment #21 from Hennie Harink)
> I have installed suse 10.3  on laptop with wireless. (GNOME install)
> I did have a connection but the update rep does not get added.
> 
> Tried adding it with Online Update Configuration wich gives a unrecognised key
> error wich i skip and then reports it added an update source 
> ( download.opensuse.org/update/10.3/ but if i look in the software repositories
> it does not show only the dvd i installed from.
> 
> added by hand (server download.opensuse.org and directory update/10.3  then add
> then finish   this results in downloading and then hanging while busy with
> patch-evince-4465.xml   
> 
> 
> quiting gives no update source in the software repository. 
> 

After rebooting retrying etc etc suddenly i could add the software rep 
ownload.opensuse.org/update/10.3/

while accepting the untrusted key.
now test with zypper list-updates
get segmentation fault

again haniging on the evince pacth xml file

see last part of zypper.log down here. 

2007-10-11 19:53:02 <0> WulftopSuse(8491) [zypp] MediaManager.cc(checkDesired):116 checkDesired(3): desired (cached)
2007-10-11 19:53:02 <0> WulftopSuse(8491) [zypp] MediaCurl.cc(doGetFileCopy):1040 ./repodata/patch-evince-4465.xml
2007-10-11 19:53:02 <0> WulftopSuse(8491) [zypp] MediaCurl.cc(doGetFileCopy):1074 URL: http://download.opensuse.org/update/10.3/repodata/patch-evince-4465.xml
2007-10-11 19:53:02 <0> WulftopSuse(8491) [zypp] MediaCurl.cc(doGetFileCopy):1131 dest: /var/adm/mount/AP_0x00000018/repodata/patch-evince-4465.xml
2007-10-11 19:53:02 <0> WulftopSuse(8491) [zypp] MediaCurl.cc(doGetFileCopy):1132 temp: /var/adm/mount/AP_0x00000018/repodata/patch-evince-4465.xml.new.zypp.rAaJsa
Comment 24 Hennie Harink 2007-10-11 21:44:14 UTC
Downloaded the updates from an ftp server 

ftp.mirrorservice.org directory sites/ftp.opensuse.org/pub/opensuse/update/10.3

to my desktop and put that in my software repository
this works!   could run all updates now and am now fully updated.
tried again to doe all the things here before but still not working.
get more descriptive errors now will upload screenshot-1.jpg wich shows the errors.

now tried to put the ftp address in the software repository.
this works! so if i put the mirror from mirrorservice in the repository i can update with online Update   
do i put the webiste from download.opensuse.org in ther then it does not work 

Comment 25 Hennie Harink 2007-10-11 21:49:11 UTC
oke zypper export see i disabled some of them the local desktop file and the opsensuse.org http site (the last one is the one where it goes wrong on)

WulftopSuse:~ # zypper repos --export -
[openSUSE-10.3-DVD 10.3]
name=openSUSE-10.3-DVD 10.3
baseurl=cd:///?devices=/dev/sr0
path=/
type=yast2
enabled=1
autorefresh=1
gpgcheck=1

[10.3_1]
name=10.3 updateSUSE10.3 from mirrorservice
baseurl=ftp://ftp.mirrorservice.org/sites/ftp.opensuse.org/pub/opensuse/update/10.3
path=/
type=rpm-md
enabled=1
autorefresh=1
gpgcheck=1

[updates_for_10.3]
name=updates for 10.3
baseurl=dir:///home/hennie/Desktop/10.3
path=/
type=rpm-md
enabled=0
autorefresh=0
gpgcheck=1

[10.3]
name=10.3 updatesSUSE10.3 from opensuse
baseurl=http://download.opensuse.org/update/10.3
path=/
type=rpm-md
enabled=0
autorefresh=0
gpgcheck=1
Comment 26 Hennie Harink 2007-10-11 21:50:55 UTC
Created attachment 177919 [details]
The screenshot where the http update site is in the software rep
Comment 28 J. Daniel Schmidt 2008-07-21 16:58:05 UTC
This is fixed - update repo is even added by default now.