]> git.saurik.com Git - apt.git/commitdiff
reduce delta from ubuntu
authorMichael Vogt <mvo@debian.org>
Fri, 25 Apr 2014 12:41:35 +0000 (14:41 +0200)
committerMichael Vogt <mvo@debian.org>
Fri, 25 Apr 2014 12:50:39 +0000 (14:50 +0200)
apt-pkg/deb/dpkgpm.cc
apt-pkg/init.cc
debian/apt.conf.autoremove
debian/apt.install.in
ftparchive/override.cc

index c3e7e1d1d41a9a02d47d0f97ce14748964fc6937..c52b83c6ee26e278f445d131d9133c930bd5e532 100644 (file)
@@ -1617,7 +1617,7 @@ void pkgDPkgPM::WriteApportReport(const char *pkgpath, const char *errormsg)
    string::size_type pos;
    FILE *report;
 
-   if (_config->FindB("Dpkg::ApportFailureReport", false) == false)
+   if (_config->FindB("Dpkg::ApportFailureReport", true) == false)
    {
       std::clog << "configured to not write apport reports" << std::endl;
       return;
index 3a35f852edc341db865bed854218f7c9f7e1303a..241628632ccdc24d958dc105ad04ac56b11039cf 100644 (file)
@@ -86,6 +86,7 @@ bool pkgInitConfig(Configuration &Cnf)
    Cnf.Set("Dir::Ignore-Files-Silently::", "\\.dpkg-[a-z]+$");
    Cnf.Set("Dir::Ignore-Files-Silently::", "\\.save$");
    Cnf.Set("Dir::Ignore-Files-Silently::", "\\.orig$");
+   Cnf.Set("Dir::Ignore-Files-Silently::", "\\.distUpgrade$");
 
    // Default cdrom mount point
    Cnf.CndSet("Acquire::cdrom::mount", "/media/cdrom/");
index cf69d56c3d6d24efeb2e6d5fc8c3b10f0cbe00a2..fc02350aee5706332248674d0a537eb4047b3757 100644 (file)
@@ -22,6 +22,8 @@ APT
        ".*-modules";
        ".*-kernel";
        "linux-backports-modules-.*";
+        # tools
+        "linux-tools";
   };
 
   Never-MarkAuto-Sections
index 4ffe43e3b3ca7f88249817c829f24025ef7c8927..9c948957247d47ed07496c5e23756b1de8f1171f 100644 (file)
@@ -3,4 +3,4 @@ bin/apt-* usr/bin/
 bin/methods/* usr/lib/apt/methods/
 scripts/dselect/* usr/lib/dpkg/methods/apt/
 usr/share/locale/*/*/apt.mo
-bin/libapt-private.so.* usr/lib/@DEB_HOST_MULTIARCH@/
\ No newline at end of file
+bin/libapt-private.so.* usr/lib/@DEB_HOST_MULTIARCH@/
index b4cd49b6c9dd50353670f363c04963ede56bd750..8a0c5bab1d887bbd193b21e6d04dd2ea5e14a9f7 100644 (file)
@@ -37,7 +37,7 @@ bool Override::ReadOverride(string const &File,bool const &Source)
    if (F == 0)
       return _error->Errno("fopen",_("Unable to open %s"),File.c_str());
    
-   char Line[500];
+   char Line[1000];
    unsigned long long Counter = 0;
    while (fgets(Line,sizeof(Line),F) != 0)
    {
@@ -141,7 +141,7 @@ bool Override::ReadExtraOverride(string const &File,bool const &/*Source*/)
    if (F == 0)
       return _error->Errno("fopen",_("Unable to open %s"),File.c_str());
   
-   char Line[500];
+   char Line[1000];
    unsigned long long Counter = 0;
    while (fgets(Line,sizeof(Line),F) != 0)
    {