LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-14-2008, 09:14 AM   #1
lrt
Member
 
Registered: Sep 2007
Location: Chattanooga, TN
Distribution: Ubuntu
Posts: 84

Rep: Reputation: 15
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????
 
Old 11-14-2008, 09:18 AM   #2
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 88
uninstall backuppc and reinstall?

read:

Code:
man apt-get
 
Old 11-14-2008, 09:38 AM   #3
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
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.

Last edited by rickh; 11-14-2008 at 09:40 AM.
 
Old 11-14-2008, 11:06 AM   #4
lrt
Member
 
Registered: Sep 2007
Location: Chattanooga, TN
Distribution: Ubuntu
Posts: 84

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by rickh View Post
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.
i know samba-common is a dependency of backuppc. i'm currently running backuppc 3.1 with samba 3.0.28a.

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????
 
Old 11-14-2008, 11:31 AM   #5
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Quote:
can't i prevent apt-get from doing this????
No. Have we tried to grasp the concept of "dependencies" yet?
 
Old 11-14-2008, 11:38 AM   #6
lrt
Member
 
Registered: Sep 2007
Location: Chattanooga, TN
Distribution: Ubuntu
Posts: 84

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by rickh View Post
No. Have we tried to grasp the concept of "dependencies" yet?
if i'm already running samba 3.0.28a and backuppc 3.1 with no problems, then backuppc 3.1 is not dependent on samba 3.2.3 and therefore i should not have to upgrade samba to upgrade to backuppc 3.1.
 
Old 11-14-2008, 12:00 PM   #7
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Sorry. I assumed you were using Debian. Now I see it's Ubuntu. Who knows what kind of a mess you can make there?
 
Old 11-14-2008, 12:03 PM   #8
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
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?
 
Old 11-17-2008, 02:49 PM   #9
irishbitte
Senior Member
 
Registered: Oct 2007
Location: Brighton, UK
Distribution: Ubuntu Hardy, Ubuntu Jaunty, Eeebuntu, Debian, SME-Server
Posts: 1,213
Blog Entries: 1

Rep: Reputation: 88
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?
 
Old 05-20-2010, 03:41 AM   #10
leorolla
LQ Newbie
 
Registered: May 2010
Posts: 1

Rep: Reputation: 0
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.
 
Old 10-05-2010, 09:23 AM   #11
the.fallen
LQ Newbie
 
Registered: Oct 2010
Posts: 1

Rep: Reputation: 0
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
and receive a long list with packages that must be upgraded. gzip was in list, and I choose to "screw" him..
Then I used
Code:
sudo apt-get install gzip
gzip is an example, and only gzip was ugraded, not the other packages.

Last edited by the.fallen; 10-05-2010 at 09:29 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
latex2e package unavailable in package manager or apt-get cesine Debian 2 07-11-2006 02:31 PM
apt-rpm, SuSE 8.2 upgrade, and package conflicts bigrigdriver Linux - Software 2 05-28-2005 03:23 PM
HELP with apt-getHow come when I tried to use apt-get to remove a package to regain redss Linux - Newbie 1 08-22-2004 11:59 PM
Does apt-get install <package> upgrade the package if it is already installed? davidas Debian 4 04-05-2004 06:12 PM
What's the difference between apt-get upgrade and apt-get dist-upgrade? davidas Linux - Newbie 4 04-04-2004 08:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration