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#8746 - Pacman doesn't create .pacnew files anymore?

Attached to Project: Pacman
Opened by Ivan Todoroski (Grnch) - Friday, 23 November 2007, 17:50 GMT
Last edited by Dan McGee (toofishes) - Sunday, 25 November 2007, 18:25 GMT
Task Type Bug Report
Category General
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version 3.0.6
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Summary and Info:

I just upgraded pacman to version 3.0.6-2 and after updating some packages with it no .pacnew files are created, even though I know for a fact that the config files have been locally modified.

Note in the output below that the /etc/udev/rules.d/udev.rules file is reported as modified by pacman, yet reinstalling the udev package doesn't create a .pacnew file. I chose udev as only an example, I upgraded several other package with known local modifications, still no .pacnew.

Not sure what other information to provide at this point.

Steps to Reproduce:

[root@vmlinux ~]# pacman -Qii udev
Name : udev
Version : 116-3
URL : http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html
License : GPL
Groups : base
Provides : None
Depends On : glibc coreutils util-linux mktemp
Removes : None
Required By : initscripts
Conflicts With : pcmcia-cs hotplug
Installed Size : 538.52 K
Packager : Arch Linux (http://www.archlinux.org)
Architecture : i686
Build Date : Thu Nov 15 20:22:34 2007 UTC
Build Type : Unknown
Install Date : Fri Nov 23 16:27:54 2007 UTC
Install Reason : Explicitly installed
Install Script : Yes
Description : The userspace dev tools (udev)

Backup Files:
Not Modified /etc/udev/udev.conf
MODIFIED /etc/udev/rules.d/udev.rules
Not Modified /etc/scsi_id.config

[root@vmlinux ~]# pacman -S udev
:: udev-116-3: local version is up to date. Upgrade anyway? [Y/n] y
resolving dependencies... done.
looking for inter-conflicts... done.

Targets: udev-116-3

Total Package Size: 0.19 MB

Proceed with installation? [Y/n]
checking package integrity... done.
cleaning up... done.
(1/1) checking for file conflicts [###########################################################################################################################] 100%
ATTENTION UDEV:
----------
udev >=098 rules syntax has changed, please update your own rules.
udev >=099 Added persistent network and CD/DVD Symlink generator rules.
Please read the instructions carefully before reboot.
They are located in /etc/udev/readme-udev-arch.txt
----------
(1/1) upgrading udev [###########################################################################################################################] 100%
[root@vmlinux ~]# find /etc/ -name "*.pac*"
[root@vmlinux ~]# ls -l /etc/udev/rules.d/
total 64
-rw-r--r-- 1 root root 206 2007-11-15 21:22 60-cdrom_id.rules
-rw-r--r-- 1 root root 1098 2007-11-15 21:10 60-pcmcia.rules
-rw-r--r-- 1 root root 1215 2007-11-15 21:22 60-persistent-storage-tape.rules
-rw-r--r-- 1 root root 491 2007-06-15 00:42 70-persistent-cd.rules
-rw-r--r-- 1 root root 458 2007-06-15 00:42 70-persistent-net.rules
-rw-r--r-- 1 root root 186 2007-06-12 01:50 75-cd-aliases-generator.rules
-rw-r--r-- 1 root root 390 2007-11-15 21:22 75-cd-aliases-generator.rules.optional
-rw-r--r-- 1 root root 869 2007-06-12 01:50 75-persistent-net-generator.rules
-rw-r--r-- 1 root root 2106 2007-11-15 21:22 75-persistent-net-generator.rules.optional
-rw-r--r-- 1 root root 201 2007-11-15 19:21 device-mapper.rules
-rw-r--r-- 1 root root 21368 2007-10-22 11:22 udev.rules
[root@vmlinux ~]#
This task depends upon

Closed by  Dan McGee (toofishes)
Sunday, 25 November 2007, 18:25 GMT
Reason for closing:  Not a bug
Additional comments about closing:  closing at request of opener
Comment by Xavier (shining) - Sunday, 25 November 2007, 08:25 GMT
See man pacman, Section : HANDLING CONFIG FILES
Comment by Ivan Todoroski (Grnch) - Sunday, 25 November 2007, 10:12 GMT
Hm... it may be possible that the situation below applied for all my modified config files, if e.g. most of the upgrades were only minor revisions:

original=X, current=Y, new=X
Both package versions contain the exact same file, but the one on the
filesystem has been modified. Leave the current file in place.

Obviously, me trying to "reproduce" the bug by reinstalling the udev package over and over again did nothing, as per the above.

As I don't do -Syu often, virtually every time I do it there are atleast a few .pacnew files laying around, so it seemed very odd that suddenly there were none, hence the confusion... I apologize for the noise, please close this bug report.

Loading...