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

Bug#603680: libnautilus-extension1: breaks nautilus-share upgrade from lenny



Hi,

as I was asked on IRC, this is how piuparts modifies apt+dpkgs 
defaults,  "most interestingly" it doesnt install recommends...:

    def create_apt_conf(self):
        """Create /etc/apt/apt.conf inside the chroot."""
        create_file(self.relative("etc/apt/apt.conf"),
                    'APT::Get::AllowUnauthenticated "%s";\n' % 
settings.apt_unauthenticated +
                    'APT::Get::Assume-Yes "yes";\n' +
                    'APT::Install-Recommends "0";\n' +
                    'APT::Install-Suggests "0";\n')

    def create_dpkg_conf(self):
        """Create /etc/dpkg/dpkg.cfg.d/piuparts inside the chroot."""
        if settings.dpkg_force_confdef:
          create_file(self.relative("etc/dpkg/dpkg.cfg.d/piuparts"),
                    'force-confdef')
          logging.info("Warning: dpkg has been configured to use the 
force-confdef option. This will hide problems, see #466118.")


cheers,
	Holger

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: