You are not logged in.
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 -SyuI 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 upgradedThen, I tried with:
pacman -Syu --ignore glibcand I got:
error: preparing the transaction (dependences cannot be satisfied)
:: libcanberra-pulse: needs libcanberra=0.28-4
:: pyqt: needs python-sipThen, I tried:
pacman -Syu --ignore filesystem && pacman -S filesystem --forceand I got:
error: failed to commit transaction (conflicting files)
glibc: /lib exists in filesystem
Errors occurred, no packages were upgradedDoes anybody know how can I update the system?
Thanks for the help!
Last edited by pepito_20110623 (2012-07-15 23:09:45)
Offline
-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
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
You might want to check Allan's blog entry
http://allanmcrae.com/2012/07/updating- … e-install/
Offline
-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 --forceand I got:
error: error preparing the transaction (dependencies cannot be satisfied)
:: libcanberra-pulse: needs libcanberra=0.28-4
:: pyqt: needs python-sipI 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
You might want to check Allan's blog entry
http://allanmcrae.com/2012/07/updating- … e-install/
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.xzbecause I get:
error: error preparing the transaction (dependences cannot be satisfied)
:: valgrind: needs glibc<2.16How can I continue?
Thanks!
Offline
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
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! ![]()
#binarii @ irc.binarii.net
Matrix Server: https://matrix.binarii.net
-------------
Allan -> ArchBang is not supported because it is stupid.
Offline
error: error preparing the transaction (dependences cannot be satisfied) :: valgrind: needs glibc<2.16How can I continue?
Remove valgrind, update everything reinstall valgrind
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
pepito_20110623 wrote:error: error preparing the transaction (dependences cannot be satisfied) :: valgrind: needs glibc<2.16How 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 -SuI get still an error. I just used:
grep '^lib/' /var/lib/pacman/local/*/files | grep -v glibcto 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.ucodeI removed ipw3945d (pacman -Rs ipw3945d), but still the same error.
Cab anybody help me?
Thanks!
Offline
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 dSecond: 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
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 dSecond: 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 dLC_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 -SuI already removed the ipw3945d package, but still there... I cannot understand the issue... This is the most confusing update ever made with Archlinux...
Offline
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 dSecond: 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 dLC_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 -SuI 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 dreturns
[root@pedrito lib]# find /lib -type d
/libOffline
What is the error?
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
What is the error?
pacman -Suerror: 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.ucodeOffline
progandy wrote:What is the error?
pacman -Suerror: 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
don't quote yourself. it makes the thread unnecessarily longer
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline