Find the answer to your Linux question:
Results 1 to 3 of 3
I can't update with pacman, I keep getting errors. Output: Code: [root@vaio ~]# pacman -Syu :: Synchronizing package databases... :: current is up to date :: extra is up to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User ImNeat's Avatar
    Join Date
    Feb 2006
    Location
    N. America
    Posts
    392

    Problem updating


    I can't update with pacman, I keep getting errors. Output:

    Code:
    [root@vaio ~]# pacman -Syu
    :: Synchronizing package databases... 
    :: current is up to date
    :: extra is up to date
    :: community is up to date
    
    Targets: bash-3.2-1 conky-1.4.5-1 endeavour-2.7.4-1 filesystem-0.8-1
             findutils-4.2.29-1 firefox-2.0.0.1-1 fontconfig-2.4.2-1 gcc-4.1.2-2
             gettext-0.16.1-1 kernel-headers-2.6.19.1-1 glibc-2.5-3 grub-0.97-4
             initscripts-0.8-3 mkinitcpio-0.5.11-1 kernel26-2.6.19.1-1
             klibc-1.4.30-1 klibc-extras-2.2-1 klibc-udev-103-3 m4-1.4.8-1
             man-1.6e-1 man-pages-2.43-1 mdadm-2.5.6-1 ndiswrapper-1.31-3
             opera-9.10-1 psmisc-22.3-1 syslog-ng-2.0.0-2 tor-0.1.1.26-1 udev-103-2
             vim-7.0.178-1
    
    Total Package Size:   100.7 MB
    
    Proceed with upgrade? [Y/n] y
    
    checking package integrity... done.
    loading package data... done.
    checking for file conflicts... 
    error: the following file conflicts were found:
      kernel26: /lib/modules/2.6.19-ARCH/modules.alias: exists in filesystem
      kernel26: /lib/modules/2.6.19-ARCH/modules.ccwmap: exists in filesystem
      kernel26: /lib/modules/2.6.19-ARCH/modules.dep: exists in filesystem
      kernel26: /lib/modules/2.6.19-ARCH/modules.ieee1394map: exists in filesystem
      kernel26: /lib/modules/2.6.19-ARCH/modules.inputmap: exists in filesystem
      kernel26: /lib/modules/2.6.19-ARCH/modules.isapnpmap: exists in filesystem
      kernel26: /lib/modules/2.6.19-ARCH/modules.ofmap: exists in filesystem
      kernel26: /lib/modules/2.6.19-ARCH/modules.pcimap: exists in filesystem
      kernel26: /lib/modules/2.6.19-ARCH/modules.seriomap: exists in filesystem
      kernel26: /lib/modules/2.6.19-ARCH/modules.symbols: exists in filesystem
      kernel26: /lib/modules/2.6.19-ARCH/modules.usbmap: exists in filesystem
    
    
    errors occurred, no packages were upgraded.
    
    [root@vaio ~]#
    Has anyone else experienced this, or know what's wrong?

    #####

    I tried to update everything individually, and everything worked except the kernel:

    Code:
    [root@vaio ~]# pacman -Sy kernel26
    :: Synchronizing package databases... 
    :: current is up to date
    :: extra is up to date
    :: community is up to date
    
    Targets: kernel26-2.6.19.1-1
    
    Total Package Size:   18.8 MB
    
    Proceed with upgrade? [Y/n] y
    
    checking package integrity... done.
    loading package data... done.
    checking for file conflicts... 
    error: the following file conflicts were found:
      kernel26: /lib/modules/2.6.19-ARCH/modules.alias: exists in filesystem
      kernel26: /lib/modules/2.6.19-ARCH/modules.ccwmap: exists in filesystem
      kernel26: /lib/modules/2.6.19-ARCH/modules.dep: exists in filesystem
      kernel26: /lib/modules/2.6.19-ARCH/modules.ieee1394map: exists in filesystem
      kernel26: /lib/modules/2.6.19-ARCH/modules.inputmap: exists in filesystem
      kernel26: /lib/modules/2.6.19-ARCH/modules.isapnpmap: exists in filesystem
      kernel26: /lib/modules/2.6.19-ARCH/modules.ofmap: exists in filesystem
      kernel26: /lib/modules/2.6.19-ARCH/modules.pcimap: exists in filesystem
      kernel26: /lib/modules/2.6.19-ARCH/modules.seriomap: exists in filesystem
      kernel26: /lib/modules/2.6.19-ARCH/modules.symbols: exists in filesystem
      kernel26: /lib/modules/2.6.19-ARCH/modules.usbmap: exists in filesystem
    
    
    errors occurred, no packages were upgraded.
    
    [root@vaio ~]#
    10" Sony Vaio SRX99P 850MHz P3-M 256MB RAM 20GB HD : ArchLinux
    14" Dell Inspiron 1420N 2GHz Core2Duo 2GB RAM 160GB HD : Xubuntu

  2. #2
    Linux Engineer Javasnob's Avatar
    Join Date
    Jul 2005
    Location
    Wisconsin
    Posts
    942
    man pacman would do you good. Try the --force option.
    Flies of a particular kind, i.e. time-flies, are fond of an arrow.

    Registered Linux User #408794

  3. #3
    Linux User ImNeat's Avatar
    Join Date
    Feb 2006
    Location
    N. America
    Posts
    392
    Code:
    pacman -Sfy kernel26
    did the trick. Much thanks.

    Do you know why I had to force it?
    10" Sony Vaio SRX99P 850MHz P3-M 256MB RAM 20GB HD : ArchLinux
    14" Dell Inspiron 1420N 2GHz Core2Duo 2GB RAM 160GB HD : Xubuntu

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •