file-conflict #2
No reviewers
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
vulpinelinux/vpm!2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "charlie/vpm:fix/file-conflict"
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?
I collapsed lines for readability where possible and followed the reference code @taylor pointed out in https://forge.dnsrail.org/vulpinelinux/vpm/issues/1 which was causing the issue, I've removed and rewrote the unnecessary nested checks so it only performs a single check in
FILE_DBand iterates only over files in the package being installed instead.Doing this to check if a file is owned by another rather than previous logic.
As you can see in the image you can now run:
sudo vpm install merk && sudo vpm install hello && sudo vpm listWhich will display both files successfully installed and usable.