You are not logged in.

#1 2006-09-27 14:37:13

Skyscraper
Member
Registered: 2005-06-20
Posts: 72

kernel-headers conflicts - current upgrade (27.09.2006)

OK, so there is a problem with recent upgrade. Here is a listing of the upgrade process and the kernel-headers conflict.

# pacman -Syu
:: Synchronizing package databases...
 current                  [################] 100%      69K    28.6K/s  00:00:02
 extra                    [################] 100%     255K    88.7K/s  00:00:02
 community                [################] 100%     136K    50.0K/s  00:00:02
:: Replace mkinitrd with mkinitcpio from "current"? [Y/n] y
:: foomatic-2.0.3-2: ignoring package upgrade (to be replaced by foomatic-db-engine-3.1-1)
:: httrack: local (3.40-1) appears to be newer than repo (extra/3.33-2)
:: Above packages will be skipped.  To manually upgrade use 'pacman -S <pkg>'

Remove:  mkinitrd

Targets: mkinitcpio-0.5.6-1 azureus-2.5.0.0-1 binutils-2.17-1 filesystem-0.7.2-5
         kernel-headers-2.6.18-3 glibc-2.4-4 pango-1.14.4-1 gtk2-2.10.4-1
         initscripts-0.7.2-8 kernel26-2.6.18-4 klibc-1.4.29-1 klibc-udev-100-1
         libgphoto2-2.2.1-2 nspr-4.6.3-1 nss-3.11.3-1 nvidia-legacy-1.0.7184-2
         sane-1.0.18-2 smb4k-0.7.3-1 udev-100-1 xulrunner-1.8.0.7-1

Total Package Size:   65.8 MB

Proceed with upgrade? [Y/n] y

:: Retrieving packages from current...
 mkinitcpio-0.5.6-1       [################] 100%      11K     5.3K/s  00:00:02
 binutils-2.17-1          [################] 100%    2835K   216.8K/s  00:00:13
 filesystem-0.7.2-5       [################] 100%       3K     0.7K/s  00:00:05
 kernel-headers-2.6.18-3  [################] 100%     614K   172.5K/s  00:00:03
 glibc-2.4-4              [################] 100%   10066K   269.6K/s  00:00:37
 pango-1.14.4-1           [################] 100%     356K   119.1K/s  00:00:02
 gtk2-2.10.4-1            [################] 100%    6922K   344.6K/s  00:00:20
 initscripts-0.7.2-8      [################] 100%      18K    10.7K/s  00:00:01
 kernel26-2.6.18-4        [################] 100%   18232K   378.0K/s  00:00:48
 klibc-1.4.29-1           [################] 100%    2070K   276.2K/s  00:00:07
 klibc-udev-100-1         [################] 100%      38K    21.2K/s  00:00:01
 nspr-4.6.3-1             [################] 100%     347K   111.0K/s  00:00:03
 nss-3.11.3-1             [################] 100%    1633K   266.6K/s  00:00:06
 udev-100-1               [################] 100%     178K    72.6K/s  00:00:02

:: Retrieving packages from extra...
 azureus-2.5.0.0-1        [################] 100%    7066K   276.6K/s  00:00:25
 libgphoto2-2.2.1-2       [################] 100%    1260K   160.7K/s  00:00:07
 nvidia-legacy-1.0.7184-2 [################] 100%    1266K   232.3K/s  00:00:05
 sane-1.0.18-2            [################] 100%    2994K   297.3K/s  00:00:10
 xulrunner-1.8.0.7-1      [################] 100%    9872K   156.7K/s  00:01:03

:: Retrieving packages from community...
 smb4k-0.7.3-1            [################] 100%    1580K   232.7K/s  00:00:06

checking package integrity... done.
removing mkinitrd...
warning: /etc/mkinitrd.conf saved as /etc/mkinitrd.conf.pacsave
done.
loading package data... done.
checking for file conflicts...
error: the following file conflicts were found:
  kernel-headers: /usr/include/asm-generic/errno-base.h: exists in filesystem
  kernel-headers: /usr/include/asm-generic/errno.h: exists in filesystem
  kernel-headers: /usr/include/asm-generic/resource.h: exists in filesystem
  kernel-headers: /usr/include/asm-generic/siginfo.h: exists in filesystem
  kernel-headers: /usr/include/asm-generic/statfs.h: exists in filesystem
  kernel-headers: /usr/include/asm/setup.h: exists in filesystem
  kernel-headers: /usr/include/asm/statfs.h: exists in filesystem
  kernel-headers: /usr/include/linux/hpet.h: exists in filesystem
  kernel-headers: /usr/include/linux/mempolicy.h: exists in filesystem
  kernel-headers: /usr/include/linux/mmtimer.h: exists in filesystem
  kernel-headers: /usr/include/linux/mqueue.h: exists in filesystem
  kernel-headers: /usr/include/linux/netfilter_logging.h: exists in filesystem
  kernel-headers: /usr/include/linux/nfsd/auth.h: exists in filesystem


errors occurred, no packages were upgraded.

What do You think ? Is there a safe solution or just FORCE option ?

Offline

#2 2006-09-27 14:48:40

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: kernel-headers conflicts - current upgrade (27.09.2006)

I think a force here should be fine.

Offline

#3 2006-09-27 15:17:54

Skyscraper
Member
Registered: 2005-06-20
Posts: 72

Re: kernel-headers conflicts - current upgrade (27.09.2006)

Cerebral wrote:

I think a force here should be fine.

Is there a more gentle way ?

Offline

#4 2006-09-27 16:44:39

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: kernel-headers conflicts - current upgrade (27.09.2006)

Which package owns those files on your system? looks like you copied them by hand from the linux kernel sources a while ago.

Offline

#5 2006-09-27 18:14:30

Skyscraper
Member
Registered: 2005-06-20
Posts: 72

Re: kernel-headers conflicts - current upgrade (27.09.2006)

JGC wrote:

Which package owns those files on your system? looks like you copied them by hand from the linux kernel sources a while ago.

Kernel-headers-2.6.12.0-1 owns these files but it might be true that I copied headers from sources in the past. Their modification date is around may 2005. I remember that in the past (long time ago) I was playing with recompilation of the kernel. But since then I haven't had any troubles (I am using distro kernel), maybe because kernel-headers package wasn't updated. OK so i'll just FORCE update of the newest packges...

Thank You very much for the hints! smile

Offline

Board footer

Powered by FluxBB