You are not logged in.

#1 2012-07-15 20:58:44

pepito_20110623
Member
Registered: 2011-06-23
Posts: 29

[SOLVED] glibc and filesystem simultaneous upgrade

Hi!

I wanted to upgrade my archlinux system today (last update mid of may) and I have some problems to do it. The system has to update more than 550 packages and I'm having some problems with the process...

If I use:

pacman -Syu

I got the error message:

error: failed to commit transaction (conflicting files)
glibc: /lib exists in filesystem
filesystem: /var/lock exists in filesystem
filesystem: /var/run exists in filesystem
Errors occurred, no packages were upgraded

Then, I tried with:

pacman -Syu --ignore glibc

and I got:

error: preparing the transaction (dependences cannot be satisfied)
:: libcanberra-pulse: needs libcanberra=0.28-4
:: pyqt: needs python-sip

Then, I tried:

pacman -Syu --ignore filesystem && pacman -S filesystem --force

and I got:

error: failed to commit transaction (conflicting files)
glibc: /lib exists in filesystem
Errors occurred, no packages were upgraded

Does anybody know how can I update the system?

Thanks for the help!

Last edited by pepito_20110623 (2012-07-15 23:09:45)

Offline

#2 2012-07-15 21:04:14

progandy
Member
Registered: 2012-05-17
Posts: 5,318

Re: [SOLVED] glibc and filesystem simultaneous upgrade

-First make sure, /var/lock and /var/run are symlinks to ../run and ../run/lock.
-Then execute pacman -Syu --ignore "filesystem,glibc" && pacman -S filesystem --force
-Then continue with glibc fixing. (moving or deleting all non-glibc files from /lib, rebuilding AUR packages using /lib, removing all subfolders from glibc, ...)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#3 2012-07-15 21:07:17

lifeafter2am
Member
From: 127.0.0.1
Registered: 2009-06-10
Posts: 1,332

Re: [SOLVED] glibc and filesystem simultaneous upgrade

To be honest, if at all possible you really need to update more often than once every 2 months.


#binarii @ irc.binarii.net
Matrix Server: https://matrix.binarii.net
-------------
Allan -> ArchBang is not supported because it is stupid.

Offline

#4 2012-07-15 21:13:57

flakedave
Member
Registered: 2010-06-23
Posts: 21

Re: [SOLVED] glibc and filesystem simultaneous upgrade

Offline

#5 2012-07-15 21:33:09

pepito_20110623
Member
Registered: 2011-06-23
Posts: 29

Re: [SOLVED] glibc and filesystem simultaneous upgrade

progandy wrote:

-First make sure, /var/lock and /var/run are symlinks to ../run and ../run/lock.
-Then execute pacman -Syu --ignore "filesystem,glibc" && pacman -S filesystem --force
-Then continue with glibc fixing. (moving or deleting all non-glibc files from /lib, rebuilding AUR packages using /lib, removing all subfolders from glibc, ...)

I made sure that the symlinks are there.

I executed

pacman -Syu --ignore "filesystem,glibc" && pacman -S filesystem --force

and I got:

error: error preparing the transaction (dependencies cannot be satisfied)
:: libcanberra-pulse: needs libcanberra=0.28-4
:: pyqt: needs python-sip

I usually update my system once a week or even more often. I just was abroad and I was unlucky, that two important updates were done in one and a half months...

Any further ideas?

Thanks for the help!

Offline

#6 2012-07-15 21:36:01

pepito_20110623
Member
Registered: 2011-06-23
Posts: 29

Re: [SOLVED] glibc and filesystem simultaneous upgrade

Hi flakedave!

Thanks for the links: in the first one, I get stuck when using:

pacman -U http://pkgbuild.com/~allan/glibc-2.16.0-1-i686.pkg.tar.xz

because I get:

error: error preparing the transaction (dependences cannot be satisfied)
:: valgrind: needs glibc<2.16

How can I continue?

Thanks!

Offline

#7 2012-07-15 21:36:45

pepito_20110623
Member
Registered: 2011-06-23
Posts: 29

Re: [SOLVED] glibc and filesystem simultaneous upgrade

lifeafter2am wrote:

To be honest, if at all possible you really need to update more often than once every 2 months.

Sometimes it is not possible...

Offline

#8 2012-07-15 21:38:06

lifeafter2am
Member
From: 127.0.0.1
Registered: 2009-06-10
Posts: 1,332

Re: [SOLVED] glibc and filesystem simultaneous upgrade

pepito_20110623 wrote:
lifeafter2am wrote:

To be honest, if at all possible you really need to update more often than once every 2 months.

Sometimes it is not possible...

ssh is your friend! wink


#binarii @ irc.binarii.net
Matrix Server: https://matrix.binarii.net
-------------
Allan -> ArchBang is not supported because it is stupid.

Offline

#9 2012-07-15 21:43:27

progandy
Member
Registered: 2012-05-17
Posts: 5,318

Re: [SOLVED] glibc and filesystem simultaneous upgrade

pepito_20110623 wrote:
error: error preparing the transaction (dependences cannot be satisfied)
:: valgrind: needs glibc<2.16

How can I continue?

Remove valgrind, update everything reinstall valgrind


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#10 2012-07-15 22:40:48

pepito_20110623
Member
Registered: 2011-06-23
Posts: 29

Re: [SOLVED] glibc and filesystem simultaneous upgrade

progandy wrote:
pepito_20110623 wrote:
error: error preparing the transaction (dependences cannot be satisfied)
:: valgrind: needs glibc<2.16

How can I continue?

Remove valgrind, update everything reinstall valgrind

Thanks! It works!

I just followed the instructions from http://allanmcrae.com/2012/07/updating- … e-install/

But still have a little problem...

After doing

pacman -Su

I get still an error. I just used:

grep '^lib/' /var/lib/pacman/local/*/files | grep -v glibc

to see which programs other than glibc think they own /lib and I get:

[root@pedrito lib]# grep '^lib/' /var/lib/pacman/local/*/files | grep -v glibc
/var/lib/pacman/local/ipw3945-ucode-1.14.2-2/files:lib/
/var/lib/pacman/local/ipw3945-ucode-1.14.2-2/files:lib/firmware/
/var/lib/pacman/local/ipw3945-ucode-1.14.2-2/files:lib/firmware/LICENSE.ipw3945-ucode
/var/lib/pacman/local/ipw3945-ucode-1.14.2-2/files:lib/firmware/ipw3945.ucode

I removed ipw3945d (pacman -Rs ipw3945d), but still the same error.

Cab anybody help me?

Thanks!

Offline

#11 2012-07-15 22:49:40

progandy
Member
Registered: 2012-05-17
Posts: 5,318

Re: [SOLVED] glibc and filesystem simultaneous upgrade

Those two commands must not return anything in order to complete the update.
First: There must not be any directories below /lib, move or delete them or fix packages.

find /lib -type d

Second: All files in /lib must be owned by glibc. Anything else must be deleted or moved. Fix the packages they belong to.

LC_ALL=C find /lib -not -type d -exec pacman -Qo -- \{\} \; | grep -v  "owned by glibc"

| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#12 2012-07-15 22:54:33

pepito_20110623
Member
Registered: 2011-06-23
Posts: 29

Re: [SOLVED] glibc and filesystem simultaneous upgrade

progandy wrote:

Those two commands must not return anything in order to complete the update.
First: There must not be any directories below /lib, move or delete them or fix packages.

find /lib -type d

Second: All files in /lib must be owned by glibc. Anything else must be deleted or moved. Fix the packages they belong to.

LC_ALL=C find /lib -not -type d -exec pacman -Qo -- \{\} \; | grep -v  "owned by glibc"

How can I fix the packages?

Both  commands:

find /lib -type d
LC_ALL=C find /lib -not -type d -exec pacman -Qo -- \{\} \; | grep -v  "owned by glibc"

return nothing in my case.

But i cannot complete

pacman -Su

I already removed the ipw3945d package, but still there... I cannot understand the issue... This is the most confusing update ever made with Archlinux...

Offline

#13 2012-07-15 22:55:55

pepito_20110623
Member
Registered: 2011-06-23
Posts: 29

Re: [SOLVED] glibc and filesystem simultaneous upgrade

pepito_20110623 wrote:
progandy wrote:

Those two commands must not return anything in order to complete the update.
First: There must not be any directories below /lib, move or delete them or fix packages.

find /lib -type d

Second: All files in /lib must be owned by glibc. Anything else must be deleted or moved. Fix the packages they belong to.

LC_ALL=C find /lib -not -type d -exec pacman -Qo -- \{\} \; | grep -v  "owned by glibc"

How can I fix the packages?

Both  commands:

find /lib -type d
LC_ALL=C find /lib -not -type d -exec pacman -Qo -- \{\} \; | grep -v  "owned by glibc"

return nothing in my case.

But i cannot complete

pacman -Su

I already removed the ipw3945d package, but still there... I cannot understand the issue... This is the most confusing update ever made with Archlinux...

Well,

find /lib -type d

returns

[root@pedrito lib]# find /lib -type d
/lib

Offline

#14 2012-07-15 22:57:25

progandy
Member
Registered: 2012-05-17
Posts: 5,318

Re: [SOLVED] glibc and filesystem simultaneous upgrade

What is the error?


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#15 2012-07-15 23:03:46

pepito_20110623
Member
Registered: 2011-06-23
Posts: 29

Re: [SOLVED] glibc and filesystem simultaneous upgrade

progandy wrote:

What is the error?

pacman -Su
error: error at transaciton (files in conflict)
glibc: /lib exists in filesystem
Errors ocurred, packages were not upgraded
[root@pedrito lib]# find /lib -exec pacman -Qo -- {} +
error: no puedo determinar el dueño del directorio '/lib'
/lib/libnss_nisplus-2.16.so es propiedad de glibc 2.16.0-1
/lib/libcidn.so.1 es propiedad de glibc 2.16.0-1
/lib/libnsl.so.1 es propiedad de glibc 2.16.0-1
/lib/librt.so.1 es propiedad de glibc 2.16.0-1
/lib/libdl.so.2 es propiedad de glibc 2.16.0-1
/lib/libnsl-2.16.so es propiedad de glibc 2.16.0-1
/lib/libnss_db.so.2 es propiedad de glibc 2.16.0-1
/lib/libutil.so.1 es propiedad de glibc 2.16.0-1
/lib/libBrokenLocale-2.16.so es propiedad de glibc 2.16.0-1
/lib/libnss_files-2.16.so es propiedad de glibc 2.16.0-1
/lib/libcrypt-2.16.so es propiedad de glibc 2.16.0-1
/lib/libnss_dns-2.16.so es propiedad de glibc 2.16.0-1
/lib/libresolv.so.2 es propiedad de glibc 2.16.0-1
/lib/libnss_dns.so.2 es propiedad de glibc 2.16.0-1
/lib/librt-2.16.so es propiedad de glibc 2.16.0-1
/lib/ld-linux.so.2 es propiedad de glibc 2.16.0-1
/lib/libanl-2.16.so es propiedad de glibc 2.16.0-1
/lib/libmemusage.so es propiedad de glibc 2.16.0-1
/lib/libnss_compat.so.2 es propiedad de glibc 2.16.0-1
/lib/libpthread.so.0 es propiedad de glibc 2.16.0-1
/lib/libutil-2.16.so es propiedad de glibc 2.16.0-1
/lib/libnss_files.so.2 es propiedad de glibc 2.16.0-1
/lib/libthread_db.so.1 es propiedad de glibc 2.16.0-1
/lib/libc-2.16.so es propiedad de glibc 2.16.0-1
/lib/libdl-2.16.so es propiedad de glibc 2.16.0-1
/lib/libpthread-2.16.so es propiedad de glibc 2.16.0-1
/lib/libanl.so.1 es propiedad de glibc 2.16.0-1
/lib/libcidn-2.16.so es propiedad de glibc 2.16.0-1
/lib/libSegFault.so es propiedad de glibc 2.16.0-1
/lib/libresolv-2.16.so es propiedad de glibc 2.16.0-1
/lib/ld-2.16.so es propiedad de glibc 2.16.0-1
/lib/libBrokenLocale.so.1 es propiedad de glibc 2.16.0-1
/lib/libnss_nisplus.so.2 es propiedad de glibc 2.16.0-1
/lib/libnss_nis.so.2 es propiedad de glibc 2.16.0-1
/lib/libm-2.16.so es propiedad de glibc 2.16.0-1
/lib/libcrypt.so.1 es propiedad de glibc 2.16.0-1
/lib/libnss_db-2.16.so es propiedad de glibc 2.16.0-1
/lib/libnss_nis-2.16.so es propiedad de glibc 2.16.0-1
/lib/libthread_db-1.0.so es propiedad de glibc 2.16.0-1
/lib/libnss_compat-2.16.so es propiedad de glibc 2.16.0-1
/lib/libnss_hesiod-2.16.so es propiedad de glibc 2.16.0-1
/lib/libnss_hesiod.so.2 es propiedad de glibc 2.16.0-1
/lib/libc.so.6 es propiedad de glibc 2.16.0-1
/lib/libm.so.6 es propiedad de glibc 2.16.0-1
/lib/libpcprofile.so es propiedad de glibc 2.16.0-1
[root@pedrito lib]# grep '^lib/' /var/lib/pacman/local/*/files | grep -v glibc
/var/lib/pacman/local/ipw3945-ucode-1.14.2-2/files:lib/
/var/lib/pacman/local/ipw3945-ucode-1.14.2-2/files:lib/firmware/
/var/lib/pacman/local/ipw3945-ucode-1.14.2-2/files:lib/firmware/LICENSE.ipw3945-ucode
/var/lib/pacman/local/ipw3945-ucode-1.14.2-2/files:lib/firmware/ipw3945.ucode

Offline

#16 2012-07-15 23:08:38

pepito_20110623
Member
Registered: 2011-06-23
Posts: 29

Re: [SOLVED] glibc and filesystem simultaneous upgrade

pepito_20110623 wrote:
progandy wrote:

What is the error?

pacman -Su
error: error at transaciton (files in conflict)
glibc: /lib exists in filesystem
Errors ocurred, packages were not upgraded
[root@pedrito lib]# find /lib -exec pacman -Qo -- {} +
error: no puedo determinar el dueño del directorio '/lib'
/lib/libnss_nisplus-2.16.so es propiedad de glibc 2.16.0-1
/lib/libcidn.so.1 es propiedad de glibc 2.16.0-1
/lib/libnsl.so.1 es propiedad de glibc 2.16.0-1
/lib/librt.so.1 es propiedad de glibc 2.16.0-1
/lib/libdl.so.2 es propiedad de glibc 2.16.0-1
/lib/libnsl-2.16.so es propiedad de glibc 2.16.0-1
/lib/libnss_db.so.2 es propiedad de glibc 2.16.0-1
/lib/libutil.so.1 es propiedad de glibc 2.16.0-1
/lib/libBrokenLocale-2.16.so es propiedad de glibc 2.16.0-1
/lib/libnss_files-2.16.so es propiedad de glibc 2.16.0-1
/lib/libcrypt-2.16.so es propiedad de glibc 2.16.0-1
/lib/libnss_dns-2.16.so es propiedad de glibc 2.16.0-1
/lib/libresolv.so.2 es propiedad de glibc 2.16.0-1
/lib/libnss_dns.so.2 es propiedad de glibc 2.16.0-1
/lib/librt-2.16.so es propiedad de glibc 2.16.0-1
/lib/ld-linux.so.2 es propiedad de glibc 2.16.0-1
/lib/libanl-2.16.so es propiedad de glibc 2.16.0-1
/lib/libmemusage.so es propiedad de glibc 2.16.0-1
/lib/libnss_compat.so.2 es propiedad de glibc 2.16.0-1
/lib/libpthread.so.0 es propiedad de glibc 2.16.0-1
/lib/libutil-2.16.so es propiedad de glibc 2.16.0-1
/lib/libnss_files.so.2 es propiedad de glibc 2.16.0-1
/lib/libthread_db.so.1 es propiedad de glibc 2.16.0-1
/lib/libc-2.16.so es propiedad de glibc 2.16.0-1
/lib/libdl-2.16.so es propiedad de glibc 2.16.0-1
/lib/libpthread-2.16.so es propiedad de glibc 2.16.0-1
/lib/libanl.so.1 es propiedad de glibc 2.16.0-1
/lib/libcidn-2.16.so es propiedad de glibc 2.16.0-1
/lib/libSegFault.so es propiedad de glibc 2.16.0-1
/lib/libresolv-2.16.so es propiedad de glibc 2.16.0-1
/lib/ld-2.16.so es propiedad de glibc 2.16.0-1
/lib/libBrokenLocale.so.1 es propiedad de glibc 2.16.0-1
/lib/libnss_nisplus.so.2 es propiedad de glibc 2.16.0-1
/lib/libnss_nis.so.2 es propiedad de glibc 2.16.0-1
/lib/libm-2.16.so es propiedad de glibc 2.16.0-1
/lib/libcrypt.so.1 es propiedad de glibc 2.16.0-1
/lib/libnss_db-2.16.so es propiedad de glibc 2.16.0-1
/lib/libnss_nis-2.16.so es propiedad de glibc 2.16.0-1
/lib/libthread_db-1.0.so es propiedad de glibc 2.16.0-1
/lib/libnss_compat-2.16.so es propiedad de glibc 2.16.0-1
/lib/libnss_hesiod-2.16.so es propiedad de glibc 2.16.0-1
/lib/libnss_hesiod.so.2 es propiedad de glibc 2.16.0-1
/lib/libc.so.6 es propiedad de glibc 2.16.0-1
/lib/libm.so.6 es propiedad de glibc 2.16.0-1
/lib/libpcprofile.so es propiedad de glibc 2.16.0-1
[root@pedrito lib]# grep '^lib/' /var/lib/pacman/local/*/files | grep -v glibc
/var/lib/pacman/local/ipw3945-ucode-1.14.2-2/files:lib/
/var/lib/pacman/local/ipw3945-ucode-1.14.2-2/files:lib/firmware/
/var/lib/pacman/local/ipw3945-ucode-1.14.2-2/files:lib/firmware/LICENSE.ipw3945-ucode
/var/lib/pacman/local/ipw3945-ucode-1.14.2-2/files:lib/firmware/ipw3945.ucode

I found the solution!!! I just moved the folder /var/lib/pacman/local/ipw3945-ucode-1.14.2-2 to another place and pacman -Su is working now!!!

Thanks to you all, guys! :-D

Offline

#17 2012-07-15 23:54:06

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: [SOLVED] glibc and filesystem simultaneous upgrade

don't quote yourself. it makes the thread unnecessarily longer


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

Board footer

Powered by FluxBB