HiveBrain v1.2.0
Get Started
← Back to all entries
patternsqlMinor

Installing SQL Server, I get unmet dependencies libc++1 and libjemalloc1 but it is not installable

Submitted by: @import:stackexchange-dba··
0
Viewed 0 times
sqlbutandlibcdependenciesgetinstallableinstallingserverlibjemalloc1

Problem

Here is the output,

$ sudo apt install -y mssql-server
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 mssql-server : Depends: libjemalloc1 but it is not installable
                Depends: libc++1 but it is not installable

Solution

This is because both of those packages are in the Ubuntu Universe, to enable that repository you can use,

sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe"


Note that the Universe Packages are not Officially Supported by Canonical and the Ubuntu Team, but instead by the community. For more information see the Security FAQ

Code Snippets

sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe"

Context

StackExchange Database Administrators Q#212868, answer score: 7

Revisions (0)

No revisions yet.