How can I ignore a package dependency?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I'm trying to install mssql-server on Ubuntu;



I did all these steps on microsoft.com.



And I get the message:



$ sudo apt-get install -y mssql-server
...
The following packages have unmet dependencies:
mssql-server : Depends: openssl (<= 1.1.0)


But I already have openssl=1.1.0g-2ubuntu4, and i think that is OK to go with this version of openssl. How can I skip this check?







share|improve this question






















  • Which Ubuntu version is this you try this on?
    – Videonauth
    May 26 at 11:08










  • @Videonauth that is Ubuntu 18.04 LTS.
    – Nikita Kal'chenko
    May 26 at 13:37











  • Well i guess you got an already working for you answer right now?
    – Videonauth
    May 26 at 13:38










  • @Videonauth now it provides conflicts, so it was removed with apt-get --fix-broken, I will reinstall it later.
    – Nikita Kal'chenko
    May 26 at 13:45











  • O.k. when you do, please provide any maybe showing up conflicts by doing an edit of your question then, so either I can write you an answer or the current answerer can update his. As far i can see the biggest problem is, that this package was made for Ubuntu 16.04 and that there is no package yet for 18.04.
    – Videonauth
    May 26 at 13:49















up vote
0
down vote

favorite












I'm trying to install mssql-server on Ubuntu;



I did all these steps on microsoft.com.



And I get the message:



$ sudo apt-get install -y mssql-server
...
The following packages have unmet dependencies:
mssql-server : Depends: openssl (<= 1.1.0)


But I already have openssl=1.1.0g-2ubuntu4, and i think that is OK to go with this version of openssl. How can I skip this check?







share|improve this question






















  • Which Ubuntu version is this you try this on?
    – Videonauth
    May 26 at 11:08










  • @Videonauth that is Ubuntu 18.04 LTS.
    – Nikita Kal'chenko
    May 26 at 13:37











  • Well i guess you got an already working for you answer right now?
    – Videonauth
    May 26 at 13:38










  • @Videonauth now it provides conflicts, so it was removed with apt-get --fix-broken, I will reinstall it later.
    – Nikita Kal'chenko
    May 26 at 13:45











  • O.k. when you do, please provide any maybe showing up conflicts by doing an edit of your question then, so either I can write you an answer or the current answerer can update his. As far i can see the biggest problem is, that this package was made for Ubuntu 16.04 and that there is no package yet for 18.04.
    – Videonauth
    May 26 at 13:49













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I'm trying to install mssql-server on Ubuntu;



I did all these steps on microsoft.com.



And I get the message:



$ sudo apt-get install -y mssql-server
...
The following packages have unmet dependencies:
mssql-server : Depends: openssl (<= 1.1.0)


But I already have openssl=1.1.0g-2ubuntu4, and i think that is OK to go with this version of openssl. How can I skip this check?







share|improve this question














I'm trying to install mssql-server on Ubuntu;



I did all these steps on microsoft.com.



And I get the message:



$ sudo apt-get install -y mssql-server
...
The following packages have unmet dependencies:
mssql-server : Depends: openssl (<= 1.1.0)


But I already have openssl=1.1.0g-2ubuntu4, and i think that is OK to go with this version of openssl. How can I skip this check?









share|improve this question













share|improve this question




share|improve this question








edited May 26 at 10:17









Zanna

47.8k13116226




47.8k13116226










asked May 26 at 9:23









Nikita Kal'chenko

32




32











  • Which Ubuntu version is this you try this on?
    – Videonauth
    May 26 at 11:08










  • @Videonauth that is Ubuntu 18.04 LTS.
    – Nikita Kal'chenko
    May 26 at 13:37











  • Well i guess you got an already working for you answer right now?
    – Videonauth
    May 26 at 13:38










  • @Videonauth now it provides conflicts, so it was removed with apt-get --fix-broken, I will reinstall it later.
    – Nikita Kal'chenko
    May 26 at 13:45











  • O.k. when you do, please provide any maybe showing up conflicts by doing an edit of your question then, so either I can write you an answer or the current answerer can update his. As far i can see the biggest problem is, that this package was made for Ubuntu 16.04 and that there is no package yet for 18.04.
    – Videonauth
    May 26 at 13:49

















  • Which Ubuntu version is this you try this on?
    – Videonauth
    May 26 at 11:08










  • @Videonauth that is Ubuntu 18.04 LTS.
    – Nikita Kal'chenko
    May 26 at 13:37











  • Well i guess you got an already working for you answer right now?
    – Videonauth
    May 26 at 13:38










  • @Videonauth now it provides conflicts, so it was removed with apt-get --fix-broken, I will reinstall it later.
    – Nikita Kal'chenko
    May 26 at 13:45











  • O.k. when you do, please provide any maybe showing up conflicts by doing an edit of your question then, so either I can write you an answer or the current answerer can update his. As far i can see the biggest problem is, that this package was made for Ubuntu 16.04 and that there is no package yet for 18.04.
    – Videonauth
    May 26 at 13:49
















Which Ubuntu version is this you try this on?
– Videonauth
May 26 at 11:08




Which Ubuntu version is this you try this on?
– Videonauth
May 26 at 11:08












@Videonauth that is Ubuntu 18.04 LTS.
– Nikita Kal'chenko
May 26 at 13:37





@Videonauth that is Ubuntu 18.04 LTS.
– Nikita Kal'chenko
May 26 at 13:37













Well i guess you got an already working for you answer right now?
– Videonauth
May 26 at 13:38




Well i guess you got an already working for you answer right now?
– Videonauth
May 26 at 13:38












@Videonauth now it provides conflicts, so it was removed with apt-get --fix-broken, I will reinstall it later.
– Nikita Kal'chenko
May 26 at 13:45





@Videonauth now it provides conflicts, so it was removed with apt-get --fix-broken, I will reinstall it later.
– Nikita Kal'chenko
May 26 at 13:45













O.k. when you do, please provide any maybe showing up conflicts by doing an edit of your question then, so either I can write you an answer or the current answerer can update his. As far i can see the biggest problem is, that this package was made for Ubuntu 16.04 and that there is no package yet for 18.04.
– Videonauth
May 26 at 13:49





O.k. when you do, please provide any maybe showing up conflicts by doing an edit of your question then, so either I can write you an answer or the current answerer can update his. As far i can see the biggest problem is, that this package was made for Ubuntu 16.04 and that there is no package yet for 18.04.
– Videonauth
May 26 at 13:49











1 Answer
1






active

oldest

votes

















up vote
0
down vote



accepted










Looks like Microsoft did not update their package MSSQL. Since openssl has got important fixes recently I would not try to ignore the dependency.



I recommend to install mysql-server instead of mssql.



If you still want to install mssql this is the way to go:



apt download mssql-server



dpkg --ignore-depends=openssl -i mssql-server.deb






share|improve this answer






















  • sudo apt-get install mssql-server --nodeps
    – kukulo
    May 26 at 10:16










  • or --no-install-recommends
    – kukulo
    May 26 at 10:17










  • With --no-install-recommends I get the same erroneous output, it seems like it does nothing. --nodeps flag is not available.
    – Nikita Kal'chenko
    May 26 at 10:52











  • apt download mssql-server then dpkg --ignore-depends=openssl -i mssql-server.deb . replace the mssql-server.deb with the filename that the apt downloads.
    – kukulo
    May 26 at 10:59










Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1040532%2fhow-can-i-ignore-a-package-dependency%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
0
down vote



accepted










Looks like Microsoft did not update their package MSSQL. Since openssl has got important fixes recently I would not try to ignore the dependency.



I recommend to install mysql-server instead of mssql.



If you still want to install mssql this is the way to go:



apt download mssql-server



dpkg --ignore-depends=openssl -i mssql-server.deb






share|improve this answer






















  • sudo apt-get install mssql-server --nodeps
    – kukulo
    May 26 at 10:16










  • or --no-install-recommends
    – kukulo
    May 26 at 10:17










  • With --no-install-recommends I get the same erroneous output, it seems like it does nothing. --nodeps flag is not available.
    – Nikita Kal'chenko
    May 26 at 10:52











  • apt download mssql-server then dpkg --ignore-depends=openssl -i mssql-server.deb . replace the mssql-server.deb with the filename that the apt downloads.
    – kukulo
    May 26 at 10:59














up vote
0
down vote



accepted










Looks like Microsoft did not update their package MSSQL. Since openssl has got important fixes recently I would not try to ignore the dependency.



I recommend to install mysql-server instead of mssql.



If you still want to install mssql this is the way to go:



apt download mssql-server



dpkg --ignore-depends=openssl -i mssql-server.deb






share|improve this answer






















  • sudo apt-get install mssql-server --nodeps
    – kukulo
    May 26 at 10:16










  • or --no-install-recommends
    – kukulo
    May 26 at 10:17










  • With --no-install-recommends I get the same erroneous output, it seems like it does nothing. --nodeps flag is not available.
    – Nikita Kal'chenko
    May 26 at 10:52











  • apt download mssql-server then dpkg --ignore-depends=openssl -i mssql-server.deb . replace the mssql-server.deb with the filename that the apt downloads.
    – kukulo
    May 26 at 10:59












up vote
0
down vote



accepted







up vote
0
down vote



accepted






Looks like Microsoft did not update their package MSSQL. Since openssl has got important fixes recently I would not try to ignore the dependency.



I recommend to install mysql-server instead of mssql.



If you still want to install mssql this is the way to go:



apt download mssql-server



dpkg --ignore-depends=openssl -i mssql-server.deb






share|improve this answer














Looks like Microsoft did not update their package MSSQL. Since openssl has got important fixes recently I would not try to ignore the dependency.



I recommend to install mysql-server instead of mssql.



If you still want to install mssql this is the way to go:



apt download mssql-server



dpkg --ignore-depends=openssl -i mssql-server.deb







share|improve this answer














share|improve this answer



share|improve this answer








edited May 26 at 11:03

























answered May 26 at 9:43









kukulo

842416




842416











  • sudo apt-get install mssql-server --nodeps
    – kukulo
    May 26 at 10:16










  • or --no-install-recommends
    – kukulo
    May 26 at 10:17










  • With --no-install-recommends I get the same erroneous output, it seems like it does nothing. --nodeps flag is not available.
    – Nikita Kal'chenko
    May 26 at 10:52











  • apt download mssql-server then dpkg --ignore-depends=openssl -i mssql-server.deb . replace the mssql-server.deb with the filename that the apt downloads.
    – kukulo
    May 26 at 10:59
















  • sudo apt-get install mssql-server --nodeps
    – kukulo
    May 26 at 10:16










  • or --no-install-recommends
    – kukulo
    May 26 at 10:17










  • With --no-install-recommends I get the same erroneous output, it seems like it does nothing. --nodeps flag is not available.
    – Nikita Kal'chenko
    May 26 at 10:52











  • apt download mssql-server then dpkg --ignore-depends=openssl -i mssql-server.deb . replace the mssql-server.deb with the filename that the apt downloads.
    – kukulo
    May 26 at 10:59















sudo apt-get install mssql-server --nodeps
– kukulo
May 26 at 10:16




sudo apt-get install mssql-server --nodeps
– kukulo
May 26 at 10:16












or --no-install-recommends
– kukulo
May 26 at 10:17




or --no-install-recommends
– kukulo
May 26 at 10:17












With --no-install-recommends I get the same erroneous output, it seems like it does nothing. --nodeps flag is not available.
– Nikita Kal'chenko
May 26 at 10:52





With --no-install-recommends I get the same erroneous output, it seems like it does nothing. --nodeps flag is not available.
– Nikita Kal'chenko
May 26 at 10:52













apt download mssql-server then dpkg --ignore-depends=openssl -i mssql-server.deb . replace the mssql-server.deb with the filename that the apt downloads.
– kukulo
May 26 at 10:59




apt download mssql-server then dpkg --ignore-depends=openssl -i mssql-server.deb . replace the mssql-server.deb with the filename that the apt downloads.
– kukulo
May 26 at 10:59












 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1040532%2fhow-can-i-ignore-a-package-dependency%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

Which professions warranted travel in Medieval times?

How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

Trouble downloading packages list due to a “Hash sum mismatch” error