selective apt-get upgrade package
i want to upgrade a package (backuppc). it tells me its also going to upgrade the samba packages... how do i prevent it from doing this????
|
uninstall backuppc and reinstall?
read: Code:
man apt-get |
Do we understand the concept of "dependencies"? samba-common is a dependency of backuppc ... That means you can't upgrade one without the other.
...not using apt anyway. You may be able to build the newer version of backuppc against your older version of samba-common. You may not be able to do so, as well. |
Quote:
on a separate machine, i want to upgrade backuppc 3.0 to 3.1, but it also wants to upgrade samba to 3.2.3. i don't want to upgrade samba. can't i prevent apt-get from doing this???? |
Quote:
|
Quote:
|
Sorry. I assumed you were using Debian. Now I see it's Ubuntu. Who knows what kind of a mess you can make there?
|
Why don't you just grab the .deb and install it with dpkg? I'm pretty certain you can get it to ignore dependency issues. There are risks associated with this (like breaking your system), but it's your machine.
What's so bad about samba 3.2.3 anyway? |
Why do you not want to upgrade SAMBA? Just backup your config files, then upgrade, then put back your config files! Whats the big deal?
|
I was looking for the same thing, an apt-get option to upgrade just one package.
There is a workaround though: sudo aptitude gives a terminal GUI. |
Bad english, I know. Excuse me
But i have the same problem, and setup a virtual machine with Ubuntu 10.04 LTS Server for testing. I run Code:
sudo apt-get upgrade Then I used Code:
sudo apt-get install gzip |
All times are GMT -5. The time now is 01:45 AM. |