You are not logged in.
Hi!
I am at the moment trying to recompile my kernel using the Arch Package management. So i picked a HowTo ( http://wiki.archlinux.de/?title=Eigener … _erstellen (It's german)) and followed it. The kernel was compiled and the kernel26custom-2.6.23-1-i686.pkg.tar.gz was created, but i can't install it. When i try to do it, the error output is as follows:
pacman -U kernel26custom-2.6.23-1-i686.pkg.tar.gz
Lade Paketdaten ... Fertig.
Prüfe Abhängigkeiten... Fertig.
Räume auf... Fertig.
(1/1) Pruefe auf Dateikonflikte [####################################################] 100%
Fehler: Konnte Vorgang nicht vorbereiten (In Konflikt stehende Dateien)
kernel26custom: /lib/modules/2.6.23-ARCH/build existiert im Dateisystem
kernel26custom: /lib/modules/2.6.23-ARCH/kernel/arch/i386/crypto/aes-i586.ko existiert im Dateisystem
kernel26custom: /lib/modules/2.6.23-ARCH/kernel/arch/i386/crypto/twofish-i586.ko existiert im Dateisystem
kernel26custom: /lib/modules/2.6.23-ARCH/kernel/arch/i386/kernel/cpu/cpufreq/acpi-cpufreq.ko existiert im Dateisystem
kernel26custom: /lib/modules/2.6.23-ARCH/kernel/arch/i386/kernel/cpu/cpufreq/cpufreq-nforce2.ko existiert im Dateisystem
kernel26custom: /lib/modules/2.6.23-ARCH/kernel/arch/i386/kernel/cpu/cpufreq/e_powersaver.ko existiert im Dateisystem
[...]about 1000 Lines follow which files already exist in the file system)[...]
kernel26custom: /usr/src/linux-2.6.23-ARCH/sound/soc/at91/Kconfig existiert im Dateisystem
kernel26custom: /usr/src/linux-2.6.23-ARCH/sound/soc/codecs/Kconfig existiert im Dateisystem
kernel26custom: /usr/src/linux-2.6.23-ARCH/sound/soc/pxa/Kconfig existiert im Dateisystem
kernel26custom: /usr/src/linux-2.6.23-ARCH/sound/soc/s3c24xx/Kconfig existiert im Dateisystem
kernel26custom: /usr/src/linux-2.6.23-ARCH/sound/soc/sh/Kconfig existiert im Dateisystem
kernel26custom: /usr/src/linux-2.6.23-ARCH/sound/sparc/Kconfig existiert im Dateisystem
kernel26custom: /usr/src/linux-2.6.23-ARCH/sound/usb/Kconfig existiert im Dateisystem
kernel26custom: /usr/src/linux-2.6.23-ARCH/usr/Kconfig existiert im Dateisystem
Fehler aufgetreten, keine Pakete wurden aktualisiert.
The rough translation of this error is, that a lot files were found that already exist and won't be replaced. I am a bit afraid to uninstall my current kernel package and install mine, i don't want to break my system...Or can i safely just rm -r the kernel sources in /usr/src/linux-2.6.23-ARCH ?
Thanks in advance, Hauke
Offline
try pacman -Uf kernel26custom-2.6.23-1-i686.pkg.tar.gz
that will force to replace those files.
Offline
try pacman -Uf kernel26custom-2.6.23-1-i686.pkg.tar.gz
that will force to replace those files.
Wait, now! That is really not a very good idea, you'd get (possibly) quite a mess. The problem is that your custom compilation is using the same library path as the stock kernel, so the best thing would be to fix your PKGBUILD to put its modules in /lib/modules/2.6.23-custom (for example). I'm afraid I can't off the top of my head tell you how to do that, but maybe someone else can ...?
If the wiki page is missing this information it would be nice if someone could fix it. You could have a look at the English wiki page(s) - maybe there's something there?
larch: http://larch.berlios.de
Offline
I just had a quick look at the wiki. Did you do this bit:
Ganz wichtig: Im Zuge der Konfiguration mit dem Frontend muß unbedingt die lokale Version unserer Konfig eingestellt werden!
Zu finden ist dieser Parameter unter General setup->Local Version. Hier muß unserer lokaler Zusatz eingetragen werden, in diesem Fall -custom.
?
(For non-German-readers: that's the bit saying that the local/custom version needs to be put in the kernel config file.)
larch: http://larch.berlios.de
Offline
i think u need to change the part of the config file where is says ARCH
There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums. That is why we avoid it. -- ewaller (arch linux forum moderator)
Offline
In this thread there is a nice bash script by kano to automatically set all the parameters while building a custom kernel.
---for there is nothing either good or bad, but only thinking makes it so....
Hamlet, W Shakespeare
Offline
yep, that was it - i changed it from -ARCH to -custom and could easily install the kernel
Offline