Bug #5194

install_gems MySQL dependency for Debian 9

Added by Vlastimil Holer about 4 years ago. Updated about 4 years ago.

Status:ClosedStart date:06/14/2017
Priority:NormalDue date:
Assignee:Vlastimil Holer% Done:

0%

Category:Packaging
Target version:Release 5.4
Resolution:fixed Pull request:
Affected Versions:Development

Description

In Debian 9, there is no libmysqlclient-dev for install, just a virtual.

# apt-cache show libmysqlclient-dev && echo OK
N: Can't select versions from package 'libmysqlclient-dev' as it is purely virtual
N: No packages found
OK

# apt-get install libmysqlclient-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libmysqlclient-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libmysqlclient-dev' has no installation candidate

The dependency should be changed for Debian 9 and Ubuntu>17.04 to default-libmysqlclient-dev.

Associated revisions

Revision d5eabd14
Added by Vlastimil Holer about 4 years ago

B #5194: Support package alternatives in install_gems, add default-libmysqlclient-dev. Gemfile locks.

History

#1 Updated by Vlastimil Holer about 4 years ago

  • Status changed from Pending to Closed
  • Assignee set to Vlastimil Holer
  • Resolution set to fixed

Also available in: Atom PDF