__package_zypper should try to print diagnostics in case of failure #202
Labels
No Label
bugfix
cleanup
discussion
documentation
doing
done
feature
improvement
packaging
Stale
testing
TODO
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: ungleich-public/cdist#202
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Created by: telmich
Currently:
INFO: testhost: Running manifest and explorers for __package_zypper/postgresql-devel
INFO: testhost: Generating code for __package_zypper/postgresql-devel
INFO: testhost: Executing code for __package_zypper/postgresql-devel
ERROR: testhost: Command failed: ssh -o User=root -q testhost __object_id=postgresql-devel __object=/var/lib/cdist/object/__package_zypper/postgresql-devel/.cdist /bin/sh -e /var/lib/cdist/object/__package_zypper/postgresql-devel/.cdist/code-remote
INFO: cdist: Total processing time for 1 host(s): 34.397316694259644
ERROR: cdist: Failed to configure the following hosts: testhost
Doing it manually:
testhost:/etc/zypp/repos.d # zypper --quiet --non-interactive install --type "package" --auto-agree-with-licenses "postgresql-devel"
Problem: nothing provides libecpg6 = 8.3.23 needed by postgresql-devel-8.3.23-0.4.1.x86_64
Solution 1: do not install postgresql-devel-8.3.23-0.4.1.x86_64
Solution 2: break postgresql-devel by ignoring some of its dependencies
Choose from above solutions by number or cancel 1/2/c: c
testhost:/etc/zypp/repos.d # zypper --quiet --non-interactive install --type "package" --auto-agree-with-licenses "postgresql-devel" > /dev/null
testhost:/etc/zypp/repos.d #
Zypper seems to be a bit stupid printing diagnostics on stdout, but maybe we can remove >/dev/null in case normal operations with --quiet are quiet
closed