nagios3 requires smbclient, tries to uninstall samba4-clients

Bug #704377 reported by Adam J Richardson
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nagios3 (Ubuntu)
Triaged
Low
Unassigned

Bug Description

Binary package hint: nagios3

My system has a Samba 4 alpha installed.

[code]
fatman@nikko:/data/ssl$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.04.1 LTS
Release: 10.04
Codename: lucid
fatman@nikko:/data/ssl$ dpkg -l | grep samba
ii samba-common 2:3.4.7~dfsg-1ubuntu3.2 common files used by both the Samba server a
ii samba-common-bin 2:3.4.7~dfsg-1ubuntu3.2 common files used by both the Samba server a
ii samba4-clients 4.0.0~alpha8+git20090912-1 client utilities from Samba 4
ii samba4-common-bin 4.0.0~alpha8+git20090912-1 Samba 4 common files used by both the server
[/code]

I'm trying to install the nagios3 package.

[code]
fatman@nikko:/data/ssl$ sudo aptitude install nagios3
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following NEW packages will be installed:
  bsd-mailx{a} fancontrol{a} gawk{a} libgd2-noxpm{a} libnet-snmp-perl{a} libperl5.10{a} libradius1{a} libsensors4{a} libsnmp-base{a} libsnmp15{a} lm-sensors{a}
  nagios-images{a} nagios-plugins{a} nagios-plugins-basic{a} nagios-plugins-standard{a} nagios3 nagios3-cgi{a} nagios3-common{a} nagios3-core{a} postfix{a} radiusclient1{a}
  smbclient{a} snmp{a}
The following packages will be REMOVED:
  libldb0{u} libreadline5{u} libtdb1{u} libtevent0{u} samba4-clients{a} samba4-common-bin{u}
0 packages upgraded, 23 newly installed, 6 to remove and 0 not upgraded.
Need to get 25.1MB of archives. After unpacking 35.3MB will be used.
Do you want to continue? [Y/n/?] n
Abort.
[/code]

I don't want to remove the Samba 4 clients. I believe this could be resolved by changing the dependency in the nagios3 package to "smbclient | samba4-clients".

Thanks.

Revision history for this message
James Page (james-page) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better.

In the Lucid release, nagios3 and smbclient are both located in the main section of the archive; this part of the archive is officially supported by Canonical and as such no dependencies can be made between packages in main and packages in universe (supported by the wider Ubuntu community). Samba 4 is still an alpha release (and hence located in universe) and won't at this point in time even be considered for inclusion in the main archive even in the development release.

Although the change you suggest would resolve your issue, it will break the main -> universe rules and would not be accepted into the nagios3 package.

Thanks again for taking the time to report this bug.

Changed in nagios3 (Ubuntu):
status: New → Won't Fix
Revision history for this message
CarstenHey (c.hey) wrote :

https://wiki.ubuntu.com/UbuntuMainInclusionRequirements has just been clarified, the relevant part now reads:

6. Dependencies:
All build and binary dependencies (including Recommends:) must be satisfyable in main (i. e. the preferred alternative must be in main). If not, these dependencies need a separate MIR report (this can be a separate bug or another task on the main MIR bug)

So there isn't a reason for tagging this bug as wontfix anymore?

Revision history for this message
James Page (james-page) wrote :

@Carsten - thanks for pointing this out - I was not aware that only the preferred alternative had to be in main.

I think that there is sufficient detail in this bug to generate the required patch; however as it is an update to Lucid it will have to go through the Stable Release Update process (https://wiki.ubuntu.com/StableReleaseUpdates).

Changed in nagios3 (Ubuntu):
importance: Undecided → Low
status: Won't Fix → Triaged
Revision history for this message
James Page (james-page) wrote :

Confirmed in Lucid

Revision history for this message
James Page (james-page) wrote :

This is fixed in Maverick onwards; samba4-clients 'Provides: smbclient' which means that it satisfies the requirements of the nagios-plugins-standard package which has the dependency on smbclient.

Revision history for this message
Adam J Richardson (fatman-crackmonkey) wrote :

I worked around the problem by unpacking and repacking the samba4-clients DEB with "Provides: smbclient", then installing it over the old one. Thanks guys.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.