You are not logged in.
Pages: 1
Hi,
I did this:
pacman -Syu --ignore glibc curl
System update successfully.
Then when I try this
pacman -Su
I get this error:
pacman: /lib/libc.so.6 version GLIBC_2.16 not found (required by /usr/lib/libcurl.so.4)
with some research I found this solution:
cd /usr/lib
grep ./ libcurl*
mkdir /home/USERNAME/curl_backup/
mv libcurl.a libcurl.so libcurl.so.4 libcurl.so.4.2.0 /home/USERNAME/curl_backup
cd /home/USERNAME/curl_backup
wget http://arm.konnichi.com/2012/07/26/pool … pkg.tar.xz
tar -xJf curl-7.26.0-1-<arch>.pkg.tar.xz
cd usr/lib
cp *.* /usr/lib
And after this when execute pacman I get this error:
pacman error while loading shared libraries: /usr/lib/libcurl.so.4: file too short
Someone can help me?
Oh, and I can not even open chrome or firefox.
Thanks
Offline
Why did you copy the files rather than installing with pacman -U?
Was the idea to downgrade curl, upgrade it or what?
Search the forums and use the wiki developer page on this - issues with this upgrade have been very extensively covered by now.
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
Hum, why did you --ignore glibc curl ?
I would remove all the files that were un-tared by like...
mkdir ~/test
cd ~/test
wget [url]http://arm.konnichi.com/2012/07/26/pool[/url] … pkg.tar.xz
tar -xJf curl-7.26.0-1-<arch>.pkg.tar.xz
Look at all the files in there and remove them one by one from your system. Then restore the old files you backed up to /home/USERNAME/curl_backup
After that,
pacman -Syu
S - Sync, y - update the database, u - update the system
Last edited by hunterthomson (2012-09-18 04:21:32)
OpenBSD-current Thinkpad X230, i7-3520M, 16GB CL9 Kingston, Samsung 830 256GB
Contributor: linux-grsec
Offline
Hi,
I did this:
pacman -Syu --ignore glibc curl
System update successfully.
Solving this might be hard, but I can tell you what you did wrong: There is supposed to be a comma between glibc and curl. Instead of ignoring glibc and curl, you ignored glibc and explicitly upgraded curl.
As for solving this: Easiest would be to boot an external install medium and upgrade with pacman --root.
Offline
I can tell you what you did wrong: There is supposed to be a comma between glibc and curl. Instead of ignoring glibc and curl, you ignored glibc and explicitly upgraded curl.
Shit, then the Beginners' Guide needs to be updated: https://wiki.archlinux.org/index.php/Be … g_packages
Same thing for pacman.conf ?
Edit: But then again...
https://wiki.archlinux.org/index.php/Pa … g_upgraded
For multiple packages use a space-separated list, or use additional IgnorePkg lines.
Last edited by DSpider (2012-09-18 09:27:47)
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
brain0 wrote:I can tell you what you did wrong: There is supposed to be a comma between glibc and curl. Instead of ignoring glibc and curl, you ignored glibc and explicitly upgraded curl.
Shit, then the Beginners' Guide needs to be updated: https://wiki.archlinux.org/index.php/Be … g_packages
Indeed. It is either
--ignore foo --ignore bar
or
--ignore foo,bar
Every word on the pacman -S command that is not prefixed by an option is an installation target!
Same thing for pacman.conf ?
No.
Offline
Again, back to the basics: man pacman tells everything:
--ignore <package>
Directs pacman to ignore upgrades of package even if there is one
available. Multiple packages can be specified by separating them with a
comma.
--ignoregroup <group>
Directs pacman to ignore upgrades of all packages in group even if there is
one available. Multiple groups can be specified by separating them with a
comma.
Always refer to the primary docs. But you are also free to update the wiki accordingly.
To know or not to know ...
... the questions remain forever.
Offline
Beginner's Guide updated. DSpider, you could do it yourself as well, the wiki is a community effort.
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
Pages: 1