[pacman-dev] [PATCH] Print error on duplicated database entries
Allan McRae
allan at archlinux.org
Sat Nov 14 01:17:37 EST 2009
Dan McGee wrote:
> On Fri, Nov 13, 2009 at 11:33 PM, Allan McRae <allan at archlinux.org> wrote:
>> Nagy Gabor wrote:
>>> Some users reported duplicated database entries in /var/lib/pacman/local/,
>>> for example, both foo-1.0-1 and foo-2.0-1 subdirectories existed. (Bogus
>>> 3rd-party scripts, backup?) In this case pacman reported no error and its
>>> behaviour was mysterious.
>>>
>>>> From now on, pacman detects this situation and prints an error message.
>>> Signed-off-by: Nagy Gabor <ngaba at bibl.u-szeged.hu>
>>> ---
>> Looks good to me. I have seen this on the forums a couple of times on the
>> forums and it is very confusing to diagnose what the problem is.
>
> How does `testdb` come into play here?
I just created a fake duplicate db entry and ran testdb but it gave no
output.
Allan
More information about the pacman-dev
mailing list