|
Bugzilla – Full Text Bug Listing |
| Summary: | missing dependency samba-client when installing samba | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 12.2 | Reporter: | Felix Miata <mrmazda> |
| Component: | libzypp | Assignee: | E-mail List <zypp-maintainers> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | samba-maintainers |
| Version: | RC 2 | ||
| Target Milestone: | --- | ||
| Hardware: | x86-64 | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: |
y2logs with root's .bash_history excerpt and /etc/zypp/locks included
.tgz of /var/log/zypper.solverTestCase/ & /var/log/zypper.log main.cc lines grep'd from zypper.log-20120824.xz |
||
|
Description
Felix Miata
2012-08-24 17:47:13 UTC
Moving to component libzypp as this might fit better to the described issue. - Please create and attach a solver testcase:
# zypper in --debug-solver nopackage
...
Generating solver test case...
Solver test case generated successfully at /var/log/zypper.solverTestCase.
Then pack the output directory together with
/var/log/zypper.log and attach it to the bugreport.
Created attachment 503884 [details]
.tgz of /var/log/zypper.solverTestCase/ & /var/log/zypper.log
The solver testcase indeed shows no obvious packaging problem. Package dependencies seem to be fine. The zypper.log however does not include the 'zypper in cifs-utils samba' command. Looks like the log was already rotated. I'd need the right file to see if it conatins any hint.
@Felix: This is how you can find the right log:
Please attach the zypper logfile /var/log/zypper.log (or an older and compressed /var/log/zypper.log-YYYYMMDD.xz or .bz2) that shows the reported behavior. To see the execution dates and zypper commands included in a logfile you can install the zypper-log package (available since zypper-1.6.11) and execute:
zypper-log -l <logfile>
NOTE: zypper-log prior to 1.8.1 is not able to read lzma compressed logfiles (.xz). In this case you can use `xzgrep` to find the execution dates and zypper commands:
grep main.cc /var/log/zypper.log
xzgrep main.cc /var/log/zypper.log-*.xz
bzgrep main.cc /var/log/zypper.log-*.bz2
zgrep main.cc /var/log/zypper.log-*.gz
Created attachment 505069 [details] main.cc lines grep'd from zypper.log-20120824.xz (In reply to comment #4) > Looks like the log was already rotated. > I'd need the right file to see if it conatins any hint. ... > @Felix: This is how you can find the right log: ... > Please attach the zypper logfile /var/log/zypper.log ... > bzgrep main.cc /var/log/zypper.log-*.bz2 The only compressed zypper.log doesn't seem to have any entry for installing only samba, and I can't find one in .bash_history either. It looks like another fresh install will be required to keep this from being invalid. I expect to be doing one sometime this week. The expected procedure will be to select a minimal X installation and when complete, do zypper in samba after YaST2 does its installation cleanup and I set solver.onlyRequires=true in zypp.conf. I've done a fresh HTTP 64 bit install, but yast2-samba-client and yast2-samba-server got installed even though I had to deselect samba and samba-client during installation to prevent them. I have no idea what caused the yast2-samba* packages to install, but I suppose that they did means I didn't replicate the installation leading to comment 0. Subsequent to setting solver.onlyRequires=true in zypp.conf, 'zypper in samba' resulted in zypper installing 5 packages: cifs-utils, keyutils, libfam0, samba & samba-client. Thinking some more about the current installation and the comment 5 attachment I wonder if the comment 0 install did somehow install samba but not samba-client, resulting in the lack of requested information in the testcase and zypper-log. > I wonder if the comment 0 install did somehow install samba but not
> samba-client,
I'm sorry! I oversaw the rotated y2log also included in the initial attachment. The resolver complained about the missing samba-client package and the user selected resolution "break samba-3.6.6-48.6.1.x86_64 by ignoring some of its dependencies".
That's why the samba package was broken.
A few hours later the media was fixed, so you were able to manually install it, and that's why the error is no longer reproducible.
-----[y2log-1.gz]-----
2012-08-23 05:19:56 <3> ss500(3743)
[zypp] SATResolver.cc(solving):622 Solverrun finished with an ERROR
...
Encountered problems! Here are the solutions:
Problem 1:
====================================
samba-3.6.6-48.6.1.x86_64 requires samba-client >= 3.6.6, but this requirement cannot be provided
------------------------------------
...
------------------------------------
do not install samba-3.6.6-48.6.1.x86_64
------------------------------------
ignore some dependencies of U_Tu_(21184)samba-3.6.6-48.6.1.x86_64(openSUSE-12.2-1.5)
------------------------------------
...
User selected resolution "break samba-3.6.6-48.6.1.x86_64
by ignoring some of its dependencies"
for problem "samba-3.6.6-48.6.1.x86_64 requires samba-client >= 3.6.6,
but this requirement cannot be provided"
openSUSE-RU-2013:0220-1: An update that has 10 recommended fixes can now be installed. Category: recommended (moderate) Bug References: 665327,745404,765528,769819,773467,773641,777323,779716,783539,785832 CVE References: Sources used: openSUSE 12.2 (src): libsolv-0.1.1-4.5.1, libzypp-11.8.0-2.4.1, libzypp-testsuite-tools-4.2.11-14.4.1, zypper-1.7.8-1.5.1 |