D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Slight confusion over updating Debian Sid!

 

On Monday 25 April 2005 10:24 am, Grant Sewell wrote:
Hi all.

I have 3 machines running Debian Sid: desktop, laptop and a temporary
server; and I have run into a bit of a problem.  All three have identical
sources.list files and yet when I run "apt-get update" followed by "apt-get
dist-upgrade" on them I get very different results.

OK.

1. You need to do :
# apt-get update 
# apt-get upgrade 
on the laptop.

THEN do dist-upgrade.

The reason is that the laptop isn't running the same version of KDE as the 
others. If you look at the output, KDE is not just being removed, it is also 
being upgraded.

The list of packages to be upgraded on the laptop including more than a dozen 
KDE packages.

The two that I am concerned about is the desktop and the laptop.

I have tried to keep them in sync with each-other

2. use cron-apt for this.

Once you've got the dist-upgrade done, install cron-apt on each. You'll have 
to decide how to implement that because the laptop won't always have a 
connection at the same time as the desktop would be updating.

with regard to 
dist-updating, etc, but they seem to have drifted and I'm not sure why!

Because the locally installed packages are not at the same version.

The package lists are possibly also out of sync. Make sure you also run:
# apt-get update 
# apt-get upgrade 
on the desktop before doing dist-upgrade.

I put-off dist-updating either machine for a while because it would return
saying that KDE would be removed, which I wasn't too happy about since I
use KDE on the desktop.

Look again, it's not removing it - it is removing packages that conflict with 
the new install of KDE.

Laptop:
# apt-get dist-upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Done
The following packages will be REMOVED:
  kde kdeaddons kvim libgda2-1 vimpart
The following NEW packages will be installed:
The following packages will be upgraded:
kaddressbook kalarm kamera kandy karm kcoloredit kde-amusements kde-core
kde-devel-extras kdegraphics kdegraphics-kfile-plugins kdenetwork
kdenetwork-filesharing kdepim kdepim-kfile-plugins kdepim-kio-plugins
kdepim-wizards kdict kdvi kfax kgamma kget kghostview kiconedit kitchensync
kmail kmailcvt kmrml knewsticker knode knotes kolourpaint konsolekalendar
kontact kooka kopete korganizer korn kpdf kpf kpilot kpovmodeler kppp krdc
krfb kruler ksirc ksnapshot ksvg ksync ktnef kuickshow kview kviewshell
kwifimanager libapr0 libasn1-6-heimdal libauthen-pam-perl
libkdenetwork2 libkdepim1 libkgantt0 libkleopatra0a libkpimexchange1


Any thoughts as to why these machines seem so out-of-sync?  As I said,
they're both looking to the same mirrors!

But they are not the same locally.

It makes no odds really, you can let dist-upgrade proceed and you'll end up 
with the same system. If you want the reassurance of a similar package list 
on each, each must be updated and upgraded before the dist-upgrade command.


-- 

Neil Williams
=============
http://www.dcglug.org.uk/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

Attachment: pgp00032.pgp
Description: PGP signature