You are not logged in.

#1 2008-10-06 23:16:15

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,385
Website

ATTENTION ALL USERS:klibc upgrade requires user intervention

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

#2 2008-10-06 23:30:06

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: ATTENTION ALL USERS:klibc upgrade requires user intervention

Stickying for the foreseeable future.

Offline

#3 2008-10-06 23:59:38

catwell
Member
From: Bretagne, France
Registered: 2008-02-20
Posts: 207
Website

Re: ATTENTION ALL USERS:klibc upgrade requires user intervention

Wouldn't it have been possible to do this in pre_install ?

Offline

#4 2008-10-07 00:20:27

toofishes
Developer
From: Chicago, IL
Registered: 2006-06-06
Posts: 602
Website

Re: ATTENTION ALL USERS:klibc upgrade requires user intervention

catwell wrote:

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

#5 2008-10-07 00:48:57

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: ATTENTION ALL USERS:klibc upgrade requires user intervention

Is there a warning in pacman about this when upgrading or do I need to keep this in mind?


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#6 2008-10-07 00:50:07

catwell
Member
From: Bretagne, France
Registered: 2008-02-20
Posts: 207
Website

Re: ATTENTION ALL USERS:klibc upgrade requires user intervention

toofishes wrote:

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

#7 2008-10-07 00:59:06

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,385
Website

Re: ATTENTION ALL USERS:klibc upgrade requires user intervention

Xyne wrote:

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 big_smile

Offline

#8 2008-10-07 01:05:30

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: ATTENTION ALL USERS:klibc upgrade requires user intervention

Can't you make it conflict with one more? I like round numbers.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#9 2008-10-07 01:08:40

tigrmesh
IRC Op
From: Florida, US
Registered: 2007-12-11
Posts: 794

Re: ATTENTION ALL USERS:klibc upgrade requires user intervention

Xyne wrote:

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  wink

Offline

#10 2008-10-07 05:17:52

NoOneImportant
Member
From: Deep Southern California
Registered: 2007-02-13
Posts: 178

Re: ATTENTION ALL USERS:klibc upgrade requires user intervention

thanks smile

just updated without a problem

Offline

#11 2008-10-07 09:08:58

Poisonblack
Member
From: Mumbai, India
Registered: 2008-07-25
Posts: 46

Re: ATTENTION ALL USERS:klibc upgrade requires user intervention

Ahh..this explains why -Syu failed on me this morning.;)


It's a miracle that curiosity survives formal education.

Offline

#12 2008-10-07 09:46:02

ahunavairya
Member
Registered: 2008-10-01
Posts: 25

Re: ATTENTION ALL USERS:klibc upgrade requires user intervention

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

#13 2008-10-07 12:24:15

dmz
Member
From: Sweden
Registered: 2008-08-27
Posts: 881
Website

Re: ATTENTION ALL USERS:klibc upgrade requires user intervention

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

#14 2008-10-07 12:31:16

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,385
Website

Re: ATTENTION ALL USERS:klibc upgrade requires user intervention

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.

Offline

#15 2008-10-07 12:37:00

dmz
Member
From: Sweden
Registered: 2008-08-27
Posts: 881
Website

Re: ATTENTION ALL USERS:klibc upgrade requires user intervention

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.

Allright, thanks.

Offline

#16 2008-10-07 12:47:16

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: ATTENTION ALL USERS:klibc upgrade requires user intervention

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*


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

#17 2008-10-07 12:48:54

dmz
Member
From: Sweden
Registered: 2008-08-27
Posts: 881
Website

Re: ATTENTION ALL USERS:klibc upgrade requires user intervention

moljac024 wrote:
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. yikes

Last edited by dmz (2008-10-07 12:49:05)

Offline

#18 2008-10-07 15:35:21

fuscia
Member
Registered: 2008-04-21
Posts: 398

Re: ATTENTION ALL USERS:klibc upgrade requires user intervention

thanks.

Offline

#19 2008-10-07 15:52:08

derelict
Member
Registered: 2006-07-25
Posts: 81

Re: ATTENTION ALL USERS:klibc upgrade requires user intervention

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

#20 2008-10-07 17:31:03

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 2,001
Website

Re: ATTENTION ALL USERS:klibc upgrade requires user intervention

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

#21 2008-10-08 03:16:56

B-Con
Member
From: USA
Registered: 2007-12-17
Posts: 554
Website

Re: ATTENTION ALL USERS:klibc upgrade requires user intervention

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.

Last edited by B-Con (2008-10-08 03:17:37)

Offline

#22 2008-10-08 14:24:12

burnside
Member
From: Asheville, NC
Registered: 2008-09-27
Posts: 45

Re: ATTENTION ALL USERS:klibc upgrade requires user intervention

Thanks for the heads up. My update went fine. smile

Offline

#23 2008-10-08 18:38:17

zombie_monkey
Member
Registered: 2008-02-06
Posts: 10

Re: ATTENTION ALL USERS:klibc upgrade requires user intervention

I just rm-oved the symlink and then the normal update went fine, should I have done somehitng else, derelict?

Offline

#24 2008-10-08 19:12:01

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 2,001
Website

Re: ATTENTION ALL USERS:klibc upgrade requires user intervention

B-Con wrote:
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

#25 2008-10-08 21:13:27

Kobussie
Member
From: NL - Groningen
Registered: 2007-04-06
Posts: 43
Website

Re: ATTENTION ALL USERS:klibc upgrade requires user intervention

Thanks Allen for the warning! Upgrade went fine after the rm of the symlink. - first upgrade after about one year...

Offline

Board footer

Powered by FluxBB