PDA

View Full Version : [ubuntu] problem with apt-get update



shubham1
August 27th, 2011, 11:37 AM
i am having a problem with apt-get upgrade when ever i try to upgrade any software it shows to upgrade all softwares i have to upgrade php
i tried
sudo apt-get upgrade php
or any other it gives to upgrade all and ubuntu software cneter dont show upgrades how to enable ubuntu software cneter to show upgrades and tell upgrades.

kc1di
August 27th, 2011, 11:52 AM
As far as I know there is no command in apt-get to upgrade a single package. I believe upgrade will upgrade all installed packages on your system. If you want to upgrade only the PHP package you will have to use synaptic or other package manager.

Hope this helps.

shubham1
August 27th, 2011, 11:59 AM
my ubuntu software cneter is not working.???

dino99
August 27th, 2011, 01:34 PM
sudo apt-get install synaptic
sudo synaptic

saltmarshlamb
August 27th, 2011, 02:01 PM
To update a single package reinstall it


sudo apt-get install --reinstall package

shubham1
August 28th, 2011, 12:20 PM
To update a single package reinstall it


sudo apt-get install --reinstall package
yes this is the soludtion thanks.

shubham1
August 28th, 2011, 12:25 PM
sudo apt-get install synaptic
sudo synaptic
i already have synapatic installed on my system.i think it come preinstalled.