Uploaded image for project: 'Engineering Cross-Product'
  1. Engineering Cross-Product
  2. ENG-97

Adding deb repository breaks dependencies if lsb-release is not installed

    Details

    • Type: Bug
    • Status: New
    • Priority: Medium
    • Resolution: Unresolved
    • Component/s: None
    • Labels:

      Description

      ```

      1. dpkg -i percona-release_latest.generic_all.deb
        (Reading database ... 9741 files and directories currently installed.)
        Preparing to unpack percona-release_latest.generic_all.deb ...
        Unpacking percona-release (1.0-7.generic) over (1.0-7.generic) ...
        dpkg: dependency problems prevent configuration of percona-release:
        percona-release depends on lsb-release; however:
        Package lsb-release is not installed.

      dpkg: error processing package percona-release (--install):
      dependency problems - leaving unconfigured
      Errors were encountered while processing:
      percona-release

      ```

      The problem is fixed and the package is correctly installed if I run apt --fix-broken and then retry:

      ```
      apt --fix-broken install -y
      dpkg -i percona-release_latest.generic_all.deb
      ```

      I found this problem while working in MySQL and MariaDB Docker containers, built from official images.

        Smart Checklist

          Attachments

            Activity

              People

              • Assignee:
                evgeniy.patlan Evgeniy Patlan
                Reporter:
                federico Federico Razzoli
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: