apt-get remove tries to remove dependent package when asked to remove one of it's dependencies [closed]

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












1















Suppose I have my Debian package (ex. mypackage) that strongly depends on openssl >= 1.0.2 (has Depends: libc6 (>= 2.17), openssl (>= 1.0.2) in its control file). When I am trying to remove openssl out of my system, I see mypackage marked to remove:



The following packages will be REMOVED:
mypackage ca-certificates openssl python3-requests ssh-import-id


Maybe, I see a bit of logic in a such behavior, but can't see any proof of exact reason why does apt choose mypackage to remove and how am I supposed to prevent it.










share|improve this question













closed as off-topic by Stephen Kitt, Jeff Schaller, Mr Shunz, Anthony Geoghegan, Christopher Jan 30 at 20:56



  • This question does not appear to be about Unix or Linux within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.











  • 2





    How would you use mypackage without having openssl installed? What would be the point of keeping packages whose functionality depended on openssl installed?

    – Kusalananda
    Jan 28 at 12:44











  • @Kusalananda, as I said - I think, there is a bit of logic here. But why doesn't apt remove other packages dependent on openssl except listed ones in OP?

    – VladislavTepes
    Jan 28 at 12:47







  • 3





    What other packages do you expect apt to remove? It’s removing ca-certificates which depends on openssl, and python3-requests and ssh-import-id which depend on ca-certificates. If you expect all packages depending on OpenSSL (the project) to be removed, you probably want to remove libssl1.0.2 as well; openssl only contains the client tools, not the OpenSSL library itself.

    – Stephen Kitt
    Jan 28 at 12:50











  • Sorry, I was mislead - apt-get remove openssl DOES remove installed packages dependent on openssl.

    – VladislavTepes
    Jan 29 at 5:21






  • 4





    I'm voting to close this question as off-topic because it was based on a misunderstanding.

    – Stephen Kitt
    Jan 30 at 9:36















1















Suppose I have my Debian package (ex. mypackage) that strongly depends on openssl >= 1.0.2 (has Depends: libc6 (>= 2.17), openssl (>= 1.0.2) in its control file). When I am trying to remove openssl out of my system, I see mypackage marked to remove:



The following packages will be REMOVED:
mypackage ca-certificates openssl python3-requests ssh-import-id


Maybe, I see a bit of logic in a such behavior, but can't see any proof of exact reason why does apt choose mypackage to remove and how am I supposed to prevent it.










share|improve this question













closed as off-topic by Stephen Kitt, Jeff Schaller, Mr Shunz, Anthony Geoghegan, Christopher Jan 30 at 20:56



  • This question does not appear to be about Unix or Linux within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.











  • 2





    How would you use mypackage without having openssl installed? What would be the point of keeping packages whose functionality depended on openssl installed?

    – Kusalananda
    Jan 28 at 12:44











  • @Kusalananda, as I said - I think, there is a bit of logic here. But why doesn't apt remove other packages dependent on openssl except listed ones in OP?

    – VladislavTepes
    Jan 28 at 12:47







  • 3





    What other packages do you expect apt to remove? It’s removing ca-certificates which depends on openssl, and python3-requests and ssh-import-id which depend on ca-certificates. If you expect all packages depending on OpenSSL (the project) to be removed, you probably want to remove libssl1.0.2 as well; openssl only contains the client tools, not the OpenSSL library itself.

    – Stephen Kitt
    Jan 28 at 12:50











  • Sorry, I was mislead - apt-get remove openssl DOES remove installed packages dependent on openssl.

    – VladislavTepes
    Jan 29 at 5:21






  • 4





    I'm voting to close this question as off-topic because it was based on a misunderstanding.

    – Stephen Kitt
    Jan 30 at 9:36













1












1








1


1






Suppose I have my Debian package (ex. mypackage) that strongly depends on openssl >= 1.0.2 (has Depends: libc6 (>= 2.17), openssl (>= 1.0.2) in its control file). When I am trying to remove openssl out of my system, I see mypackage marked to remove:



The following packages will be REMOVED:
mypackage ca-certificates openssl python3-requests ssh-import-id


Maybe, I see a bit of logic in a such behavior, but can't see any proof of exact reason why does apt choose mypackage to remove and how am I supposed to prevent it.










share|improve this question














Suppose I have my Debian package (ex. mypackage) that strongly depends on openssl >= 1.0.2 (has Depends: libc6 (>= 2.17), openssl (>= 1.0.2) in its control file). When I am trying to remove openssl out of my system, I see mypackage marked to remove:



The following packages will be REMOVED:
mypackage ca-certificates openssl python3-requests ssh-import-id


Maybe, I see a bit of logic in a such behavior, but can't see any proof of exact reason why does apt choose mypackage to remove and how am I supposed to prevent it.







debian apt package-management






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 28 at 12:38









VladislavTepesVladislavTepes

61




61




closed as off-topic by Stephen Kitt, Jeff Schaller, Mr Shunz, Anthony Geoghegan, Christopher Jan 30 at 20:56



  • This question does not appear to be about Unix or Linux within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.







closed as off-topic by Stephen Kitt, Jeff Schaller, Mr Shunz, Anthony Geoghegan, Christopher Jan 30 at 20:56



  • This question does not appear to be about Unix or Linux within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.







  • 2





    How would you use mypackage without having openssl installed? What would be the point of keeping packages whose functionality depended on openssl installed?

    – Kusalananda
    Jan 28 at 12:44











  • @Kusalananda, as I said - I think, there is a bit of logic here. But why doesn't apt remove other packages dependent on openssl except listed ones in OP?

    – VladislavTepes
    Jan 28 at 12:47







  • 3





    What other packages do you expect apt to remove? It’s removing ca-certificates which depends on openssl, and python3-requests and ssh-import-id which depend on ca-certificates. If you expect all packages depending on OpenSSL (the project) to be removed, you probably want to remove libssl1.0.2 as well; openssl only contains the client tools, not the OpenSSL library itself.

    – Stephen Kitt
    Jan 28 at 12:50











  • Sorry, I was mislead - apt-get remove openssl DOES remove installed packages dependent on openssl.

    – VladislavTepes
    Jan 29 at 5:21






  • 4





    I'm voting to close this question as off-topic because it was based on a misunderstanding.

    – Stephen Kitt
    Jan 30 at 9:36












  • 2





    How would you use mypackage without having openssl installed? What would be the point of keeping packages whose functionality depended on openssl installed?

    – Kusalananda
    Jan 28 at 12:44











  • @Kusalananda, as I said - I think, there is a bit of logic here. But why doesn't apt remove other packages dependent on openssl except listed ones in OP?

    – VladislavTepes
    Jan 28 at 12:47







  • 3





    What other packages do you expect apt to remove? It’s removing ca-certificates which depends on openssl, and python3-requests and ssh-import-id which depend on ca-certificates. If you expect all packages depending on OpenSSL (the project) to be removed, you probably want to remove libssl1.0.2 as well; openssl only contains the client tools, not the OpenSSL library itself.

    – Stephen Kitt
    Jan 28 at 12:50











  • Sorry, I was mislead - apt-get remove openssl DOES remove installed packages dependent on openssl.

    – VladislavTepes
    Jan 29 at 5:21






  • 4





    I'm voting to close this question as off-topic because it was based on a misunderstanding.

    – Stephen Kitt
    Jan 30 at 9:36







2




2





How would you use mypackage without having openssl installed? What would be the point of keeping packages whose functionality depended on openssl installed?

– Kusalananda
Jan 28 at 12:44





How would you use mypackage without having openssl installed? What would be the point of keeping packages whose functionality depended on openssl installed?

– Kusalananda
Jan 28 at 12:44













@Kusalananda, as I said - I think, there is a bit of logic here. But why doesn't apt remove other packages dependent on openssl except listed ones in OP?

– VladislavTepes
Jan 28 at 12:47






@Kusalananda, as I said - I think, there is a bit of logic here. But why doesn't apt remove other packages dependent on openssl except listed ones in OP?

– VladislavTepes
Jan 28 at 12:47





3




3





What other packages do you expect apt to remove? It’s removing ca-certificates which depends on openssl, and python3-requests and ssh-import-id which depend on ca-certificates. If you expect all packages depending on OpenSSL (the project) to be removed, you probably want to remove libssl1.0.2 as well; openssl only contains the client tools, not the OpenSSL library itself.

– Stephen Kitt
Jan 28 at 12:50





What other packages do you expect apt to remove? It’s removing ca-certificates which depends on openssl, and python3-requests and ssh-import-id which depend on ca-certificates. If you expect all packages depending on OpenSSL (the project) to be removed, you probably want to remove libssl1.0.2 as well; openssl only contains the client tools, not the OpenSSL library itself.

– Stephen Kitt
Jan 28 at 12:50













Sorry, I was mislead - apt-get remove openssl DOES remove installed packages dependent on openssl.

– VladislavTepes
Jan 29 at 5:21





Sorry, I was mislead - apt-get remove openssl DOES remove installed packages dependent on openssl.

– VladislavTepes
Jan 29 at 5:21




4




4





I'm voting to close this question as off-topic because it was based on a misunderstanding.

– Stephen Kitt
Jan 30 at 9:36





I'm voting to close this question as off-topic because it was based on a misunderstanding.

– Stephen Kitt
Jan 30 at 9:36










0






active

oldest

votes

















0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes

Popular posts from this blog

How to check contact read email or not when send email to Individual?

Displaying single band from multi-band raster using QGIS

How many registers does an x86_64 CPU actually have?