You are not logged in.
Hi there,
~$ sudo pacman -S gvim
resolving dependencies...
looking for inter-conflicts...
Targets (3): vim-runtime-7.3.206-1 ruby-1.9.2_p180-3 gvim-7.3.206-1
Total Download Size: 8.08 MB
Total Installed Size: 45.55 MB
Proceed with installation? [Y/n]
:: Retrieving packages from extra...
vim-runtime-7.3.20... 4.2M 701.1K/s 00:00:06 [######################] 100%
ruby-1.9.2_p180-3-... 2.8M 810.8K/s 00:00:04 [######################] 100%
gvim-7.3.206-1-x86_64 1102.3K 651.4K/s 00:00:02 [######################] 100%
(3/3) checking package integrity [######################] 100%
(3/3) checking for file conflicts [######################] 100%
(1/3) installing vim-runtime [######################] 100%
(2/3) installing ruby [######################] 100%
Optional dependencies for ruby
tk: for Ruby/TK
(3/3) installing gvim [######################] 100%
Updating desktop and mime database...done.
~$ vim .config/openbox/rc.xml
vim: /lib/libc.so.6: version `GLIBC_2.14' not found (required by /usr/lib/libruby.so.1.9)
~$ pacman -Qo /lib/libc.so.6
/lib/libc.so.6 is owned by glibc 2.13-5
~$ pacman -Ss glibc
core/glibc 2.14-4 (base) [installed: 2.13-5]
GNU C LibraryShould i file a bug?
To fix that, do i simply upgrade gllibc? Because if i do, it may break a bunch of things, no?
~$ sudo pacman -S glibc
resolving dependencies...
looking for inter-conflicts...
Targets (2): linux-api-headers-2.6.39.1-1 glibc-2.14-4
Total Download Size: 7.59 MB
Total Installed Size: 38.11 MB
Proceed with installation? [Y/n] n
~$Offline
You should just "pacman -Syu" as usual. It's much safer to upgrade everything here than to take it in pieces. The packagers test and plan for full upgrades - who knows if partials will work?
To answer the first question, versioned dependencies (which would be needed for the glibc to be automatically upgraded) aren't normally used on Arch packages, mostly because you're expected to just upgrade everything anyway.
Offline
Ah indeed :
~$ pacman -Qi ruby
Name : ruby
Version : 1.9.2_p180-3
URL : http://www.ruby-lang.org/en/
Licenses : custom
Groups : None
Provides : rubygems rake
Depends On : openssl libffi
Optional Deps : tk: for Ruby/TK
Required By : gvim
Conflicts With : rake
Replaces : None
Installed Size : 18824.00 K
Packager : Eric Belanger <eric@archlinux.org>
Architecture : x86_64
Build Date : Wed 15 Jun 2011 02:07:06 AM CDT
Install Date : Sat 09 Jul 2011 12:18:15 PM CDT
Install Reason : Installed as a dependency for another package
Install Script : No
Description : An object-oriented language for quick and easy programming
~$Even though apparently it does not directly depends on glibc, i am noticing that the other dependencies are not version-specific. That is what you meant, right?
Thanks
Offline
Always do a full update when you refresh your package database. We package assuming a fully up to date system.
Offline