- Removed useless error message line, improved the understandability.

old
---

acerhk paketi, versiyon 0.5.34, sürüm 3, inşa 20 kuruluyor
Paket acerhk kernel bağımlılığını sağlamıyor.
acerhk paketi için bağımlılıklar sağlanmadı
Program sonlandırıldı.
Paket kurulabilir durumda değil

new
---

acerhk paketi, versiyon 0.5.34, sürüm 3, inşa 20 kuruluyor
kernel release 61 dependency of package acerhk is not satisfied
Program sonlandırıldı.
acerhk package cannot be installed unless the dependencies are satisfied
This commit is contained in:
Faik Uygur
2006-12-09 17:47:46 +00:00
parent 02cd23076e
commit 3a2a4b3775
2 changed files with 4 additions and 5 deletions
+2 -3
View File
@@ -143,9 +143,8 @@ class Install(AtomicOperation):
# check dependencies
if not ctx.config.get_option('ignore_dependency'):
if not self.pkginfo.installable():
ctx.ui.error(_('Dependencies for %s not satisfied') %
self.pkginfo.name)
raise Error(_("Package not installable"))
raise Error(_("%s package cannot be installed unless the dependencies are satisfied") %
self.pkginfo.name)
# check if package is in database
# If it is not, put it into 3rd party packagedb
+2 -2
View File
@@ -104,8 +104,8 @@ dependency spec"""
def satisfies_dependencies(pkg, deps, sat = installed_satisfies_dep):
for dep in deps:
if not sat(dep):
ctx.ui.error(_('Package %s does not satisfy dependency %s') %
(pkg,dep))
ctx.ui.error(_('%s dependency of package %s is not satisfied') %
(dep, pkg))
return False
return True