You are not logged in.

#1 2010-05-01 09:09:49

bfo
Member
Registered: 2009-11-27
Posts: 44

Updating kernel26 while kernel26zen-git is installed

Hi
One small question. Latest kernel26 update wants to pull kernel26-firmware as its dependency. At the same time, files packaged in kernel26-firmware (those in /lib/firmware) already exist in filesystem, because they were installed by kernel26zen-git. Therefore whole update fails to proceed. Zen's PKGBUILD contains kernel26-firmware in 'provides' array.  Of course I could always use -f switch, but I don't like forcing anything. Are there any workarounds?

Last edited by bfo (2010-05-01 09:10:35)

Offline

#2 2010-05-01 10:56:17

gonX
Member
From: Denmark
Registered: 2009-08-16
Posts: 112

Re: Updating kernel26 while kernel26zen-git is installed

Add it to the CONFLICTS array of kernel26zen-git


since 2009

Offline

#3 2010-05-01 14:54:10

bfo
Member
Registered: 2009-11-27
Posts: 44

Re: Updating kernel26 while kernel26zen-git is installed

That, in turn, results in pacman trying to remove kernel26zen-git. Update fails when I refuse to remove that package. Maybe adding something to the REPLACES array could help?

Offline

#4 2010-05-02 13:44:12

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,097

Re: Updating kernel26 while kernel26zen-git is installed

the best thing would be to fix the kernel26zen-git pkgbuild so that it doesn't provide the firmware, but has it in a seperate pkg like the stock kernel does.

Last edited by Mr.Elendig (2010-05-02 13:44:31)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#5 2010-05-03 09:09:34

bfo
Member
Registered: 2009-11-27
Posts: 44

Re: Updating kernel26 while kernel26zen-git is installed

Thanks for posting, I think I will ask upstream.

Offline

#6 2010-05-03 09:28:22

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Updating kernel26 while kernel26zen-git is installed

This is an Arch packaging issue - upstream developers will not have the solution.

If it helps, I omit the firmware from my custom kernel to avoid this.

Offline

#7 2010-05-03 09:54:24

bfo
Member
Registered: 2009-11-27
Posts: 44

Re: Updating kernel26 while kernel26zen-git is installed

By upstream I actually meant packager. What exactly are you doing with firmware? I think I don't quite understand 'omit' in this context.

Offline

#8 2010-05-03 10:20:27

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Updating kernel26 while kernel26zen-git is installed

Like you, I have both the stock kernel and a custom kernel installed, so I install the kernel26-firmware package from the repos, and I don't install any firmware with my custom kernel.

Offline

#9 2010-05-03 10:32:05

bfo
Member
Registered: 2009-11-27
Posts: 44

Re: Updating kernel26 while kernel26zen-git is installed

Thanks again.

Offline

Board footer

Powered by FluxBB