+ {
+ if (Pkg->ProvidesList != 0)
+ {
+ c1out << "Package " << S << " is a virtual package provided by:" << endl;
+
+ pkgCache::PrvIterator I = Pkg.ProvidesList();
+ for (; I.end() == false; I++)
+ {
+ pkgCache::PkgIterator Pkg = I.OwnerPkg();
+
+ if ((*Cache)[Pkg].CandidateVerIter(*Cache) == I.OwnerVer())
+ c1out << " " << Pkg.Name() << " " << I.OwnerVer().VerStr() << endl;
+
+ if ((*Cache)[Pkg].InstVerIter(*Cache) == I.OwnerVer())
+ c1out << " " << Pkg.Name() << " " << I.OwnerVer().VerStr() <<
+ " [Installed]"<< endl;
+ }
+ c1out << "You should explicly select one to install." << endl;
+ }
+ else
+ {
+ c1out << "Package " << S << " has no available version, but exists in the database." << endl;
+ c1out << "This typically means that the package was mentioned in a dependency and " << endl;
+ c1out << "never uploaded, or that it is an obsolete package." << endl;
+ }
+