|
发表于 2006-1-5 22:22:50
|
显示全部楼层
Quote from Judd:Comment by Judd Vinet (judd) - Wednesday, 04 January 2006, 01:20AM
For some reason, even though hwd no longer depends on hotplug, it has been left as a REQUIREDBY package in hotplug, which is preventing you from upgrading.
Here are the steps to manually fix. I know this isn't ideal. If many users have this problem, I'll post a script or equivalent that will do the job for them.
1. As root, edit "/var/lib/pacman/local/hotplug-2004_09_23-4/depends" with a text editor
2. Delete all package names that come _after_ "%REQUIREDBY%" and _before_ the blank line that comes before "%CONFLICTS%"
For example, here is the depends file before editing. I've explicitly marked the blank lines.
[snip]
%DEPENDS%
usbutils
-----BLANK LINE HERE-----
%REQUIREDBY%
hwd
pcmciautils
udev
-----BLANK LINE HERE-----
%CONFLICTS%
-----BLANK LINE HERE-----
%PROVIDES%
-----BLANK LINE HERE-----
[/snip]
Now here is the file after editing.
[snip]
%DEPENDS%
usbutils
-----BLANK LINE HERE-----
%REQUIREDBY%
-----BLANK LINE HERE-----
%CONFLICTS%
-----BLANK LINE HERE-----
%PROVIDES%
-----BLANK LINE HERE-----
[/snip]
Once finished editing, try upgrading again. |
|