[pacman-dev] Odd -Su checkdeps error message

Dan McGee dpmcgee at gmail.com
Sat Jul 19 09:20:32 EDT 2008


On Sat, Jul 19, 2008 at 7:32 AM, Nagy Gabor <ngaba at bibl.u-szeged.hu> wrote:
>> [ngaba at Arch pacman]$ LANG=C sudo pacman -Su
>> :: Starting full system upgrade...
>> resolving dependencies...
>> looking for inter-conflicts...
>> error: failed to prepare transaction (could not satisfy dependencies)
>> :: firefox-i18n: requires firefox=3.0
>>
>> [ngaba at Arch pacman]$ LANG=C pacman -Qi firefox
>> Name           : firefox
>> Version        : 3.0-2
>> ...
>>
>> Hm. What's this?
>> [ngaba at Arch pacman]$ LANG=C sudo pacman -Su --debug | grep firefox
>> [12:20:47] debug: new version of 'firefox' found (3.0-2 => 3.0.1-1)
>> [12:20:47] debug: package 'firefox' not found in sync
>> ...
>>
>> Aha. We should somehow inform the user about the selected packages.
>> Btw, these --debug messages are also odd, (instead of 'firefox' not
>> found in sync (== target list), we should say adding firefox to the
>> target list).
>>
>
> Some notes:
>
> 0. We are in string freeze :-/
Debug messages aren't translated, so change these all you want.

> 1. Maybe we should introduce PM_LOG_INFO, alpm cannot send a simple
> message (which is not warning, error or debug).
> 2. I couldn't find any rule for displaying '::' or not...
That is manually output. I've never completely understood it. In this
case, it is really an error, so I'm not sure why we don't use that.




More information about the pacman-dev mailing list