Unix Technical Forum

Confidence in apt-get upgrade?

This is a discussion on Confidence in apt-get upgrade? within the Debian Linux support forums, part of the Debian Linux category; --> I recently switched to Debian after years of Mandrake, and I've been running Sarge for a couple of weeks ...


Go Back   Unix Technical Forum > Unix Operating Systems > Debian Linux > Debian Linux support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-19-2008, 07:52 AM
Nick
 
Posts: n/a
Default Confidence in apt-get upgrade?

I recently switched to Debian after years of Mandrake, and I've been running
Sarge for a couple of weeks now.

I just updated my sources (standard mirror, no funny stuff) and ran
synaptic. New versions of vim, mplayer and acroread available. Ok, click
on upgrade and apply. Uh-oh, it wants to remove kde! It seems the new vim
replaces kvim, which removes kdeaddons, which removes kde!

This has sort of shaken my confidence in apt. Why does removing kvim mean
removing the entire kdeaddons package? Ditto for kdeaddons and kde, why
does removing kdeaddons remove the entire kde?

How do you handle situations like this? Does this mean that you shouldn't
run 'apt-get upgrade' as a cron job?

Thanks,
--
Nick
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-19-2008, 07:52 AM
Andreas Janssen
 
Posts: n/a
Default Re: Confidence in apt-get upgrade?

Hello

Nick (<spambucketREMOVE_THIS@iinet.net.au>) wrote:

> I recently switched to Debian after years of Mandrake, and I've been
> running Sarge for a couple of weeks now.
>
> I just updated my sources (standard mirror, no funny stuff) and ran
> synaptic. New versions of vim, mplayer and acroread available. Ok,
> click on upgrade and apply. Uh-oh, it wants to remove kde! It seems
> the new vim replaces kvim, which removes kdeaddons, which removes kde!


No, it will only remove kvim and the meta packages kdeaddons and kde.
The meta package are empty, they only make it easier to install kde.
Nothing else of your KDE installation will be removed.

> How do you handle situations like this? Does this mean that you
> shouldn't run 'apt-get upgrade' as a cron job?


Excactly. If you use Debian Testing or Unstable, don't install upgrades
automatically. You can however download them automatically (apt-get -d
upgrade) and install them later. Also, try apt-get dist-upgrade. By the
way, on my system I don't have any conflict - I could install kdeaddons
and kvim withoug removing vim. Try to run apt-get update again.

best regards
Andreas Janssen

--
Andreas Janssen <andreas.janssen@bigfoot.com>
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976
http://www.andreas-janssen.de/debian-tipps-sarge.html
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-19-2008, 07:52 AM
Nick
 
Posts: n/a
Default Re: Confidence in apt-get upgrade?

Andreas Janssen wrote:

> Hello
>
> Nick (<spambucketREMOVE_THIS@iinet.net.au>) wrote:
>
>> I recently switched to Debian after years of Mandrake, and I've been
>> running Sarge for a couple of weeks now.
>>
>> I just updated my sources (standard mirror, no funny stuff) and ran
>> synaptic. New versions of vim, mplayer and acroread available. Ok,
>> click on upgrade and apply. Uh-oh, it wants to remove kde! It seems
>> the new vim replaces kvim, which removes kdeaddons, which removes kde!

>
> No, it will only remove kvim and the meta packages kdeaddons and kde.
> The meta package are empty, they only make it easier to install kde.
> Nothing else of your KDE installation will be removed.
>
>> How do you handle situations like this? Does this mean that you
>> shouldn't run 'apt-get upgrade' as a cron job?

>
> Excactly. If you use Debian Testing or Unstable, don't install upgrades
> automatically. You can however download them automatically (apt-get -d
> upgrade) and install them later. Also, try apt-get dist-upgrade. By the
> way, on my system I don't have any conflict - I could install kdeaddons
> and kvim withoug removing vim. Try to run apt-get update again.
>
> best regards
> Andreas Janssen
>


Many thanks for your advice, much appreciated. I understand now the concept
of meta packages. (The upgrade went seamlessly, btw.)

--
Nick
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-19-2008, 07:52 AM
Fnor
 
Posts: n/a
Default Re: Confidence in apt-get upgrade?

Andreas Janssen a écrit :
> Hello
>
> Nick (<spambucketREMOVE_THIS@iinet.net.au>) wrote:
>
>
>>I recently switched to Debian after years of Mandrake, and I've been
>>running Sarge for a couple of weeks now.
>>
>>I just updated my sources (standard mirror, no funny stuff) and ran
>>synaptic. New versions of vim, mplayer and acroread available. Ok,
>>click on upgrade and apply. Uh-oh, it wants to remove kde! It seems
>>the new vim replaces kvim, which removes kdeaddons, which removes kde!

>
>
> No, it will only remove kvim and the meta packages kdeaddons and kde.
> The meta package are empty, they only make it easier to install kde.
> Nothing else of your KDE installation will be removed.
>


Use "apt-get -s upgrade" for a simulation of the actions to be done.
This should confirm that only the meta-packages are removed

Fnor
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:03 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com