Skip to content

[BUG] eopkg regression in reported error for unsatisfied dependency #207

@HarveyDevel

Description

@HarveyDevel

Description

When testing if something could cleanly be cherry-picked to stable I would install it in a VM on the stable repo and if it can not be installed it would throw an error stating the dependency was not satisfied. Now it just returns a system error.

Version

4.4.1

Steps to reproduce

Install a package with unsatisfied dependencies on a system using the stable repo:

❯sudo eopkg it firefox-147.0-384-1-x86_64.eopkg
System error. Program terminated.
Please use 'eopkg help' for general help.
Use --debug to see a traceback.

Debug shows the actual error.

❯ sudo eopkg it firefox-147.0-384-1-x86_64.eopkg --debug
DEBUG: RepoDB initialized in 6.151199340820312e-05.
DEBUG: InstallDB initialized in 0.001390218734741211.
DEBUG: PackageDB initialized in 0.12602710723876953.
DEBUG: HistoryDB initialized in 0.0008730888366699219.
DEBUG: A = ['firefox-147.0-384-1-x86_64.eopkg']
DEBUG: InstallDB initialized in 0.0010554790496826172.
DEBUG: PackageDB initialized in 0.1136782169342041.
DEBUG: RepoDB initialized in 0.0001347064971923828.
System error. Program terminated.
<class 'Exception'>: External dependencies not satisfied: at-spi2 release >= 54
Please use 'eopkg help' for general help.

Traceback:
  File "/tmp/onefile_6650_1768274882_502292/eopkg.py3", line 89, in <module>
  File "/tmp/onefile_6650_1768274882_502292/eopkg.py3", line 85, in main
  File "/tmp/onefile_6650_1768274882_502292/pisi/cli/pisicli.py", line 132, in run_command
  File "/tmp/onefile_6650_1768274882_502292/pisi/cli/install.py", line 169, in run
  File "/tmp/onefile_6650_1768274882_502292/pisi/api.py", line 78, in wrapper
  File "/tmp/onefile_6650_1768274882_502292/pisi/api.py", line 516, in install
  File "/tmp/onefile_6650_1768274882_502292/pisi/operations/install.py", line 270, in install_pkg_files

Expected result

External dependencies not satisfied: at-spi2 release >= 54

Add any other information about this issue, such as tracebacks, screenshots, etc.

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions