sudo apt-get -y -u dselect-upgrade --force-yes causing to remove VIM
When I am running command
Code:
sudo apt-get -y -u dselect-upgrade --force-yes. I need to understand WHY ? Before Code:
sudo apt-get -y -u dselect-upgrade --force-yes. Code:
sudo dpkg --set-selections < packages-64.txt' Also, when I execute sudo apt-get -y -u dselect-upgrade --force-yes it :- Reading state information... The following packages will be REMOVED: acpid* apparmor apport* apport-symptoms* apt-xapian-index byobu cloud-init cloud-initramfs-growroot cloud-utils command-not-found* command-not-found The pakage marked with * are listed to purged in pakage64.txt however the pakage which are not with * are not listed to purged VIM is also appearing without * so look like the command:- Code:
sudo apt-get -y -u dselect-upgrade --force-yes |
Hi,
I strongly recommend not to use --force-yes. From the apt-get man page: Code:
--force-yes Also, did you do a standard "apt-get update && apt-get upgrade" first? And finally, what distro are you running and what version? Evo2. |
Quote:
1.) I understand that force is not recommended use however I am just building machine as per the list defined in packages-64.txt NO, I have not tired with this option because I have created the script for it and wanted it to run unattended. 2.) Yes I did update and upgrade as:- sudo apt-get -V update sudo apt-get -V -y dist-upgrade --force-yes 3.) Distributor ID: Ubuntu Description: Ubuntu 12.04.4 LTS Release: 12.04 Codename: precise |
All times are GMT -5. The time now is 02:07 PM. |