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#7615 - Pacman deletes symlinks

Attached to Project: Pacman
Opened by Berger (Berger) - Saturday, 14 July 2007, 09:09 GMT
Last edited by Roman Kyrylych (Romashka) - Sunday, 15 July 2007, 12:03 GMT
Task Type Bug Report
Category General
Status Closed
Assigned To No-one
Architecture All
Severity Critical
Priority Normal
Reported Version 3.0.5
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I don't know when the behaviour of pacman changed, maybe with one of the last updates. I moved some big programs to another partition and used a symlink which is pointing to the new location. This works fine the last years. But know I'm recognised that pacman, if it upgrades these program, it deletes all symlinks on the path to this program, and it creates new directories instead. This can crash the system in the worst case.

I don't know if symlinks are a bad practice, now i'm using mounts instead of symlinks, but the user should at least get a warning and pacman should cancel with an error.

Steps to reproduce:
# move a directory, like /opt/java to new place X
# create a symlink /opt/java to X
# pacman -S jre

Thank you,
Berger

This task depends upon

Closed by  Roman Kyrylych (Romashka)
Sunday, 15 July 2007, 12:03 GMT
Reason for closing:  Duplicate
Additional comments about closing:  http://bugs.archlinux.org/task/7484

Loading...