[SOLVED] glibc upgrade - what to do after rm -rf /lib/* without reboot
Hello everyone,
edit: please read this whole post... better mention it here, too -> I cannot reboot. thanks
I messed up following this guide while doing the glibc (/lib) upgrade on my desktop. I ran into "Issue 2" and it said
If no other files are in /lib/modules, you can safely remove that directory.
Sadly I did
rm -rf /lib/*
instead of
rm -rf /lib/modules*
That means all the .so files in /lib (owned by glibc) are gone now. That means - besides other problems - I cannot use any binaries like "cp" anymore. I still have a root shell (bash), a nautilus, a Gedit and a Firefox open but cannot call ANY other binaries. E.g.:
[root@firefly ~]# pacman -Su
-bash: /usr/bin/pacman: No such file or directory
With Firefox I managed to get all the deleted libraries into my home folder (from my Laptop running Arch64, too). So there are now under "/home/killroy/dloads/lib" rather than "/lib". I cannot reboot this computer now so I have to get those files into /lib so that I can use my binaries again. I still have "echo" because it is a bash-builtin. Is it possible to somehow emulate / workaround a
cp /home/killroy/dloads/lib/* /lib/
Or is it possible to tell my still-running root shell that the library path where those glibc-owned libraries reside are not in /lib but in /home/killroy/dloads/lib now?
Any help would be appreciated, really
Last edited by kiLLroy_ow (2012-07-17 08:45:33)
progandy wrote:Can you still set the executable bit for files using nautilus?
Then download busybox: http://www.busybox.net/downloads/binaries/latest/
Set it executable and use the root shell to spawn an instance of the busybox shell /path/to/busybox sh
in the busybox you have now all requiered commands (wget, cp, chmod, tar, xz, ...)
OMG thank you, really!
Okay that did the trick:
With the busybox binary - after making it excecutable with nautilus - I could use its tar command to untar the glibc package and its cp command to copy the needed .so files to /lib using something like:
root # /path/to/busybox tar xf /path/to/glibc.tar
root # /path/to/busybox cp ./lib/* /lib/
Again, thank you.
This topic could now be closed (and maybe kept for reference for people who need to fix this without rebooting the system) I guess.
Similar Messages
-
[SOLVED] glibc upgrade problem (moved /lib myself)
Hi,
I went to upgrade my Archlinux system,
and had to apply both the June and July intervention upgrades described in the announcements.
Neither of the sets of instructions worked on their own,
and before I thought of how to combine them properly,
I tried moving the files from /lib to /usr/lib and making /lib a symlink (to usr/lib),
so that maybe I could skip the July intervention instructions.
I didn't break my system (for long), I successfully moved the stuff over,
and then I ran
pacman -Syu --ignore glibc --ignore filesystem
pacman -S filesystem --force
and then the upgrade was mostly done.
But then upgrading to glibc still doesn't work.
From pacman -Su,
I get the output
error: failed to commit transaction (conflicting files)
glibc: /lib exists in filesystem
glibc: /usr/lib/ld-linux-x86-64.so.2 exists in filesystem
glibc: /usr/lib/libBrokenLocale.so.1 exists in filesystem
glibc: /usr/lib/libSegFault.so exists in filesystem
glibc: /usr/lib/libanl.so.1 exists in filesystem
glibc: /usr/lib/libc.so.6 exists in filesystem
glibc: /usr/lib/libcidn.so.1 exists in filesystem
glibc: /usr/lib/libcrypt.so.1 exists in filesystem
glibc: /usr/lib/libdl.so.2 exists in filesystem
glibc: /usr/lib/libm.so.6 exists in filesystem
glibc: /usr/lib/libmemusage.so exists in filesystem
glibc: /usr/lib/libnsl.so.1 exists in filesystem
glibc: /usr/lib/libnss_compat.so.2 exists in filesystem
glibc: /usr/lib/libnss_db.so.2 exists in filesystem
glibc: /usr/lib/libnss_dns.so.2 exists in filesystem
glibc: /usr/lib/libnss_files.so.2 exists in filesystem
glibc: /usr/lib/libnss_hesiod.so.2 exists in filesystem
glibc: /usr/lib/libnss_nis.so.2 exists in filesystem
glibc: /usr/lib/libnss_nisplus.so.2 exists in filesystem
glibc: /usr/lib/libpcprofile.so exists in filesystem
glibc: /usr/lib/libpthread.so.0 exists in filesystem
glibc: /usr/lib/libresolv.so.2 exists in filesystem
glibc: /usr/lib/librt.so.1 exists in filesystem
glibc: /usr/lib/libthread_db-1.0.so exists in filesystem
glibc: /usr/lib/libthread_db.so.1 exists in filesystem
glibc: /usr/lib/libutil.so.1 exists in filesystem
Running
grep '^lib/' /var/lib/pacman/local/*/files
returns
/var/lib/pacman/local/gcc-multilib-4.7.0-6/files:lib/
/var/lib/pacman/local/gcc-multilib-4.7.0-6/files:lib/cpp
/var/lib/pacman/local/glibc-2.15-10/files:lib/
/var/lib/pacman/local/glibc-2.15-10/files:lib/ld-2.15.so
/var/lib/pacman/local/glibc-2.15-10/files:lib/ld-linux-x86-64.so.2
/var/lib/pacman/local/glibc-2.15-10/files:lib/libBrokenLocale-2.15.so
/var/lib/pacman/local/glibc-2.15-10/files:lib/libutil.so.1
/var/lib/pacman/local/lib32-glibc-2.15-10/files:lib/
/var/lib/pacman/local/lib32-glibc-2.15-10/files:lib/ld-linux.so.2
Running
find /lib -exec pacman -Qo -- {} +
returns
error: No package owns /lib
So it seems that there was more to be done than just moving the lib files and making the symlink...
I'm sorry that I went against the instructions,
but I had to deviate in some way to do this upgrade.
I just probably deviated in the wrong direction.
Does anyone know how I can finish upgrading my system?
I can think of things to try, but I don't want to be wrong and make it worse.
Deschutron
Last edited by Deschutron (2012-07-26 12:06:04)If not, you should be okay forcing the glibc update at this point.
I did.
It worked.
My system is saved.
Thank you very much.
What follows is information about what I did since your post, in case it helps anyone else.
Are you sure that you've updated all the file locations for glibc?
No. I don't understand the structure of pacman well enough to know that there isn't another set of files I have to edit.
I had gcc-multilib and glibc complaining when I tried pacman -Su
I did see a thread where someone said that uninstalling everything that complains, except for glibc, allows glibc to upgrade.
I tried to run pacman -R gcc-multilib, but a package complained that it needed gcc, as if gcc and gcc-multilib are the same thing.
I gave up on that lead there.
After the advice here,
I tried figuring out what --force does.
man pacman said that it does "Bypass file conflict checks and overwrite conflicting files."
Then I tried finding out what conflict checks get done.
I looked at the pacman source code and learnt nothing useful.
Then I looked inside the package archive for glibc. (/var/cache/pacman/pkg/glibc-2.16.0-2-x86_64.pkg.tar.xz)
Inside, it was in the structure of a root file system, with presumably the set of files it would try to copy into my system.
I saw that all the files getting complained about were symlinks in both the archive and my system.
I couldn't just delete them all off my system because /lib was one of them.
I looked at the other files in the archive, and there was only one file I was afraid of it overwriting - locale.gen,
so I backed up locale.gen, and did
pacman --force -S glibc
That ran without complaints.
Then I ran
pacman -Su
That ran without complaints and upgraded about 5 things.
Then I rebooted, and I could succesfully start X and visit this webpage.
Also, I installed my system in early June. That's why I didn't try the "for installs that have not been updated during 2012" package.
I didn't know why that was there, so I didn't know that it would apply to me.
Or if the way the wiki article did apply to my exact situation is something else, then I still haven't found it. -
[Solved] glibc-Update-fail and broken system when using custom kernel
I had a similar issue with the glibc-update as described in several threads.
I guess, the reason why I ran into the problem was that I'm using a custom-built kernel. So the kernel modules (drivers etc.) under /lib/modules/custom-kernel/ are owned by no pacman package.
At my system, after upgrating via
# pacman -Syu --ignore glibc
# pacman -Su
The upgrade failed and /lib/modules/ and the files, owned by the glibc-package remained at the still existing directory /lib.
Rebooting the computer in this situation causes a sytem freeze.
Now, here is my sucessful repair, briefly described. Maybe it will help someone:
1. Booting the computer with the Arch Linux net Install image
2. mounting my root partition manually at /mnt
3. performing the following commands:
# cd /mnt
# cp -ar lib/* usr/lib/
# rm -rf lib
# ln -s usr/lib lib
7. removing net install image and rebooting the computer
==> the system works again, but:
# pacman -Su
still produces error messages like:
error: failed to commit transaction (conflicting files)
glibc: /lib exists in filesystem
glibc: /usr/lib/ld-2.16.so exists in filesystem
glibc: /usr/lib/ld-linux.so.2 exists in filesystem
glibc: /usr/lib/libBrokenLocale-2.16.so exists in filesystem
glibc: /usr/lib/libBrokenLocale.so.1 exists in filesystem
Now at the last step I did is, what the wiki is seriosly discouraging from I use --force:
# pacman -f -Su
After that my system was repaired
I think using force at that point is OK, because the files will only be replaced which are already moved to the right location.If you use a custom-built kernel you should really package it up so you can easily avoid this sort of thing just by repackaging.
-
[SOLVED] Stuck in fresh install: problems after succesfull glibc upgra
Hello everyone. I am stuck in the installation after upgrading glibc.
I am installing from the Core Image ISO.
As it says in the Developer Wiki the first thing I did after installing the system is:
$ pacman -U http://pkgbuild.com/~allan/glibc-2.16.0 … pkg.tar.xz
In that moment appaered some errors related to tzselect and 2 other files which I dont remember but I deleted them and then it let me install.
By doing that it let me upgrade pacman, so I upgraded pacman and created de signature database as it should be.
Then I did a 'pacman -S filesystem --force' and 'rm /etc/profile.d/locale.sh' to solve future known errors related to system upgrade and rebooted.
In that moment everything was OK, but then I tried 'pacman -Syu'
Here's where I am stuck. Pacman says that /lib still exists on the filesystem.
As it says on the developer wiki i tried 'find /lib -exec pacman -Qo -- {} +' to find out which packages where owing /lib and the list it displayed was HUGE, really...
I removed the /lib/modules/3.0-ARCH since no other files where in that folder and tried again 'pacman -Syu' but keep getting the '/lib exists on filesystem' error.
What should I do to solve this??
The list of files in /lib is this:
device-mapper libcap.so.2 libext2fs.so.2.4 libmount.so.1.1.0 libpam_misc.so libshadow.so
firmware libcap.so.2.22 libgcrypt.so libm.so.6 libpam_misc.so.0 libshadow.so.0
initcpio libcidn-2.16.so libgcrypt.so.11 libncursesw.so.5 libpam_misc.so.0.82.0 libshadow.so.0.0.0
ld-2.16.so libcidn.so.1 libgcrypt.so.11.7.0 libncursesw.so.5.9 libpam.so libss.so.2
ld-linux-x86-64.so.2 libcom_err.so.2 libgpg-error.so libnsl-2.16.so libpam.so.0 libss.so.2.0
libacl.so libcom_err.so.2.1 libgpg-error.so.0 libnsl.so.1 libpam.so.0.83.1 libsysfs.so.2
libacl.so.1 libcrypt-2.16.so libgpg-error.so.0.8.0 libnss_compat-2.16.so libpcprofile.so libsysfs.so.2.0.1
libacl.so.1.1.0 libcryptsetup.so libgudev-1.0.so.0 libnss_compat.so.2 libpcre.so.0 libthread_db-1.0.so
libanl-2.16.so libcryptsetup.so.1 libgudev-1.0.so.0.1.0 libnss_db-2.16.so libpcre.so.0.0.1 libthread_db.so.1
libanl.so.1 libcryptsetup.so.1.2.0 libhandle.a libnss_db.so.2 libpopt.so libudev.so.0
libattr.so libcrypt.so.1 libhandle.so libnss_dns-2.16.so libpopt.so.0 libudev.so.0.12.0
libattr.so.1 libc.so.6 libhandle.so.1 libnss_dns.so.2 libpopt.so.0.0.0 libutil-2.16.so
libattr.so.1.1.0 libdevmapper-event-lvm2mirror.so libhandle.so.1.0.3 libnss_files-2.16.so libproc-3.2.8.so libutil.so.1
libblkid.so.1 libdevmapper-event-lvm2raid.so libhistory.so libnss_files.so.2 libpthread-2.16.so libuuid.so.1
libblkid.so.1.1.0 libdevmapper-event-lvm2snapshot.so libhistory.so.6 libnss_hesiod-2.16.so libpthread.so.0 libuuid.so.1.3.0
libBrokenLocale-2.16.so libdevmapper-event-lvm2.so.2.02 libhistory.so.6.2 libnss_hesiod.so.2 libreadline.so modprobe.d
libBrokenLocale.so.1 libdevmapper-event.so.1.02 libkeyutils.so.1 libnss_nis-2.16.so libreadline.so.6 modules
libbz2.so libdevmapper.so.1.02 libkeyutils.so.1.4 libnss_nisplus-2.16.so libreadline.so.6.2 security
libbz2.so.1 libdl-2.16.so liblvm2app.so.2.2 libnss_nisplus.so.2 libresolv-2.16.so systemd
libbz2.so.1.0 libdl.so.2 liblvm2cmd.so.2.02 libnss_nis.so.2 libresolv.so.2 udev
libbz2.so.1.0.6 libe2p.so.2 libm-2.16.so libpamc.so librt-2.16.so
libc-2.16.so libe2p.so.2.3 libmemusage.so libpamc.so.0 librt.so.1
libcap.so libext2fs.so.2 libmount.so.1 libpamc.so.0.82.1 libSegFault.so
Thanks everyone who will answer this post.
Last edited by grego1422 (2012-07-16 19:35:16)It seems that deleting the folder inside /lib/modules broke something since the system was quite unstable after rebooting...
Whatever, I'm sorry I can't continue to solve my last situation.
I have just made a new install and followed the instructions at Allan McRae's blog.
pacman -Sy
rm -rf /var/run /var/lock && pacman -Sf filesystem
pacman -S tzdata
pacman -U http://pkgbuild.com/~allan/glibc-2.16.0 … pkg.tar.xz
rm /etc/profile.d/locale.sh
pacman -Su --ignore glibc
pacman -Su
I'm quite near the success, now I'm stuck at generating the signature database.
Before the last 'pacman -Su' I'm forced to create the trusted signature database by pacman, when I run 'pacman-key --init' it seems to hang, I left it there generating the database for about half an hour in my first atempt and about an hour in my second atempt and it never finished. But in my previous installation (2 hours ago) it was done in 5 minutes.
Is there another way to generate the signature database? or anyone knows what is happening? Thank you.
Last edited by grego1422 (2012-07-16 16:27:55) -
What do next after iOS5 upgrading?
finally i've made it, to upgrade iOS5. but then after experince "the most powerful OS-the official said"
i felt there are not many major changes in visual (i using ipad2 3G), i admit in performance this OS prove what they promises.
compairing to iphone4s who have siri as their main changes, ipad2 has not have that advantage. then i ask myself what can i do after upgrading?
what application that giving best experience in OS5?
-thanks-Hi,
Sorry you need to boot from the ODD (Optical Disc Drive - ie the DVD). Please go to the BIOS and select boot up from the CD/DVD first. Have you read the above link ? This is one part of that link:
http://www.windowsreinstall.com/win7ultimate/7help/firstbootinbios/index.htm
On your laptop, try F10.
Regards.
BH
**Click the KUDOS thumb up on the left to say 'Thanks'**
Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem. -
y iPad2 is frozen, I am trying to download the upgrade software but fails after a while, how can I solve the issue. I have not upgraded the iPad 2 since I bought it.
Try and force iPad into Recovery Mode:
1. Turn off iPad
2. Connect USB cable to computer; leave the other end alone
3. Press and hold the Home button down and connect the docking end of cable to iPad
4. Continue holding the Home button until you see the "Connect To iTune" screen
5. Release the Home button
6. Open iTune
7. You should see "iTunes has detected an iPad in recovery mode"
8. Use iTune to restore iPad
Note: You need to be patient and repeat the above many times to recover your iPad -
[SOLVED] Upgrade glibc-2.16 fails since 2.15 owns /lib files
After improperly updating two separate systems since `/lib` became `/usr/lib` (which have since been fixed), I decided to try the update on a server too, since it's been a while. I've followed https://wiki.archlinux.org/index.php/De … iki:usrlib as close a possible to succeed, but I think I found something the wiki simply doesn't answer, and before I use `pacman -f`, I wanted some input.
Here's my console output after already doing a bunch of upgrading with `--ignore` and `-Sd`, so that `glibc` is the only thing left to upgrade:
[root@li248-90 lib]# pacman -Syu glibc
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...
Targets (1): glibc-2.16.0-3
Total Installed Size: 37.62 MiB
Net Upgrade Size: 2.30 MiB
Proceed with installation? [Y/n]
(1/1) checking package integrity [####################################################################################################] 100%
(1/1) loading package files [####################################################################################################] 100%
(1/1) checking for file conflicts [####################################################################################################] 100%
error: failed to commit transaction (conflicting files)
glibc: /lib exists in filesystem
Errors occurred, no packages were upgraded.
[root@li248-90 lib]# grep '^lib/' /var/lib/pacman/local/*/files
/var/lib/pacman/local/glibc-2.15-4/files:lib/
/var/lib/pacman/local/glibc-2.15-4/files:lib/ld-2.15.so
/var/lib/pacman/local/glibc-2.15-4/files:lib/ld-linux-x86-64.so.2
/var/lib/pacman/local/glibc-2.15-4/files:lib/libBrokenLocale-2.15.so
/var/lib/pacman/local/glibc-2.15-4/files:lib/libBrokenLocale.so.1
/var/lib/pacman/local/glibc-2.15-4/files:lib/libSegFault.so
/var/lib/pacman/local/glibc-2.15-4/files:lib/libanl-2.15.so
/var/lib/pacman/local/glibc-2.15-4/files:lib/libanl.so.1
/var/lib/pacman/local/glibc-2.15-4/files:lib/libc-2.15.so
/var/lib/pacman/local/glibc-2.15-4/files:lib/libc.so.6
/var/lib/pacman/local/glibc-2.15-4/files:lib/libcidn-2.15.so
/var/lib/pacman/local/glibc-2.15-4/files:lib/libcidn.so.1
/var/lib/pacman/local/glibc-2.15-4/files:lib/libcrypt-2.15.so
/var/lib/pacman/local/glibc-2.15-4/files:lib/libcrypt.so.1
/var/lib/pacman/local/glibc-2.15-4/files:lib/libdl-2.15.so
/var/lib/pacman/local/glibc-2.15-4/files:lib/libdl.so.2
/var/lib/pacman/local/glibc-2.15-4/files:lib/libm-2.15.so
/var/lib/pacman/local/glibc-2.15-4/files:lib/libm.so.6
/var/lib/pacman/local/glibc-2.15-4/files:lib/libmemusage.so
/var/lib/pacman/local/glibc-2.15-4/files:lib/libnsl-2.15.so
/var/lib/pacman/local/glibc-2.15-4/files:lib/libnsl.so.1
/var/lib/pacman/local/glibc-2.15-4/files:lib/libnss_compat-2.15.so
/var/lib/pacman/local/glibc-2.15-4/files:lib/libnss_compat.so.2
/var/lib/pacman/local/glibc-2.15-4/files:lib/libnss_db-2.15.so
/var/lib/pacman/local/glibc-2.15-4/files:lib/libnss_db.so.2
/var/lib/pacman/local/glibc-2.15-4/files:lib/libnss_dns-2.15.so
/var/lib/pacman/local/glibc-2.15-4/files:lib/libnss_dns.so.2
/var/lib/pacman/local/glibc-2.15-4/files:lib/libnss_files-2.15.so
/var/lib/pacman/local/glibc-2.15-4/files:lib/libnss_files.so.2
/var/lib/pacman/local/glibc-2.15-4/files:lib/libnss_hesiod-2.15.so
/var/lib/pacman/local/glibc-2.15-4/files:lib/libnss_hesiod.so.2
/var/lib/pacman/local/glibc-2.15-4/files:lib/libnss_nis-2.15.so
/var/lib/pacman/local/glibc-2.15-4/files:lib/libnss_nis.so.2
/var/lib/pacman/local/glibc-2.15-4/files:lib/libnss_nisplus-2.15.so
/var/lib/pacman/local/glibc-2.15-4/files:lib/libnss_nisplus.so.2
/var/lib/pacman/local/glibc-2.15-4/files:lib/libpcprofile.so
/var/lib/pacman/local/glibc-2.15-4/files:lib/libpthread-2.15.so
/var/lib/pacman/local/glibc-2.15-4/files:lib/libpthread.so.0
/var/lib/pacman/local/glibc-2.15-4/files:lib/libresolv-2.15.so
/var/lib/pacman/local/glibc-2.15-4/files:lib/libresolv.so.2
/var/lib/pacman/local/glibc-2.15-4/files:lib/librt-2.15.so
/var/lib/pacman/local/glibc-2.15-4/files:lib/librt.so.1
/var/lib/pacman/local/glibc-2.15-4/files:lib/libthread_db-1.0.so
/var/lib/pacman/local/glibc-2.15-4/files:lib/libthread_db.so.1
/var/lib/pacman/local/glibc-2.15-4/files:lib/libutil-2.15.so
/var/lib/pacman/local/glibc-2.15-4/files:lib/libutil.so.1
As you can see, an old glibc seems to be blocking the ... glibc upgrade.
Is it safe to use `pacman -Sf glibc` now, or is this going to brick this system like my others? Should I create a softlink from `/usr/lib` to `/lib` before I do this or take some other preventative measure?
Last edited by secretrobotron (2012-08-20 17:39:53)└$sudo pacman -Su --ignore x264,chromium,virtualbox
:: Starting full system upgrade...
warning: chromium: ignoring package upgrade (21.0.1180.81-1 => 21.0.1180.81-2)
warning: virtualbox: ignoring package upgrade (4.1.20-1 => 4.1.20-2)
warning: x264: ignoring package upgrade (20120204-1 => 20120705-1)
resolving dependencies...
looking for inter-conflicts...
Targets (2): curl-7.27.0-1 glibc-2.16.0-3
Total Installed Size: 39.45 MiB
Net Upgrade Size: 0.05 MiB
Proceed with installation? [Y/n] y
(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)
glibc: /lib exists in filesystem
Errors occurred, no packages were upgraded.
┌debd@dmachine:(10:10 AM)─────[~]
└$cd /lib
┌debd@dmachine:(10:10 AM)─────[lib]
└$for i in `ls`; do pacman -Qo "$i"; done
ld-2.16.so is owned by glibc 2.16.0-1
ld-linux-x86-64.so.2 is owned by glibc 2.16.0-1
libBrokenLocale-2.16.so is owned by glibc 2.16.0-1
libBrokenLocale.so.1 is owned by glibc 2.16.0-1
libSegFault.so is owned by glibc 2.16.0-1
libanl-2.16.so is owned by glibc 2.16.0-1
libanl.so.1 is owned by glibc 2.16.0-1
libc-2.16.so is owned by glibc 2.16.0-1
libc.so.6 is owned by glibc 2.16.0-1
libcidn-2.16.so is owned by glibc 2.16.0-1
libcidn.so.1 is owned by glibc 2.16.0-1
libcrypt-2.16.so is owned by glibc 2.16.0-1
libcrypt.so.1 is owned by glibc 2.16.0-1
libdl-2.16.so is owned by glibc 2.16.0-1
libdl.so.2 is owned by glibc 2.16.0-1
libm-2.16.so is owned by glibc 2.16.0-1
libm.so.6 is owned by glibc 2.16.0-1
libmemusage.so is owned by glibc 2.16.0-1
error: No package owns libming.pc
error: No package owns libming.so
libnsl-2.16.so is owned by glibc 2.16.0-1
libnsl.so.1 is owned by glibc 2.16.0-1
libnss_compat-2.16.so is owned by glibc 2.16.0-1
libnss_compat.so.2 is owned by glibc 2.16.0-1
libnss_db-2.16.so is owned by glibc 2.16.0-1
libnss_db.so.2 is owned by glibc 2.16.0-1
libnss_dns-2.16.so is owned by glibc 2.16.0-1
libnss_dns.so.2 is owned by glibc 2.16.0-1
libnss_files-2.16.so is owned by glibc 2.16.0-1
libnss_files.so.2 is owned by glibc 2.16.0-1
libnss_hesiod-2.16.so is owned by glibc 2.16.0-1
libnss_hesiod.so.2 is owned by glibc 2.16.0-1
libnss_nis-2.16.so is owned by glibc 2.16.0-1
libnss_nis.so.2 is owned by glibc 2.16.0-1
libnss_nisplus-2.16.so is owned by glibc 2.16.0-1
libnss_nisplus.so.2 is owned by glibc 2.16.0-1
libpcprofile.so is owned by glibc 2.16.0-1
libpthread-2.16.so is owned by glibc 2.16.0-1
libpthread.so.0 is owned by glibc 2.16.0-1
libresolv-2.16.so is owned by glibc 2.16.0-1
libresolv.so.2 is owned by glibc 2.16.0-1
librt-2.16.so is owned by glibc 2.16.0-1
librt.so.1 is owned by glibc 2.16.0-1
libthread_db-1.0.so is owned by glibc 2.16.0-1
libthread_db.so.1 is owned by glibc 2.16.0-1
libutil-2.16.so is owned by glibc 2.16.0-1
libutil.so.1 is owned by glibc 2.16.0-1 -
[Slvd] What to restart after system upgrade? When to restart X server?
Hi all,
After a system upgrade, what should be restarted? The following actions I know about:
kernel (linux): reboot
daemon (sshd, cups, iptables, etc.): rc.d restart ...
application (fvwm, mutt, etc.): restart application
But what will require restarting X server? Can the current X server continue to run after upgrading one the following:
1. xorg-server
2. libx11 or other libraries xorg-server depends on
3. anything else?
I want to keep the system up-to-date but avoid restarting the X server to maintain my X session (>100 windows carfully spread and grouped over 22 workspaces). Unfortunately, there is no xsm anymore and, no, I don't like gnome/kde/thelike.
Thanks,
Daan
Last edited by drrossum (2012-03-26 15:37:37)brebs wrote:
A useful command is:
lsof | grep 'DEL.*lib'
I put this line in a script called stalelibs. Helps to see which services should be restarted. Or whether I'll just take the easy option and reboot :)
This is very helpful!
Also, in the link that you sent it is explained why programs don't break when their shared libraries are removed:
Existing programs (that are already loaded) have pointers to the old version, as Naib says, in RAM as code or an inode location as a file handle to the deleted version. Once all handles are gone/programs terminated, the file will then truly be "removed" from the disk and space reclaimed. Until then you'll see shared libraries still eating disk space and RAM, despite them being removed.
This is why it's good to reboot the machine after certain upgrades such as libc, so programs like init can pick up a new copy of libc.
@brebs: Thanks for the great contribution! -
When trying to upgrade to iOS 6 after a few minutes message pops up: unable to complete download, options cancel or settings? what do I need to change in the settings? What have I set in settings that is stopping my upgrade??
Sorry, good network connection, happily downloaded for 15 minutes before this popup appeared... Staying with iOS 5.1.1 for now hoping Apple can sort it..oO
-
I Upgrade Iphone 3GS And After All Iphone Cant Active.. what Can I Do.. ,,Your Iphone Could Not Be Activated Because.......,
Activation issues are almost always the result of a device that has been hacked or jailbroken.
If this is the case, no support can be provided here. -
What is retained after a firmware upgrade
I want to upgrage the firmware on my router. I want to make sure after I install the firmware I restore some settings. If I do a backup of settings before the firmware upgrade and then restore the settings after the firmware upgrade will the SSID and the WEP keys be restored?
Solved!
Go to Solution.No. After every firmware upgrade you are to reconfigure the router manually using no backup files. This is because the new firmware may not handle the old backup file. The backup file is to be used with the firmware it was made from.
-
[SOLVED]nm-applet fails to launch after update
Hi,
I've just updated NetworkManager and network-manager-applet:
[2012-10-31 20:16] upgraded networkmanager (0.9.6.0-2 -> 0.9.6.4-1)
[2012-10-31 20:16] upgraded network-manager-applet (0.9.6.2-1 -> 0.9.6.4-1)
After reboot nm-applet fails to launch with the following error:
** (nm-applet:6657): WARNING **: Could not initialize NMClient /org/freedesktop/NetworkManager: Rejected send message, 2 matched rules; type="method_call", sender=":1.48" (uid=1000 pid=6657 comm="nm-applet ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=267 comm="/usr/sbin/NetworkManager --no-daemon ")
** Message: applet now removed from the notification area
** Message: applet now embedded in the notification area
** Message: applet now removed from the notification area
** (nm-applet:6657): WARNING **: Failed to register as an agent: (32) Session not found
When using sudo nm-applet:
** Message: applet now removed from the notification area
** Message: applet now embedded in the notification area
** (nm-applet:6767): WARNING **: Failed to register as an agent: (32) Session not found
Any idea on what went wrong after the update?
Thank you in advance!
EDIT:
While migrating to systemd, I forgot to replace the ConsoleKit line in /etc/pam.d/slim with:
session required pam_systemd.so
->Problem solved
Last edited by geekmiki (2012-11-01 00:53:29)Related news: https://www.archlinux.org/news/consolek … by-logind/
-
Memory upgrade fail - Kernel panic after put old memories back
I People, this is my first post here and unfortunately is to report a problem, not to help friends.
I did an memory upgrade last weekend. After this, he will not boot normally, only in safe mode.
I discovered that they sent me 1333Mhz memories, and my mac (mid 2009) supports only 1066Mhz.
I put the old memories again, however I believe that the system did not recognize.
As you can see below, the system recognizes two modules:
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1067 MHz, 0x80CE, 0x4D34373142353237334448302D4348392020
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1067 MHz, 0x80CE, 0x4D34373142353637334648302D4346382020
It is not true, I' using now 2 x 2GB, DDR3, 1067 Mhz (stock)
I tried to reinstall the system, but when I try, I got crash again.
how can I solve this issue?
Interval Since Last Panic Report: 5298 sec
Panics Since Last Report: 6
Anonymous UUID: EAEB74C4-4B23-BCC2-1A48-B6FEB255C9FF
Mon Apr 1 16:37:33 2013
panic(cpu 1 caller 0xffffff800e0876ab): "Spinlock acquisition timed out: lock=0xffffff8011bff270, lock owner thread=0x10d9fb0aa, current_thread: 0xffffff801f873000, lock owner active on CPU 0xffffffff, current owner: 0x10d9fb0aa"@/SourceCache/xnu/xnu-2050.7.9/osfmk/i386/locks_i386.c:363
Backtrace (CPU 1), Frame : Return Address
0xffffff80f54fbd10 : 0xffffff800e01d5f6
0xffffff80f54fbd80 : 0xffffff800e0876ab
0xffffff80f54fbdb0 : 0xffffff800e06256b
0xffffff80f54fbf40 : 0xffffff800e0b7f69
0xffffff80f54fbfb0 : 0xffffff800e0ce3d1
BSD process name corresponding to current thread: diskarbitrationd
Boot args: config="\OS X Install Data\com.apple.Boot" root-dmg=file:///OS%20X%20Install%20Data/BaseSystem.dmg
Mac OS version:
12A269
Kernel version:
Darwin Kernel Version 12.0.0: Sun Jun 24 23:00:16 PDT 2012; root:xnu-2050.7.9~1/RELEASE_X86_64
Kernel UUID: 8D5F8EF3-9D12-384B-8070-EF2A49C45D24
Kernel slide: 0x000000000de00000
Kernel text base: 0xffffff800e000000
System model name: MacBookPro7,1 (Mac-F222BEC8)
System uptime in nanoseconds: 8887270925
last loaded kext at 1689458563: com.apple.driver.AppleUSBTCButtons 235.4 (addr 0xffffff7f8f6c7000, size 20480)
loaded kexts:
com.apple.driver.AppleUSBTCButtons 235.4
com.apple.driver.AppleIRController 320.15
com.apple.driver.AppleUSBTCKeyEventDriver 235.4
com.apple.driver.AppleUSBTCKeyboard 235.4
com.apple.driver.DiskImages.ReadWriteDiskImage 344
com.apple.driver.DiskImages.SparseDiskImage 344
com.apple.driver.DiskImages.UDIFDiskImage 344
com.apple.driver.DiskImages.FileBackingStore 344
com.apple.driver.DiskImages.HTTPBackingStore 344
com.apple.driver.DiskImages.RAMBackingStore 344
com.apple.driver.AppleFileSystemDriver 3.0.1
com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
com.apple.BootCache 34
com.apple.driver.AppleUSBCardReader 3.1.0
com.apple.iokit.SCSITaskUserClient 3.5.1
com.apple.driver.XsanFilter 404
com.apple.iokit.IOAHCIBlockStorage 2.2.0
com.apple.driver.AppleSmartBatteryManager 161.0.0
com.apple.driver.AppleUSBHub 5.1.6
com.apple.iokit.AppleBCM5701Ethernet 3.2.5b3
com.apple.driver.AirPort.Brcm4331 600.15.20
com.apple.driver.AppleFWOHCI 4.9.5
com.apple.driver.AppleAHCIPort 2.4.0
com.apple.driver.AppleUSBEHCI 5.1.5
com.apple.driver.AppleUSBOHCI 5.1.5
com.apple.driver.AppleEFINVRAM 1.6.1
com.apple.driver.AppleRTC 1.5
com.apple.driver.AppleHPET 1.7
com.apple.driver.AppleACPIButtons 1.6
com.apple.driver.AppleSMBIOS 1.9
com.apple.driver.AppleACPIEC 1.6
com.apple.driver.AppleAPIC 1.6
com.apple.driver.AppleIntelCPUPowerManagementClient 196.0.0
com.apple.nke.applicationfirewall 4.0.39
com.apple.security.quarantine 2
com.apple.driver.AppleIntelCPUPowerManagement 196.0.0
com.apple.driver.AppleUSBMultitouch 235.7
com.apple.iokit.IOUSBHIDDriver 5.0.0
com.apple.driver.DiskImages.KernelBacked 344
com.apple.iokit.IOSCSIBlockCommandsDevice 3.5.1
com.apple.iokit.IOUSBMassStorageClass 3.5.0
com.apple.driver.AppleUSBMergeNub 5.1.5
com.apple.driver.AppleUSBComposite 5.0.0
com.apple.iokit.IOSCSIMultimediaCommandsDevice 3.5.1
com.apple.iokit.IOBDStorageFamily 1.7
com.apple.iokit.IODVDStorageFamily 1.7.1
com.apple.iokit.IOCDStorageFamily 1.7.1
com.apple.iokit.IOAHCISerialATAPI 2.5.0
com.apple.iokit.IOSCSIArchitectureModelFamily 3.5.1
com.apple.iokit.IOUSBUserClient 5.0.0
com.apple.iokit.IOEthernetAVBController 1.0.2b1
com.apple.iokit.IO80211Family 500.15
com.apple.iokit.IONetworkingFamily 3.0
com.apple.iokit.IOFireWireFamily 4.5.5
com.apple.driver.AppleMCP89RootPortPM 1.11
com.apple.iokit.IOAHCIFamily 2.2.0
com.apple.iokit.IOUSBFamily 5.1.6
com.apple.driver.NVSMU 2.2.9
com.apple.driver.AppleEFIRuntime 1.6.1
com.apple.iokit.IOHIDFamily 1.8.0
com.apple.iokit.IOSMBusFamily 1.1
com.apple.security.sandbox 220
com.apple.kext.AppleMatch 1.0.0d1
com.apple.security.TMSafetyNet 7
com.apple.driver.DiskImages 344
com.apple.iokit.IOStorageFamily 1.8
com.apple.driver.AppleKeyStore 28.18
com.apple.driver.AppleACPIPlatform 1.6
com.apple.iokit.IOPCIFamily 2.7
com.apple.iokit.IOACPIFamily 1.4
com.apple.kec.corecrypto 1.0
Model: MacBookPro7,1, BootROM MBP71.0039.B0E, 2 processors, Intel Core 2 Duo, 2.4 GHz, 8 GB, SMC 1.62f7
Graphics: NVIDIA GeForce 320M, NVIDIA GeForce 320M, PCI, 256 MB
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1067 MHz, 0x80CE, 0x4D34373142353237334448302D4348392020
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1067 MHz, 0x80CE, 0x4D34373142353637334648302D4346382020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x8D), Broadcom BCM43xx 1.0 (5.106.98.100.16)
Bluetooth: Version 4.1.3f3 11349, 2 service, 11 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en1
Serial ATA Device: ST9500420AS, 500.11 GB
Serial ATA Device: MATSHITADVD-R UJ-898
USB Device: Built-in iSight, apple_vendor_id, 0x8507, 0x24600000 / 2
USB Device: Internal Memory Card Reader, apple_vendor_id, 0x8403, 0x26100000 / 2
USB Device: BRCM2046 Hub, 0x0a5c (Broadcom Corp.), 0x4500, 0x06600000 / 4
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8213, 0x06610000 / 7
USB Device: IR Receiver, apple_vendor_id, 0x8242, 0x06500000 / 3
USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x0236, 0x06300000 / 2Hi BGreg,
I already reset the PRAM as you said.
I've cleaned the memory modules as indicated by Linc above.
Today I formatted my harddrive to try a clean install, but system crashs after 5%, 10%.
There is something making me worried:
In one of my tries, I opened the system view to check my actual hardware configuration, and to my surprise, the system shows me 8GB installed. Cannot be. I have 2 x 2GB.
Where my system stores this information? There is a way to reset it? I tried last hour install the snow leopard, that cames with my mac, by DVD, but does not worked too.
Thank you all so far.
Giuliano -
How to I undo what was done after clicking on a link from a spammed email?
Hello...
I am usually Never one to click on any suspicious emails, let alone links within the emails, but I recieved an email from my Uncle that looked slightly suspicious, but I let myself click on the link within it. It turned out to be a spammed email with a BS link from "msnbc" reharding jobs. What happened when I clicked that spammed link, and what can I do to undo what was done? I am terrified that I unintentionally installed something on my Mac Air through clicking on this link. What do I need to do to erase what was do, and how to I find out what was done? Thank you very much for your help. I greatly appreciate any advice.Without knowing what webpage the link opened and what you did after you opened it, it is impossible to be 100% certain of anything that may have resulted from that. An email itself cannot install anything. If the webpage did not result in any unusual activity, and you did not deliberately install or supply any personal information then you have no cause for concern.
"Unusual activity" would include symptoms such as a webpage you cannot close or navigate away from, and that would be a mere nuisance that is easily solved. If Safari or the browser you used is behaving normally then rest easy.
Most of these spam emails do nothing but bombard you with ads or attempt to install a browser "toolbar" that does the same. Malicious emails include phishing scams and most of them are laughable (but they are getting better). Others carry Windows malware that cannot affect your Mac.
To edit your profile click on your name at the top of this page (where it says Welcome, saratee14), scroll down to the heading My Products, click edit, and on the page that follows select your version of OS X from the dropdown menu. The only reason I questioned this was to confirm you have been updating OS X. -
Mac OSX 10.6.6 refuses my admin password to upgrade, what do I do?
Mac OSX 10.6.6 refuses my admin password to upgrade, what do I do?
I simply got trouble with OS Mavericks then I mistakenly went back to OS X 10.6.4
After that I downloaded several updates to at least get back to 10.8 but it ended up being hectic.
Only after updating to 10.6.5; 10.6.6 refused my Admin password! Maybe they want me to buy an original one but I downloaded all the updates from apple! Upto 10.7.4 I have on a disk. Please help
Maybe you are looking for
-
HT1688 How do I delete all my pictures from my new phone? IPhone 5S
Help, have a ton of pics on my iphone 5s and I can't delete them and they are taking up all my space.
-
HT1338 I can't update my Mac past OS X verison 10.6.8.
My borther on his Mac is running OS X 10.8.4 however I'm running 10.6.8 and I need to update past verison 10.7.0 but when I click for updates I get Software Update doesn't have any new software for your computer at this time. What do I need to do to
-
Symbolic links on Solaris 9 OS/Sun AS 8.01
Hello, we are migrating several applications from SunAS 7 to SunAS8 and have several document directories that were set up on SunAS7. These appear to not be available in SunAS8. A symbolic link would work fine. We have attempted to implement the fix
-
Most of the pages on my site are created using the same template I developed. Today, I edited the horizontal main menu on the template, which changed all the pages on my site correctly, except now all the pages with tabbel panels in the body are sho
-
GL - MDO - RCP Service Call Fails
Hi there, I'm having issue during LSO implementation. CO_LSO_CPT_PUBLISHER_SERVICE fails when publishing. Here is the steps I encounter the error: 1) Log in as Data Steward 2) Navigate My Work > Manage HR Master Data > Process Training MD CR > Conten