I'm currently using Ubuntu 12.04 and have Vim 7.3 installed and I want to update it to the latest version. I'm still new to how all these package manager stuff works, but I was wondering why can't I just do the following: "sudo apt-get update vim" ? I mean it was installed on the system initially, so why wouldn't one be able to just type a one liner to update vim?   Also I tried to do a search via: sudo apt-get search vim to see which one is installed and it doesnt seem to find it. How can someone find out what is the installed app so we can update it?  Right now I just want to update this to the latest vim with least amount of commands required.
57812
I'm on Ubuntu 12.04 and want to know how to update Vim via the command line. What is the command to update this?
24538
So, today is July 21st and . gives me an option to download 16.04.1 LTS. However, attempting to upgrade gets me this message -  $ sudo do-release-upgrade Checking for a new Ubuntu release No new release found   What is wrong? Does it matter that I am running apt-get update behind apt-cacher-ng?  Note: Commenting out the files in apt.conf.d that used apt-cacher-ng did not make a difference.  Edit: Explanation for possible duplicates:  deals with upgrade from 12.04LTS to 14.04LTS. My question is specific to 14.04 LTS to 16.04.1 LTS upgrade. Old answers, while good for archival purposes are less relevant in a fast changing package like ubuntu. Moreover none of the answers answer what is wrong. The link  pointed out is mentioned in one of the comments. This Q &amp; A is more helpful for people upgrading today than the work around mentioned in "".
96738
Ubuntu manages a list of . If I wish to stay updated on a specific major revision (3.12.x), how can I automate this? And how do I stop Software Updater from suggesting 3.11.x kernels when searching for new updates.
61019
sudo apt-get update E: The method driver /usr/lib/apt/methods/https could not be found. michael@Ubuntu:~$ sudo apt-get clean michael@Ubuntu:~$ cd /var/lib/apt michael@Ubuntu:/var/lib/apt$ sudo mv lists lists.old michael@Ubuntu:/var/lib/apt$ sudo mkdir -p lists/partial michael@Ubuntu:/var/lib/apt$ sudo apt-get clean michael@Ubuntu:/var/lib/apt$ sudo apt-get update E: The method driver /usr/lib/apt/methods/https could not be found. E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it? michael@Ubuntu:/var/lib/apt$ sudo apt-get update E: The method driver /usr/lib/apt/methods/https could not be found.   Why am I getting these errors when doing an apt-get update?
86754
FreeBSD user joining your ranks.  I've been asked to look after an Ubuntu Server running 10.04 LTS.     I see from /usr/lib/update-notifier/update-motd-updates-available that there are a number of updates on the server however I do not see a way to tell which will be updated.  Would anyone be able to point me in the right direction so as I can see which packages will get updated when I run apt-get upgrade?  UPDATE:  Can't answer my own question at the moment so throwing this in here for the time being:  Along with the apt-get upgrade --dry-run suggested below,  /usr/lib/update-notifier/apt-check -p will list all packages that have updates available.
94843
I have been trying to upgrade to Ubuntu 18.04 but when I try   do-release-upgrade -c   I get this output  Checking for a new Ubuntu release No new release found.   I have checked the release date to be 26th April but still, I didn't get any update...   I am a little new to Linux, so pardon me if I am mistaken on any point.
34035
I've got some troubles when I try to install Vim on Linux while I don't have a root account. The error information is shown below:    How can I solve this? Can I install it in another directory other than /usr/local/bin/vim?
97940
I would appreciate it if someone can let a newbie know what the differences are between vi and vim. I've heard Vim is a successor to vi but whenever I try to open vi in Ubuntu it opens vim instead.
18776
I have seen many softwares such as Update Manager and Synaptic Package Manager, they wait if some other program is using the /var/lib/dpkg/lock and is locked. How can we do this through the Terminal? I saw apt-get's manual but didn't find anything useful.
54205
I am completely new to Ubuntu. A friend recommended me to frequently run the following commands:  sudo apt-get upgrade sudo apt-get update sudo apt-get autoremove sudo apt-get autoclean   He said that this will somehow keep my system clean and updated. I do not know what exactly these commands do. Is it really useful to run them regularly?
21868
I have run sudo apt purge firefox, and I have gone through all of the /.config files, etc., and Software Updater is still asking me daily if I want to install the &quot;English Language Pack for Firefox&quot;. I don't have Firefox installed. How can I stop the updater from asking to update something on a program that doesn't exist? Output of dpkg -l | grep firefox: ii  firefox-locale-en                          88.0+build2-0ubuntu0.18.04.2        amd64        English language pack for Firefox
120314
and I update/upgrade by   apt update  then  apt upgrade   what has replaced:  apt-get autoremove ?   As near as I can tell there is no  apt autoremove   command?
111788
I'm pretty new to running linux, but I know that 19.04 was released today and I wanted to upgrade from my current 18.10. However, when I follow the release notes here:  I get the message "The software on this computer is up to date". I made sure that my update settings are set to "any new version" and "normal" in the /etc/update-manager/release-upgrades file.   What am I doing wrong?  Thanks for the help!  Side note: I had to disable this PPA:  because it would cause errors in apt updating. Do I need to re-add it? If so how do I do so without it giving me an error?  Edit: I have followed the procedure recommended in the documentation which is identical to the suggested duplicate, but I am not given the option to upgrade. I have not yet tried the   do-release-upgrade -d    option as I don't want to upgrade to the developer version.
28941
sudo apt-get upgrade installs all updates, not just security updates. I know that I can use Update Manager to select only important security updates, but is there a way to do this from the command line?
51689
I am running Ubuntu 11.10, as Xubuntu, in an AMD 64 pc, configured as dual boot with Windows 7.  I tried installing vim with this:  sudo apt-get install vim   I got this error message:  The following packages have unmet dependencies:  vim : Depends: vim-common (= 2:7.3.154+hg~74503f6ee649-2ubuntu2) but 2:7.3.154+hg~74503f6ee649-2ubuntu3 is to be installed E: Unable to correct problems, you have held broken packages.   I only have a very faint idea of what the problem is, and none whatsoever on how to correct this. Hope you guys can help.
25293
Today is the release of Ubuntu 21.04 (Hirsute Hippo). And I can't update to this version. And also I selected ‘Notify me of a new Ubuntu version’ and changed it to ‘For any new version' on the Updates tab on Software &amp; Update, but it's still not working. In addition, in the terminal, I've written: sudo do-release-upgrade -c  And output was: Checking for a new Ubuntu release No new release found.  What should I do?
1944
I'm using Ubuntu 16.04.3 LTS, on a 64-bit system.   There are two available updates in "Updates" section of the Ubuntu Software, named OS Updates and Software respectively:      I usually update through Software Updater utility, (and occasionally used sudo apt update and sudo apt upgrade as recommended by some software installation tutorials)- anything that I think is required. So why is Ubuntu Software showing these updates? Should I install them?  As far as I know, these types of updates, if you look at the list, aren't ever available in the Software Updater.