You are not logged in.

#1 2012-07-22 12:06:19

drahnr
Member
Registered: 2011-03-14
Posts: 73

glibc issue

I know there are some threads, I am aware of the documentation within the wiki (which I already read)

Case: I got a VPS with some data I would like to save. Unfortunatly I need to install rsync or scp to do that. Thus I need to upgrade. The image is from 2011.08.

# pacman -Ss glibc                                                                                                                                                  
core/glibc 2.16.0-2 (base) [installed: 2.14-5]                                                                                                                                                
    GNU C Library                                                                                                                                                                             
extra/kdesdk-kmtrace 4.8.4-1 (kde kdesdk)                                                                                                                                                     
    A KDE tool to assist with malloc debugging using glibc´s "mtrace" functionality                                                                                                           
extra/nss-mdns 0.10-5                                                                                                                                                                         
    glibc plugin providing host name resolution via mDNS                                                                                                                                      

the command "pacman -Syu --ignore glibc" fails, if I try to upgrade pacman first:

# pacman -Syu --ignore glibc                                                                                                                                                   
:: Synchronizing package databases...                                                                                                                                                         
 core is up to date                                                                                                                                                                           
downloading extra.db...                                                                                                                                                                       
downloading community.db...                                                                                                                                                                   
:: The following packages should be upgraded first :                                                                                                                                          
    pacman                                                                                                                                                                                    
:: Do you want to cancel the current operation                                                                                                                                                
:: and upgrade these packages now? [Y/n] y                                                                                                                                                    
                                                                                                                                                                                              
resolving dependencies...                                                                                                                                                                     
warning: ignoring package glibc-2.16.0-2                                                                                                                                                      
warning: cannot resolve "glibc>=2.15", a dependency of "pacman"                                                                                                                               
:: The following package cannot be upgraded due to unresolvable dependencies:                                                                                                                 
      pacman                                                                                                                                                                                  
                                                                                                                                                                                              
Do you want to skip the above package for this upgrade? [y/N] n                                                                                                                               
error: failed to prepare transaction (could not satisfy dependencies)                                                                                                                         
:: pacman: requires glibc>=2.15

If I deny a prior upgrade of pacman I get this:

# pacman -Syu --ignore glibc                                                                                                                                                   
:: Synchronizing package databases...                                                                                                                                                         
 core is up to date                                                                                                                                                                           
 extra is up to date                                                                                                                                                                          
 community is up to date                                                                                                                                                                      
:: The following packages should be upgraded first :                                                                                                                                          
    pacman                                                                                                                                                                                    
:: Do you want to cancel the current operation                                                                                                                                                
:: and upgrade these packages now? [Y/n] n                                                                                                                                                    
                                                                                                                                                                                              
:: Starting full system upgrade...                                                                                                                                                            
warning: glibc: ignoring package upgrade (2.14-5 => 2.16.0-2)                                                                                                                                 
:: Replace libusb with core/libusbx? [Y/n] y                                                                                                                                                  
:: Replace module-init-tools with core/kmod? [Y/n] y                                                                                                                                          
:: Replace procps with core/procps-ng? [Y/n] y                                                                                                                                                
:: Replace udev with core/systemd-tools? [Y/n] y                                                                                                                                              
resolving dependencies...                                                                                                                                                                     
warning: ignoring package glibc-2.16.0-2                                                                                                                                                      
warning: cannot resolve "glibc>=2.16", a dependency of "binutils"                                                                                                                             
warning: ignoring package glibc-2.16.0-2                                                                                                                                                      
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"                                                                                                                             
warning: ignoring package glibc-2.16.0-2                                                                                                                                                      
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"                                                                                                                             
warning: ignoring package glibc-2.16.0-2                                                                                                                                                      
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"                                                                                                                             
warning: ignoring package glibc-2.16.0-2                                                                                                                                                      
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"                                                                                                                             
warning: ignoring package glibc-2.16.0-2                                                                                                                                                      
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"                                                                                                                             
warning: ignoring package glibc-2.16.0-2                                                                                                                                                      
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"                                                                                                                             
warning: ignoring package glibc-2.16.0-2                                                                                                                                                      
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"                                                                                                                             
warning: ignoring package glibc-2.16.0-2                                                                                                                                                      
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"                                                                                                                             
warning: ignoring package glibc-2.16.0-2                                                                                                                                                      
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"                                                                                                                             
warning: ignoring package glibc-2.16.0-2                                                                                                                                                      
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"                                                                                                                             
warning: ignoring package glibc-2.16.0-2                                                                                                                                                      
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"                                                                                                                             
warning: ignoring package glibc-2.16.0-2                                                                                                                                                      
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"                                                                                                                             
warning: ignoring package glibc-2.16.0-2                                                                                                                                                      
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"                                                                                                                             
warning: ignoring package glibc-2.16.0-2                                                                                                                                                      
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"                                                                                                                             
warning: ignoring package glibc-2.16.0-2                                                                                                                                                      
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"                                                                                                                             
warning: ignoring package glibc-2.16.0-2                                                                                                                                                      
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"                                                                                                                             
warning: ignoring package glibc-2.16.0-2                                                                                                                                                      
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"                                                                                                                             
warning: ignoring package glibc-2.16.0-2                                                                                                                                                      
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"                                                                                                                             
warning: ignoring package glibc-2.16.0-2                                                                                                                                                      
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"                                                                                                                             
warning: ignoring package glibc-2.16.0-2                                                                                                                                                      
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"                                                                                                                             
warning: ignoring package glibc-2.16.0-2                                                                                                                                                      
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"                                                                                                                             
warning: ignoring package glibc-2.16.0-2                                                                                                                                                      
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"                                                                                                                             
warning: ignoring package glibc-2.16.0-2                                                                                                                                                      
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"                                                                                                                             
warning: ignoring package glibc-2.16.0-2                                                                                                                                                      
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"                                                                                                                             
warning: ignoring package glibc-2.16.0-2                                                                                                                                                      
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"                                                                                                                             
warning: ignoring package glibc-2.16.0-2                                                                                                                                                      
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"                                                                                                                             
warning: ignoring package glibc-2.16.0-2                                                                                                                                                      
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"                                                                                                                             
warning: ignoring package glibc-2.16.0-2                                                                                                                                                      
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"                                                                                                                             
warning: ignoring package glibc-2.16.0-2                                                                                                                                                      
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"                                                                                                                             
warning: ignoring package glibc-2.16.0-2                                                                                                                                                      
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"                                                                                                                             
warning: ignoring package glibc-2.16.0-2                                                                                                                                                      
warning: cannot resolve "glibc>=2.15", a dependency of "pacman"                                                                                                                               
warning: ignoring package glibc-2.16.0-2                                                                                                                                                      
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"                                                                                                                             
warning: ignoring package glibc-2.16.0-2                                                                                                                                                      
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"                                                                                                                             
warning: ignoring package glibc-2.16.0-2                                                                                                                                                      
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"                                                                                                                             
warning: ignoring package glibc-2.16.0-2                                                                                                                                                      
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"                                                                                                                             
warning: ignoring package glibc-2.16.0-2                                                                                                                                                      
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"                                                                                                                             
warning: ignoring package glibc-2.16.0-2                                                                                                                                                      
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"                                                                                                                             
warning: ignoring package glibc-2.16.0-2                                                                                                                                                      
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"                                                                                                                             
warning: ignoring package glibc-2.16.0-2                                                                                                                                                      
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"                                                                                                                             
warning: ignoring package glibc-2.16.0-2                                                                                                                                                      
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"                                                                                                                             
warning: ignoring package glibc-2.16.0-2                                                                                                                                                      
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"                                                                                                                             
warning: ignoring package glibc-2.16.0-2                                                                                                                                                      
warning: cannot resolve "glibc>=2.16", a dependency of "gcc-libs"                                                                                                                             
:: The following packages cannot be upgraded due to unresolvable dependencies:                                                                                                                
      binutils  ca-certificates  coreutils  cronie  curl  db  e2fsprogs  filesystem  gcc-libs  gettext  glib2  gmp  grep  groff  heirloom-mailx  inetutils  initscripts  iproute2  iputils  kr
b5  less  libarchive  libldap  libsasl  libssh2  linux  logrotate  man-db  mkinitcpio  netcfg  openssl  pacman  pam  pcre  perl  shadow  syslinux  syslog-ng  sysvinit  systemd-tools  util-li
nux  wget                                                                                                                                                                                     
                                                                                                                                                                                              
Do you want to skip the above packages for this upgrade? [y/N]

Which I am not sure how to answer, as I can not afford the risk of a screwed system again

# pacman -S glibc                                                                                                                                                   
:: The following packages should be upgraded first :                                                                                                                                          
    pacman                                                                                                                                                                                    
:: Do you want to cancel the current operation                                                                                                                                                
:: and upgrade these packages now? [Y/n] n                                                                                                                                                    
                                                                                                                                                                                              
resolving dependencies...                                                                                                                                                                     
looking for inter-conflicts...                                                                                                                                                                
                                                                                                                                                                                              
Targets (2): linux-api-headers-3.4.4-1  glibc-2.16.0-2                                                                                                                                        
                                                                                                                                                                                              
Total Download Size:    0.00 MB                                                                                                                                                               
Total Installed Size:   42.02 MB                                                                                                                                                              
                                                                                                                                                                                              
Proceed with installation? [Y/n] y                                                                                                                                                            
error: failed to commit transaction (conflicting files)                                                                                                                                       
glibc: /lib exists in filesystem                                                                                                                                                              
glibc: /usr/bin/tzselect exists in filesystem                                                                                                                                                 
glibc: /usr/sbin/zdump exists in filesystem                                                                                                                                                   
glibc: /usr/sbin/zic exists in filesystem                                                                                                                                                     
Errors occurred, no packages were upgraded. 

Thanks for any tipps. Is there a statically linked rsync somewhere around so I can make sure I can backup my stuff first, I already wasted some bucks by messing with pacman some time and busting glibc completly

Last edited by drahnr (2012-07-22 12:16:52)

Offline

#2 2012-07-22 12:37:09

fatboy
Member
From: India
Registered: 2012-03-17
Posts: 73

Offline

#3 2012-07-22 13:28:20

guelfi
Member
From: /home/guelfi
Registered: 2011-07-01
Posts: 111

Re: glibc issue

drahnr wrote:

The image is from 2011.08.

Wiki wrote:

Note: for installs that have not been updated during 2012, it will save you some time to do:

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

where <arch> is replaced by i686 or x86_64 as required. Add a single "-d" if needed.

Last edited by guelfi (2012-07-22 13:28:56)

Offline

#4 2012-07-22 13:47:45

drahnr
Member
Registered: 2011-03-14
Posts: 73

Re: glibc issue

I already tried with that link, but could swear it was a deadend link this morning :> will test that. Thanks fatboy, will try that if everything else fails

Offline

Board footer

Powered by FluxBB