You are not logged in.
Pages: 1
Could somebody upload a copy of it? I accidentally deleted a part of it.
Offline
Offline
For future reference, the are several other ways to get the original copy:
re-install the package (it will be installed as /etc/pacman.conf.pacnew if you have changed it)
directly extract it from the package archive in /var/cache/pacman/pkg/
use my pkg-extract_original script
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
For future reference, the are several other ways to get the original copy:
re-install the package (it will be installed as /etc/pacman.conf.pacnew if you have changed it)
For further future reference, this only works if it's been changed in the package also, so it's not an option when reinstalling the same version.
Offline
Xyne wrote:For future reference, the are several other ways to get the original copy:
re-install the package (it will be installed as /etc/pacman.conf.pacnew if you have changed it)
For further future reference, this only works if it's been changed in the package also, so it's not an option when reinstalling the same version.
If he accidentally deleted a part of it or otherwise modified it then it would work. If it hasn't been changed then he already has the original version.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Scimmia wrote:Xyne wrote:For future reference, the are several other ways to get the original copy:
re-install the package (it will be installed as /etc/pacman.conf.pacnew if you have changed it)
For further future reference, this only works if it's been changed in the package also, so it's not an option when reinstalling the same version.
If he accidentally deleted a part of it or otherwise modified it then it would work. If it hasn't been changed then he already has the original version.
No, it doesn't. .pacnew files are only created when the checksum of the file in the package changes.
Offline
No, it doesn't. .pacnew files are only created when the checksum of the file in the package changes.
I know, but that is besides the point. The question in this thread is how to obtain the original copy of the file included in the package after modifying the installed copy.
Whether or not the file has been modified, installing the package ensures that the original copy is copied to the system. The only difference is whether the pacnew suffix is added.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Scimmia wrote:No, it doesn't. .pacnew files are only created when the checksum of the file in the package changes.
I know, but that is besides the point. The question in this thread is how to obtain the original copy of the file included in the package after modifying the installed copy.
Whether or not the file has been modified, installing the package ensures that the original copy is copied to the system. The only difference is whether the pacnew suffix is added.
And I'm saying that that does not happen. Try it. Reinstalling the same package does NOT create pacnew files.
Offline
Pages: 1