Page 1 of 1
apt-get in debian - updating one package only
Posted: Tue Sep 11, 2007 9:06 am
by raghavan20
i am wondering how is it possible to update one package only with apt-get in debian. from the man pages, i see it updates all packages at once. any suggestions?
Posted: Tue Sep 11, 2007 10:10 am
by Jenk
Do you mean update with no dependencies?
It's not a good idea to update without updating dependencies.
Anyway, instead of apt-get, you can down the package manually and use the dpkg command to install locally, which has a --ignore-depends flag.
Posted: Tue Sep 11, 2007 10:57 am
by raghavan20
if a package lets us say vim is already installed and has an older version, then how do i update this package alone to the recent version?
Posted: Tue Sep 11, 2007 11:33 am
by Christopher
If you don't want to update everything, just one package, then maybe use this format to install the latest version number:
Posted: Wed Sep 12, 2007 11:24 am
by raghavan20
okay i think that will work. thanks a lot.