Hi Antonio, This bug seems to be different from #514126. Could you file a different bug (and maybe investigate some more)?
Lucas On 07/04/10 at 23:56 -0300, Antonio Terceiro wrote: > The problem here is not the permissions of /var/lib/gems, but the fact > the a non-root user cannot install gems into her $HOME/.gem anymore, > which used to work with rubygems 1.3.5-2. Uninstalling gems from > $HOME/.gem, on the other hand, seems to work. > > ==> 1.3.6-1 installed, unable to install as non-root > > terceiro@morere:~/tmp (home)$ dpkg -l rubygems1.8 > Desired=Unknown/Install/Remove/Purge/Hold > | > Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend > |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) > ||/ Name Version > Description > > +++-=================================-=================================-================================================================================== > ii rubygems1.8 1.3.6-1 > package management framework for Ruby libraries/applications > terceiro@morere:~/tmp (home)$ gem install mocha > ERROR: While executing gem ... (Gem::FilePermissionError) > You don't have write permissions into the /var/lib/gems/1.8 directory. > > ==> downgrade to 1.3.5-2, works fine > > terceiro@morere:~/tmp (home)$ sudo dpkg -i rubygems1.8_1.3.5-2_all.deb > dpkg: warning: downgrading rubygems1.8 from 1.3.6-1 to 1.3.5-2. > (Reading database ... 205680 files and directories currently installed.) > Preparing to replace rubygems1.8 1.3.6-1 (using > rubygems1.8_1.3.5-2_all.deb) ... > Unpacking replacement rubygems1.8 ... > Setting up rubygems1.8 (1.3.5-2) ... > Processing triggers for man-db ... > terceiro@morere:~/tmp (home)$ gem install mocha > WARNING: Installing to ~/.gem since /var/lib/gems/1.8 and > /var/lib/gems/1.8/bin aren't both writable. > Successfully installed rake-0.8.7 > Successfully installed mocha-0.9.8 > 2 gems installed > Installing ri documentation for rake-0.8.7... > Installing ri documentation for mocha-0.9.8... > Installing RDoc documentation for rake-0.8.7... > Installing RDoc documentation for mocha-0.9.8... > > ==> upgrade again to 1.3.6-1, able to remove > > terceiro@morere:~/tmp (home)$ sudo apt-get install rubygems1.8 > Reading package lists... Done > Building dependency tree > Reading state information... Done > Suggested packages: > rubygems-doc > The following packages will be upgraded: > rubygems1.8 > 1 upgraded, 0 newly installed, 0 to remove and 503 not upgraded. > Need to get 0B/198kB of archives. > After this operation, 12.3kB of additional disk space will be used. > (Reading database ... 205683 files and directories currently installed.) > Preparing to replace rubygems1.8 1.3.5-2 (using > .../rubygems1.8_1.3.6-1_all.deb) ... > Unpacking replacement rubygems1.8 ... > Processing triggers for man-db ... > Setting up rubygems1.8 (1.3.6-1) ... > terceiro@morere:~/tmp (home)$ gem uninstall mocha rake > Successfully uninstalled mocha-0.9.8 > Remove executables: > rake > > in addition to the gem? [Yn] y > Removing rake > Successfully uninstalled rake-0.8.7 > > > -- > Antonio Terceiro <terce...@softwarelivre.org> > http://softwarelivre.org/terceiro
signature.asc
Description: Digital signature