You are not logged in.
Due to a limitation in pacman's conflict checking and symbolic link resolution, the upgrade to klibc-1.5.14-1 requires manual removal of a symbolic link befole updating. Please run the command "rm /usr/lib/klibc/include/asm" as root to remove the symbolic link that will otherwise cause a few hundred false file conflicts.
Offline
Stickying for the foreseeable future.
Offline
Wouldn't it have been possible to do this in pre_install ?
Offline
Wouldn't it have been possible to do this in pre_install ?
No. File conflict checks run before anything is installed. pre_install would actually never run in this case, I think you are looking for pre_upgrade, and that only runs right before the package is set to be upgraded, not at the beginning of all packages where file conflict checks are done.
Offline
Is there a warning in pacman about this when upgrading or do I need to keep this in mind?
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
No. File conflict checks run before anything is installed. pre_install would actually never run in this case, I think you are looking for pre_upgrade, and that only runs right before the package is set to be upgraded, not at the beginning of all packages where file conflict checks are done.
Yes, I meant pre_upgrade. Thanks for the explanation.
Offline
Is there a warning in pacman about this when upgrading or do I need to keep this in mind?
If you see klibc in the list of packages to be upgraded, then you need to remove the symlink. If you forget, you will be subtlety reminded with 349 file conflict messages
Offline
Can't you make it conflict with one more? I like round numbers.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Is there a warning in pacman about this when upgrading or do I need to keep this in mind?
Don't worry, pacman showing you lots of file conflicts involving /usr/lib/klibc/include whatever will be your cue
Offline
thanks
just updated without a problem
Offline
Ahh..this explains why -Syu failed on me this morning.;)
It's a miracle that curiosity survives formal education.
Offline
I guess this has been my problem.
Out of curiosity why was the symbolic link there in the first place and what was its purpose?
خيام اگر ز باده مستى خوش باش
با ماه رخى اگر نشستى خوش باش
چون عاقبت كار جهان نيستى است
انگار كه نيستى، چو هستى خوش باش
Offline
Allright, before I saw the news regarding this on the frontpage, I just did pacman -Syuf, and it worked "fine". Or maybe I'm doomed now?
Offline
Allright, before I saw the news regarding this on the frontpage, I just did pacman -Syuf, and it worked "fine". Or maybe I'm doomed now?
No, you will be fine. But you should try very, very, very hard to never use the -f flag and instead find out why there is a conflict.
Offline
dmz wrote:Allright, before I saw the news regarding this on the frontpage, I just did pacman -Syuf, and it worked "fine". Or maybe I'm doomed now?
No, you will be fine. But you should try very, very, very hard to never use the -f flag and instead find out why there is a conflict.
Allright, thanks.
Offline
dmz wrote:Allright, before I saw the news regarding this on the frontpage, I just did pacman -Syuf, and it worked "fine". Or maybe I'm doomed now?
No, you will be fine. But you should try very, very, very hard to never use the -f flag and instead find out why there is a conflict.
OMG I've used -f a couple of times now! Is my machine doomed ?!
*jumps out the window*
The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...
Offline
Allan wrote:dmz wrote:Allright, before I saw the news regarding this on the frontpage, I just did pacman -Syuf, and it worked "fine". Or maybe I'm doomed now?
No, you will be fine. But you should try very, very, very hard to never use the -f flag and instead find out why there is a conflict.
OMG I've used -f a couple of times now! Is my machine doomed ?!
*jumps out the window*
I guess your machine is fine. You might be doomed though.
Last edited by dmz (2008-10-07 12:49:05)
Offline
thanks.
Offline
Please note that in addition to removing the symlink, users must also include all the klibc packages during the upgrade. Pacman does not recognize the soname during dependency checks either. Please see http://bugs.archlinux.org/task/11330.
$sudo pacman -S klibc ~
resolving dependencies...
looking for inter-conflicts...
error: failed to prepare transaction (could not satisfy dependencies)
:: klibc-extras: requires klibc-tQg242GqA9bO1EKgzWDvsh1E7nc
:: klibc-kbd: requires klibc-tQg242GqA9bO1EKgzWDvsh1E7nc
:: klibc-module-init-tools: requires klibc-tQg242GqA9bO1EKgzWDvsh1E7nc
:: klibc-udev: requires klibc-tQg242GqA9bO1EKgzWDvsh1E7nc
As opposed to this:
$sudo pacman -Syu ~
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
kdemod is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...
Targets (8): udev-128-5 hal-0.5.11-4 initscripts-2008.09-2 klibc-1.5.14-1 klibc-extras-2.5-1 klibc-kbd-1.15.20080312-7 klibc-module-init-tools-3.4-2
klibc-udev-128-1
Offline
klibc seems like a pretty fundamental library, why don't I have it? Is it only for people into writing their own initramfs etc?
< Daenyth> and he works prolifically
4 8 15 16 23 42
Offline
klibc seems like a pretty fundamental library, why don't I have it? Is it only for people into writing their own initramfs etc?
Are you sure you don't have it?
$ pacman -Qi klibc
It's required by mkinitcpio. I don't think you're upgrading your kernel without it, unless you're do that manually. It's in [base], so I would think you have it.
Last edited by B-Con (2008-10-08 03:17:37)
Offline
Thanks for the heads up. My update went fine.
Offline
I just rm-oved the symlink and then the normal update went fine, should I have done somehitng else, derelict?
Offline
Dieter@be wrote:klibc seems like a pretty fundamental library, why don't I have it? Is it only for people into writing their own initramfs etc?
Are you sure you don't have it?
$ pacman -Qi klibc
It's required by mkinitcpio. I don't think you're upgrading your kernel without it, unless you're do that manually. It's in [base], so I would think you have it.
Odd, it appears now in 'pacman -Syu' output where it didn't yesterday. Maybe repo lag...
Last edited by Dieter@be (2008-10-08 19:12:16)
< Daenyth> and he works prolifically
4 8 15 16 23 42
Offline
Thanks Allen for the warning! Upgrade went fine after the rm of the symlink. - first upgrade after about one year...
Offline