You are not logged in.

#1 2006-12-30 18:50:29

Shagbag
Member
Registered: 2006-10-25
Posts: 259

File conflict resulting from pacman -Syu

When I try to update my system (ie. run pacman -Syu with root privileges) I get the following error:

[root@archlinux ~]# pacman -Syu
:: Synchronizing package databases...
:: current is up to date
:: extra is up to date
:: unstable is up to date
:: community is up to date
:: takhis is up to date

Targets: aquamarine-svn-1753-1 aspell-0.60.5-1 autoconf-2.61-1
         evolution-sharp-0.12.0-1 libgsf-1.14.3-1 wv-1.2.4-1 beagle-0.2.14-1
         beryl-core-svn-1774-1 beryl-dbus-svn-1759-1 beryl-manager-svn-1717-1
         beryl-plugins-svn-1824-1 beryl-settings-svn-1769-1
         beryl-vidcap-svn-1759-1 chmlib-0.38-2 conky-1.4.5-1 coreutils-6.7-1
         cpio-2.7-2 docbook-xsl-1.71.1-2 e-cvs-20061228-1
         e_modules-cvs-20061215-1 e_utils-cvs-20061215-1 eclair-cvs-20061215-1
         ecore-cvs-20061222-1 edb-cvs-20061216-1 edje-cvs-20061228-1
         edje_viewer-cvs-20061215-1 eet-cvs-20061222-1 elicit-cvs-20061215-1
         embryo-cvs-20061215-1 emerald-svn-1824-1 emotion-cvs-20061215-1
         emphasis-cvs-20061215-1 empower-cvs-20061215-1 engage-cvs-20061215-1
         engrave-cvs-20061228-1 enhance-cvs-20061215-1 enity-cvs-20061215-1
         enterminus-cvs-20061215-1 entice-cvs-20061228-1 xorg-xdm-1.1.0-1
         entrance-cvs-20061228-1 entrance_edit_gui-cvs-20061215-1
         entropy-cvs-20061215-1 epeg-cvs-20061215-1 ephoto-cvs-20061222-1
         epiphany-2.16.2-2 epsilon-cvs-20061215-1 equate-cvs-20061215-1
         esmart-cvs-20061215-1 estickies-cvs-20061215-1 etk-cvs-20061228-1
         etk_perl-cvs-20061215-1 evas-cvs-20061228-1 evfs-cvs-20061228-1
         libdjvu-3.5.17-1 gnome-icon-theme-2.17.4.1-1 evince-0.7.0-1
         ewl-cvs-20061222-1 examine-cvs-20061215-1 exhibit-cvs-20061215-1
         exml-cvs-20061215-1 extrackt-cvs-20061215-1 file-4.19-1
         filesystem-0.8-1 fontconfig-2.4.2-1 freetype2-2.2.1-4 gcc-4.1.2-2
         gcc-fortran-4.1.2-2 gdm-2.16.4-1 rcs-5.7-3 git-1.4.4.3-1 glib2-2.12.6-3
         kernel-headers-2.6.19.1-1 glibc-2.5-3 gnutls-1.6.1-1
         libgsf-gnome-1.14.3-1 goffice-0.2.2-1 grub-0.97-5
         gstreamer0.10-0.10.11-1 liboil-0.3.10-2 gstreamer0.10-base-0.10.11-1
         gstreamer0.10-alsa-0.10.11-1 gstreamer0.10-cdparanoia-0.10.11-1
         gstreamer0.10-flac-0.10.5-1 gstreamer0.10-gconf-0.10.5-1
         gstreamer0.10-gnomevfs-0.10.11-1 gstreamer0.10-good-0.10.5-1
         gstreamer0.10-ogg-0.10.11-1 gstreamer0.10-vorbis-0.10.11-1
         gtk-engines-2.8.2-1 gtkhtml-3.12.2-1 imagemagick-6.3.1.3-1
         imlib2-cvs-20061215-1 imlib2_loaders-cvs-20061216-1 initscripts-0.8-3
         ipw3945-1.1.3-1 iso-codes-1.0-1 jre-6-2 lesstif-0.95.0-1
         libbeagle-0.2.14-1 libcddb-1.3.0-1 libkipi-0.1.5-1 libpng-1.2.14-1
         librsvg-2.16.1-1 libsoup-2.2.98-1 libwpd-0.8.7-1 libxfont-1.2.6-1
         device-mapper-1.02.13-1 lilo-22.7.3-2 lm_sensors-2.10.1-2 mesa-6.5.2-1
         mono-1.2.2.1-1 mpfr-2.2.1-1 nano-2.0.2-1 nautilus-cd-burner-2.16.2-1
         ncurses-5.6-1 nspr-4.6.4-1 nss-3.11.4-1 openexr-1.4.0a-2 pango-1.14.9-1
         pcre-7.0-1 pkgconfig-0.21-1 poppler-0.5.4-2 pygobject-2.12.3-1
         qscintilla-1.7.1-1 qtcurve-gtk2-0.46.2-1 qtcurve-kde3-0.46.2-1
         reiserfsprogs-3.6.20-1 seom-svn-121-1 sip-4.5.2-1 tar-1.16.1-1
         usbutils-0.72-1 vim-7.0.178-1 xfsprogs-2.8.18-1 xorg-font-utils-1.0.3-1
         xorg-server-1.1.1-5 xorg-xinit-1.0.3-1 xterm-223-1 xulrunner-1.8.1.1-1

Total Package Size:   210.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:
  lm_sensors: /etc/rc.d/sensors: exists in filesystem


errors occurred, no packages were upgraded.

[root@archlinux ~]#

Now I do have lm_sensors but it's never worked properly because I don't have the 'coretemp' kernel module needed for my Intel Core 2 Duo CPU.

When I try to remove lm_sensors (pacman -R lm_sensors) I get a warning that it's needed by kdebase.

How can I get over the above problem so that I can update my system?  Do I simply delete the /etc/rc.d/sensors file?

Offline

#2 2006-12-30 18:59:21

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

Re: File conflict resulting from pacman -Syu

If you're sure that there's no problem with overwriting that file, you can use the -f argument to force pacman.


I am a gated community.

Offline

#3 2006-12-30 20:11:14

matersci
Member
From: Hellas
Registered: 2006-01-19
Posts: 169

Re: File conflict resulting from pacman -Syu

just remove /etc/rc.d/sensors.
I had the same error and everything is OK now.

http://bbs.archlinux.org/viewtopic.php?t=27953

Offline

Board footer

Powered by FluxBB