You are not logged in.

#1 2007-08-08 09:44:41

Vas.ko
Member
Registered: 2007-08-02
Posts: 3

Problem with "pacman -Syu"

[root@laptopT23 vasco]# pacman -Syu
hi!
I wanted to upgrade my sistem, but after the command "pacman -Syu"

:: Synchronizing package databases...
kernel                     0.2K  837.1K/s 00:00:00 [#####################] 100%
current is up to date
extra is up to date
community is up to date
:: Starting full system upgrade...
warning: sudo: forcing upgrade to version 1.6.9p3-2
resolving dependencies... done.
looking for inter-conflicts... done.

Targets: kernel-headers-2.6.22.1-1  glibc-2.6.1-1  attr-2.4.38-1  acl-2.2.44-1 
         binutils-2.17.50.0.18-1  cpio-2.8-1  device-mapper-1.02.21-1 
         popt-1.10.6-1  cryptsetup-1.0.5-3  dhcpcd-3.1.3-2 
         dialog-1.1_20070604-1  dmapi-2.2.8-1  ed-0.5-3  filesystem-2007.08-1 
         fakeroot-1.7.1-2  file-4.21-1  findutils-4.2.31-1  gcc-4.2.1-3 
         glib2-2.14.0-2  libxi-1.1.2-1  gtk2-2.10.14-2  hwdetect-0.8-8 
         udev-114-1  initscripts-2007.08-1  klibc-udev-114-1 
         mkinitcpio-0.5.15-1  kernel26-2.6.22.1-4  less-406-1  libpcap-0.9.7-1 
         libtool-1.5.24-1  libx11-1.1.3-1  licenses-2.0-1  lvm2-2.02.27-1 
         m4-1.4.10-1  man-1.6e-2  man-pages-2.60-1  mdadm-2.6.2-1 
         nano-2.0.6-2  ppp-2.4.4-4  shadow-4.0.18.1-5  sudo-1.6.9p3-2 
         syslog-ng-2.0.5-1  tar-1.18-1  vim-7.1.12-1  wpa_supplicant-0.5.8-1 
         xfsprogs-2.9.3-1  xfsdump-2.2.45-1 

Total Package Size:   118.55 MB

Proceed with installation? [Y/n] y
checking package integrity... done.
cleaning up... done.
(47/47) checking for file conflicts                 [#####################] 100%
error: could not prepare transaction
error: failed to commit transaction (conflicting files)
kernel26: /lib/modules/2.6.22-ARCH/modules.alias exists in filesystem
kernel26: /lib/modules/2.6.22-ARCH/modules.ccwmap exists in filesystem
kernel26: /lib/modules/2.6.22-ARCH/modules.dep exists in filesystem
kernel26: /lib/modules/2.6.22-ARCH/modules.ieee1394map exists in filesystem
kernel26: /lib/modules/2.6.22-ARCH/modules.inputmap exists in filesystem
kernel26: /lib/modules/2.6.22-ARCH/modules.isapnpmap exists in filesystem
kernel26: /lib/modules/2.6.22-ARCH/modules.ofmap exists in filesystem
kernel26: /lib/modules/2.6.22-ARCH/modules.pcimap exists in filesystem
kernel26: /lib/modules/2.6.22-ARCH/modules.seriomap exists in filesystem
kernel26: /lib/modules/2.6.22-ARCH/modules.symbols exists in filesystem
kernel26: /lib/modules/2.6.22-ARCH/modules.usbmap exists in filesystem

errors occurred, no packages were upgraded.

[root@laptopT23 vasco]#


I have this errors......my kernel version is the 2.6.21-ARCH, maybe is this the reason? How can I upgrade the kernel?

thx

Offline

#2 2007-08-08 09:55:59

satanius
Member
Registered: 2007-07-07
Posts: 10

Re: Problem with "pacman -Syu"

I'm not sure this is the right way do do it, but i usually delete conflicting files and then do the upgrade.

Offline

#3 2007-08-08 10:10:54

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Problem with "pacman -Syu"

check which package owns the files with 'pacman -Qo $pathtofile'
If it is now owned by a package you can safely force the package to install with 'pacman -Sf kernel26'
If the files are owned by a package then there they are conflicting and the path to follow will be different for each situation.
If you are not sure what to do post here which package (if any) owns the files.

Offline

#4 2007-08-08 12:32:14

Vas.ko
Member
Registered: 2007-08-02
Posts: 3

Re: Problem with "pacman -Syu"

solved! I tried with
pacman -Sf kernel26
and then it has all been solved

thx a lot

Offline

Board footer

Powered by FluxBB