Bug 166287 - adding installation sources - rug sync fails because dvd requires network
Summary: adding installation sources - rug sync fails because dvd requires network
Status: RESOLVED FIXED
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: YaST2 (show other bugs)
Version: RC 2
Hardware: 64bit Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: James Willcox
QA Contact: Stanislav Visnovsky
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-14 15:58 UTC by Andras Mantia
Modified: 2006-04-24 17:22 UTC (History)
4 users (show)

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


Attachments
The y2log files (1.80 MB, application/x-bzip2)
2006-04-14 19:12 UTC, Andras Mantia
Details
The zmd-* logs (136.45 KB, application/x-bzip2)
2006-04-21 14:39 UTC, Andras Mantia
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andras Mantia 2006-04-14 15:58:56 UTC
I've created a DVD from the CD ISOs (5CD + AddOn CD) and I tried to add them as an installation source. Aside of the signature warnings (might be caused by the fact that I add the DVD and not the CD), I get the following warnings when I press "Finish":

rug failed to add a ZYPP service: $["exit":1, "stderr":["ERROR: Could not add 'dvd:///?alias=SUSE-Linux-add-on-CD-10.1-0-20060414-181321': This service type requires a network connection, but none is present."], "stdout":[]]

Source synchronization with ZMD failed. Save changes anyway?

I click Yes, and I can install/remove software without problems.

There is a similar error when trying to delete a repository:
rug failed to delete a ZYPP service: $["exit":1, "stderr":["ERROR: Can not find service 'dvd:///?alias=SUSE-Linux-add-on-CD-10.1-0-20060414-181938'"], "stdout":[]]  


I have zmd running:
root      7158  0.7  4.0 111224 20792 ?        SNsl 18:19   0:05 zmd /usr/lib/zmd/zmd.exe --sleep-resume


Some more testing:
- adding the CD1 iso as an installation source does not give me the signature warning (this was expected), but I still get:
rug failed to add a ZYPP service: $["exit":1, "stderr":["ERROR: Could not add 'iso:///?iso=/media/extra/data/data/opensuse/10.1-rc1/SUSE-Linux-10.1-RC1-x86_64-CD1.iso;alias=SUSE-Linux-CD-OSS-x86_64-10.1-0-20060414-183450': This service type requires a network connection, but none is present."], "stdout":[]]

- I tried to add (a local copy of) the packman repository. I got a similar error:
"rug failed to add a ZYPP service: $["exit":1, "stderr":["ERROR: Could not add 'dir:///media/extra/data/data/opensuse/packman/10.1/': This service type requires a network connection, but none is present."], "stdout":[]]"
The packages appear in Yast, but when I start the installation, it crashes. The only output is 
Command: /sbin/yast2 sw_single &
Segmentation fault at SlideShow.ycp:1600
/sbin/yast2: line 219:  7888 Segmentation fault      $ybindir/y2base $module "$@" qt "$Y2_GEOMETRY" $Y2QT_ARGS

This also worked in 10.0, but now might be also a bug in the packman repository(?). 


- I tried to add as a source a directory with RPMs (-devel packages that are not on the 5 CDs), but I couldn't: "Unable to create installation source from URL dir:///.... Try again?" This was possible at least in 10.0.

At least the "rug..." issue was not present in beta9. The crash might be already present, as IIRC I did not try to add the packman repository for beta9.
Comment 1 Christian Boltz 2006-04-14 17:36:36 UTC
please attach the y2logs.
Comment 2 Andras Mantia 2006-04-14 19:12:28 UTC
Created attachment 78512 [details]
The y2log files
Comment 3 Martin Vidner 2006-04-21 07:39:30 UTC
About "Unable to create installation source from URL dir:///..." - please open a separate bug.
The segfault is addressed in bug 166278.

This is strange:
ERROR: Could not add
'dvd:///?alias=SUSE-Linux-add-on-CD-10.1-0-20060414-181321': This service type
requires a network connection, but none is present.

Please attach also /var/log/zmd-*
Comment 4 Andras Mantia 2006-04-21 14:39:28 UTC
Created attachment 79451 [details]
The zmd-* logs
Comment 5 Andras Mantia 2006-04-24 07:17:53 UTC
It is present in RC2 as well.
Comment 6 Martin Vidner 2006-04-24 16:06:37 UTC
A ZMD bug?
Comment 7 James Willcox 2006-04-24 17:22:54 UTC
Fixed in svn, r27384.