Pacman

Historical bug tracker for the Pacman package manager.

The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues

This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
Tasklist

FS#67676 - [pacman] Add an option for a default diff tool to deal with pacnew files during installation

Attached to Project: Pacman
Opened by G3ro (G3ro) - Saturday, 22 August 2020, 17:01 GMT
Last edited by Allan McRae (Allan) - Saturday, 22 August 2020, 22:51 GMT
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Based on various reports such as https://bugs.archlinux.org/task/67636 recently, I think it is reasonable to ask for an option to pick a diff tool to automate the process of dealing with pacnew files.

Two diff tools could be chosen as standard, one for terminal and one with gui (for example "meld" was recommended).

I think this would make the lifes of many people, including maintainers etc., much easier.

For the implementation I recommend the following procedure:
.pacnew and the original file are copied to a location where a normal user can access them, then the diff tool is called, the user resolves it and then pacman copies the result into the destination folder (mostly /etc).
This task depends upon

Closed by  Allan McRae (Allan)
Saturday, 22 August 2020, 22:51 GMT
Reason for closing:  Won't implement
Comment by Morten Linderud (Foxboron) - Saturday, 22 August 2020, 17:08 GMT
What is wrong with pacdiff from pacman-contrib?
Comment by Allan McRae (Allan) - Saturday, 22 August 2020, 22:51 GMT
This can be achieved by a hook and tools already available.

Loading...