Uploaded image for project: 'Percona XtraDB Cluster'
  1. Percona XtraDB Cluster
  2. PXC-2341

packages aren't getting upgraded on xenial -> bionic dist-upgrade due to different libcurl version

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 5.7
    • Fix Version/s: 5.7.25-31.35
    • Component/s: Packaging
    • Labels:
      None

      Description

      When trying to upgrade 5.7 xenial packages after the server has been dist-upgraded to bionic, apt will remove the server package:

      root@xenial:~# lsb_release -a
      No LSB modules are available.
      Distributor ID: Ubuntu
      Description:    Ubuntu 18.04.1 LTS
      Release:        18.04
      Codename:       bionic
      
      root@xenial:~# apt dist-upgrade
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      Calculating upgrade... Done
      The following packages will be REMOVED:
        percona-xtradb-cluster-server-5.7
      The following NEW packages will be installed:
        percona-server-common-5.7
      The following packages will be upgraded:
        libperconaserverclient20 percona-xtradb-cluster-client-5.7 percona-xtradb-cluster-common-5.7
      3 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
      Need to get 3,299 kB of archives.
      After this operation, 94.9 MB disk space will be freed.
      Do you want to continue? [Y/n] n
      Abort.
      root@xenial:~# apt install percona-xtradb-cluster-server-5.7
      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:
       percona-xtradb-cluster-server-5.7 : Depends: libcurl4 (>= 7.16.2) but it is not going to be installed
      E: Unable to correct problems, you have held broken packages.
      root@xenial:~# apt install libcurl4
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      The following packages were automatically installed and are no longer required:
        libaio1 libdbd-mysql-perl libev4 libmysqlclient20
      Use 'apt autoremove' to remove them.
      The following additional packages will be installed:
        libperconaserverclient20 percona-server-common-5.7 percona-xtradb-cluster-client-5.7 percona-xtradb-cluster-common-5.7
      The following packages will be REMOVED:
        libcurl3 percona-xtrabackup-24 percona-xtradb-cluster-server-5.7
      The following NEW packages will be installed:
        libcurl4 percona-server-common-5.7
      The following packages will be upgraded:
        libperconaserverclient20 percona-xtradb-cluster-client-5.7 percona-xtradb-cluster-common-5.7
      3 upgraded, 2 newly installed, 3 to remove and 0 not upgraded.
      Need to get 3,513 kB of archives.
      After this operation, 128 MB disk space will be freed.
      

      On xenial packages require libcurl3 and on bionic libcurl4 package. Current workaround is to remove the xenial packages and install bionic packages manually instead of upgrading.

      This was originally reported on the forums.

        Smart Checklist

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  evgeniy.patlan Evgeniy Patlan
                  Reporter:
                  hrvoje.matijakovic Hrvoje Matijakovic
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - Not Specified
                    Not Specified
                    Logged:
                    Time Spent - 1 day, 6 hours
                    1d 6h