Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle diversions when returned from dpk-query #362

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

carlonluca
Copy link
Contributor

The parser of the dpkg-query output should also handle diversions. When dpkg-query is run on Ubuntu, this is a possible output:

diversion by libc6 from: /lib64/ld-linux-x86-64.so.2
diversion by libc6 to: /lib64/ld-linux-x86-64.so.2.usr-is-merged

This commit parses the output, assumes libc6 is a dependency and adds it to the list.

The parser of the dpkg-query output should also handle diversions. When
dpkg-query is run on Ubuntu, this is a possible output:

diversion by libc6 from: /lib64/ld-linux-x86-64.so.2
diversion by libc6 to: /lib64/ld-linux-x86-64.so.2.usr-is-merged

This commit parses the output, assumes libc6 is a dependency and adds
it to the list.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant