Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 10.0.20
    • Fix Version/s: 10.0
    • Component/s: Packaging, Platform Debian
    • Labels:
      None
    • Environment:
      Xubuntu 15.04

      Description

      When trying to upgrade I get the following output

      /usr/bin: sudo apt-get upgrade
      Reading package lists... Done
      Building dependency tree       
      Reading state information... Done
      Calculating upgrade... Done
      The following packages have been kept back:
        mariadb-client-10.0 mariadb-client-core-10.0 mariadb-server mariadb-server-10.0
      The following packages will be upgraded:
        mariadb-server-core-10.0
      1 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
      Need to get 0 B/4,728 kB of archives.
      After this operation, 1,200 kB of additional disk space will be used.
      Do you want to continue? [Y/n] y
      (Reading database ... 297462 files and directories currently installed.)
      Preparing to unpack .../mariadb-server-core-10.0_10.0.20-0ubuntu0.15.04.1_amd64.deb ...
      Unpacking mariadb-server-core-10.0 (10.0.20-0ubuntu0.15.04.1) over (10.0.17+maria-1~utopic) ...
      dpkg: error processing archive /var/cache/apt/archives/mariadb-server-core-10.0_10.0.20-0ubuntu0.15.04.1_amd64.deb (--unpack):
       trying to overwrite '/usr/bin/innochecksum', which is also in package mariadb-client-10.0 10.0.17+maria-1~utopic
      dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
      Errors were encountered while processing:
       /var/cache/apt/archives/mariadb-server-core-10.0_10.0.20-0ubuntu0.15.04.1_amd64.deb
      E: Sub-process /usr/bin/dpkg returned an error code (1)
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              elenst Elena Stepanova added a comment -

              Otto Kekäläinen, as I can see, in our tree innochecksum still belongs to the client package, is it intentionally different in yours?

              Chris Dovetail, you are upgrading from MariaDB-distributed packages to Ubuntu-distributed packages, which is okay, but then you should update all of them, I don't think mixing them up is going to work.

              Show
              elenst Elena Stepanova added a comment - Otto Kekäläinen , as I can see, in our tree innochecksum still belongs to the client package, is it intentionally different in yours? Chris Dovetail , you are upgrading from MariaDB-distributed packages to Ubuntu-distributed packages, which is okay, but then you should update all of them, I don't think mixing them up is going to work.
              Hide
              chris.dovetail Chris Dovetail added a comment -

              Hi Elana,

              Thank you for the response

              If I understand correctly, I have somehow managed to mix the ubuntu
              server package with the mariab db client package? However you say this
              is ok as long as I update all of them... so how do I do that? I ran
              `sudo apt-get update` and then `sudo apt-get upgrade`, but only the
              Ubuntu packages have any desire to update.

              In your estimation, would it be better for me to uninstall everything
              and attempt to install only the packages from MariaDB?

              Chris

              Show
              chris.dovetail Chris Dovetail added a comment - Hi Elana, Thank you for the response If I understand correctly, I have somehow managed to mix the ubuntu server package with the mariab db client package? However you say this is ok as long as I update all of them... so how do I do that? I ran `sudo apt-get update` and then `sudo apt-get upgrade`, but only the Ubuntu packages have any desire to update. In your estimation, would it be better for me to uninstall everything and attempt to install only the packages from MariaDB? Chris
              Hide
              elenst Elena Stepanova added a comment -

              Chris Dovetail, did you try running dist-upgrade instead of upgrade?

              Show
              elenst Elena Stepanova added a comment - Chris Dovetail , did you try running dist-upgrade instead of upgrade?
              Hide
              chris.dovetail Chris Dovetail added a comment -

              Yes, and I get the same error.

              /usr/bin: sudo apt-get dist-upgrade
              [sudo] password for chris:
              Reading package lists... Done
              Building dependency tree
              Reading state information... Done
              Calculating upgrade... Done
              The following NEW packages will be installed:
              libterm-readkey-perl
              The following packages will be upgraded:
              mariadb-client-10.0 mariadb-client-core-10.0 mariadb-server
              mariadb-server-10.0 mariadb-server-core-10.0
              5 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
              1 not fully installed or removed.
              Need to get 0 B/11.7 MB of archives.
              After this operation, 4,673 kB disk space will be freed.
              Do you want to continue? [Y/n] y
              Preconfiguring packages ...
              (Reading database ... 297462 files and directories currently installed.)
              Preparing to unpack
              .../mariadb-server-core-10.0_10.0.20-0ubuntu0.15.04.1_amd64.deb ...
              Unpacking mariadb-server-core-10.0 (10.0.20-0ubuntu0.15.04.1) over
              (10.0.17+maria-1~utopic) ...
              dpkg: error processing archive
              /var/cache/apt/archives/mariadb-server-core-10.0_10.0.20-0ubuntu0.15.04.1_amd64.deb
              (--unpack):
              trying to overwrite '/usr/bin/innochecksum', which is also in package
              mariadb-client-10.0 10.0.17+maria-1~utopic
              dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
              Errors were encountered while processing:
              /var/cache/apt/archives/mariadb-server-core-10.0_10.0.20-0ubuntu0.15.04.1_amd64.deb
              E: Sub-process /usr/bin/dpkg returned an error code (1)

              Show
              chris.dovetail Chris Dovetail added a comment - Yes, and I get the same error. /usr/bin: sudo apt-get dist-upgrade [sudo] password for chris: Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following NEW packages will be installed: libterm-readkey-perl The following packages will be upgraded: mariadb-client-10.0 mariadb-client-core-10.0 mariadb-server mariadb-server-10.0 mariadb-server-core-10.0 5 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. Need to get 0 B/11.7 MB of archives. After this operation, 4,673 kB disk space will be freed. Do you want to continue? [Y/n] y Preconfiguring packages ... (Reading database ... 297462 files and directories currently installed.) Preparing to unpack .../mariadb-server-core-10.0_10.0.20-0ubuntu0.15.04.1_amd64.deb ... Unpacking mariadb-server-core-10.0 (10.0.20-0ubuntu0.15.04.1) over (10.0.17+maria-1~utopic) ... dpkg: error processing archive /var/cache/apt/archives/mariadb-server-core-10.0_10.0.20-0ubuntu0.15.04.1_amd64.deb (--unpack): trying to overwrite '/usr/bin/innochecksum', which is also in package mariadb-client-10.0 10.0.17+maria-1~utopic dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Errors were encountered while processing: /var/cache/apt/archives/mariadb-server-core-10.0_10.0.20-0ubuntu0.15.04.1_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)
              Hide
              elenst Elena Stepanova added a comment -

              Okay, I see. Then I'll pass your question over to Otto Kekäläinen, who is an expert at debian packaging and the maintainer of the package set you are trying to upgrade to.

              Show
              elenst Elena Stepanova added a comment - Okay, I see. Then I'll pass your question over to Otto Kekäläinen , who is an expert at debian packaging and the maintainer of the package set you are trying to upgrade to.
              Hide
              otto Otto Kekäläinen added a comment -

              Chris Dovetail As Ubuntu 15.04 includes MariaDB packages from Ubuntu, and you have at the same time the mariadb.org repositories enabled, what methods do you use to make sure that the two different packaging of the same program does not interfere with each other? Do you use apt-pinning?

              What if you disable the mariadb.org repositories and only use the Ubuntu provided packages, is the error still there?

              Here are many issues at play, so therefore I ask the questions above instead of directly jumping to the innochecksum overwrite fix.

              Show
              otto Otto Kekäläinen added a comment - Chris Dovetail As Ubuntu 15.04 includes MariaDB packages from Ubuntu, and you have at the same time the mariadb.org repositories enabled, what methods do you use to make sure that the two different packaging of the same program does not interfere with each other? Do you use apt-pinning? What if you disable the mariadb.org repositories and only use the Ubuntu provided packages, is the error still there? Here are many issues at play, so therefore I ask the questions above instead of directly jumping to the innochecksum overwrite fix.
              Hide
              chris.dovetail Chris Dovetail added a comment -

              No doubt from what you have told me the problem isn't so much with MariaDB or Ubuntu, but just because of conflicts due to my upgrading Ubuntu after having already installed MariaDB.

              So although I can't really answer what happened, I have solved my personal issue. This is a development machine so I simply uninstalled MariaDB completely. I then set up my project in a virtual machine using the MariaDB repositories but running Ubuntu 14.04 so there would be no conflict.

              Show
              chris.dovetail Chris Dovetail added a comment - No doubt from what you have told me the problem isn't so much with MariaDB or Ubuntu, but just because of conflicts due to my upgrading Ubuntu after having already installed MariaDB. So although I can't really answer what happened, I have solved my personal issue. This is a development machine so I simply uninstalled MariaDB completely. I then set up my project in a virtual machine using the MariaDB repositories but running Ubuntu 14.04 so there would be no conflict.

                People

                • Assignee:
                  otto Otto Kekäläinen
                  Reporter:
                  chris.dovetail Chris Dovetail
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated: