propellor

propellor config for hosts.
git clone git://git.ricketyspace.net/propellor.git
Log | Files | Refs | LICENSE

comment_5_fe9deffb0cd356787fed33a373115f73._comment (791B)


      1 [[!comment format=mdwn
      2  username="picca"
      3  subject="comment 5"
      4  date="2016-03-29T21:41:50Z"
      5  content="""
      6 Here the c++ code of apt
      7 
      8     // See if we need to abort with a dirty journal
      9     if (CheckUpdates() == true)
     10     {
     11        close(d->LockFD);
     12        d->LockFD = -1;
     13        const char *cmd;
     14        if (getenv(\"SUDO_USER\") != NULL)
     15           cmd = \"sudo dpkg --configure -a\";
     16        else
     17           cmd = \"dpkg --configure -a\";
     18        // TRANSLATORS: the %s contains the recovery command, usually
     19        //              dpkg --configure -a
     20        return _error->Error(_(\"dpkg was interrupted, you must manually \"
     21                               \"run '%s' to correct the problem. \"), cmd);
     22     }
     23 
     24 so there is a dirty journal. (maybe due to a power off during the chroot update)
     25 
     26 """]]