Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Tweeted twitter.com/ServerFault/status/1558830815064236032
Question is now reopened, so the old "possible duplicate" text is obsolete.
Source Link

Possible Duplicate:
How do I get apt-get to ignore some dependencies?

I already have a package B and want to install a new package A. The installation wants to modify B, but I don't want that to happen.

I need to install the package A.

It has the a dependency on package B and requires to be (>2.0).

I have already installed B in my system with the version 2.1, so my current setup already fulfills the dependency.

But there is a new version (2.2) of the B package in the Debian repository and I don't want it since it conflicts with other stuff.

So, when I install the A package apt also tries to upgrade B.

How can I disable the upgrading of the dependencies or indicate an explicit dependency version without having to edit the packages?

I have read How do I get apt-get to ignore some dependencies?, but it doesn't help me. In the question there, the dependency (B) should not be handled by the repository manager at all. In my case, the repository manager already takes care of the dependency and should continue to do so, just not in this particular action.

Reopen Reviewers: Please see the comment of victorgp which should have been the answer in the first place.

Possible Duplicate:
How do I get apt-get to ignore some dependencies?

I already have a package B and want to install a new package A. The installation wants to modify B, but I don't want that to happen.

I need to install the package A.

It has the a dependency on package B and requires to be (>2.0).

I have already installed B in my system with the version 2.1, so my current setup already fulfills the dependency.

But there is a new version (2.2) of the B package in the Debian repository and I don't want it since it conflicts with other stuff.

So, when I install the A package apt also tries to upgrade B.

How can I disable the upgrading of the dependencies or indicate an explicit dependency version without having to edit the packages?

I have read How do I get apt-get to ignore some dependencies?, but it doesn't help me. In the question there, the dependency (B) should not be handled by the repository manager at all. In my case, the repository manager already takes care of the dependency and should continue to do so, just not in this particular action.

Reopen Reviewers: Please see the comment of victorgp which should have been the answer in the first place.

I already have a package B and want to install a new package A. The installation wants to modify B, but I don't want that to happen.

I need to install the package A.

It has the a dependency on package B and requires to be (>2.0).

I have already installed B in my system with the version 2.1, so my current setup already fulfills the dependency.

But there is a new version (2.2) of the B package in the Debian repository and I don't want it since it conflicts with other stuff.

So, when I install the A package apt also tries to upgrade B.

How can I disable the upgrading of the dependencies or indicate an explicit dependency version without having to edit the packages?

I have read How do I get apt-get to ignore some dependencies?, but it doesn't help me. In the question there, the dependency (B) should not be handled by the repository manager at all. In my case, the repository manager already takes care of the dependency and should continue to do so, just not in this particular action.

Reopen Reviewers: Please see the comment of victorgp which should have been the answer in the first place.

Post Reopened by kasperd, peterh, Esa Jokinen, gxx, Dave M
more text to make clear why this question is not the other question and cleaned it up a little
Source Link

Possible Duplicate:
How do I get apt-get to ignore some dependencies?

Note: This is not a duplicate of How do I get apt-get to ignore some dependencies? as this question handles an upgrade scenario, whereas the linked question handles an install scenario. The answers there don't work here and the answers here, won't work there. Reviewers: Please see the comment of victorgp which should have been the answer in the first place. I already have a package B and want to install a new package A. The installation wants to modify B, but I don't want that to happen.

I need to install some packagesthe package A.

The package AIt has the package B as a dependency on package B and requires to be (>2.0).

I have already installed B in my system with the package B version 2.1, so my current setup already fulfills the dependency. But

But there is a new version (2.2) of the B package in the Debian repository and iI don't want it since it conflicts with other stuff.

So, if iwhen I install the A package it also installs B because is its dependency, the problem here is that apt-get is also upgrading thetries to upgrade B package and installing the new version that i don't want (2.2).

How can iI disable the upgrading of the dependencies or indicate an explicit dependency version without having to edit the packages?

I have read How do I get apt-get to ignore some dependencies?, but it doesn't help me. In the question there, the dependency (B) should not be handled by the repository manager at all. In my case, the repository manager already takes care of the dependency and should continue to do so, just not in this particular action.

Reopen Reviewers: Please see the comment of victorgp which should have been the answer in the first place.

Possible Duplicate:
How do I get apt-get to ignore some dependencies?

Note: This is not a duplicate of How do I get apt-get to ignore some dependencies? as this question handles an upgrade scenario, whereas the linked question handles an install scenario. The answers there don't work here and the answers here, won't work there. Reviewers: Please see the comment of victorgp which should have been the answer in the first place.

I need to install some packages.

The package A has the package B as a dependency and requires to be (>2.0).

I have already installed in my system the package B version 2.1. But there is a new version (2.2) of the B package in the Debian repository and i don't want it since it conflicts with other stuff.

So, if i install the A package it also installs B because is its dependency, the problem here is that apt-get is also upgrading the B package and installing the new version that i don't want (2.2).

How can i disable the upgrading of the dependencies or indicate an explicit dependency version without having to edit the packages?

Possible Duplicate:
How do I get apt-get to ignore some dependencies?

I already have a package B and want to install a new package A. The installation wants to modify B, but I don't want that to happen.

I need to install the package A.

It has the a dependency on package B and requires to be (>2.0).

I have already installed B in my system with the version 2.1, so my current setup already fulfills the dependency.

But there is a new version (2.2) of the B package in the Debian repository and I don't want it since it conflicts with other stuff.

So, when I install the A package apt also tries to upgrade B.

How can I disable the upgrading of the dependencies or indicate an explicit dependency version without having to edit the packages?

I have read How do I get apt-get to ignore some dependencies?, but it doesn't help me. In the question there, the dependency (B) should not be handled by the repository manager at all. In my case, the repository manager already takes care of the dependency and should continue to do so, just not in this particular action.

Reopen Reviewers: Please see the comment of victorgp which should have been the answer in the first place.

Added explanaition of why this is not a duplicate and should be reopend.
Source Link

Possible Duplicate:
How do I get apt-get to ignore some dependencies?

Note: This is not a duplicate of How do I get apt-get to ignore some dependencies? as this question handles an upgrade scenario, whereas the linked question handles an install scenario. The answers there don't work here and the answers here, won't work there. Reviewers: Please see the comment of victorgp which should have been the answer in the first place.

I need to install some packages.

The package A has the package B as a dependency and requires to be (>2.0).

I have already installed in my system the package B version 2.1. But there is a new version (2.2) of the B package in the Debian repository and i don't want it since it conflicts with other stuff.

So, if i install the A package it also installs B because is its dependency, the problem here is that apt-get is also upgrading the B package and installing the new version that i don't want (2.2).

How can i disable the upgrading of the dependencies or indicate an explicit dependency version without having to edit the packages?

Possible Duplicate:
How do I get apt-get to ignore some dependencies?

I need to install some packages.

The package A has the package B as a dependency and requires to be (>2.0).

I have already installed in my system the package B version 2.1. But there is a new version (2.2) of the B package in the Debian repository and i don't want it since it conflicts with other stuff.

So, if i install the A package it also installs B because is its dependency, the problem here is that apt-get is also upgrading the B package and installing the new version that i don't want (2.2).

How can i disable the upgrading of the dependencies or indicate an explicit dependency version without having to edit the packages?

Possible Duplicate:
How do I get apt-get to ignore some dependencies?

Note: This is not a duplicate of How do I get apt-get to ignore some dependencies? as this question handles an upgrade scenario, whereas the linked question handles an install scenario. The answers there don't work here and the answers here, won't work there. Reviewers: Please see the comment of victorgp which should have been the answer in the first place.

I need to install some packages.

The package A has the package B as a dependency and requires to be (>2.0).

I have already installed in my system the package B version 2.1. But there is a new version (2.2) of the B package in the Debian repository and i don't want it since it conflicts with other stuff.

So, if i install the A package it also installs B because is its dependency, the problem here is that apt-get is also upgrading the B package and installing the new version that i don't want (2.2).

How can i disable the upgrading of the dependencies or indicate an explicit dependency version without having to edit the packages?

replaced http://serverfault.com/ with https://serverfault.com/
Source Link
Loading
insert duplicate link
Source Link
Loading
Post Closed as "exact duplicate" by sysadmin1138
deleted 19 characters in body
Source Link
EEAA
  • 110.7k
  • 18
  • 179
  • 247
Loading
Source Link
victorgp
  • 551
  • 2
  • 4
  • 9
Loading