You are not logged in.

#1 2012-02-28 13:21:27

Stalafin
Member
From: Berlin, Germany
Registered: 2007-10-26
Posts: 617

Trouble updating udev: exists in filesystem

I have not updated my system for about a month, so now I tried to run an upgrade and during that pacman had some issues with udev. This is what I get when separately upgrading udev:

$ sudo pacman -S udev
resolving dependencies...
looking for inter-conflicts...

Targets (1): udev-181-2

Total Installed Size:   1.67 MiB
Net Upgrade Size:       0.01 MiB

Proceed with installation? [Y/n] 
(1/1) checking package integrity                                                                              [#################################################################] 100%
(1/1) loading package files                                                                                   [#################################################################] 100%
(1/1) checking for file conflicts                                                                             [#################################################################] 100%
error: failed to commit transaction (conflicting files)
udev: /lib/initcpio/hooks/udev exists in filesystem
udev: /lib/initcpio/install/udev exists in filesystem
udev: /usr/bin/udevadm exists in filesystem
Errors occurred, no packages were upgraded.

Can I just force the upgrade or what's going on there?

Offline

#2 2012-02-28 13:23:35

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Trouble updating udev: exists in filesystem

Run 'pacman -Syu'.

Offline

#3 2012-02-28 13:26:43

Stalafin
Member
From: Berlin, Germany
Registered: 2007-10-26
Posts: 617

Re: Trouble updating udev: exists in filesystem

And what exactly is that supposed to accomplish? As I have already stated in my initial post: there is a problem with udev.

$ sudo pacman -Su
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...

Targets (201): apr-1.4.5-2  avahi-0.6.31-1  bash-completion-1.3-3  ca-certificates-java-20120225-1  calibre-0.8.41-1  colord-0.1.17-1  damageproto-1.2.1-2  dhcpcd-5.5.4-1
               dmxproto-2.3.1-2  docbook-xml-4.5-5  enet-1.3.3-2  fftw-3.3-2  file-5.11-1  firefox-10.0.2-1  fixesproto-5.0-2  fontconfig-2.8.0-2  fontsproto-2.1.1-2
               ghostscript-9.05-1  giflib-4.1.6-5  git-1.7.9.2-1  glib2-2.30.2-2  gnutls-3.0.14-1  grep-2.10-3  gsm-1.0.13-7  gstreamer0.10-ugly-0.10.18-6
               gstreamer0.10-ugly-plugins-0.10.18-6  gtk-update-icon-cache-2.24.10-3  gtk2-2.24.10-3  gtk3-3.2.3-3  guile-1.8.8-2  hdparm-9.39-1  hplip-3.12.2-1  hspell-1.1-2
               id3lib-3.8.3-12  imagemagick-6.7.5.3-1  initscripts-2012.02.1-1  jbig2dec-0.11-3  kbproto-1.0.5-2  kdelibs-4.8.0-3  kmod-5-4  less-444-3  lib32-glib2-2.30.2-3
               lib32-glibc-2.15-6  lib32-gmp-5.0.4-1  lib32-gnutls-3.0.13-1  lib32-libjpeg-turbo-1.2.0-1  lib32-libltdl-2.4.2-3  lib32-libpng-1.5.9-1  lib32-p11-kit-0.11-1
               lib32-pcre-8.30-1  lib32-pixman-0.24.4-1  lib32-v4l-utils-0.8.6-1  libcaca-0.99.beta17-2  libcdio-0.83-1  libdmx-1.1.1-2  libdrm-2.4.31-1  libdv-1.0.0-4
               libevent-2.0.17-1  libexif-0.6.20-2  libfontenc-1.1.0-2  libglade-2.6.4-3  libice-1.0.7-2  libid3tag-0.15.1b-7  libidl2-0.8.14-2  libieee1284-0.2.11-4
               libirman-0.4.5-3  libjpeg-turbo-1.2.0-1  libltdl-2.4.2-3  libmodplug-0.8.8.4-1  libmysqlclient-5.5.21-1  libnl-3.2.7-1  libofa-0.9.3-4  libpcap-1.2.1-2
               libpng-1.5.9-1  libsidplay-1.36.59-5  libsm-1.2.0-2  libspectre-0.2.6-3  libtasn1-2.9-2  libtextcat-2.2-9  libtool-2.4.2-3  libunrar-4.1.4-2  libvisual-0.4.0-4
               libwpd-0.9.2-2  libwps-0.2.2-2  libxau-1.0.6-2  libxaw-1.0.9-2  libxcomposite-0.4.3-2  libxdamage-1.1.3-2  libxdmcp-1.1.0-2  libxext-1.3.0-2  libxfixes-5.0-2
               libxft-2.2.0-2  libxinerama-1.1.1-2  libxkbfile-1.0.7-2  libxklavier-5.1-2  libxmu-1.1.0-2  libxpm-3.5.9-2  libxrender-0.9.6-2  libxres-1.0.5-2  libxss-1.2.1-2
               libxt-1.1.1-2  libxtst-1.2.0-2  libxv-1.0.6-2  libxvmc-1.0.6-2  libxxf86dga-1.1.2-2  libxxf86vm-1.1.1-2  libyaml-0.1.4-2  libzip-0.10-2  linux-3.2.7-1
               linux-firmware-20120227-1  linux-headers-3.2.7-1  lpsolve-5.5.2.0-2  man-db-2.6.1-1  mesa-demos-8.0.1-2  mkinitcpio-0.8.2-3  mpd-0.16.7-1  mplayer-vaapi-34578-4
               mysql-5.5.21-1  mysql-clients-5.5.21-1  neon-0.29.6-3  net-snmp-5.7.1-2  nspr-4.9-1  nss-3.13.3-1  ntrack-1:16-2  nvidia-cg-toolkit-3.1-1  offlineimap-6.5.2.1-1
               ois-1.3-2  opencore-amr-0.1.3-1  openjdk6-6.b24_1.11.1-1  openslp-1.2.1-4  orbit2-2.14.19-2  p11-kit-0.11-1  pciutils-3.1.9-1  pcre-8.30-1  perl-encode-locale-1.03-1
               perl-error-0.17017-1  perl-file-listing-6.04-1  perl-html-tagset-3.20-3  perl-http-cookies-6.01-1  perl-http-date-6.01-1  perl-http-message-6.03-1
               perl-http-negotiate-6.01-1  perl-libwww-6.04-1  perl-lwp-mediatypes-6.02-1  perl-net-http-6.03-1  perl-www-robotrules-6.02-1  perl-xml-parser-2.41-2
               perl-xml-simple-2.18-4  phonon-gstreamer-4.6.0-1  pyqt-4.9.1-1  python2-cherrypy-3.2.2-1  python2-pyqt-4.9.1-1  python2-sip-4.13.2-1  randrproto-1.3.2-2  recode-3.6-7
               recordproto-1.14.1-2  renderproto-0.11.1-2  ruby-1.9.3_p125-1  scrnsaverproto-1.2.1-2  shared-desktop-ontologies-0.9.0-1  sigil-0.5.3-1  sip-4.13.2-1  slang-2.2.4-2
               subversion-1.7.3-1  sudo-1.8.4.p1-1  syslog-ng-3.3.4-2  taglib-1.7-4  ttf-dejavu-2.33-2  udev-181-2  unrar-4.1.4-2  v4l-utils-0.8.6-1  videoproto-2.3.1-2
               weechat-0.3.7-1  wpa_supplicant-0.7.3-5  xbindkeys-1.8.5-2  xbitmaps-1.1.1-2  xextproto-7.2.0-2  xf86vidmodeproto-2.3.1-2  xineramaproto-1.2.1-2
               xorg-bdftopcf-1.0.3-2  xorg-font-utils-7.6-3  xorg-fonts-encodings-1.0.4-2  xorg-fonts-misc-1.0.1-2  xorg-mkfontdir-1.0.7-1  xorg-mkfontscale-1.1.0-1
               xorg-server-utils-7.6-3  xorg-utils-7.6-8  xorg-xbacklight-1.1.2-3  xorg-xcmsdb-1.0.4-1  xorg-xdriinfo-1.0.4-3  xorg-xev-1.2.0-1  xorg-xgamma-1.0.4-3
               xorg-xhost-1.0.4-3  xorg-xinit-1.3.2-1  xorg-xlsatoms-1.1.0-3  xorg-xlsclients-1.1.2-2  xorg-xmodmap-1.0.5-3  xorg-xrdb-1.0.9-2  xorg-xrefresh-1.0.4-3
               xorg-xsetroot-1.1.0-3  xorg-xvinfo-1.1.1-3

Total Installed Size:   1103.00 MiB
Net Upgrade Size:       47.02 MiB

Proceed with installation? [Y/n] 
(201/201) checking package integrity                                                                          [#################################################################] 100%
(201/201) loading package files                                                                               [#################################################################] 100%
(201/201) checking for file conflicts                                                                         [#################################################################] 100%
error: failed to commit transaction (conflicting files)
udev: /usr/bin/udevadm exists in filesystem
Errors occurred, no packages were upgraded.

There you go, same information as before.

Offline

#4 2012-02-28 13:32:21

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Trouble updating udev: exists in filesystem

udev hooks have been recently removed from the mkinitcpio package and are now included in udev package
http://projects.archlinux.org/svntogit/ … 245f5f2ae6

Offline

#5 2012-02-28 15:27:10

Stalafin
Member
From: Berlin, Germany
Registered: 2007-10-26
Posts: 617

Re: Trouble updating udev: exists in filesystem

Okay, but what I am supposed to do now to update my system? I still can't upgrade udev. Shall I simply -Sf the upgrade?

Offline

#6 2012-02-28 15:31:39

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Trouble updating udev: exists in filesystem

First let's make sure your system is OK, follow https://bbs.archlinux.org/viewtopic.php?id=130138
Run 'pacman -Qo /lib/initcpio/hooks/udev' etc.

Offline

#7 2012-02-28 15:46:42

toflames
Member
Registered: 2009-07-20
Posts: 21

Re: Trouble updating udev: exists in filesystem

Hello Stalafin,

I just had the same problem because I was trying to make a partial update. Do the following to solve yours :

sudo pacman -S pacman
sudo pacman -Syu

Do not forget the "y" in the last command.

Offline

#8 2012-02-28 17:08:03

Blµb
Member
Registered: 2008-02-10
Posts: 224

Re: Trouble updating udev: exists in filesystem

If the hooks have been removed from mkinitcpio and moved to the udev package, first update mkinitcpio alone, then update udev, then do the rest of the full system upgrade...
That way, the mkinitcpio upgrade will remove those files, so that they're gone when udev wants to replace them.


You know you're paranoid when you start thinking random letters while typing a password.
A good post about vim
Python has no multithreading.

Offline

#9 2012-02-28 17:11:41

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Trouble updating udev: exists in filesystem

Blµb wrote:

If the hooks have been removed from mkinitcpio and moved to the udev package, first update mkinitcpio alone, then update udev, then do the rest of the full system upgrade...
That way, the mkinitcpio upgrade will remove those files, so that they're gone when udev wants to replace them.

I just did 'pacman -Syu' and had no problems.

Offline

Board footer

Powered by FluxBB