[Bug 802665] New: The install DVD is activated in the software sources. This causes an annoying error report when using online update.
https://bugzilla.novell.com/show_bug.cgi?id=802665 https://bugzilla.novell.com/show_bug.cgi?id=802665#c0 Summary: The install DVD is activated in the software sources. This causes an annoying error report when using online update. Classification: openSUSE Product: openSUSE 12.3 Version: RC 1 Platform: x86-64 OS/Version: All Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: pliniusminor@gmail.com QAContact: jsrain@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 The install DVD shouldn't be activated by default in the software sources. This generates a useless and annoying error report when using online update or software manager. Because of course you don't have the install DVD in the drive anymore, at that point... Other distro's usually solve this by *not* activating the install disc in the repo list, thus leaving it to the user to activate it if needed. This is a more user friendly approach, in my opinion... Now people, especially beginners, may have a bad first impression. So please deactivate the install DVD by default in the repo list. Reproducible: Always Steps to Reproduce: 1. Install openSUSE 12.3 by means of the install DVD; 2. Boot into your new OS without the DVD in the drive; 3. Run online update or software manager. Actual Results: - Error: put the install DVD in the drive - when clicking Skip, another warning. Expected Results: I would expect online update to only access online repo's, which of course are the only ones that contain the latest updated versions of software. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=802665
https://bugzilla.novell.com/show_bug.cgi?id=802665#c
Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=802665
https://bugzilla.novell.com/show_bug.cgi?id=802665#c1
Thomas Göttlicher
https://bugzilla.novell.com/show_bug.cgi?id=802665
https://bugzilla.novell.com/show_bug.cgi?id=802665#c2
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=802665
https://bugzilla.novell.com/show_bug.cgi?id=802665#c3
Lukas Ocilka
https://bugzilla.novell.com/show_bug.cgi?id=802665
https://bugzilla.novell.com/show_bug.cgi?id=802665#c4
--- Comment #4 from Lukas Ocilka
https://bugzilla.novell.com/show_bug.cgi?id=802665
https://bugzilla.novell.com/show_bug.cgi?id=802665#c5
Jiří Suchomel
I've never seen this before, we usually add the DVD repository (actually keep it) but add it with refresh=false so it's never refreshed and only requested if user selects to install from that media.
Hm, so the bug would be not in a way how the repository is added, but that it was requested during online update. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=802665
https://bugzilla.novell.com/show_bug.cgi?id=802665#c6
--- Comment #6 from Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=802665
https://bugzilla.novell.com/show_bug.cgi?id=802665#c7
--- Comment #7 from Lukas Ocilka
In the second case, that could be perfectly valid, as maybe some patch required to install package which was available on DVD
And that's exactly the reason why I'm asking for 1.) list of repositories (comment #3) 2.) YaST logs (comment #4) -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=802665
https://bugzilla.novell.com/show_bug.cgi?id=802665#c8
--- Comment #8 from Lukas Ocilka
Hm, so the bug would be not in a way how the repository is added, but that it was requested during online update.
Packages from DVD should be also in Pool (OSS/NON-OSS) repository. If these were added in a correct way, DVD should not be requested. Of course, if the repository is well generated. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=802665
https://bugzilla.novell.com/show_bug.cgi?id=802665#c9
Pjotr K
https://bugzilla.novell.com/show_bug.cgi?id=802665
https://bugzilla.novell.com/show_bug.cgi?id=802665#c10
--- Comment #10 from Pjotr K
https://bugzilla.novell.com/show_bug.cgi?id=802665
https://bugzilla.novell.com/show_bug.cgi?id=802665#c11
--- Comment #11 from Pjotr K
https://bugzilla.novell.com/show_bug.cgi?id=802665
https://bugzilla.novell.com/show_bug.cgi?id=802665#c12
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=802665
https://bugzilla.novell.com/show_bug.cgi?id=802665#c13
Michael Andres
https://bugzilla.novell.com/show_bug.cgi?id=802665
https://bugzilla.novell.com/show_bug.cgi?id=802665#c14
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=802665
https://bugzilla.novell.com/show_bug.cgi?id=802665#c15
Pjotr K
https://bugzilla.novell.com/show_bug.cgi?id=802665
https://bugzilla.novell.com/show_bug.cgi?id=802665#c16
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=802665
https://bugzilla.novell.com/show_bug.cgi?id=802665#c17
Pjotr K
https://bugzilla.novell.com/show_bug.cgi?id=802665
https://bugzilla.novell.com/show_bug.cgi?id=802665#c18
--- Comment #18 from Pjotr K
https://bugzilla.novell.com/show_bug.cgi?id=802665
https://bugzilla.novell.com/show_bug.cgi?id=802665#c
Pjotr K
https://bugzilla.novell.com/show_bug.cgi?id=802665
https://bugzilla.novell.com/show_bug.cgi?id=802665#c19
--- Comment #19 from Jiří Suchomel
Perhaps it's a safe approach to simply disable the DVD by default in the repo list, as many other distro's do?
Our approach works, it just didn't for you for some reason we don't know (yet). Disabling DVD may fail for the same reason. Sorry, I do not know any other (external) links than provided at http://software.opensuse.org -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=802665
https://bugzilla.novell.com/show_bug.cgi?id=802665#c20
--- Comment #20 from Ladislav Slezak
Perhaps it's a safe approach to simply disable the DVD by default in the repo list, as many other distro's do?
Um, that's an interesting idea. Actually libzypp (or the default value in /etc/zypp/zypp.conf) sets download.media_preference = download, which means if the same package is available on DVD medium and in a remote repository the remote repository (download) will be preferred. That means we could disable the DVD installation repository and the packages will be available from openSUSE-12.3-Oss/Non-Oss with the same effect. Unfortunately it's too late to change it, but seems to be a good idea for 13.1... -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=802665
https://bugzilla.novell.com/show_bug.cgi?id=802665#c21
--- Comment #21 from Pjotr K
https://bugzilla.novell.com/show_bug.cgi?id=802665
https://bugzilla.novell.com/show_bug.cgi?id=802665#c
Pjotr K
https://bugzilla.novell.com/show_bug.cgi?id=802665
https://bugzilla.novell.com/show_bug.cgi?id=802665#c22
Jiří Suchomel
Created an attachment (id=529594) --> (http://bugzilla.novell.com/attachment.cgi?id=529594) [details] y2log, screenshots and zypper error output
Sorry. but again you need to attach full logs (whole /var/log/YaST2) -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=802665
https://bugzilla.novell.com/show_bug.cgi?id=802665#c23
--- Comment #23 from Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=802665
https://bugzilla.novell.com/show_bug.cgi?id=802665#c
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=802665
https://bugzilla.novell.com/show_bug.cgi?id=802665#c24
--- Comment #24 from Pjotr K
https://bugzilla.novell.com/show_bug.cgi?id=802665
https://bugzilla.novell.com/show_bug.cgi?id=802665#c25
Ladislav Slezak
Hopefully this bug can be fixed by a patch for 12.3, or does a fix have to wait for the next release?
Well, it depends where exactly the problem is. Patching can be done only when the affected code is executed _after_ installing online updates (and even that not in all cases, the patched file might be already read by the installer so the change may not have any effect). The workaround in this case is pretty easy: don't remove the medium before rebooting. Anyway, I'll check the logs to find out where is the problem... -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=802665
https://bugzilla.novell.com/show_bug.cgi?id=802665#c26
--- Comment #26 from Pjotr K
The workaround in this case is pretty easy: don't remove the medium before rebooting.
If I do that, my computer wants to boot from the DVD again, instead of the hard drive with the fresh openSUSE install... -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=802665
https://bugzilla.novell.com/show_bug.cgi?id=802665#c27
--- Comment #27 from Michael Andres
Anyway, I'll check the logs to find out where is the problem...
Cache cleanup: == Yast is creating repos whose .repo files are not stored on disk: 2013-03-13 20:31:10 [Pkg] Source_Create.cc(createManagedSource):282 Adding source 'openSUSE-12.3-1.7' == Later on /var/cache/zypp/ is populated: 2013-03-13 20:31:20 [Pkg] Source_Create.cc(createManagedSource):294 Caching repository 'openSUSE-12.3-1.7'... This would basically be no problem, if yast would use a _single_ RepoManager instance (created _before_ the cache is populated) _or_ would pass the repo to the RepoManager (call RepoManager::addRepository) so the .repo file is written to disk (indicating the cache is in use) _or_ would use a private temp cachedir together with each RepoManager instance it uses But this way yast manages the RepoInfos on it's own without telling RepoManager, while it also uses the global cache and multiple RepoManager instances operating on the global cache. Repomanager upon construction cleans orphaned entries from the cache (those without corresponding .repo file): 2013-03-13 20:31:20 [zypp] RepoManager.cc(init_knownRepositories):636 start construct known repos ... readdir /var/cache/zypp/raw ... recursive_rmdir /var/cache/zypp/raw/openSUSE-12.3-1.7 ... end construct known repos This is where you lose the raw metadata. (Note that the log says '19:52:08 .. SourceCacheCopyTo' but system time was in between adjusted by -1h) -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=802665
https://bugzilla.novell.com/show_bug.cgi?id=802665#c28
Ladislav Slezak
https://bugzilla.novell.com/show_bug.cgi?id=802665
https://bugzilla.novell.com/show_bug.cgi?id=802665#c29
Ladislav Slezak
participants (1)
-
bugzilla_noreply@novell.com