View Full Version : vim
mschoen
04-02-2006, 08:59 PM
/var/lib/install/usr/bin is where my vim hides. I ./vim /etc/apt/sources.list to edit my list. I get the the output of.. error while loading shared libraries: libgpm.so.1: cannot open shared object file: No such file or directory. Even ./vim (only) gives same output
mschoen
04-02-2006, 09:09 PM
How can I remedy this? Or how else can I edit my /etc/apt/sources.list
aflegg
04-03-2006, 05:58 AM
This is because you've not set LD_LIBRARY_PATH to include /var/lib/install/usr/lib. See the instructions in the ApplicationCatalog, "using x-term" (http://www.internettablettalk.com/wiki/index.php/Using_xterm) and the vim page itself:
http://www.bleb.org/software/770/#vim
If they're not clear, I'd appreciate suggestions on how to improve them.
HTH,
Andrew
uNtouched
04-03-2006, 01:39 PM
sudo gainroot
dpkg -x /path/to/vim*.deb /
DONE!
rattis
04-04-2006, 06:27 PM
sudo gainroot
dpkg -x /path/to/vim*.deb /
DONE!
Works for some other packages too. Did it with bash and others... Lots of fun
mschoen
04-04-2006, 07:12 PM
after doing that, where are the programs installed to? What is path to find them?
aflegg
04-05-2006, 07:05 AM
In that case, vim will be in /usr/bin/vim. It's a bit hacky as uninstallation becomes a matter of finding all the files in the deb and removing them.
There's also the possibility of overwriting something core to the OS, and having to reflash your device.
Of course, 2006 OS' better package management will remove all these problems by installing everything under /.
rattis
04-05-2006, 01:37 PM
There's also the possibility of overwriting something core to the OS, and having to reflash your device.
Yeah I probably should have included that disclaimer, but as long as I can still flash the thing I'm willing to take the risk.
aflegg
04-05-2006, 01:44 PM
Indeed, me too :-)
AndyG
04-05-2006, 03:10 PM
The vim webpage is currently down - could somebody possibly link me to a mirror please? I'm in fairly urgent need of it to fix up my recently reflashed device.
Thanks in advance,
Andy
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.