apt-get remove tries to remove dependent package when asked to remove one of it's dependencies [closed]
Clash Royale CLAN TAG#URR8PPP
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
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.
add a comment |
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
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.
2
How would you usemypackage
without havingopenssl
installed? What would be the point of keeping packages whose functionality depended onopenssl
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 expectapt
to remove? It’s removingca-certificates
which depends onopenssl
, andpython3-requests
andssh-import-id
which depend onca-certificates
. If you expect all packages depending on OpenSSL (the project) to be removed, you probably want to removelibssl1.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
add a comment |
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
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
debian apt package-management
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.
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.
2
How would you usemypackage
without havingopenssl
installed? What would be the point of keeping packages whose functionality depended onopenssl
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 expectapt
to remove? It’s removingca-certificates
which depends onopenssl
, andpython3-requests
andssh-import-id
which depend onca-certificates
. If you expect all packages depending on OpenSSL (the project) to be removed, you probably want to removelibssl1.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
add a comment |
2
How would you usemypackage
without havingopenssl
installed? What would be the point of keeping packages whose functionality depended onopenssl
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 expectapt
to remove? It’s removingca-certificates
which depends onopenssl
, andpython3-requests
andssh-import-id
which depend onca-certificates
. If you expect all packages depending on OpenSSL (the project) to be removed, you probably want to removelibssl1.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
add a comment |
0
active
oldest
votes
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
2
How would you use
mypackage
without havingopenssl
installed? What would be the point of keeping packages whose functionality depended onopenssl
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 removingca-certificates
which depends onopenssl
, andpython3-requests
andssh-import-id
which depend onca-certificates
. If you expect all packages depending on OpenSSL (the project) to be removed, you probably want to removelibssl1.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