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.
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.
FS#6553 - makepkg3 rm -rf $HOME
Attached to Project:
Pacman
Opened by Julien MISCHKOWITZ (wain) - Thursday, 08 March 2007, 12:50 GMT
Last edited by Dan McGee (toofishes) - Friday, 09 March 2007, 04:36 GMT
Opened by Julien MISCHKOWITZ (wain) - Thursday, 08 March 2007, 12:50 GMT
Last edited by Dan McGee (toofishes) - Friday, 09 March 2007, 04:36 GMT
|
DetailsThanks to "sudo makepkg -C", my $HOME was deleted !
line 491 if [ -n "$SRCDEST" ]; then msg "Cleaning up source files from the cache." rm -rf "$SRCDEST"/* => if SRCDEST is not set in makepkg.conf, it seems to be set to $startdir (pwd) at line 409. Not cool, I have lost many data ... |
This task depends upon
Closed by Dan McGee (toofishes)
Wednesday, 21 March 2007, 02:27 GMT
Reason for closing: Fixed
Additional comments about closing: All set in CVS.
Wednesday, 21 March 2007, 02:27 GMT
Reason for closing: Fixed
Additional comments about closing: All set in CVS.
Here is the patch I just committed to CVS:
http://www.archlinux.org/pipermail/pacman-dev/2007-March/002118.html
FYI: the reason it is set to 'pwd' by default is to enable source to be cached in the build directory if the variable is not defined. Unfortunately, this backfired on us when a non-PKGBUILD operation was used.
Once again- I know saying sorry can't bring back your data, but this was a bit of an oversight on our part.
wain, you can try to recover your data with anyfs and anyfs-tools from community.
@@ -503,7 +503,7 @@
- "No files have been removed."
+ msg "No files have been removed."
what about cleaning $SRCDEST + /var/cache/pacman/src/ ?
This feature is almost unnecessary anyway as all it does is rm the contents of the directory.