[Bug 326325] New: After dist-upgrade, old repositories are re-enabled
https://bugzilla.novell.com/show_bug.cgi?id=326325 Summary: After dist-upgrade, old repositories are re-enabled Product: openSUSE 10.3 Version: RC 1 Platform: i686 OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: libzypp AssignedTo: dmacvicar@novell.com ReportedBy: kkaempf@novell.com QAContact: kkaempf@novell.com CC: msvec@novell.com, mvidner@novell.com, visnov@novell.com Found By: --- I updated my system from 10.3b3 to 10.3rc1 At 2nd stage update, just after the network test, yast initialized the package mgmt stack reading the rpm database and some cached repos. However, it also rebuilt the '10.3 factory' cache which was active in 10.3b3 but presented (and left) as 'disabled' when I started the upgrade. So either the 'disabled' state isn't properly saved or something re-enables old repos during upgrade. Critical at least, probably blocker for people with lots of old repos since it will make lots of solver problems afterwards. -- 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=326325#c1 Stephan Kulow <coolo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |coolo@novell.com --- Comment #1 from Stephan Kulow <coolo@novell.com> 2007-09-19 06:45:11 MST --- Interestingly enough, https://bugzilla.novell.com/show_bug.cgi?id=326342 claims the exact opposite -- 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=326325#c2 Stephan Kulow <coolo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flag| |SHIP_STOPPER- --- Comment #2 from Stephan Kulow <coolo@novell.com> 2007-09-19 13:10:31 MST --- I haven't seen this, so it can't be a generic 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=326325#c3 --- Comment #3 from Klaus Kämpf <kkaempf@novell.com> 2007-09-26 05:43:53 MST --- It still happens after upgrading RC1->RC2 -- 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=326325#c4 Stanislav Visnovsky <visnov@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |kkaempf@novell.com --- Comment #4 from Stanislav Visnovsky <visnov@novell.com> 2007-09-26 05:53:11 MST --- 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.
https://bugzilla.novell.com/show_bug.cgi?id=326325#c5 --- Comment #5 from Klaus Kämpf <kkaempf@novell.com> 2007-09-26 06:04:14 MST --- Created an attachment (id=174833) --> (https://bugzilla.novell.com/attachment.cgi?id=174833) /var/log/YaST2 Logs ? Sure ! Only the 'factory' repository got enabled (a 'rebuild cache' popup at beginning of 2nd stage update showed up) wrongly. All other repo states look fine. -- 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=326325#c6 --- Comment #6 from Klaus Kämpf <kkaempf@novell.com> 2007-09-26 06:05:46 MST --- Created an attachment (id=174834) --> (https://bugzilla.novell.com/attachment.cgi?id=174834) /etc/zypp/repos.d tar -- 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=326325#c8 --- Comment #8 from Stanislav Visnovsky <visnov@novell.com> 2007-09-26 06:18:25 MST --- Lukas, could you, please, check the 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.
https://bugzilla.novell.com/show_bug.cgi?id=326325#c9 Lukas Ocilka <locilka@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ke@novell.com --- Comment #9 from Lukas Ocilka <locilka@novell.com> 2007-09-26 07:00:59 MST --- This seems to be a problem of updating new libzypp to even newer libzypp. This feature was about "Enable sources during installation". How is it done? * At first, inst_upgrade_urls script reads the old format of repositories (as they were used in 10.1 and 10.2) * If they don't exist, it reads the new format (10.3) * Then, these repositories are offered to user to have them enabled or disabled during installation. * After that, these repositories are added. * At the end of the installation, all sources are stored to the target. 1.) Upgrade 10.2 -> 10.3 It is safe, because the old sources were in a different location. New libzypp then reads only the newly enabled/disabled sources 2.) Upgrade 10.3 -> 10.3 Libzypp already uses the new format of sources. After upgrade (second stage/reboot), the new sources are added as wanted by user (enabled/disabled) during the installation ... and they also stay there as they were enabled/disabled before the upgrade. Stano suggests adding a note into the release notes. 3.) 10.3 -> 11.0 Probably the same as 10.3 -> 10.3 but we have to solved it well. The second case cannot be fixed by other way than a hack, such as removing the sources from disk just after the upgrade starts. -- 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=326325#c10 Stanislav Visnovsky <visnov@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |coolo@novell.com --- Comment #10 from Stanislav Visnovsky <visnov@novell.com> 2007-09-26 07:13:03 MST --- Yes, this is basically a problem that we will face for 11.0. For 10.3, this is hitting beta-testers only (sorry guys). Release notes should be enough for 10.3 For 11.0, we need to discuss how to move forward. Coolo, any objections? -- 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=326325#c11 Stephan Kulow <coolo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|coolo@novell.com | --- Comment #11 from Stephan Kulow <coolo@novell.com> 2007-09-26 07:21:11 MST --- 10.3->10.3 is not supported and doesn't need to be documented in the release notes. -- 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=326325#c12 Stanislav Visnovsky <visnov@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|dmacvicar@novell.com |locilka@novell.com Component|libzypp |Installation Product|openSUSE 10.3 |openSUSE 11.0 Version|RC 1 |unspecified --- Comment #12 from Stanislav Visnovsky <visnov@novell.com> 2007-09-26 07:29:24 MST --- OK, moving to 11.0 -- 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=326325#c16 --- Comment #16 from Stephan Kulow <coolo@novell.com> 2007-09-26 08:55:52 MST --- the %post says on every update "no sources to be migrated", but it only looks at the old place -- 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=326325#c17 Lukas Ocilka <locilka@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #17 from Lukas Ocilka <locilka@novell.com> 2007-10-03 09:46:58 MST --- - During upgrade, old repositories are removed (they are already readded either enabled or disabled during the initial stage of the upgrade). - Before removing, repositories are backed up in /var/lib/YaST2/repos.d_backup directory. Fixed in yast2-packager-2.16.0 (for openSUSE 11.0) -- 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.
participants (1)
-
bugzilla_noreply@novell.com