Bug 220195 - Install from Addon-CD -> Yast means please insert "<timestamp> CD1" instead of the product name
Summary: Install from Addon-CD -> Yast means please insert "<timestamp> CD1" instead o...
Status: RESOLVED FIXED
: 219923 223739 224486 225608 227169 227461 229284 237226 239631 245567 251352 (view as bug list)
Alias: None
Product: openSUSE 10.2
Classification: openSUSE
Component: YaST2 (show other bugs)
Version: Beta 2
Hardware: i686 Other
: P5 - None : Critical (vote)
Target Milestone: ---
Assignee: Ladislav Slezák
QA Contact: Jiri Srain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-11 10:55 UTC by Stephan -
Modified: 2007-08-13 06:22 UTC (History)
14 users (show)

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


Attachments
/var/log/YaST2 (939.57 KB, application/x-tbz)
2006-11-22 18:16 UTC, Stephan -
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan - 2006-11-11 10:55:48 UTC
OpenSUSE Beta2:

Start Yast2 -> select flash to install -> Yast means "Please insert ..CD1"
Thats confusing! :) Yast needs the Addon-CD,
Comment 2 Ladislav Slezák 2006-11-21 10:40:58 UTC
Please, attach yast logs (see http://en.opensuse.org/Bugs/YaST)
Comment 3 Stephan - 2006-11-22 18:16:36 UTC
Created attachment 106622 [details]
/var/log/YaST2
Comment 4 Ladislav Slezák 2006-11-24 10:44:19 UTC
It seems that zypp replaces the original alias (name of the product) with a timestamp:


2006-11-19 13:56:18 <1> linux(3296) [susetags] SuseTagsImpl.cc(factoryInit):510    alias    : openSUSE 10.2

2006-11-19 13:56:18 <0> linux(3296) [zypp::SourceManager] SourceManager.cc(sourceTableAdd):110     - Source[1|YaST|20061119-135618]{cd:///?devices=/dev/hdc(/); autorefresh: 0; enabled: 1}

The media change callback gets '20061119-135618' as a product name.
Comment 5 Ladislav Slezák 2006-11-28 10:21:20 UTC
*** Bug 156028 has been marked as a duplicate of this bug. ***
Comment 6 Ladislav Slezák 2006-11-28 10:26:19 UTC
*** Bug 223739 has been marked as a duplicate of this bug. ***
Comment 7 Ladislav Slezák 2006-11-30 06:52:37 UTC
*** Bug 224486 has been marked as a duplicate of this bug. ***
Comment 8 Lenz Grimmer 2006-12-01 14:23:31 UTC
The same happens during the initial installation. If you select packages from the addon CD, YaST2 shows the following Popup:

 Insert "20061201-054542 CD1" instead of "openSUSE non OSS Add on 10.2"

As the Addon CD is the last one in the set, one can probably guess what is meant. But using the appropriate name would still be better to avoid confusion.
Comment 9 Andreas Jaeger 2006-12-01 16:08:48 UTC
Can we fix this via online update?  This is really annoying.
Comment 10 Stanislav Visnovsky 2006-12-04 09:49:34 UTC
Only for add-ons during the runtime.
Comment 11 Ladislav Slezák 2006-12-04 13:24:23 UTC
*** Bug 225608 has been marked as a duplicate of this bug. ***
Comment 12 Ladislav Slezák 2006-12-11 07:27:08 UTC
*** Bug 227461 has been marked as a duplicate of this bug. ***
Comment 13 Ladislav Slezák 2006-12-11 09:57:30 UTC
*** Bug 227169 has been marked as a duplicate of this bug. ***
Comment 14 Andreas Hanke 2006-12-11 23:54:21 UTC
*** Bug 219923 has been marked as a duplicate of this bug. ***
Comment 15 Ladislav Slezák 2006-12-19 13:35:58 UTC
*** Bug 229284 has been marked as a duplicate of this bug. ***
Comment 16 Gerald Pfeifer 2006-12-28 11:36:35 UTC
Does this apply to SLE10 SP1 as well?  If so, I strongly recommend to
bump this to critical.  We absolutely should not ship any future release
(regardless of which product) with this bug.
Comment 17 Andreas Hanke 2007-01-21 22:14:02 UTC
*** Bug 237226 has been marked as a duplicate of this bug. ***
Comment 18 Ladislav Slezák 2007-01-29 14:25:33 UTC
*** Bug 239631 has been marked as a duplicate of this bug. ***
Comment 20 Duncan Mac-Vicar 2007-02-05 14:09:49 UTC
zypp when creating a source from scratch, if a name was not given,  uses the product summary.

if ( alias().empty() )
    setAlias(_product->summary());

The problem is it seems pkg-bindings adds the timestamp before that.

pkg-bindings, when adding a source for first time, call SourceManager::addSource already with a timestamp, so when SourceFactory creates the source, the alias is already non empty and zypp does not change it to the product summary.

So yast2 should not use any alias at all when creating the source. Still zypp needs an algorithm to name a yum source. We can use the url in that case as YUM does not supports CDs yet.
Comment 22 Ladislav Slezák 2007-02-07 12:07:46 UTC
Fixed in yast2-pkg-bindings-2.15.6 (STABLE), yast2-pkg-bindings-2.13.110 (SP1)
Comment 23 Martin Vidner 2007-02-21 13:20:52 UTC
I temporarily reverted the fix in SP1 (yast2-pkg-bindings-2.13.116) until the blocker bug 247249 is fixed properly.
Comment 24 Martin Vidner 2007-02-22 16:19:33 UTC
Fix enabled again in yast2-pkg-bindings-2.13.117 (bug 247249 comment 23).
Comment 25 Martin Vidner 2007-02-22 16:21:14 UTC
*** Bug 245567 has been marked as a duplicate of this bug. ***
Comment 26 Ladislav Slezák 2007-03-20 13:52:48 UTC
*** Bug 251352 has been marked as a duplicate of this bug. ***
Comment 27 Forgotten User --EoyBps8f 2007-08-11 20:59:14 UTC
When installing/updating opensuse 10.3 beta 1 I still see: Refreshing repository 20070811-17...

However, when opening the sources-module in YaST there is no source with that name which makes its lable even more confusing.
Comment 28 Ladislav Slezák 2007-08-13 06:22:39 UTC
To comment 27: The problem with name is fixed, see bug #298035