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

dpkg 0.93.65: multi-package removal should work better

This should fix the problem Jim Robinson was having with the removal
of LaTeX.  You need to upgrade if you're having trouble removing
multiple interlinked packages.  The other main change - the fix to
Bug#1169 - is cosmetic only.  dpkg did the right thing, it just
produced confusing messages.

The new dpkg is still on course for release as beta.

dpkg (0.93.65) ALPHA; priority=MEDIUM

  * dpkg --remove should, when a package being removed is depended-on
    by another that is also queued for removal, defer the depended-on
    package rather than aborting it.  (Bug#1188.)

  * dpkg will not attempt to configure or remove a package more than
    once in the same run.  (Bug#1169.)

  * dpkg cosmetic fix to dependency problems message (this bug
    hasn't been triggered to my knowledge).

  * perl-dpkg no longer installed in /usr/bin.

 -- Ian Jackson <iwj10@cus.cam.ac.uk>  Wed, 2 Aug 1995 13:02:58 +0100

c4d9e33ff26ad1b77bdb79bf12f68558  dpkg-0.93.65.deb
6009a3e61833cad82f9fff4cc95d36b1  dpkg-0.93.65.nondebbin.tar.gz
d6d202b5be1bf23cd5603a4f1860758a  dpkg-0.93.65.tar.gz
-rw-r--r--   1 root     root       369942 Aug  2 13:19 dpkg-0.93.65.deb
-rw-rw-r--   1 root     ian        367545 Aug  2 13:16 dpkg-0.93.65.nondebbin.tar.gz
-rw-rw-r--   1 ian      ian        219545 Aug  2 13:06 dpkg-0.93.65.tar.gz

This is the new C dpkg, available for alpha testing.

To be a candidate alpha tester you need:
 1. To be competent.  You need to know at least roughly how dpkg
    is supposed to work, and you need to be able to edit
 2. Backups of your system.  This version of dpkg has code that can
    call `rm -rf -- <something>' !  I have hedged it with checks,
    but something might go wrong.
 3. Coredumps enabled.

Features in the new release include:
 * Full support for virtual packages.
 * Completely rewritten in C - much faster.
 * No longer vulnerable to bugs in `tar' (better handling of
   symlinks, etc).
 * Better conffiles handling - tends to prompt less about
   files the user has never heard of, and also doesn't routinely
   displace the users' files while unpacking the archive.
 * Better handling of files that always need to be present -
   no more need to use `ln' and `mv' in the maintainer scripts.
 * Better handling of files from one package which overwrite
   some from another.
 * More maintainable.

IMPORTANT: there is a problem with conffiles that will only happen
once, but it will happen to ordinary users as well as you alpha

The conffile naming scheme for unpacked but not configured packages
has changed in this version.  It used to be <foo>.dpkg-tmp for the
user's version and <foo> for the package maintainer's new one.  These
are now <foo> and <foo>.dpkg-new respectively.

This means that the users files are not messed about with
unnecessarily, but it does mean that if you use the new dpkg to
configure a package unpacked with an earlier version, but not yet

You should be aware of this, and use the old Perl dpkg to get packages
in an appropriate state before installing dpkg 0.93.50.

for the same reason - if anything goes wrong, you may find yourself
with dpkg 0.93.50 on the system and some unconfigured packages that
you can't fix.

The preinst script will notice that you're upgrading from pre-0.93.50,
warn you and give you the option to back out of the installation.  It
will also spot packages which are in `bad' states and offer to abort
the installation, and let you know what to do after you've aborted.

The Perl version (equivalent to is also installed, as
`perl-dpkg'.  Don't use it unless absolutely necessary.

Known issues outstanding are:
 * Dependency and conflict processing needs better testing.  If you
   notice odd behaviour please report it, with a copy of your
   /var/lib/dpkg/status file and details of what you did.  Use
   --force-depends, or --ignore-depends=<package>, if necessary.
 * There is no support for reassembling split packages.
 * There are no options yet to set conffiles update behaviour.
 * The binary is currently statically linked, unstripped and contains
   debugging symbols.  It has some malloc-paranoia enabled too.
   I'll change this when the new dpkg is beta.

When you report a bug whose cause isn't immediately obvious, bear in
mind that the following information may make it much easier for me to
find the problem:

(i) If the bug is reproducible, provide the output of running dpkg
   with some useful combination of debugging flags:
              dbg_general=           00001,
              dbg_scripts=           00002,
              dbg_eachfile=          00010,
              dbg_eachfiledetail=    00100,
              dbg_conff=             00020,
              dbg_conffdetail=       00200,
              dbg_depcon=            00040,
              dbg_depcondetail=      00400,
              dbg_veryverbose=       01000,
              dbg_stupidlyverbose=   02000,
   Specify any combination of these using -D<octal>.  -D7777 is likely
   to be very large - if I need that much detail I'll mail you and ask
   for it.

(ii) If you get a segfault: ensure you get a core file, and at the
   very least run gdb on it and mail me the output of `where'.  If
   it's not too large (500Kb, say) gzip it, uuencode it and mail it to
   me in a separate message.  Don't delete it, I may ask for it.

(iii) Provide a copy of your /var/lib/dpkg/status file, preferably
   before and after the problem manifests itself.  gzip and uuencode
   it if it is large.

(iv) Tell me where I can get any .deb files required to reproduce the
   problem.  Provide their MD5 checksums.

Ian Jackson, at home.          ijackson@nyx.cs.du.edu or iwj10@cus.cam.ac.uk
+44 1223 575512    Escoerea on IRC.    http://www.cl.cam.ac.uk/users/iwj10/
2 Lexington Close, Cambridge, CB4 3LS, England.  Urgent: iwj10@thor.cam.co.uk

Reply to: