We use a local apt repository as a means to distribute our own
software.* The software is not and will not ever be part of the
official Debian archives.* Our software consists of 4 packages, 3 real
ones, lets call then package1, package2 and package3 and a overall
package that exists to bring in the three packages at a specific
version to make a overall version of our system - gets call that
package-system.
The local repository consists of many versions of each of the four
packages.* When asking apt to install the very latest version of
package-system, everything works just as it should.* But when asking
apt to install a specific older version of package-system (which we
sometimes need to do), apt complains and says the dependencies cannot
be met.
Assume we have
Package-system V2.0.2 which depends on
Package1 V2.1.99
Package2 V2.1.99
Pacakge3 V2.1.99
Package-system V2.0.1 which depends on
Package1 V2.1.88
Package2 V2.1.88
Pacakge3 V2.1.88
Then "apt-get install package-system" installs package-system 2.0.2
along with V2.1.99 of the three packages. But "apt-get install
package-system=2.0.1" fails as follows:
The following packages have unmet dependencies.
package-system: Depends: package1 (= 2.1.88) but 2.1.99 is to be installed
Depends: package2 (= 2.1.88) but 2.1.99 is to be installed
Depends: package3 (= 2.1.88) but 2.1.99 is to be installed
E: Broken packages
I could understand this if V2.1.88 of package1,2 & 3 were not
available, but they are
apt-get install package1=2.1.88
The following NEW packages will be installed
package1
0 upgraded, 1 newly installed, 0 to remove and 486 not upgraded.
Need to get 53.7MB/53.7MB of archives.
After this operation, 67.4MB of additional disk space will be used
Does anyone have any ideas? I am using apt v0.7.20.2+lenny1 and have
no apt pinnings in place. The control file for package-system that
looks like this:
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: AANLkTikRifT7v1gfawzixJYUzXlZ-G0dqU7u6ppM7J_Z@mail.gmail.com">http://lists.debian.org/AANLkTikRifT7v1gfawzixJYUzXlZ-G0dqU7u6ppM7J_Z@mail.gmail.com