Could anyone tell me the significance of the .pacnew file?

Sorry, I did not check back here for a while since removing the address via the Octopi GUI removed the issue.
I do have a /etc/packman.conf.pacnew indeed, and it’s diferent from the pacman.confin the same place.
I opened both of them in a text editor, and although they’re different, none of them has references to http://aur.archlinux.org/pkgbase/.
So far, so good.

Could anyone tell me what the significance of the .pacnew file is? Should I replace the regular one with it?

Diff output:

>>> diff /etc/pacman.conf /etc/pacman.conf.pacnew                                                                         
14c14
< CacheDir = /var/cache/pacman/pkg/
---
> #CacheDir    = /var/cache/pacman/pkg/
21c21
< #XferCommand = /usr/bin/curl -C - -f %u > %o
---
> #XferCommand = /usr/bin/curl -L -C - -f -o %o %u
24d23
< #UseDelta    = 0.7
27c26
< #IgnorePkg   =
---
> # Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
36,38c35,36
< #Color
< #TotalDownload
< # We cannot check disk space from within a chroot environment
---
> Color
> #NoProgressBar
40a39,40
> ParallelDownloads = 4
> ILoveCandy
71,74d70
< # The testing repositories are disabled by default. To enable, uncomment the
< # repo name header and Include lines. You can add preferred servers immediately
< # after the header, and they will be used before the default mirrors.
< 
76d71
< SigLevel = PackageRequired
80,84d74
< SigLevel = PackageRequired
< Include = /etc/pacman.d/mirrorlist
< 
< [community]
< SigLevel = PackageRequired
91d80
< SigLevel = PackageRequired
99d87
< 

I find the “ILoveCandy” line funny, but am otherwise unable to tell if the other additions in my pacman.confover the pacnew` version are anything relevant or important.

As mentioned, the system is working alright otherwise, so I’d rather not mess with it unless somebody here thinks that it would help me avoid issues in the future.

My other PC does have a reference to AUR in the pacman.conf, but it’s commented out and has also not causing (visible) issues for half a year.


mod. edited: moved to a new topic

Can’t you do some research on your own? There is countless topics about pacnew files.

https://wiki.archlinux.org/title/pacman/Pacnew_and_Pacsave

1 Like

Sorry – I was in a hurry and overlooked the link in mishmosh’s post.

Keep the content of the .conf file.

Keep the content of the .pacnew file.

Keep the content of the .pacnew file.

Keep the content of the .pacnew file. If you want some Color, remove # in front of it.

I hope you understand now, how to proceed. :wink:

By the way, I use meld as DIFFPROG for comparison, i.e.:

DIFFPROG=meld pacdiff -s

If you don’t have meld, simple install it from Manjaro repos.