Re: Failed upgrade to KDE 2.2.1
Dear Brian,
I'm not sure about this, but I think that the problem is that some
files have moved from one package to another one in the transition
from 2.1.2 to 2.2.1. Thus, from your information below, it appears
that /usr/lib/kde2/libkcm_screensaver.la is now in kdebase-libs
whereas it used to be in kscreensaver. Since you still have the old
kscreensaver installed when you try to install kdebase-libs, you get
an overwrite conflict.
The solution that worked for me is first to do
apt-get -d -t unstable install kde
which will just download everything for you. You probably have
everything already, so this step may not be needed.
Then, cd to /var/cache/apt/archives and do
dpkg --force-overwrite --install kdebase-libs_4%3a2.2.1.0-1_i386.deb
This will install kdebase-libs regardless of its overwriting a file
from the old version of kscreensaver.
You'll have to do that for several files, but you can pick them out
of your apt-get response below.
When the bad ones are resolved, then you can do
apt-get -t unstable install kde
again, and everything should go through correctly.
Hope this is a clue, at least.
O. Johns
On Saturday 13 October 2001 14:36, Brian Button wrote:
> Well, I had KDE 2.1.2 installed, and I couldn't leave well enough
> alone :( I just had to get KDE 2.2.1, just for fun. I shoulda known
> better :)
>
> I thought I read around this list, and a couple others who had
> successfully done this, so it couldn't be that hard, right?? So
> what happened?
>
> My /etc/apt/preferences files looks like:
>
> Package: *
> Pin: release a=testing
> Pin-Priority: 777
>
> Package: *
> Pin: release a=unstable
> Pin-Priority: 333
>
> I've already updated everything to what just showed up in testing
> with apt-get update. Now, with the new apt-get, I do
>
> apt-get -t unstable install kde
>
> and I get an error installing stuff. Here is the output of the
> above command:
>
> Script started on Sat Oct 13 16:08:18 2001
> brian:~# apt-get -t unstable install kde
> Reading Package Lists... 0%
> Reading Package Lists... 100%
> Reading Package Lists... Done
> Building Dependency Tree... 0%
> Building Dependency Tree... 0%
> Building Dependency Tree... 50%
> Building Dependency Tree... 50%
> Building Dependency Tree... 85%
> Building Dependency Tree... Done
> The following extra packages will be installed:
> ark artsbuilder kab karm kate kcalc kcharselect kchart kcoloredit
> kcron kdebase kdebase-audiolibs kdebase-libs kdelibs3 kdepasswd
> kdepim-libs kdf kdict kedit kfind kformula kfract kghostview
> khexedit kiconedit kit kivio kjots kmail kmix knewsticker knode
> knotes koffice koffice-libs konqueror konsole kontour korganizer
> korn koshell kpackage kpaint kpm kpresenter kruler kscd
> kscreensaver ksirc ksnapshot kspread ksysv ktimer kugar kuser kword
> libarts-mpeglib libasound1 libkdenetwork1 libkmid libkonq3
> libpisock4 noatun secpolicy
> The following NEW packages will be installed:
> ark artsbuilder kab karm kate kcalc kcharselect kchart kcoloredit
> kcron kde kdebase kdebase-audiolibs kdepasswd kdepim-libs kdf kdict
> kedit kfind kformula kfract kghostview khexedit kiconedit kit kivio
> kjots kmail kmix knewsticker knode knotes koffice koffice-libs
> konqueror kontour korganizer korn koshell kpackage kpaint kpm
> kpresenter kruler kscd ksirc ksnapshot kspread ksysv ktimer kugar
> kuser kword libarts-mpeglib libasound1 libkdenetwork1 libkmid
> libkonq3 libpisock4 noatun secpolicy 4 packages upgraded, 61 newly
> installed, 0 to remove and 186 not upgraded. Need to get 37.6MB of
> archives. After unpacking 96.7MB will be used. Do you want to
> continue? [Y/n]
>
> [package retrieval removed]
>
> Preconfiguring packages ...
> (Reading database ... 70111 files and directories currently
> installed.) Preparing to replace kdelibs3 4:2.1.2-3 (using
> .../kdelibs3_4%3a2.2.1-9_i386.deb) ... Unpacking replacement
> kdelibs3 ...
> Replacing files in old package kdebase-libs ...
> Selecting previously deselected package ark.
> Unpacking ark (from .../ark_4%3a2.2.1-1.3_i386.deb) ...
> Unpacking libkmid (from .../libkmid_4%3a2.2.1-9_i386.deb) ...
> Selecting previously deselected package artsbuilder.
> Unpacking artsbuilder (from .../artsbuilder_4%3a2.2.1-1.4_i386.deb)
> ... Selecting previously deselected package kab.
> Unpacking kab (from .../kab_4%3a2.2.1-1.3_i386.deb) ...
> Selecting previously deselected package karm.
> Unpacking karm (from .../karm_4%3a2.2.1-1.3_i386.deb) ...
> Preparing to replace kdebase-libs 4:2.1.1.0-10 (using
> .../kdebase-libs_4%3a2.2.1.0-1_i386.deb) ... Unpacking replacement
> kdebase-libs ...
> dpkg: error processing
> /var/cache/apt/archives/kdebase-libs_4%3a2.2.1.0-1_i386.deb
> (--unpack): trying to overwrite
> `/usr/lib/kde2/libkcm_screensaver.la', which is also in package
> kscreensaver dpkg-deb: subprocess paste killed by signal (Broken
> pipe)
> Unpacking kate (from .../kate_4%3a2.2.1.0-1_i386.deb) ...
> dpkg: error processing
> /var/cache/apt/archives/kate_4%3a2.2.1.0-1_i386.deb (--unpack):
> trying to overwrite `/usr/share/services/kwrite_component.desktop',
> which is also in package kdebase-libs dpkg-deb: subprocess paste
> killed by signal (Broken pipe)
> Selecting previously deselected package kcalc.
> Unpacking kcalc (from .../kcalc_4%3a2.2.1-1.3_i386.deb) ...
> Selecting previously deselected package kcharselect.
> Unpacking kcharselect (from .../kcharselect_4%3a2.2.1-1.3_i386.deb)
> ... Selecting previously deselected package koffice-libs.
> Unpacking koffice-libs (from
> .../koffice-libs_1%3a1.1.0-final-6_i386.deb) ... Selecting
> previously deselected package kchart.
> Unpacking kchart (from .../kchart_1%3a1.1.0-final-6_i386.deb) ...
> Selecting previously deselected package kcoloredit.
> Unpacking kcoloredit (from .../kcoloredit_4%3a2.2.1.0-2.1_i386.deb)
> ... Selecting previously deselected package kcron.
> Unpacking kcron (from .../kcron_4%3a2.2.1-1.3_i386.deb) ...
> Unpacking libkonq3 (from .../libkonq3_4%3a2.2.1.0-1_i386.deb) ...
> Selecting previously deselected package kdebase.
> Unpacking kdebase (from .../kdebase_4%3a2.2.1.0-1_i386.deb) ...
> dpkg: error processing
> /var/cache/apt/archives/kdebase_4%3a2.2.1.0-1_i386.deb (--unpack):
> trying to overwrite `/usr/bin/kreadconfig', which is also in
> package kdebase-libs dpkg-deb: subprocess paste killed by signal
> (Broken pipe)
> Unpacking kdebase-audiolibs (from
> .../kdebase-audiolibs_4%3a2.2.1.0-1_i386.deb) ... Selecting
> previously deselected package libkdenetwork1.
> Unpacking libkdenetwork1 (from
> .../libkdenetwork1_4%3a2.2.1-1.4_i386.deb) ... Unpacking konqueror
> (from .../konqueror_4%3a2.2.1.0-1_i386.deb) ... dpkg: error
> processing /var/cache/apt/archives/konqueror_4%3a2.2.1.0-1_i386.deb
> (--unpack): trying to overwrite `/usr/lib/kde2/libkfindpart.la',
> which is also in package kdebase-libs dpkg-deb: subprocess paste
> killed by signal (Broken pipe)
> Errors were encountered while processing:
> /var/cache/apt/archives/kdebase-libs_4%3a2.2.1.0-1_i386.deb
> /var/cache/apt/archives/kate_4%3a2.2.1.0-1_i386.deb
> /var/cache/apt/archives/kdebase_4%3a2.2.1.0-1_i386.deb
> /var/cache/apt/archives/konqueror_4%3a2.2.1.0-1_i386.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> Any pointers or clues as to what I've done wrong? When I try to
> just install kde using apt-get install kde I get a bunch of errors
> about broken dependencies from apt.
>
> bab
--
Oliver Johns <ojohns@metacosmos.org>
San Francisco, California USA
GPG KeyID=A2ACE692
GPG Fingerprnt=BE4A C1B8 EB0D 8FD9 737D CE4A 1E56 BF9B A2AC E692
Reply to: