Reinstalling Vim [closed] - vim

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I'm trying to reinstall vim in ubuntu 11.10, but am having trouble. From the software center I click on install, and I get the error message: "Failed to download package files. Check your internet connection". My internet connection is fine.
Then, I click on OK, and this message comes up: "Requires Installation of untrusted packages." I click on OK (the only option), and the installation ceases. Anyone know how I resolve this problem?

Try from command line:
sudo apt-get update
sudo apt-get install vim gvim

Before running the commands from #DiogoDoreto 's post, run
sudo apt-get purge vim gvim
Then run update and install.
Purge will clear out all of the old configuration files and will usually fix the problem.

Related

update package in debian [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
i have tshark installed in my debian linux which has version of 1.2.11. I want to update it to 1.8.0-1. I am trying it updated using
apt-get update
But, it still the latest version is not installed. Is this the way to update a package?
apt-get update (as sudo)
apt-get dist-upgrade
Hope this help.
Regards.
Calling
apt-get update
only updates the list with available packages.
You need to run
apt-get upgrade
after "apt-get update" to install the newest versions of all packages currently installed on the system.
See the man page for apt-get (you can also view it online e.g. http://linux.die.net/man/8/apt-get)

yum updates in fedora 17 going extremely slow [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I've just installed Fedora 17 and did an initial update:
yum update
yum update download speed is going way too slow. Download speed is 5 kbps.
Is there a way to tell yum to not pick such slow repositories?
Someone wrote a yum plugin which addresses this very issue that tells yum to use the fastest mirror available, here is how you install it:
su
enter password
yum install yum-plugin-fastestmirror
Then I did the:
yum update
And now the yum update is utilizing the full bandwidth of my download speed.

linux ubuntu server, can't complete "sudo apt-get install ubuntu-desktop" [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I'va installed ubuntu server 10.41 in Vm ware, and I would like to install the desktop
but each time i try to do the command sudo apt-get install ubuntu-desktop
this error shows up:
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/main/libp/libproxy/
libproxy0-o.3.1-ubuntu1-amd64.deb 403 Forbidden [Ip:91.189.92.179 80]
E:ubable to fetch some archives,maybe run apt-get update or try with fix --missing?
I tried fix missing command but didn't work for the same reason.
I tried to cahnge the proxy like this:
changed the proxy in my host computer. (ultra serf)
changed the proxy settings in my VM to Bridged And Riplicate physical network Connection state.
run the command:
export http-proxy
http-proxy=http://127.0.0.1:80
same problem, so mybe i should change the proxy settings in ubuntu but I don't know how By the way the missing file that is refusing to be downlaoded is 38.1KB and all other files are perfectly downloaded
so maybe i can just download it in the host(windows xp) and move to ubuntu but i don't know where is the directory for the downloaded package OR where can i add this file, can any one help me?
Edit your /etc/apt/sources.list.
Find lines containing us.archive.ubuntu.com. Replace that with another mirror from the Ubuntu mirror list, say ubuntu.secs.oakland.edu.
Good luck!
Edit: And don't forget to run apt-get update!

How to reinstall vim? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I have problems with my vim in Ubuntu 11.10, when I press 'i' or 'v' vim doesn't show anything like 'INSERT MODE' or 'VISUAL MODE', when I try to delete with backspace, vim only move the cursor to the left. I tried reinstalling with this Reinstalling Vim but got the same result, also I don't have ~/.vim directory.
It works fine whith :set nocp, why ?
apt-get update
apt-get install vim
that will give you the version 7.2.330 or so
You can add :set nocp in your ~/.vimrc
By default, the vim installed on ubuntu system(1 CD ubuntu setup) is minimal vim .... try to upgrade it to the full version.
apt-get update
apt-get install vim
Check /etc/vim/ and see what's there.
apt-get purge vim before re-installing it might help too.
Since you've already tried reinstalling, try the following: remove /etc/vimrc and $HOME/.vimrc and see if the problem persists. It might be that something changed in your configuration that's giving you troubles

How to install packages from command line on Suse [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
What is the Suse version of apt-get or yum?
How do I install software packages from the command line?
A fairly intense session of googling suggests that it may be yast or yast2, but no sensible HOWTO of listing and installing packages from the command line seems to exist. (maybe I am looking in the wrong place)
If I am an administrator for a remote Suse server, how do I install packages from the command line? (Not using a GUI and preferably installing from a central repo)
zypper
Found a tutorial for you
And official documentation

Resources