Thread: glibc casuing file conflicts Arch Linux.

  1. #1
    Registered User Annonymous's Avatar
    Join Date
    Apr 2011
    Location
    Jackson, New Jersey, United States
    Posts
    302

    glibc casuing file conflicts Arch Linux.

    Hey fellow Arch users. I tried to force an upgrade and broke my system. So, I decided to reinnstall. I was tired of the gnome DE that I was using anyway and want to install openbox.

    So I ran into a problem while installing xorg's relevent packages for the desktop UI. I tried to sync the system packages and I am running into a file conflict with glibc. It happens if I try to upgrade my system, install xorg-server, upgrade glibc or when I try to upgrade pacman.

    This didn't happen on my first installation. I cannot move forward in my installation until I resolve this conflict.

    Any help is appreciated!

    I have posted the issue at Linuxquestions.org as well --> glibc causing problems with upgrade and installation

  2. #2
    Registered User
    Join Date
    Aug 2003
    Posts
    1,218
    Did you try to do what it said on the frontpage of Arch Linux
    All Arch Linux packages have had their files in the /lib directory moved to /usr/lib and now /lib is a symlink to usr/lib. When performing this update, pacman will likely identify a conflict in the /lib directory. In the simplest case, this is worked around by doing:
    Code:
    pacman -Syu --ignore glibc
    pacman -Su
    Never use --force during this update.
    If either of this steps does not work (e.g. due to dependency version issues, file conflicts in /lib), refer to this guide for more detailed instructions on performing this upgrade.
    If so what were the results?

  3. #3
    Registered User Annonymous's Avatar
    Join Date
    Apr 2011
    Location
    Jackson, New Jersey, United States
    Posts
    302
    Yeah, I just seen that 2 hours ago. I just go home now. So, I will see what I can do after I eat. Thanks.

  4. #4
    Registered User Annonymous's Avatar
    Join Date
    Apr 2011
    Location
    Jackson, New Jersey, United States
    Posts
    302
    Ok, so everything was moved from /lib to /usr/lib and now glibc is causing a conflict. I cannot just remove /lib since the symlinks point there and would cause nothing to work on my system. I read the solutions and it is still fuzzy! I tried the --ignore glibc -Syu upgrade and no luck.

    So what exactly should I do? I also removed the modules folder.

    Why the hell was this even done in the first place? Everything was fine the way it was!
    Last edited by Annonymous; 07-21-2012 at 11:44 PM.

  5. #5
    [](){}(); manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    *nullptr
    Posts
    2,657
    Quote Originally Posted by Annonymous View Post
    Ok, so everything was moved from /lib to /usr/lib and now glibc is causing a conflict. I cannot just remove /lib since the symlinks point there and would cause nothing to work on my system. I read the solutions and it is still fuzzy! I tried the --ignore glibc -Syu upgrade and no luck.

    So what exactly should I do? I also removed the modules folder.
    :facepalm: There is a detailed guide linked for those who have development packages installed.

    For me, the additional problem was the non cooperating libGL library from the nvidia driver.
    I had to temporarily remove that and remove the packages that depend on it and reinstall them from pacman's cache after glibc was upgraded.

    Why the hell was this even done in the first place? Everything was fine the way it was!
    No..everything was NOT okay.
    Google "usr merge".

  6. #6
    Registered User Annonymous's Avatar
    Join Date
    Apr 2011
    Location
    Jackson, New Jersey, United States
    Posts
    302
    Yeah I found a wiki article devoted to just this. I satisfied all dependencies and got all the way to the last package... glibc and instead of removing it, I moved the lib dir like a dumbass and now I can't boot. After I spent 6 hours on this. Now I have to start from scratch again.

    I mistook a cannot determine ownership of file for a removal. I was only supposed to remove files/dirs that absolutely had no owners. Now I know lol

  7. #7
    Registered User Annonymous's Avatar
    Join Date
    Apr 2011
    Location
    Jackson, New Jersey, United States
    Posts
    302
    Ok had another crack at it tonight and it only took about a half hour to resolve all glibc dependencies and conflicts this time. A pain but at least now I can finally install the desktop!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Run code from different arch
    By polslinux in forum C Programming
    Replies: 5
    Last Post: 07-05-2012, 03:24 PM
  2. Arch Linux, first install issues!
    By Annonymous in forum Linux Programming
    Replies: 4
    Last Post: 05-30-2012, 06:26 PM
  3. name conflicts in C
    By confuted in forum C Programming
    Replies: 12
    Last Post: 07-11-2005, 06:28 PM
  4. Fibonacci, my arch enemy
    By StarOrbs in forum C++ Programming
    Replies: 9
    Last Post: 03-11-2005, 08:42 AM