[SOLVED] .. error: coreutils: /usr/bin/install exists in filesystem

Hi All,
Getting the following error:
(85/85) checking for file conflicts [###########################] 100%
error: failed to commit transaction (conflicting files)
coreutils: /usr/bin/install exists in filesystem
I am reluctant to delete/move /usr/bin/install for fear of breaking the system ..
Anyone help here?
Last edited by bmentink (2012-04-05 02:26:42)

I just ran into this same issue today while performing a full system upgrade. After some investigation, I came to agree with the OP that manually removing "/usr/bin/install" is the correct action to take.
Prior to successfully executing the full system upgrade, I found that /usr/bin/install was a symlink to /bin/install. Using "pacman -Qo /bin/install", I found that the file /bin/install was owned by the coreutils 8.15-1 package. The symlink /usr/bin/install, however, was not owned by any package. The conflict arises because coreutils 8.16-2 wants to put the new install program in /usr/bin instead of its previous location under /bin.
My memory is a bit fuzzy, but I seem to recall running into a problem installing some third party library that had /usr/bin/install hard-coded into its build script and claimed the file didn't exist. I may have manually created the symlink /usr/bin/install to /bin/install as a quick-fix, then forgot to remove it. In retrospect, I could have confirmed/refuted this hypothesis by comparing the time stamp on the symlink /usr/bin/install to /bin/install. If the symlink was created well after /bin/install, then I'm probably to blaim; on the other hand, if the symlink was created essentially at the time /bin/install was created, then most likely the creators of the coreutils package forgot to claim ownership of the symlink.

Similar Messages

  • [SOLUTION] glibc: /usr/bin/tzselect exists in filesystem

    From a clean install of Arch using archlinux-2011.08.19-core-i686.iso, when trying to upgrade I get the following errors.
    error: failed to commit transaction (conflicting files)
    glibc: /usr/bin/tzselect exists in filesystem
    glibc: /usr/bin/zdump exists in filesystem
    glibc: /usr/bin/zic exists in filesystem
    Must be a recent package upgrade because it was working yesterday morning.
    Last edited by Beresford (2012-04-03 23:14:18)

    Try removing tzdata first.
    Edit: Files are sometimes moved between packages and this creates conflicts. Either removing the package that creates conflicts or using '--force' solves the problem.
    Edit 2:
    Beresford, in your first post you wrote:
    glibc: /usr/bin/aic exists in filesystem
    and it turned out to be 'zic' not 'aic'. If you can't copy-paste, please doublecheck if you typed all the important info correctly.
    Last edited by karol (2012-04-03 22:45:07)

  • Chromium: /usr/bin/chromedriver exists in filesystem

    When I try to install Chromium I get this error message: "chromium: /usr/bin/chromedriver exists in filesystem"
    I installed the "chromdriver 2.1" package before (pacaur -S chromedriver), because I use the Watir-Webdriver Ruby gem, and it is a dependency. What can I do to use Chromium with "chromedriver" package installed?

    You don't need chromedriver. Ruby gems installed with the gem utility do not care for the actual packages as long as the required files are present. And since the chromium package provides its own /usr/bin/chromedriver, this shouldn't be a problem. And if you've installed the gem from AUR, chromedriver is not listed as a dependency either. I've just checked and been able to install the specified gem with chromium present in the system, and thus you may safely remove chromedriver.

  • [Solved] Permissions problem /usr/bin/install: cannot create

    I've been looking at this for quite a while now and am running out of ideas/inspiration. Google isn't helping and after reading the docs on the wiki, I'm still none the wiser.
    So, I've compiled the source code properly but my PKGFILE is having a problem at the make install stage:
    make[2]: Entering directory `/home/adam/Downloads/foo/src/foobillard-2.9/src'
    /bin/sh ../mkinstalldirs /usr/bin
    /usr/bin/install -c foobillard /usr/bin/foobillard
    /usr/bin/install: cannot create regular file ‘/usr/bin/foobillard’: Permission denied
    make[2]: *** [install-binPROGRAMS] Error 1
    make[2]: Leaving directory `/home/adam/Downloads/foo/src/foobillard-2.9/src'
    make[1]: *** [install-am] Error 2
    make[1]: Leaving directory `/home/adam/Downloads/foo/src/foobillard-2.9/src'
    make: *** [install-recursive] Error 1
    ==> ERROR: A failure occurred in build().
    Aborting...
    My PKGFILE can be seen at: http://pastebin.com/wrbZ6niq.
    TIA
    Last edited by kabads (2013-05-14 20:50:54)

    kabads wrote: and after reading the docs on the wiki, I'm still none the wiser.
    What exactly have you been reading? Because if you take /usr/share/pacman/PKGBUILD.proto or read https://wiki.archlinux.org/index.php/Creating_Packages, you can't get to what you have without some serious changes. It seems like you took some bad and old PKGBUILD (not PKGFILE) as a starting point instead of more official/up-to-date docs.
    At the very least you should read the section about the package() function.
    Edit: now you can copy/paste from the above reply, but try to understand how makepkg works. And since you passed the prefix to ./configure, it's unlikely that you'll need it again for the install step.
    Last edited by Raynman (2013-05-14 20:25:51)

  • Pacman error with "/usr/share/man exists in filesystem"

    I'm installing archlinux.
    Follwing beginners guide, I'm now installing some booting packages, dosfools,efibootmgr, grub. Install Boot loader
    But every time I type
    pacman -S grub
    it makes error
    error: failed to commit transaction (conflicting files)
    grub: /usr/share/man exists in filesystem
    Errors occurred, no packages were upgraded.
    Same error occurs for other packages wich same error messages.
    I formatted all disk using mkfs.ext4 command.. Why this error occur?

    Trilby wrote:What is the output of `pacman -Qo /usr/share/man` as suggested here?
    error: No package owns /usr/share/man

  • Error Command /usr/bin/codesign failed with exit code 1

    Hello everyone, I take this opportunity to greet and thank all in advance.
    I develop Android in for a long time and I just started trying with xcode. But I have this compilation error:
    Command /usr/bin/codesign failed with exit code 1
    I found it on google but nothing that I have solved the problem.
    Here is the error log:
    CodeSign /Users/paolotuttoilmondo/Library/Developer/Xcode/DerivedData/veneziawebcam-dbkg muothgsyigeuuxsxjflreufo/Build/Products/Distribution-iphoneos/veneziawebcam.app
    cd /Users/paolotuttoilmondo/Documents/Applications/veneziawebcam
    setenv CODESIGN_ALLOCATE /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate
    setenv PATH "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Developer/usr/bin:/u sr/bin:/bin:/usr/sbin:/sbin"
    /usr/bin/codesign --force --sign "iPhone Distribution: Paolo Tuttoilmondo" --resource-rules=/Users/paolotuttoilmondo/Library/Developer/Xcode/DerivedData/v eneziawebcam-dbkgmuothgsyigeuuxsxjflreufo/Build/Products/Distribution-iphoneos/v eneziawebcam.app/ResourceRules.plist --entitlements /Users/paolotuttoilmondo/Library/Developer/Xcode/DerivedData/veneziawebcam-dbkg muothgsyigeuuxsxjflreufo/Build/Intermediates/veneziawebcam.build/Distribution-ip honeos/veneziawebcam.build/veneziawebcam.xcent  /Users/paolotuttoilmondo/Library/Developer/Xcode/DerivedData/veneziawebcam-dbkg muothgsyigeuuxsxjflreufo/Build/Products/Distribution-iphoneos/veneziawebcam.app
    /Users/paolotuttoilmondo/Library/Developer/Xcode/DerivedData/veneziawebcam-dbkgm uothgsyigeuuxsxjflreufo/Build/Products/Distribution-iphoneos/veneziawebcam.app: CSSMERR_TP_NOT_TRUSTED
    Command /usr/bin/codesign failed with exit code 1
    My certificated Key:
    I think the problem is in the certificates
    I use Xcode 4.2.3
    Thanks in advance.
    Paolo

    Hello everyone, I solved the problem by me, I missed the certificate WWDR.
    Thanks

  • Make: /usr/bin/install: Command not found

    I'm working on a PKGBUILD, but I'm running into this:
    make: /usr/bin/install: Command not found
    make: *** [install] Error 127
    ==> ERROR: Build Failed.
    Aborting...
    What would cause this?  Old code?  Missing package?

    It was actually really old code, after a bit of successful this-should-probably-work script editing!  I created a package in the AUR called dasm, which is an assembler for the Atari 2600 among many other systems.
    http://aur.archlinux.org/packages.php?ID=37200

  • /usr/bin/install is missing!

    Well, I don't know how this one happened.  I was trying to "make install" a program I had just finished compiling, and then I get a message saying that /usr/bin/install is missing.  I checked /usr/bin for "install", and it isn't there, even though it was before.  How do I fix this problem?
    Last edited by Falcata (2008-01-25 22:02:46)

    Problem solved.  I made a link to /bin/install under /usr/bin, and it worked fine.
    Now then, another question: why did Nodoka get installed under /usr/local/lib, rather than /usr/lib?
    EDIT: Should have waited a moment before posting, I guess.  How do you install packages from AUR?  Or packages that you downloaded onto your system?
    Last edited by Falcata (2008-01-25 23:41:26)

  • Cannot upgrade PCManFM: libfm: /usr/include/libfm exists in filesystem

    Hey,
    It's been a few days now that I am not able anymore to mount any usb stick or external hdd with PCManFM.
    Maybe it's related to this news: "ConsoleKit replaced by logind" by if that's the case I don't know how to deal with it.
    Anyway, I thought that a pacman -Syu could be a good start, I happily saw a upgrade of libfm & pcmanfm was available, but I can't get the upgrade done:
    [david@laptop ~]$ sudo pacman -Syu
    [sudo] password for david:
    :: Synchronizing package databases...
    core is up to date
    extra                   1424.5 KiB   510K/s 00:03 [######################] 100%
    community               1775.9 KiB   572K/s 00:03 [######################] 100%
    multilib is up to date
    :: Starting full system upgrade...
    resolving dependencies...
    looking for inter-conflicts...
    Targets (2): libfm-1.1.0-1  pcmanfm-1.1.0-1
    Total Download Size:    0.60 MiB
    Total Installed Size:   4.86 MiB
    Net Upgrade Size:       -1.16 MiB
    Proceed with installation? [Y/n] y
    :: Retrieving packages from community...
    libfm-1.1.0-1-x86_64     455.3 KiB   304K/s 00:01 [######################] 100%
    pcmanfm-1.1.0-1-x86_64   160.5 KiB   502K/s 00:00 [######################] 100%
    (2/2) checking package integrity                   [######################] 100%
    (2/2) loading package files                        [######################] 100%
    (2/2) checking for file conflicts                  [######################] 100%
    error: failed to commit transaction (conflicting files)
    libfm: /usr/include/libfm exists in filesystem
    Errors occurred, no packages were upgraded.
    If it can be of anyhelp:
    My .xinitrc:
    #!/bin/sh
    # ~/.xinitrc
    # Executed by startx (run your window manager from here)
    if [ -d /etc/X11/xinit/xinitrc.d ]; then
      for f in /etc/X11/xinit/xinitrc.d/*; do
        [ -x "$f" ] && . "$f"
      done
      unset f
    fi
    exec openbox-session
    # exec gnome-session
    # exec startkde
    # exec startxfce4
    # ...or the Window Manager of your choice
    Thank you !

    Every installed package provides /var/lib/pacman/local/$package-$version/files file that contains metadata about this package. If this file gets corrupted - is empty or missing - it results in "file exists in filesystem" errors when trying to update the package. Such an error usually concerns only one package and instead of manually renaming and later removing all the files that belong to the package in question, you can run pacman -S --force $package to force pacman to overwrite these files.
    Do not run pacman -Syu --force.
    https://wiki.archlinux.org/index.php/Pa … stem.22.21

  • Upgrade issue: /bin/csh exists in filesystem

    So I haven't upgraded in a while since I've been too lazy to fix this.  How do I fix this?  I'm afraid I'll mess something up if i delete /bin/csh...or is that the fix lol.
    (65/65) checking for file conflicts [##########################] 100%
    error: could not prepare transaction
    error: failed to commit transaction (conflicting files)
    tcsh: /bin/csh exists in filesystem
    Errors occurred, no packages were upgraded.

    If its something you need, back it up then delete it.  If you've never edited it, then I'd just delete it.  So basically, yes, deleting it is the fix.  I believe you can run the install with -f flag to force it as an alternative.  I usually just delete the file.

  • [SOLVED] Error "libpng12: /usr/lib/libpng.so.3 exists in filesystem".

    I've just tried to install the stable "google-chrome" package from AUR with the command.  I have all of the dependencies already installed except for these two:
    - libjpeg6 (building from AUR)
    - libpng12 (package found)
    When the package manage tries to install "libpng12-1.2.43-1", I get the following error:
    error: failed to commit transaction (conflicting files)
    libpng12: /usr/lib/libpng.so.3 exists in filesystem
    Errors occurred, no packages were upgraded.
    According to the file manager (Thunar), the file /usr/lib/libpng.so.3 is a link to /usr/lib/libpng.so.
    This is probably a silly question (as I'm a clueless newbie!) but... can I just delete this link and expect the installation of libpng12 to replace it so that everything will still work...?
    Thanks in advance :-)
    Last edited by esuhl (2011-01-21 02:46:19)

    $ pacman -Ql libpng|grep /lib/
    libpng /usr/lib/
    libpng /usr/lib/libpng.a
    libpng /usr/lib/libpng.so
    libpng /usr/lib/libpng14.a
    libpng /usr/lib/libpng14.so
    libpng /usr/lib/libpng14.so.14
    libpng /usr/lib/libpng14.so.14.5.0
    libpng /usr/lib/pkgconfig/
    libpng /usr/lib/pkgconfig/libpng.pc
    libpng /usr/lib/pkgconfig/libpng14.pc
    A tip: run pacman -Qo on the file in question, either you put that symlink there yourself or strange things are happening on your system.

  • Compiling error with /usr/bin/ld: cannot find -l error

    With the help of ToddLittle, I have solved a lot of problem with tuxedo as I am a freshman to it.Thank you ToddLittle!
    However I meet a new problem with compiling my new program. I got this error:
    /usr/bin/ld: cannot find -l/home/cjf/oracle/tuxedo12.1.1.0/include
    where /home/cjf/oracle/tuxedo12.1.1.0 is my tuxedo installation path.
    I build it under ubuntu 12.04 64 bit and my IDE is eclipse.
    How to solve it? thanks!

    Usually it is best to execute the script that is installed in the Tuxedo installation directory that sets up all the necessary environment variables.  That script is $TUXDIR/tux.env.  Source that script before trying to use buildclient or buildserver or any other Tuxedo command to solve most problems like this.
    PS You might want to check out Solaris Studio if you want to use an IDE as there is a Tuxedo plug-in for it that really helps in developing Tuxedo applications.
    Regards,
    Todd Little
    Oracle Tuxedo Chief Architect

  • Error with /usr/bin/cyrus/tools/mkimap

    I get the following error on a /mkimap after setting /var/imap to /var/imap.old
    server:~ root# /usr/bin/cyrus/tools/mkimap
    reading configure file...
    i will configure directory /var/imap.
    i saw partition /var/spool/imap.
    done
    configuring /var/imap...
    couldn't change to /var/imap at (eval 1) line 59.

    Are your permissions OK?
    Yup, A ok.
    Did you stop mail services before moving your
    database?
    Yes, not that much of a UNIX noob.
    Is your /etc/imapd.conf file OK?
    Well on this one I'd have to ask what would not be OK? I was porting from a PowerPC to the Intel and I used Server Admin to copy mail config via "Mail Config.plist" exported from old to new. Is the some differance between the PowerPC /etc/imapd.conf and the Intel UB install of MacOSX Server 10.4.7 /etc/imapd.conf?

  • [solved] build failing: /usr/bin/ld: cannot find -lgd

    I'm trying to satisfy crossover dependencies and recommendations. Found lib32-libgphoto2 on AUR with a few dependencies of its own, all of which I installed succesfully.
    When doing a makepkg for lib32-libgphoto2 I get the following error:
    libtool: link: gcc -m32 -shared -fPIC -DPIC ax203/.libs/ax203_la-library.o ax203/.libs/ax203_la-ax203.o ax203/.libs/ax203_la-ax203_decode_yuv.o ax203/.libs/ax203_la-ax203_decode_yuv_delta.o ax203/.libs/ax203_la-ax203_compress_jpeg.o ax203/.libs/ax203_la-jpeg_memsrcdest.o ax203/.libs/ax203_la-tinyjpeg.o ax203/.libs/ax203_la-jidctflt.o -Wl,-rpath -Wl,/home/someuser/Downloads/aur/lib32-libgphoto2/src/build/libgphoto2/.libs -Wl,-rpath -Wl,/home/someuser/Downloads/aur/lib32-libgphoto2/src/build/libgphoto2_port/libgphoto2_port/.libs -L/home/someuser/Downloads/aur/lib32-libgphoto2/src/build/libgphoto2_port/libgphoto2_port/.libs ../libgphoto2/.libs/libgphoto2.so -L/usr/lib32 /home/someuser/Downloads/aur/lib32-libgphoto2/src/build/libgphoto2_port/libgphoto2_port/.libs/libgphoto2_port.so -lexif ../libgphoto2_port/libgphoto2_port/.libs/libgphoto2_port.so -lltdl -lpthread -lgd -lz -lm -lpng16 -lfreetype -lfontconfig -ljpeg -m32 -march=x86-64 -mtune=generic -O2 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-soname -Wl,ax203.so -Wl,-version-script -Wl,.libs/ax203.ver -o .libs/ax203.so
    /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../libgd.so when searching for -lgd
    /usr/bin/ld: skipping incompatible /usr/lib/libgd.so when searching for -lgd
    /usr/bin/ld: cannot find -lgd
    collect2: error: ld returned 1 exit status
    Makefile:1659: recipe for target 'ax203.la' failed
    make[3]: *** [ax203.la] Error 1
    make[3]: Leaving directory '/home/someuser/Downloads/aur/lib32-libgphoto2/src/build/camlibs'
    Makefile:3347: recipe for target 'all-recursive' failed
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory '/home/someuser/Downloads/aur/lib32-libgphoto2/src/build/camlibs'
    Makefile:622: recipe for target 'all-recursive' failed
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory '/home/someuser/Downloads/aur/lib32-libgphoto2/src/build'
    Makefile:444: recipe for target 'all' failed
    make: *** [all] Error 2
    ==> ERROR: A failure occurred in build().
    Aborting...
    In that blob of text it says 'skipping incompatible' so it found something but I don't know to fix that or find out what it needs. A search on the internet I found that the message (in title) means I'm missing 32-bit library for gd, so I pulled that from AUR and installed it, but its still giving me this message.
    Any ideas what I need to do to get this to build?
    Thanks in advance.
    Last edited by mouseman (2014-05-05 05:24:27)

    The linker tries to find libgd. so. If you build lib32-libgphoto2, I guess from the name that you are building a 32 bit package on a 64 bits installation. You should have the 32 bit version of libgd. so and you only have the 64 bit version (hence skipping incompatible /usr/lib/libgd.so). Note that I have not found this version in the multilib repository (nor on AUR), I think you will have to build it yourself.

  • 500 Server Error #!/usr/bin/perl -w

    Hello,
    This program runs fine from the command line but when i try it in the browser i get a 500 error, i check the permissions and the ownership, and for the invisible line character, and path to perl, which were ok, does anyone have any tips?
    Thanks,
    Scary Spice
    #!/usr/bin/perl -w
    use warnings;
    use CGI qw(:standard);
    use DBI;
    use DBD::mysql;
    my $dbh = DBI->connect("DBI:mysql:scaryspice_web:localhost","scaryspice_ss","14");
    my $name = param("name");
    my $pass = param("pass");
    $name = "Scary";
    $pass = "spcie";
    $sw = 0;
    my @array;
    $statement = "SELECT passWord FROM Customers WHERE custID = '$name'";
    my $sth=$dbh->prepare($statement);
    $sth->execute();
    @array=$sth->fetchrow_array;
    if($array[0] eq $pass){
    $sw=1;
    if($sw){
    print "<html>\n<head>\n<title>Final Perl Procect</title>\n</head><body>\n";
    print "<h2>Welcome to A1 Inc, $name</h2>\n";
    print "<b>Customer id $name</b><br><br>\n";
    print "<form method=\"post\" action=\"details\.pl\">\n";
    print "<select name=\"orderNum\">";
    $statement = "SELECT orderId FROM Orders WHERE custID = '$name'";
    $sth = $dbh->prepare($statement);
    $sth->execute;
    while(@array = $sth->fetchrow_array){
    print "<option value=\"$array[0]\">$array[0]</option>";
    print "</select>";
    print "<center><input type=\"submit\" value=\"Display Detail\"></center>\n";
    print "</form></body></html>";
    else{
    print "<h2>Invalid User</h2>";
    $sth->finish();
    $dbh->disconnect();

    You forgot the line
    print "Content-type: text/html \n\n";

Maybe you are looking for