Not the answer you need?
Register and ask your own question!

bug in debian packages for buster

aqueosaqueos EntrantLegacy User Role Contributor

hi,

I wanted to report a bug in the debian packages .

There is a bug in the way perconna name the packages version. As you know a version is alphabeticaly sorted.

The problem arise when you add the distribution name in the version field

5.7.31-34-1.stretch and not 5.7.31-34-1.9

then an apt-get dist-upgrade will refuse to upgrade the package because

5.7.31-34-1.buster is LOWER than 5.7.31-34-1.stetch :)

Debian use -deb<number>-ux for debian <numbr> release x

The version should not have the name of the debian because it is not alphabetical and lead to issues i think. If you really want the version you should put the number the same way debian does -deb<x>u<y> not the name, dont you think ?


best regards,

Ghislain.


error is:

The following packages have unmet dependencies:

percona-server-server-5.7 : PreDepends: percona-server-common-5.7 (= 5.7.31-34-1.buster) but 5.7.31-34-1.stretch is to be installed

                            Depends: percona-server-client-5.7 (= 5.7.31-34-1.buster) but 5.7.31-34-1.stretch is to be installed

E: Unable to correct problems, you have held broken packages.

Answers

  • Evgeniy PatlanEvgeniy Patlan Percona Percona Staff Role

    Hi @aqueos

    During OS updates it is recommended to remove old packages and then install new OS specific packages.

    In this way you could be sure that you get correct binaries and dependencies.

    Also operation systems recommend to disable third-party repos on OS updates.

    So if you follow these recommendations such issues should not appear

  • aqueosaqueos Entrant Legacy User Role Contributor

    hi,

    thanks a lot for taking the time to answer me :)

    I dont think i can use your solution because a lot of package have mysql in dependency, if i remove the peronna package and upgrade my debian it will install mariadb and screw my schema all over preventing me to put it back later.

    best regards,

    Ghislain.

  • aqueosaqueos Entrant Legacy User Role Contributor

    i really think your naming convention putting the distrib name instead of -debx can lead to problem and seems an easely fixable :)

    in any case I must thank you a lot for those packages, i just wanted to let you know of an issue :)

    best regards,

    Ghislain.

  • Evgeniy PatlanEvgeniy Patlan Percona Percona Staff Role

    Hi @aqueos

    Thanks for your input.

    We will investigate this situation deeply.

    I have created jira ticket for this (https://jira.percona.com/browse/PS-7404)

    So you can follow it

  • aqueosaqueos Entrant Legacy User Role Contributor

    thanks a lot, have a nice day and thanks again for your work ! :)

    Ghislain.

Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.