----- Original Message ----- 
From: "Simon Kitching" <[EMAIL PROTECTED]>
To: "Michael B Allen" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, July 26, 2004 2:01 AM
Subject: Re: Safely Upgrading Packages


> On Mon, 2004-07-26 at 18:43, Michael B Allen wrote:
> > I've been running Debian on the net for a while. I thought it's time to
look
> > at keeping packages up to date. But when I run apt-get update:
> >
> > # apt-get upgrade
> > Reading Package Lists... Done
> > Building Dependency Tree... Done
> > The following packages have been kept back
> >   apache apache-common autoconf debconf debianutils e2fsprogs file
fileutils
> > libgd2-noxpm mailman mysql-client
> >   mysql-server php4 php4-mysql php4-pear shellutils textutils
> > 40 packages upgraded, 0 newly installed, 0 to remove and 17  not
upgraded.
> > Need to get 12.0MB of archives. After unpacking 2192kB will be used.
> > Do you want to continue? [Y/n] n
> > Abort.
> >
> > Why are packages being "kept back". These are precisely the packages I
want
> > to update.
>
> Because the new versions of those packages have new dependencies, and
> you don't have the new dependencies installed.
>
> That's the difference between "upgrade" and "dist-upgrade"; upgrade
> never installs new packages, for security reasons. But dist-upgrade will
> install any new stuff you need to satisfy upgrades of existing packages.

On my unstable box, I have been upgrading, but not dist-upgrading.  Just now
I tried to do this and now have problems.  I updated first, then a regular
upgrade, and then the dist-upgrade.  There were still some unmet
dependencies, which I tried to install separaately.  Then it suggested I use
the -f option, so I tried that with upgrade and dist-upgrade.  I am still
left with this error:

Hit http://ftp.us.debian.org unstable/main Packages
Hit http://ftp.us.debian.org unstable/main Release
Reading Package Lists... Done
[EMAIL PROTECTED]:~# apt-get upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
  alsa-base: Depends: alsa-utils (>= 1.0.2-2) but it is not installed
  testdisk: Depends: libntfs5 (>= 1.9.0) but it is not installed
E: Unmet dependencies. Try using -f.
[EMAIL PROTECTED]:~# apt-get -f upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following NEW packages will be installed:
  alsa-utils libntfs5
The following packages have been kept back:
  cloop-utils frozen-bubble-data libxft2 mknbi pppconfig xlibmesa-dri
0 upgraded, 2 newly installed, 0 to remove and 6 not upgraded.
86 not fully installed or removed.
Need to get 0B/193kB of archives.
After unpacking 561kB of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 118569 files and directories currently installed.)
Unpacking alsa-utils (from .../alsa-utils_1.0.5-3_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/alsa-utils_1.0.5-3_i386.deb
(--unpack):
 trying to overwrite `/usr/bin/alsamixer', which is also in package knx-alsa
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Unpacking libntfs5 (from .../libntfs5_1.9.0-1_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libntfs5_1.9.0-1_i386.deb
(--unpack):
 trying to overwrite `/usr/lib/libntfs.so.5.0.0', which is also in package
ntfsprogs
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/alsa-utils_1.0.5-3_i386.deb
 /var/cache/apt/archives/libntfs5_1.9.0-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
[EMAIL PROTECTED]:~#

Any help greatly appreciated.  - John




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to