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#11143 - case sensitive configuration files

Attached to Project: Pacman
Opened by Pierre Chapuis (catwell) - Thursday, 07 August 2008, 17:24 GMT
Last edited by Xavier (shining) - Thursday, 07 August 2008, 18:22 GMT
Task Type Bug Report
Category Backend/Core
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 3.2.0
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Summary and Info:

I don't know if this behavior is wanted but my config files broke with 3.2.0 because they are no longer case insensitive.

Steps to Reproduce:

Put a line like:
server = ftp://mir2.archlinuxfr.org/archlinux/$repo/os/x86_64

instead of:
Server = ftp://mir2.archlinuxfr.org/archlinux/$repo/os/x86_64

in /etc/pacman.d/mirrorlist and you should get:

bash-3.2# pacman -Syu
error: config file /etc/pacman.d/mirrorlist, line 6: directive 'server' not recognized.
error: config file /etc/pacman.d/mirrorlist, line 6: directive 'server' not recognized.
error: config file /etc/pacman.d/mirrorlist, line 6: directive 'server' not recognized.
:: Synchronizing package databases...
error: failed to update core (unexpected error)
error: failed to update extra (unexpected error)
error: failed to update community (unexpected error)
error: failed to synchronize any databases
This task depends upon

Closed by  Xavier (shining)
Thursday, 07 August 2008, 18:22 GMT
Reason for closing:  Not a bug
Comment by Aaron Griffin (phrakture) - Thursday, 07 August 2008, 17:43 GMT
Yeah this was intentional, but we should probably warn about it somewhere. Dan?
Comment by Dan McGee (toofishes) - Thursday, 07 August 2008, 18:05 GMT
From the manpage (http://www.archlinux.org/pacman/pacman.conf.5.html):

NOTE: Each directive must be in CamelCase. If the case isn't respected, the directive won't be recognized. For example. noupgrade or NOUPGRADE will not work.

Edit: and filing this under the right version number might make this report valid, as this was new in 3.2.0...
Comment by Xavier (shining) - Thursday, 07 August 2008, 18:22 GMT
Besides being mentioned in the man page, it is also the 6th entry in the NEWS file :
http://projects.archlinux.org/?p=pacman.git;a=blob_plain;f=NEWS;hb=HEAD
- config options are now case sensitive

Loading...