Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #243725

Re: Single broken package blocks whole package management

From Dan Ritter <dsr@randomstring.org>
Newsgroups linux.debian.user
Subject Re: Single broken package blocks whole package management
Date 2022-01-05 18:20 +0100
Message-ID <DCi79-5l9-5@gated-at.bofh.it> (permalink)
References <DCePU-3a1-1@gated-at.bofh.it> <DCfsB-3E3-5@gated-at.bofh.it> <DCgeZ-4b1-7@gated-at.bofh.it> <DChup-4Sk-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Urs Thuermann wrote: 
> "Andrew M.A. Cater" <amacater@einval.com> writes:
> 
> > Raspbian _isn't_ Debian. Wolfram-engine is a third party (commercial) app -
> > Wolfram Mathematica which the Raspberry Pi foundation licences with a 
> > special educational arrangement.
> > 
> > You might be able to force a reinstall of wolfram-engine to produce
> > something consistent to then remove but this is probably wasted
> > effort.
> 
> Yes, and my question should be about dpkg & friends how to get out of
> that state where a single corrupted package blocks everything.
> 

Here's the dangerous way:

In /var/lib/dpkg/info, dpkg and therefore apt keep the install
and removal scripts for all packages.

You could download a copy of the wolfram-engine .deb manually,
use ar to pull out a copy of the package list, confirm that it
is unmunged and replace the broken one in /var/lib/dpkg/info.

Then remove it, do your upgrades, and try reinstalling it.

-dsr-

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Single broken package blocks whole package management Urs Thuermann <urs@isnogud.escape.de> - 2022-01-05 14:50 +0100
  Re: Single broken package blocks whole package management Richard Hector <richard@walnut.gen.nz> - 2022-01-05 15:30 +0100
    Re: Single broken package blocks whole package management "Andrew M.A. Cater" <amacater@einval.com> - 2022-01-05 16:20 +0100
      Re: Single broken package blocks whole package management Urs Thuermann <urs@isnogud.escape.de> - 2022-01-05 17:40 +0100
        Re: Single broken package blocks whole package management Dan Ritter <dsr@randomstring.org> - 2022-01-05 18:20 +0100
        Re: Single broken package blocks whole package management Greg Wooledge <greg@wooledge.org> - 2022-01-05 18:20 +0100
    Re: Single broken package blocks whole package management Urs Thuermann <urs@isnogud.escape.de> - 2022-01-05 17:00 +0100
  Re: Single broken package blocks whole package management David Wright <deblis@lionunicorn.co.uk> - 2022-01-05 17:00 +0100

csiph-web