Uploaded image for project: 'Percona Server'
  1. Percona Server
  2. PS-5598

APT install of 8.0.12 stuck after switch from experimental -> main

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 8.0.15-5
    • Fix Version/s: None
    • Component/s: Packaging
    • Labels:
      None

      Description

      An existing 8.0.12 installation from experimental does not show as suitable for an upgrade after switching to main.

      => dpkg -l percona-server-server-8.0 | tail -n1                                                                                                                                                                    
      ii  percona-server-server-8.0 8.0.12-1-1.alpha.bionic amd64        Percona Server database server binaries 
      

      The package name changed, so that hides things at first.

      Attempting to install percona-server-server after enabling the ps-80 repo then indicates that the install might make changes to the datadir as it is detected as non-empty and additionally root authentication and default authentication plugin notices appear; both of these may well be upstream

      Installation then fails to to package ownership of /etc/mysql/my.cnf:

      => sudo apt-get install percona-server-server                                                                                                                                                               Reading package lists... Done                                                                                                                                                                                      
      Building dependency tree                                                                                                                     
      Reading state information... Done                                                                               
      The following package was automatically installed and is no longer required: 
        percona-server-common-8.0                                                  
      Use 'sudo apt autoremove' to remove it.                                               
      The following additional packages will be installed:                                     
        libevent-core-2.1-6 percona-server-client percona-server-common            
      The following packages will be REMOVED                                            
        percona-server-client-8.0 percona-server-server-8.0                             
      The following NEW packages will be installed                        
        libevent-core-2.1-6 percona-server-client percona-server-common percona-server-server                              
      0 to upgrade, 4 to newly install, 2 to remove and 17 not to upgrade.                  
      Need to get 46.4 MB of archives.                                                                                                                                                                                   
      After this operation, 11.3 MB of additional disk space will be used.                                                                                                                                               
      Do you want to continue? [Y/n]                                                                     
      Get:1 http://gb.archive.ubuntu.com/ubuntu bionic/main amd64 libevent-core-2.1-6 amd64 2.1.8-stable-4build1 [85.9 kB]                                                                                              
      Get:2 http://repo.percona.com/ps-80/apt bionic/main amd64 percona-server-common amd64 8.0.15-5-1.bionic [373 kB]                                                                                                   
      Get:3 http://repo.percona.com/ps-80/apt bionic/main amd64 percona-server-client amd64 8.0.15-5-1.bionic [3,620 kB]                                                                                                 
      Get:4 http://repo.percona.com/ps-80/apt bionic/main amd64 percona-server-server amd64 8.0.15-5-1.bionic [42.4 MB]                                                                                                  
      Fetched 46.4 MB in 6s (7,933 kB/s)                                                                                                                                                                                 
      Preconfiguring packages ...                                                                                                                                                                                        
      (Reading database ... 301439 files and directories currently installed.)                                                                     
      Removing percona-server-server-8.0 (8.0.12-1-1.alpha.bionic) ...                                                                             
      update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode
      Removing percona-server-client-8.0 (8.0.12-1-1.alpha.bionic) ...                          
      (Reading database ... 301286 files and directories currently installed.)                                                                                                                                           
      Preparing to unpack .../percona-server-common_8.0.15-5-1.bionic_amd64.deb ...                
      Unpacking percona-server-common (8.0.15-5-1.bionic) ...                  
      dpkg: error processing archive /var/cache/apt/archives/percona-server-common_8.0.15-5-1.bionic_amd64.deb (--unpack):                                                                                               
       trying to overwrite '/etc/mysql/conf.d/mysql.cnf', which is also in package percona-server-common-8.0 8.0.12-1-1.alpha.bionic                                                                                     
      dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)                 
      Selecting previously unselected package percona-server-client.                                                                                                                                                     
      Preparing to unpack .../percona-server-client_8.0.15-5-1.bionic_amd64.deb ...                                                                                                                                      
      Unpacking percona-server-client (8.0.15-5-1.bionic) ...                               
      Selecting previously unselected package libevent-core-2.1-6:amd64.                                                                                                                                                 
      Preparing to unpack .../libevent-core-2.1-6_2.1.8-stable-4build1_amd64.deb ...                                                                    
      Unpacking libevent-core-2.1-6:amd64 (2.1.8-stable-4build1) ...    
      Errors were encountered while processing:                                                                                                                                                                         
       /var/cache/apt/archives/percona-server-common_8.0.15-5-1.bionic_amd64.deb                                                                                                                                         
      E: Sub-process /usr/bin/dpkg returned an error code (1)
      

        Smart Checklist

          Attachments

            Activity

              People

              • Assignee:
                evgeniy.patlan Evgeniy Patlan
                Reporter:
                ceri.williams Ceri Williams
              • Votes:
                0 Vote for this issue
                Watchers:
                2 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 - 2 hours
                  2h