depending on both gnat and gnat-x.y
I'm working on upgrading my Debian packages for gnat-4.6.
I have gnat-4.6 installed in an unstable chroot.
I also have libaunit2 (a new version of one of my packages; not uploaded
yet) installed.
apt-get is saying that libaunit2 depends on gnat, which is not installed:
stephe@Shevek$ sudo schroot apt-get check
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
libaunit2-dev : Depends: gnat but it is not installed
E: Unmet dependencies. Try using -f.
(this happened because I installed libaunit2 'by hand', using dpkg
--install)
However, attempting to install gnat raises two issues:
stephe@Shevek$ sudo schroot apt-get install gnat
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
gnat : Depends: gnat-4.4 (>= 4.4.2-1) but it is not going to be installed
Recommends: ada-reference-manual but it is not installable
Recommends: gnat-gps but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
1) Should gnat have been changed at the same time as gnat-4.6 was uploaded?
2) 'ada-reference-manual' is no longer a package; it was split into 4:
stephe@Shevek$ sudo schroot aptitude search ada-reference-manual
p ada-reference-manual-html - Ada 2005 language standard
p ada-reference-manual-info - Ada 2005 language standard
p ada-reference-manual-pdf - Ada 2005 language standard
p ada-reference-manual-text - Ada 2005 language standard
So the gnat package needs to be updated for that. I'm not clear if any
should be 'recommends' as opposed to 'suggests'. Best would be a way for
a user to specify their prefered doc format, but I don't think there is
a way to do that now.
--
-- Stephe
Reply to: