[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Safely Upgrading Packages



On Mon, 26 Jul 2004 07:54:20 -0500, John Fleming <john@wa9als.com> wrote:
> 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
> root@Luke:~# 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.
> root@Luke:~# 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)
> root@Luke:~#
> 
> Any help greatly appreciated.  - John

It said try apt-get -f install, not apt-get -f upgrade

Is your /var full? (look at the output from df).



Reply to: