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

Bug#32068: multicd can't reinstall removed package



----- Forwarded message from Martin Schulze <joey@finlandia.Infodrom.North.DE> -----

Package: dpkg-multicd
Version: 0.11
Severity: important

I'm awfully sorry but apparently I have to file an important bug report
against this pkackage (or dpkg?).  It should be fixed before we release
slink.

First the symptoms:

  . You install package foo
  . You mark package foo for removal
  . You run dpkg --pending --remove
  . You mark package foo for installation
  . You try to install it
  . dselect/multicd/dpkg won't install it
  . You're lost until you re-run [U]pdate

Now the technical part:

If you install a package (using dpkg -i foo.deb or dselect) dpkg modifies
the record in the available file and replaces it with the proper record
from the status file (guessed or experienced by Ruud).  As a result of
this the available file lacks the fields Filename: MD5sum: and X-Medium:
which makes it impossible to install this package again since the
methods don't have a chance to find out where the package is located.

This doesn't happen with some other methods since they don't depend on
the filename being recorded in the available file.

Solution:

multicd has to copy the Packages files into $methdir/multicd/ and access
them directly instead of the available file.

Since this needs a redesign of the installation method and I'm somewhat
short with time I'd appreciate somebody sending me a proper patch.

Regards,

	Joey

----- End forwarded message -----

-- 
We all know Linux is great... it does infinite loops in 5 seconds.
        - Linus Torvalds

Please always Cc to me when replying to me on the lists.


Reply to: