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

Re: apt-get upgrade problem



Am 03. Jul, 2001 schwäzte Rick Macdonald so:

> On Tue, 3 Jul 2001, Hank Marquardt wrote:
>
> > Maybe this is self evident to some, but I'm stuck ... I'm running
> > unstable, I hadn't upgraded in about a week -- then last night I did
> > and there were 128 packages to upgrade including most of KDE.  After it
> > fetched the archives it chugged about half way though and then puked --
> >
> > It indicates it needs to add an additional package 'kdelibs3' -- it
> > fetches it just fine but then dies like so:
> >
> > dpkg-deb: subprocess paste killed by signal (Broken pipe)
> > Errors were encountered while processing:
> > /var/cache/apt/archives/kdelibs3_4%3a2.2.0-0beta1-2_i386.deb (--unpack):
> >  trying to overwrite `/usr/share/mimelnk/application/x-designer.desktop', which is also in package kdevelop
> > dpkg-deb: subprocess paste killed by signal (Broken pipe)
> > Errors were encountered while processing:
> > /var/cache/apt/archives/kdelibs3_4%3a2.2.0-0beta1-2_i386.deb
> > E: Sub-process /usr/bin/dpkg returned an error code (1)

Submit a bug against kdelibs3 because it shouldn't try to own a file owned
by another package. If it now has ownership, then kdevelop should drop it
and kdelibs3 should Conflicts with versions of kdevelop prior to it giving
up the file.

> > I tried 'apt-get -f install' ... it chokes in the same place, I tried
> > 'apt-get remove kdevelop' as I only installed it to play with it -- but
> > remove complaines that there are unmet dependancies and suggests running
> > apt-get -f install --

Yeah, one of those catch 22s we get sometimes :(. There are getting to be
less and less of them, though :).

> I upgraded from potato to testing and then to sid a few days ago and had
> the same problem but with a different filename. I just did this:
>
> dpkg -i --force-overwrite
> /var/cache/apt/archives/kdelibs3_4%3a2.2.0-0beta1-1_i386.deb

I started replying to this email to say something against this. It hits the
same nerve as --no-deps in RPMland. I see, however, that I was, in this
instance, mistaken. You're only allowing it to overwrite that particular
file, not dropping all dependencies.

I would still suggest, however, to make a copy of the original file before
allowing the overwrite just in case you determine that might be the one you
need :).

> followed by this to fix and continue:
>
> apt-get -f install
> apt-get -u dist-upgrade
> 
> When done, I set sources.list back to testing. I went to sid to get all of
> gnome 1.4. Risky, but then I drop back to testing from now on.

Look at the stuff I've posted recently about /etc/apt/preferences. I'm still
experimenting with it in the hopes that I understand it before writing docs.
Those should be forthcoming soon, though.

ciao,

der.hans
-- 
# der.hans@LuftHans.com home.pages.de/~lufthans/ www.DevelopOnline.com
#  Motorraeder toeten nicht. Motorraeder werden getoetet.



Reply to: