- 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:
@@ -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
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user