fgrehm / vagrant-cachier

Caffeine reducer
http://fgrehm.viewdocs.io/vagrant-cachier
MIT License
1.08k stars 111 forks source link

zypper update on openSUSE Leap fails #181

Closed sebastian-philipp closed 1 year ago

sebastian-philipp commented 7 years ago

Hi, running a vagrant VM with vagrant-cachier enabled breaks a zypper refresh

admin:/home/vagrant # zypper update
n cache rubygem-puppet-3.8.7-12.1.x86_64.rpm                                                 (48/48), 104.8 KiB ( 70.9 KiB unpacked)
Checking for file conflicts: .[done]
( 1/48) Installing: ruby2.1-rubygem-addressable-2.3.8-3.2.x86_64 .....................................................................................................................................................................[error]
Installation of ruby2.1-rubygem-addressable-2.3.8-3.2.x86_64 failed:             
Error: Subprocess failed. Error: RPM failed: error: unpacking of archive failed on file /usr/lib64/ruby/gems/2.1.0/cache/addressable-2.3.8.gem: cpio: chown failed - Operation not permitted                                                 
error: ruby2.1-rubygem-addressable-2.3.8-3.2.x86_64: install failed              

Abort, retry, ignore? i

This fails, cause the directory rights are wrong:

admin:/home/vagrant # ls -la  /usr/lib64/ruby/gems/2.1.0/cache/                  
total 8604                   
drwxr-xr-x 2 vagrant 1000    4096 Oct  7 15:09 .                                 
drwxr-xr-x 3 vagrant 1000      19 Oct  6 09:17 ..                                
---------- 1 vagrant 1000   99840 Oct  7 15:09 addressable-2.3.8.gem             
---------- 1 vagrant 1000   31744 Oct  7 10:56 builder-3.2.2.gem                 
-rw-r--r-- 1 vagrant 1000 1611776 Jan  4  2016 chef-12.3.0.gem                   
-rw-r--r-- 1 vagrant 1000   39936 Mar 11  2016 chef-config-12.8.1.gem            
-rw-r--r-- 1 vagrant 1000   65536 Feb  8  2016 chef-zero-4.5.0.gem               
-rw-r--r-- 1 vagrant 1000   96256 Mar 24  2016 coderay-1.1.1.gem                 
-rw-r--r-- 1 vagrant 1000   45568 Mar 24  2016 diff-lcs-1.2.5.gem                
-rw-r--r-- 1 vagrant 1000  173056 Jan  4  2016 erubis-2.7.0.gem                  
-rw-r--r-- 1 vagrant 1000  239104 Jan 27  2016 facter-2.4.6.gem                  
-rw-r--r-- 1 vagrant 1000   26112 Sep 11  2015 fast_gettext-0.9.2.gem            
-rw-r--r-- 1 vagrant 1000  881664 Mar 24  2016 ffi-1.9.10.gem                    
-rw-r--r-- 1 vagrant 1000  142336 Mar 24  2016 ffi-yajl-2.2.3.gem                
-rw-r--r-- 1 vagrant 1000   15872 Oct 25  2015 gem2rpm-0.10.1.gem                
-rw-r--r-- 1 vagrant 1000   56320 Sep 11  2015 hashie-3.4.2.gem    
fgrehm commented 1 year ago

Hey, sorry for the silence here but this project is looking for maintainers :sweat_smile:

As per https://github.com/fgrehm/vagrant-cachier/issues/193, I've added the ignored label and will close this issue. Thanks for the interest in the project and LMK if you want to step up and take ownership of this project on that other issue :wave:

sebastian-philipp commented 1 year ago

Moved away from suse few years ago. Great project though!