Skip to content

Fedoradev image: don't install vpnc, update for dnf5 #1363

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

yedayak
Copy link
Collaborator

@yedayak yedayak commented Apr 9, 2025

vpnc causes this error:

Running transaction
Transaction failed: Rpm transaction failed.
  - file /usr/bin/vpnc conflicts between attempted installs of vpnc-consoleuser-0.5.3-48.svn550.fc41.x86_64 and vpnc-0.5.3-48.svn550.fc41.x86_64
  - file /usr/bin/vpnc-disconnect conflicts between attempted installs of vpnc-consoleuser-0.5.3-48.svn550.fc41.x86_64 and vpnc-0.5.3-48.svn550.fc41.x86_64

*) printf "%s\n" {/usr,}/{,s}bin/"$file" ;;
*) printf "%s\n" {/usr,}/bin/"$file" ;;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The commit message mentions "is being" and the related wiki page does not seem to mention the transition being complete. Is there any drawback from keeping sbin here still? If we remove it, do we lose any coverage?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed this change for now

esac
done |
xargs dnf --skip-broken -y install
done | grep -v vpnc |
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to skip everything matching the string vpnc, or just some specific package? Maybe there's room for making the grep more specific here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Made it more specific, so we still test vpnc, just don't install vpnc-consoleuser

yedayak added 2 commits April 14, 2025 14:33
The path for the transaction history sqlite moved, the options have to
be after the install subcommand
This still installs the vpnc command itself, which means we shouldn't
actually lose coverage.

Installing /usr/bin/vpnc brings vpnc-consoleuser, which then fails to
install, see https://bugzilla.redhat.com/show_bug.cgi?id=2341517.

Without this, I get conflicts about /usr/bin/vpnc and /usr/bin/vpnc-disconnect,
between vpnc-consoleuser-0.5.3-48.svn550.fc41.x86_64 and
vpnc-0.5.3-48.svn550.fc41.x86_64
@yedayak yedayak force-pushed the fedora-rawhide-fix branch from 35e9318 to 0a47c58 Compare April 14, 2025 12:57
@yedayak yedayak mentioned this pull request Apr 14, 2025
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.

2 participants