[Bug 1800526] Re: After Upgrading from 18.04.1 to 18.10 librdb1 can not be installed

John George john.george at canonical.com
Mon Oct 29 19:28:55 UTC 2018


It appears that librados2 12.2.7 is available for Bionic in
http://us.ports.ubuntu.com/ubuntu-ports/dists/bionic-updates/main
/binary-s390x/ but only version 12.2.4 is available for Cosmic.

A workaround is to first remove librados2 version 12.2.7.

ubuntu at s5lp8:~/cdoqa-system-tests$ sudo apt-get purge librados2
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  kpartx kpartx-boot libibverbs1 libnl-route-3-200 libnspr4 libnss3 liburcu6
  sg3-utils-udev
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  librados2* multipath-tools* multipath-tools-boot*
0 upgraded, 0 newly installed, 3 to remove and 7 not upgraded.
After this operation, 13.2 MB disk space will be freed.
Do you want to continue? [Y/n] 
(Reading database ... 77354 files and directories currently installed.)
Removing multipath-tools-boot (0.7.4-2ubuntu3) ...
update-initramfs: deferring update (trigger activated)
Removing multipath-tools (0.7.4-2ubuntu3) ...
Removing librados2 (12.2.7-0ubuntu0.18.04.1) ...
Processing triggers for initramfs-tools (0.131ubuntu15) ...
update-initramfs: Generating /boot/initrd.img-4.15.0-20-generic
Using config file '/etc/zipl.conf'
Run /lib/s390-tools/zipl_helper.device-mapper /boot
Building bootmap in '/boot'
Building menu 'menu'
Adding #1: IPL section 'ubuntu' (default)
Adding #2: IPL section 'old'
Preparing boot device: dm-0.
Done.
Processing triggers for libc-bin (2.28-0ubuntu1) ...
Processing triggers for man-db (2.8.4-2) ...
(Reading database ... 77245 files and directories currently installed.)
Purging configuration files for multipath-tools-boot (0.7.4-2ubuntu3) ...
Purging configuration files for multipath-tools (0.7.4-2ubuntu3) ...
Processing triggers for ureadahead (0.100.0-20) ...
Processing triggers for systemd (239-7ubuntu10) ...


ubuntu at s5lp8:~/cdoqa-system-tests$ sudo apt-get install librbd1
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  kpartx kpartx-boot liburcu6 sg3-utils-udev
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  librados2
The following NEW packages will be installed:
  librados2 librbd1
0 upgraded, 2 newly installed, 0 to remove and 7 not upgraded.
Need to get 3,191 kB of archives.
After this operation, 15.5 MB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 http://us.ports.ubuntu.com/ubuntu-ports cosmic/main s390x librados2 s390x 12.2.4-0ubuntu1.1build1 [2,385 kB]
Get:2 http://us.ports.ubuntu.com/ubuntu-ports cosmic/main s390x librbd1 s390x 12.2.4-0ubuntu1.1build1 [806 kB]
Fetched 3,191 kB in 7s (442 kB/s)                                              
Selecting previously unselected package librados2.
(Reading database ... 77243 files and directories currently installed.)
Preparing to unpack .../librados2_12.2.4-0ubuntu1.1build1_s390x.deb ...
Unpacking librados2 (12.2.4-0ubuntu1.1build1) ...
Selecting previously unselected package librbd1.
Preparing to unpack .../librbd1_12.2.4-0ubuntu1.1build1_s390x.deb ...
Unpacking librbd1 (12.2.4-0ubuntu1.1build1) ...
Setting up librados2 (12.2.4-0ubuntu1.1build1) ...
Processing triggers for libc-bin (2.28-0ubuntu1) ...
Setting up librbd1 (12.2.4-0ubuntu1.1build1) ...
Processing triggers for libc-bin (2.28-0ubuntu1) ...
ubuntu at s5lp8:~/cdoqa-system-tests$ apt-cache policy librados2
librados2:
  Installed: 12.2.4-0ubuntu1.1build1
  Candidate: 12.2.4-0ubuntu1.1build1
  Version table:
 *** 12.2.4-0ubuntu1.1build1 500
        500 http://us.ports.ubuntu.com/ubuntu-ports cosmic/main s390x Packages
        100 /var/lib/dpkg/status

ubuntu at s5lp8:~/cdoqa-system-tests$ apt-cache policy librbd1
librbd1:
  Installed: 12.2.4-0ubuntu1.1build1
  Candidate: 12.2.4-0ubuntu1.1build1
  Version table:
 *** 12.2.4-0ubuntu1.1build1 500
        500 http://us.ports.ubuntu.com/ubuntu-ports cosmic/main s390x Packages
        100 /var/lib/dpkg/status

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to ceph in Ubuntu.
https://bugs.launchpad.net/bugs/1800526

Title:
  After Upgrading from 18.04.1 to 18.10 librdb1 can not be installed

Status in ceph package in Ubuntu:
  New

Bug description:
  This issue was discovered while attempting to setup KVM on s390 after
  upgrading an 18.04.1 server to 18.10

  librbd1 : Depends: librados2 (= 12.2.4-0ubuntu1.1build1) but
  12.2.7-0ubuntu0.18.04.1 is to be installed

  It appears to be s390 specific, as I was not able to reproduce the
  failure using an x86_64 lxc.

  Reproduction steps:
  1. Deploy 18.04
  2. sudo apt-get update
  3. sudo apt-get upgrade
  -- lsb_release -d nows shows 'Ubuntu 18.04.1 LTS' --
  4. set 'prompt=normal' in /etc/update-manager/release-upgrades
  5. sudo do-release-upgrade
  6. sudo reboot now

  7. sudo apt-get install librbd1

  
  ubuntu at s5lp8:~$ sudo apt-get install librbd1
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  Some packages could not be installed. This may mean that you have
  requested an impossible situation or if you are using the unstable
  distribution that some required packages have not yet been created
  or been moved out of Incoming.
  The following information may help to resolve the situation:

  The following packages have unmet dependencies:
   librbd1 : Depends: librados2 (= 12.2.4-0ubuntu1.1build1) but 12.2.7-0ubuntu0.18.04.1 is to be installed
  E: Unable to correct problems, you have held broken packages.

  ubuntu at s5lp8:~$ apt-cache policy librbd1
  librbd1:
    Installed: (none)
    Candidate: 12.2.4-0ubuntu1.1build1
    Version table:
       12.2.4-0ubuntu1.1build1 500
          500 http://us.ports.ubuntu.com/ubuntu-ports cosmic/main s390x Packages

  ubuntu at s5lp8:~$ apt-cache policy librados2
  librados2:
    Installed: 12.2.7-0ubuntu0.18.04.1
    Candidate: 12.2.7-0ubuntu0.18.04.1
    Version table:
   *** 12.2.7-0ubuntu0.18.04.1 100
          100 /var/lib/dpkg/status
       12.2.4-0ubuntu1.1build1 500
          500 http://us.ports.ubuntu.com/ubuntu-ports cosmic/main s390x Packages

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1800526/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list