incorrect dependancy requirement for sasl2-bin

Bug #1866264 reported by Kevin Chan
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cyrus-sasl2 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Trying to install sasl2-bin on 18.04.4 LTS. received error:

The following packages have unmet dependencies:
 sasl2-bin : Depends: db-util but it is not going to be installed

Following the dependencies produced issue with db5.3-util:
db5.3-util : Depends: libdb5.3 (= 5.3.28-13.1ubuntu1) but 5.3.28-13.1ubuntu1.1 is to be installed

Had to downgrade libdb5.3 to 5.3.28-13.1ubuntu1 package in order order for sasl2-bin to install.

Kevin Chan (chanster)
summary: - incorrect dependancy requirement
+ incorrect dependancy requirement for sasl2-bin
affects: ubuntu → cyrus-sasl2 (Ubuntu)
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :
Download full text (3.7 KiB)

Hmm,
that worked for me just nice.

root@b:~# apt install sasl2-bin
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  db-util db5.3-util
The following NEW packages will be installed:
  db-util db5.3-util sasl2-bin
0 upgraded, 3 newly installed, 0 to remove and 83 not upgraded.
Need to get 173 kB of archives.
After this operation, 680 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 db5.3-util amd64 5.3.28-13.1ubuntu1.1 [65.5 kB]
Get:2 http://archive.ubuntu.com/ubuntu bionic/main amd64 db-util all 1:5.3.21~exp1ubuntu2 [2718 B]
Get:3 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 sasl2-bin amd64 2.1.27~101-g0780600+dfsg-3ubuntu2.1 [105 kB]
Fetched 173 kB in 0s (931 kB/s)
Preconfiguring packages ...
Selecting previously unselected package db5.3-util.
(Reading database ... 42814 files and directories currently installed.)
Preparing to unpack .../db5.3-util_5.3.28-13.1ubuntu1.1_amd64.deb ...
Unpacking db5.3-util (5.3.28-13.1ubuntu1.1) ...
Selecting previously unselected package db-util.
Preparing to unpack .../db-util_1%3a5.3.21~exp1ubuntu2_all.deb ...
Unpacking db-util (1:5.3.21~exp1ubuntu2) ...
Selecting previously unselected package sasl2-bin.
Preparing to unpack .../sasl2-bin_2.1.27~101-g0780600+dfsg-3ubuntu2.1_amd64.deb ...
Unpacking sasl2-bin (2.1.27~101-g0780600+dfsg-3ubuntu2.1) ...
Setting up db5.3-util (5.3.28-13.1ubuntu1.1) ...
Setting up db-util (1:5.3.21~exp1ubuntu2) ...
Setting up sasl2-bin (2.1.27~101-g0780600+dfsg-3ubuntu2.1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for ureadahead (0.100.0-21) ...
Processing triggers for systemd (237-3ubuntu10.38) ..

Considering the versions you reported I see no such hard dependencies:

$ apt-cache show sasl2-bin | grep Depe
Depends: db-util, libsasl2-2 (>= 2.1.27~101-g0780600+dfsg-3ubuntu2.1), lsb-base (>= 3.0-6), debconf (>= 0.5) | debconf-2.0, libc6 (>= 2.15), libdb5.3, libkrb5-3 (>= 1.13~alpha1+dfsg), libldap-2.4-2 (>= 2.4.7), libpam0g (>= 0.99.7.1), libssl1.1 (>= 1.1.0)
Depends: db-util, libsasl2-2 (>= 2.1.27~101-g0780600+dfsg-3ubuntu2), lsb-base (>= 3.0-6), debconf (>= 0.5) | debconf-2.0, libc6 (>= 2.15), libdb5.3, libkrb5-3 (>= 1.13~alpha1+dfsg), libldap-2.4-2 (>= 2.4.7), libpam0g (>= 0.99.7.1), libssl1.1 (>= 1.1.0)
[✓]─[paelzer@Keschdeichel ~]──[119758]──[11:12 Fr Mär 06]──

$ apt-cache show db-util | grep Depe
Depends: db5.3-util

root@b:~# apt-cache show db5.3-util | grep Depen
Depends: libc6 (>= 2.14), libdb5.3 (= 5.3.28-13.1ubuntu1.1)

And that makes sense it is fine to depend on the new version of libdb5.3.

The older version of db5.3-util depended on 5.3.28-13.1ubuntu1.
It seems you wanted to install that:

Can you compare the following with your system:
root@b:~# apt-cache policy db5.3-util
db5.3-util:
  Installed: 5.3.28-13.1ubuntu1.1
  Candidate: 5.3.28-13.1ubuntu1.1
  Version table:
 *** 5.3.28-13.1ubuntu1.1 500
        500 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu bion...

Read more...

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :
Download full text (6.5 KiB)

FYI: here an info how current Bionic should look like:

Package: sasl2-bin
Architecture: amd64
Version: 2.1.27~101-g0780600+dfsg-3ubuntu2.1
Priority: optional
Section: utils
Source: cyrus-sasl2
Origin: Ubuntu
Maintainer: Ubuntu Developers <email address hidden>
Original-Maintainer: Debian Cyrus SASL Team <email address hidden>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 379
Depends: db-util, libsasl2-2 (>= 2.1.27~101-g0780600+dfsg-3ubuntu2.1), lsb-base (>= 3.0-6), debconf (>= 0.5) | debconf-2.0, libc6 (>= 2.15), libdb5.3, libkrb5-3 (>= 1.13~alpha1+dfsg), libldap-2.4-2 (>= 2.4.7), libpam0g (>= 0.99.7.1), libssl1.1 (>= 1.1.0)
Filename: pool/main/c/cyrus-sasl2/sasl2-bin_2.1.27~101-g0780600+dfsg-3ubuntu2.1_amd64.deb
Size: 105244
MD5sum: fa7d1c5226d6414c581fbc91b480bcde
SHA1: 6f557e33370ab710af54b86202642cb74b9a8fef
SHA256: dc8a1838442062c1841714469f828bbac2ec7e128313a7e2b8fd5187331163f8
Homepage: https://www.cyrusimap.org/
Description-en: Cyrus SASL - administration programs for SASL users database
 This is the Cyrus SASL API implementation, version 2.1. See package
 libsasl2-2 and RFC 2222 for more information.
 .
 This package contains administration programs for the SASL users
 database and common binary files for plugin modules.
Description-md5: fa33321a828f08fecd44db10c0f59feb
Supported: 5y

Package: sasl2-bin
Architecture: amd64
Version: 2.1.27~101-g0780600+dfsg-3ubuntu2
Priority: optional
Section: utils
Source: cyrus-sasl2
Origin: Ubuntu
Maintainer: Ubuntu Developers <email address hidden>
Original-Maintainer: Debian Cyrus SASL Team <email address hidden>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 379
Depends: db-util, libsasl2-2 (>= 2.1.27~101-g0780600+dfsg-3ubuntu2), lsb-base (>= 3.0-6), debconf (>= 0.5) | debconf-2.0, libc6 (>= 2.15), libdb5.3, libkrb5-3 (>= 1.13~alpha1+dfsg), libldap-2.4-2 (>= 2.4.7), libpam0g (>= 0.99.7.1), libssl1.1 (>= 1.1.0)
Filename: pool/main/c/cyrus-sasl2/sasl2-bin_2.1.27~101-g0780600+dfsg-3ubuntu2_amd64.deb
Size: 105348
MD5sum: c47e35a983733f123a2010580bf38267
SHA1: 0db50083fb2ae729497d3e4dc8447ae6ccb39a2d
SHA256: cecaba1756d51eb7f5a5e8224ae6a638d8971314b56de0c270a4ee213762adf1
Homepage: https://www.cyrusimap.org/
Description-en: Cyrus SASL - administration programs for SASL users database
 This is the Cyrus SASL API implementation, version 2.1. See package
 libsasl2-2 and RFC 2222 for more information.
 .
 This package contains administration programs for the SASL users
 database and common binary files for plugin modules.
Description-md5: fa33321a828f08fecd44db10c0f59feb
Supported: 5y

sasl2-bin:
  Installed: 2.1.27~101-g0780600+dfsg-3ubuntu2.1
  Candidate: 2.1.27~101-g0780600+dfsg-3ubuntu2.1
  Version table:
 *** 2.1.27~101-g0780600+dfsg-3ubuntu2.1 500
        500 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
        100 /var/lib/dpkg/status
     2.1.27~101-g0780600+dfsg-3ubuntu2 500
        500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages
Package: db-u...

Read more...

Changed in cyrus-sasl2 (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for cyrus-sasl2 (Ubuntu) because there has been no activity for 60 days.]

Changed in cyrus-sasl2 (Ubuntu):
status: Incomplete → Expired
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.