You are not logged in.

#1 2012-08-02 20:04:23

Bobolugov
Member
Registered: 2012-08-02
Posts: 5

Problem with archlinux update

Hi all!
While updating my OS, I received this output error:

glibc: /lib exists in filesystem

To solve this problem I tried to follow this guide: https://wiki.archlinux.org/index.php/De … iki:usrlib without any success! sad
I also tried to follow other advises found in some posts, but nothing to be done.
What can I do??
Thank you in advance.

Offline

#2 2012-08-02 20:10:59

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Problem with archlinux update

Welcome to the forum.


Did you run the second command from "Issue 2"?

$ find /lib -exec pacman -Qo -- {} +

This command should tell you which programs need removing or reinstalling, and which folders are left behind. If it's just "owned by glibc" or something like that (I don't even remember from two weeks ago), it means that you need to move (don't delete, that's just bad practice) the /lib/modules folder somewhere else and then run 'pacman -Su'.

# mv /lib/modules ~/lib.modules
# pacman -Su

"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#3 2012-08-02 20:11:11

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,737
Website

Re: Problem with archlinux update

What have you tried, and why didn't it work?


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#4 2012-08-02 20:13:21

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Problem with archlinux update

And come on, that news article was posted two weeks ago.

What is the point of using a bleeding-edge distribution when you're only updating it once a month?


Seriously. I think you would be better off with Ubuntu or Debian Stable.

Last edited by DSpider (2012-08-02 20:14:06)


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#5 2012-08-02 21:01:21

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Problem with archlinux update

DSpider wrote:

And come on, that news article was posted two weeks ago.

What is the point of using a bleeding-edge distribution when you're only updating it once a month?


Seriously. I think you would be better off with Ubuntu or Debian Stable.


This isn't helpful. There are any number of reasons why someone may not have been able to update over the last couple of weeks; illness, travel etc.

While the OP's post is not an example of asking a question the smart way, it is a little premature to jump to the "use another distro" response.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2012-08-02 21:01:40

Bobolugov
Member
Registered: 2012-08-02
Posts: 5

Re: Problem with archlinux update

I run the command you suggest, and I moved every folder with the following error:

error: cannot determine ownership of directory '/lib/...'

I have moved all, apart from /lib itself (also this one gives me the error above!). I don't dare to move it because I am afraid to break the system, isn't it??
Thanks.

Offline

#7 2012-08-02 21:04:29

zero_one
Member
Registered: 2010-07-07
Posts: 104

Re: Problem with archlinux update

Sounds like you still have some files hanging around in /lib, maybe? Check to see if there are other files are owned by other packages in /lib. Are you using the Catalyst drivers?

Try this,

$ grep '^lib/' /var/lib/pacman/local/*/files

What's in there? YW.

refer to https://wiki.archlinux.org/index.php/De … iki:usrlib

DSpider wrote:

And come on, that news article was posted two weeks ago.

One would think.

@offtopic

jasonwryan, nice dwm scripts! I've getting a bit tired of openbox and loitering in dwm.

Last edited by zero_one (2012-08-02 21:10:08)

Offline

#8 2012-08-02 21:08:50

Bobolugov
Member
Registered: 2012-08-02
Posts: 5

Re: Problem with archlinux update

Running the line

grep '^lib/' /var/lib/pacman/local/*/files

I obtain a long list, where many files are owned by glib-2.14 and other by other packages.
(Sorry, but I can't post the output of the above command because I am writing from another pc, while testing arch on my nwtbook!)

Offline

#9 2012-08-02 21:13:38

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Problem with archlinux update

$ grep '^lib/' /var/lib/pacman/local/*/files

I remember that this command produces a shitload of lines too. The second command is more useful, IMO, because the list is shorter and generally easier to follow.


zero_one wrote:
DSpider wrote:

And come on, that news article was posted two weeks ago.

One would think.

2012-07-14 - http://www.archlinux.org/news/the-lib-d … a-symlink/


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#10 2012-08-02 21:15:43

zero_one
Member
Registered: 2010-07-07
Posts: 104

Re: Problem with archlinux update

Has everything you need. Find what packages own the other files, they need to be "cleared" from the directory,

Offline

#11 2012-08-02 21:19:13

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Problem with archlinux update

Bobolugov wrote:

(Sorry, but I can't post the output of the above command because I am writing from another pc, while testing arch on my nwtbook!)

Sure you can.


Assuming your internet connection is working fine, just add "| curl -F "sprunge=<-" http://sprunge.us" at the end (I even have an alias for this):

$ grep '^lib/' /var/lib/pacman/local/*/files | curl -F "sprunge=<-" http://sprunge.us

"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#12 2012-08-02 21:22:25

zero_one
Member
Registered: 2010-07-07
Posts: 104

Re: Problem with archlinux update

Um, and that means? Are you showing me the date? Old news? I'm at a loss.

Let me expand my "And one would think", in case it confused. And one would think, that if one hasn't -Syy/-Syu in a while they'd check the feed.




wrong way, but option if you have seperate root and ~/;

grab new install media, format root, reinstall arch, adduser, usermod old home,

Better than all the --force(ing) going on. LOLs

Last edited by zero_one (2012-08-02 21:46:47)

Offline

#13 2012-08-02 22:44:46

Bobolugov
Member
Registered: 2012-08-02
Posts: 5

Re: Problem with archlinux update

I have finished to upgrade all the packages (apart from glibc) that owned a file in /lib, but when upgrading also glibc, I obtained the error

error: failed to commit transaction (conflicting files)
glibc: /lib exists in filesystem

and when upgrading pacman I obtained:

error /lib/libc.so.6: version GLIBC_2.15 not found (required by /usr/lib/libreadline.so.6

and actually I have the glibc version 2.14 but in the meantime it doesn't allow me to upgrade glibc!! It's really a puzzle....it seems to me a dog which bites its tail! :\
Furthermore (after having performed all this) there's another error which forbides me to use pacman anymore!

libarchive.so.12: cannot shared object file: not such file or directory

and actually I have no libarchive file in /lib.
It's driving me crazy! sad Have you any other idea (not concerning the use of other distros! big_smile) ??

Offline

#14 2012-08-03 00:29:32

zero_one
Member
Registered: 2010-07-07
Posts: 104

Re: Problem with archlinux update

So you cannot use pacman now? Have you rebooted?

Last edited by zero_one (2012-08-03 00:30:00)

Offline

#15 2012-08-03 00:56:41

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

Re: Problem with archlinux update

I think you need to get hold of glibc 2.16-1 from Allan's site and follow those instructions. I think 2.14 is too old to jump straight to 2.16_2. There are plenty of threads on this...

You will need to boot from live media if you can't use pacman at this point...

Last edited by cfr (2012-08-03 00:57:40)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#16 2012-08-03 15:02:29

gregor
Member
From: /planet/tmpfs
Registered: 2011-06-20
Posts: 175

Re: Problem with archlinux update

just alter the /etc/pacman.conf ,and edit (uncomment = remove #)

IgnorePkg = glibc

till they come with a better solution.....

Offline

#17 2012-08-03 15:12:50

zero_one
Member
Registered: 2010-07-07
Posts: 104

Re: Problem with archlinux update

gregor wrote:

just alter the /etc/pacman.conf ,and edit (uncomment = remove #)

IgnorePkg = glibc

till they come with a better solution.....

Come on, thats worse than my "wrong way solution".

Last edited by zero_one (2012-08-03 15:14:13)

Offline

#18 2012-08-03 15:32:23

gregor
Member
From: /planet/tmpfs
Registered: 2011-06-20
Posts: 175

Re: Problem with archlinux update

nope not worse it's the way it should be done.... just wait for the solution. (use the config files the right way) 

re-install a system for just one file.... (dude u r mad) it maybe a solution but not the right way

Offline

#19 2012-08-03 15:37:34

Pres
Member
Registered: 2011-09-12
Posts: 423

Re: Problem with archlinux update

The solution is already out there, no "better solution" is coming.

Offline

#20 2012-08-03 16:01:30

zero_one
Member
Registered: 2010-07-07
Posts: 104

Re: Problem with archlinux update

gregor wrote:

nope not worse it's the way it should be done.... just wait for the solution. (use the config files the right way) 

re-install a system for just one file.... (dude u r mad) it maybe a solution but not the right way

For one file? Ok, if thats how you see it. And ignore glibc for how long? Have fun with that.

I maybe mad. But waiting on someone to provide a better solution to something that has already been fixed is obsurd, and  it's a borderline sociopathic level arrogance. And I should have stated that my system had this issue and no, I did not wipe and reinstall. I did something called debugging!

Last edited by zero_one (2012-08-03 16:33:02)

Offline

#21 2012-08-03 21:13:12

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

Re: Problem with archlinux update

@Bobolugov,

As I mentioned above, you will likely need the instructions at http://allanmcrae.com/2012/07/updating- … e-install/ and the live media (if pacman isn't working).

@gregor,

Telling pacman to ignore glibc... there's just no way to say how bad that suggestion is. glibc is not "just one file". glibc is also not "just one package". At least, glibc is "just one package" in more-or-less the same way that linux is "just one package". Feel free to try your suggestion on your own machine but please don't recommend it as a "fix" to others. It is most certainly not "the way it should be done" and claiming otherwise is positively malicious.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#22 2012-08-03 22:41:45

Bobolugov
Member
Registered: 2012-08-02
Posts: 5

Re: Problem with archlinux update

Next morning I'll try the solution you suggest! For now, thank you all guys! big_smile

Offline

#23 2012-08-03 23:41:24

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,362

Re: Problem with archlinux update

Bobolugov wrote:

Next morning I'll try the solution you suggest! For now, thank you all guys! big_smile

Do NOT do the IgnorePkg line.....


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#24 2012-08-07 13:53:39

gregor
Member
From: /planet/tmpfs
Registered: 2011-06-20
Posts: 175

Re: Problem with archlinux update

okay new install it is.... shitload of work #@!*!!?

Offline

Board footer

Powered by FluxBB