Bug#456332: dpkg could use an elevated pre-depends or depends on lzma
Raphael Hertzog writes (Re: Bug#456332: dpkg could use an elevated pre-depends or depends on lzma): I'm still not convinced that this is the right approach, Pre-Depends are supposed to not be used lightly. Does the package need to be configured, isn't a simple dependency enough ? Yes, the decompressor needs to be configured because its dependencies need to have been installed. And it has to be a predependency because the _unpack_ requires the decompressor. Depends is not checked until after unpacking. And we're speaking of: $ dpkg -s lzma | grep Installed Installed-Size: 292 $ dpkg -s bzip2 | grep Installed Installed-Size: 124 Between them that's nearly half a megabyte. (That's not to mention the couple more we're bound to acquire if we make this actually work well.) The downsides of a Pre-Depends is that it makes installation ordering much more tricky - but this Pre-Depends is in fact an accurate reflection of the situation. If the Pre-Depends is absent and installation operations are done that it would have prevented, those operations will fail. Ian. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#456332: dpkg could use an elevated pre-depends or depends on lzma
[ CCed Mohammed for the lzma package size reduction part. ] Hi, On Fri, 25 Jan 2008, Ian Jackson wrote: Raphael Hertzog writes (Bug#456332: dpkg could use an elevated pre-depends or depends on lzma): The debian/control field is the only viable option IMO. It would be somewhat similar to the Package-Type: header which has no real use except influencing the behaviour of another tool during the build. Having slept on it I think this is the right answer. Compression-Type: gzip|bzip2|lzma|... converted into Pre-Depends: deb-decompressor-lzma by dpkg-gencontrol The problem with that is when unpacking and repacking a .deb with a different compression, dpkg-deb would have to munge the Pre-Depends. Even if that should be safe with such virtual package, I don't feel comfortable doing that. The other problem is that all current packages using bzip2 or lzma would have to gain such dependency (supposedly gzip ones as well?!), there should not be many using bzip2 or lzma, though. On Fri, 2008-01-25 at 18:54:10 +, Ian Jackson wrote: Raphael Hertzog writes (Re: Bug#456332: dpkg could use an elevated pre-depends or depends on lzma): I'm still not convinced that this is the right approach, Pre-Depends are supposed to not be used lightly. Does the package need to be configured, isn't a simple dependency enough ? Yes, I'm not convinced either that using a dependency is the way to go (although yes, I agree that if we'd have to use one, that should be a Pre-Depends). And we're speaking of: $ dpkg -s lzma | grep Installed Installed-Size: 292 $ dpkg -s bzip2 | grep Installed Installed-Size: 124 Between them that's nearly half a megabyte. (That's not to mention the couple more we're bound to acquire if we make this actually work well.) Probably lzma_alone (104 KiB) could be removed at some point from the lzma package, and few docs moved to lzma-dev where they belong (20 KiB). Also probably only that one package in base switched to lzma we'd recover that space anyway. The downsides of a Pre-Depends is that it makes installation ordering much more tricky - but this Pre-Depends is in fact an accurate reflection of the situation. If the Pre-Depends is absent and installation operations are done that it would have prevented, those operations will fail. Ian, I can see your point, about the correctness (depends on demand), and not encoding the archive state in the metadata of all .deb (virtual package). But on the other hand it's dpkg who is calling the lzma binary, it's an implementation detail as Chris said. Also dpkg either supports it or it does not, regardless of any Pre-Depends any package might have. And we do something similar with Essential packages. The only concern I can see with dpkg having the Pre-Depends is that if we have a .deb with an unsupported compression, installation will fail too late. But I don't think that's that important as this should not happen on the archive anyway (those would get rejected). Also just for reference, the main reason I didn't add the Pre-Depends to dpkg in etch was because it was near a freeze (or already frozen, don't remember now) and didn't want to destabilize d-i at that time. That was probably a mistake, but I don't regret having played safe, there's always time in the future to fix things. regards, guillem -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Processed: setting package to dpkg dpkg-dev dselect, tagging 462403
Processing commands for [EMAIL PROTECTED]: # Automatically generated email from bts, devscripts version 2.10.13 package dpkg dpkg-dev dselect Ignoring bugs not assigned to: dselect dpkg-dev dpkg tags 462403 + pending Bug#462403: dpkg: [INTL:eu] dselect basque translation update Tags were: l10n patch Tags added: pending End of message, stopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#456332: dpkg could use an elevated pre-depends or depends on lzma
Ian Jackson writes (Re: Bug#456332: dpkg could use an elevated pre-depends or depends on lzma): by dpkg-gencontrol and into an appropriate -Z option by dpkg-buildpackage, then ? Oh, no, not dpkg-buildpackage. Hrm. It really has to be in dpkg-deb, which ought to strip out the special header too. Ian. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#456332: dpkg could use an elevated pre-depends or depends on lzma
On Fri, 25 Jan 2008, Ian Jackson wrote: Raphael Hertzog writes (Bug#456332: dpkg could use an elevated pre-depends or depends on lzma): The debian/control field is the only viable option IMO. It would be somewhat similar to the Package-Type: header which has no real use except influencing the behaviour of another tool during the build. Having slept on it I think this is the right answer. Compression-Type: gzip|bzip2|lzma|... converted into Pre-Depends: deb-decompressor-lzma by dpkg-gencontrol Ok. and into an appropriate -Z option by dpkg-buildpackage, then ? Well, no. dpkg-buildpackage doesn't call dpkg-deb --build. dpkg-gencontrol must push the field in DEBIAN/control and dpkb-deb --build must read that field there and use the corresponding compressor. I'm still not convinced that this is the right approach, Pre-Depends are supposed to not be used lightly. Does the package need to be configured, isn't a simple dependency enough ? And furthermore, while I can understand the need to not add the dependency to dpkg itself, in practice most systems will have all the compressors installed anyway. And we're speaking of: $ dpkg -s lzma | grep Installed Installed-Size: 292 $ dpkg -s bzip2 | grep Installed Installed-Size: 124 Cheers, -- Raphaël Hertzog Le best-seller français mis à jour pour Debian Etch : http://www.ouaza.com/livre/admin-debian/
Bug#456332: dpkg could use an elevated pre-depends or depends on lzma
Raphael Hertzog writes (Bug#456332: dpkg could use an elevated pre-depends or depends on lzma): The debian/control field is the only viable option IMO. It would be somewhat similar to the Package-Type: header which has no real use except influencing the behaviour of another tool during the build. Having slept on it I think this is the right answer. Compression-Type: gzip|bzip2|lzma|... converted into Pre-Depends: deb-decompressor-lzma by dpkg-gencontrol and into an appropriate -Z option by dpkg-buildpackage, then ? Ian. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Processed: new mailaddress
Processing commands for [EMAIL PROTECTED]: submitter 233864 Holger Levsen [EMAIL PROTECTED] Bug#233864: [powerpc] document need for BootX on oldworld Changed Bug submitter from Laurent Kestemont [EMAIL PROTECTED] to Holger Levsen [EMAIL PROTECTED]. submitter 274115 Holger Levsen [EMAIL PROTECTED] Bug#274115: almost successful install on oldworld mac4400/200 Changed Bug submitter from Holger Levsen [EMAIL PROTECTED] to Holger Levsen [EMAIL PROTECTED]. submitter 285354 Holger Levsen [EMAIL PROTECTED] Bug#285354: cannot resize some (ext3) partitions (ppc+x86) Changed Bug submitter from Holger Levsen [EMAIL PROTECTED] to Holger Levsen [EMAIL PROTECTED]. submitter 291094 Holger Levsen [EMAIL PROTECTED] Bug#291094: ppc - radeonfb, sometimes out-of-scan-range occurs when switching to framebuffer Changed Bug submitter from Holger Levsen [EMAIL PROTECTED] to Holger Levsen [EMAIL PROTECTED]. submitter 295996 Holger Levsen [EMAIL PROTECTED] Bug#295996: boot.img and cd-drivers.img (powerpc) report error against cmp Changed Bug submitter from Holger Levsen [EMAIL PROTECTED] to Holger Levsen [EMAIL PROTECTED]. submitter 307232 Holger Levsen [EMAIL PROTECTED] Bug#307232: can't boot rc3 netboot+cd on oldworld, floppy undocumented (Re: Can't boot floppy on PowerMac G3) Changed Bug submitter from Holger Levsen [EMAIL PROTECTED] to Holger Levsen [EMAIL PROTECTED]. submitter 307291 Holger Levsen [EMAIL PROTECTED] Bug#307291: Improve handling of recommends to pseudo packages Changed Bug submitter from Holger Levsen [EMAIL PROTECTED] to Holger Levsen [EMAIL PROTECTED]. submitter 309658 Holger Levsen [EMAIL PROTECTED] Bug#309658: please create + include german fai guide Changed Bug submitter from Holger Levsen [EMAIL PROTECTED] to Holger Levsen [EMAIL PROTECTED]. submitter 309659 Holger Levsen [EMAIL PROTECTED] Bug#309659: please include romanian fai guide Changed Bug submitter from Holger Levsen [EMAIL PROTECTED] to Holger Levsen [EMAIL PROTECTED]. submitter 313440 Holger Levsen [EMAIL PROTECTED] Bug#313440: define class FAI_${FAI_ACTION} Changed Bug submitter from Holger Levsen [EMAIL PROTECTED] to Holger Levsen [EMAIL PROTECTED]. submitter 337121 Holger Levsen [EMAIL PROTECTED] Bug#337121: /vote/howto_proposal: headlines not matching link titles Changed Bug submitter from Holger Levsen [EMAIL PROTECTED] to Holger Levsen [EMAIL PROTECTED]. submitter 348845 Holger Levsen [EMAIL PROTECTED] Bug#348845: please provide a male character as well Changed Bug submitter from Holger Levsen [EMAIL PROTECTED] to Holger Levsen [EMAIL PROTECTED]. submitter 353536 Holger Levsen [EMAIL PROTECTED] Bug#353536: classes which includes classes Changed Bug submitter from Holger Levsen [EMAIL PROTECTED] to Holger Levsen [EMAIL PROTECTED]. submitter 360183 Holger Levsen [EMAIL PROTECTED] Bug#360183: fcopy: is preserving files an error? Changed Bug submitter from Michael Tautschnig [EMAIL PROTECTED] to Holger Levsen [EMAIL PROTECTED]. submitter 361238 Holger Levsen [EMAIL PROTECTED] Bug#361238: nvidia-modules-i386: nvidia-kernel-2.4.27-3-* packages would be nice to have in Sarge Changed Bug submitter from Kenrick Bingham [EMAIL PROTECTED] to Holger Levsen [EMAIL PROTECTED]. submitter 361524 Holger Levsen [EMAIL PROTECTED] Bug#361524: empty LOGSERVER var doesnt work as expected Changed Bug submitter from Holger Levsen [EMAIL PROTECTED] to Holger Levsen [EMAIL PROTECTED]. submitter 362765 Holger Levsen [EMAIL PROTECTED] Bug#362765: missing binary package: nvidia-kernel-2.4.27-3-k7 Changed Bug submitter from Holger Levsen [EMAIL PROTECTED] to Holger Levsen [EMAIL PROTECTED]. submitter 363701 Holger Levsen [EMAIL PROTECTED] Bug#363701: don't ignore gpg-authentification for apt-repositories Changed Bug submitter from Holger Levsen [EMAIL PROTECTED] to Holger Levsen [EMAIL PROTECTED]. submitter 374392 Holger Levsen [EMAIL PROTECTED] Bug#374392: detect and configure WPA networks Changed Bug submitter from Holger Levsen [EMAIL PROTECTED] to Holger Levsen [EMAIL PROTECTED]. submitter 375208 Holger Levsen [EMAIL PROTECTED] Bug#375208: provide beta3 (and rc1++) miboot images til they're obsolete Changed Bug submitter from Holger Levsen [EMAIL PROTECTED] to Holger Levsen [EMAIL PROTECTED]. submitter 375697 Holger Levsen [EMAIL PROTECTED] Bug#375697: cloning and usertagging in the same mail doesn't work Changed Bug submitter from Holger Levsen [EMAIL PROTECTED] to Holger Levsen [EMAIL PROTECTED]. submitter 376685 Holger Levsen [EMAIL PROTECTED] Bug#376685: create database in background? Changed Bug submitter from Holger Levsen [EMAIL PROTECTED] to Holger Levsen [EMAIL PROTECTED]. submitter 377017 Holger Levsen [EMAIL PROTECTED] Bug#377017: please include the bits from this wikipage in the manual Changed Bug submitter from Holger Levsen [EMAIL PROTECTED] to Holger Levsen [EMAIL PROTECTED]. submitter 377971 Holger Levsen [EMAIL PROTECTED] Bug#377971: sid-daily and gtk-miniiso on a iMac G5