On Mon, Sep 10, 2007 at 08:36:38PM +0400, Sergej Pupykin wrote:
SP> Hi,
SP> Could anybody tell me what is this? And how to solve it properly?
SP> # pacman -R xorg SP> checking dependencies... SP> error: failed to prepare transaction (could not satisfy dependencies) SP> :: xorg is required by ted
SP> # pacman -Qi ted SP> Depends On : lesstif bash libtiff libxmu libxpm libpng
I see it is %REQUIREDBY% in /var/lib/pacman/local/xorg-11R7.0-1/depends, but how can I fix it without manualy modifying?
It's a known 3.0 bug, fixed in 3.1. But why fixing a broken entry if you are going to remove it anyway? Just do pacman -Rd xorg. Otherwise, you could just do pacman -S xorg if that package wasn't removed from the repos :) But pacman -S ted should fix it as well. I actually wrote a little testdb tool just for that purpose, detecting the broken REQUIREDBY fields. http://www.archlinux.org/pipermail/pacman-dev/2007-August/009209.html goes on there: http://www.archlinux.org/pipermail/pacman-dev/2007-September/009249.html I was waiting for other opinions about whether it should be a separate tool, or rather a pacman option, like -Qt or -Qtt.