1. 14 Nov, 2018 1 commit
    • Julian Andres Klode's avatar
      Adjust libapt-pkg Breaks aptitude to << 0.8.9 · 5d1dfd12
      Julian Andres Klode authored
      The << 0.8.11 was stronger than necessary, and breaks Ubuntu,
      which is unable to build aptitude 0.8.11 atm (the test suite
      fails since 0.8.10 in C++17 mode, only works in C++14, but
      0.8.11 uses C++17 constructs).
      5d1dfd12
  2. 13 Nov, 2018 3 commits
  3. 12 Nov, 2018 2 commits
    • Julian Andres Klode's avatar
      Release 1.8.0~alpha1 · 9cff147d
      Julian Andres Klode authored
      9cff147d
    • Julian Andres Klode's avatar
      http: Fix handling of server connection closure · fb3f3659
      Julian Andres Klode authored
      If the server closed the connection while we're reading data, and
      we end up not having any data left to write; that is, for example,
      we received 0 bytes, then we did not exit before, as we only returned
      success if there was data to write.
      
      This is wrong: Obviously, if we have reached our limit, we are done
      anyway. It's a bit unclear if we actually ever reached this part, but
      it does make some sense wrt the bug below.
      
      LP: #1801338
      fb3f3659
  4. 30 Oct, 2018 5 commits
  5. 22 Oct, 2018 2 commits
    • Julian Andres Klode's avatar
      Break pre-gcc8 aptitude and apt · a18f3897
      Julian Andres Klode authored
      gcc 8 broke the ABI again. After they decided to switch mangling of ABI tags in return values from:
      
       U URI::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >[abi:cxx11]()
      to:
       U URI::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >()
      
      in gcc 7, they now removed the legacy symbol in gcc 8, causing us to break our ABI in turn
      for that one operator. We need more responsible gcc developers.
      
      Closes: #911090
      a18f3897
    • Julian Andres Klode's avatar
      NeverAutoRemove kernel meta packages · a4b0ce5a
      Julian Andres Klode authored
      This gives more protection for people where kernel metapackages
      are accidentally removed.
      
      LP: #1787460
      a4b0ce5a
  6. 14 Oct, 2018 3 commits
  7. 13 Oct, 2018 1 commit
  8. 07 Oct, 2018 2 commits
  9. 05 Oct, 2018 1 commit
  10. 02 Oct, 2018 1 commit
  11. 27 Sep, 2018 1 commit
    • David Kalnischkies's avatar
      Show APT::Compressor example in apt.conf(5) · 599c89f6
      David Kalnischkies authored
      Including a block-element like informalexample in a para is legal, but
      the documentation of the para tag hints that some processing systems may
      have difficulties handling this – so lets just move it out of the block
      and be happy as it is (again?) displayed.
      
      Closes: #909712
      599c89f6
  12. 24 Sep, 2018 2 commits
    • Julian Andres Klode's avatar
      pkgCacheFile: Only unlock in destructor if locked before · e02297b8
      Julian Andres Klode authored
      pkgCacheFile's destructor unlocks the system, which is confusing
      if you did not open the cachefile with WithLock set. Create a private
      data instance that holds the value of WithLock.
      
      This regression was introduced in commit b2e465d6:
      
          Join with aliencode
          Author: jgg
          Date: 2001-02-20 07:03:16 GMT
          Join with aliencode
      
      by replacing a "Lock" member that was only initialized when the lock
      was taken by calls to Lock, UnLock; with the latter also taking place
      if the former did not occur.
      
      Regression-Of: b2e465d6
      LP: #1794053
      e02297b8
    • Julian Andres Klode's avatar
      Fix calculation of elapsed usec in downloads · 089e6271
      Julian Andres Klode authored
      A recent change to use chronos inadvertently replaced the
      difference of new usec - old usec with new sec - old usec,
      which is obviously wrong.
      089e6271
  13. 20 Sep, 2018 2 commits
    • Julian Andres Klode's avatar
      Release 1.7.0~rc2 · e78844ba
      Julian Andres Klode authored
      e78844ba
    • David Kalnischkies's avatar
      Deal with descriptions embedded in displayed record correctly · 6f1d622c
      David Kalnischkies authored
      The implementation of "apt-cache show" (not "apt show") incorrectly
      resets the currently used parser if the record itself and the
      description to show come from the same file (as it is the case if no
      Translation-* files are available e.g. after debootstrap).
      
      The code is more complex than you would hope to support some rather
      unusual setups involving Descriptions and their translations as tested
      for by ./test-bug-712435-missing-descriptions as otherwise this could
      be a one-line change.
      
      Regression-Of: bf53f39c
      Closes: #909155
      6f1d622c
  14. 18 Sep, 2018 4 commits
  15. 15 Sep, 2018 1 commit
    • David Kalnischkies's avatar
      Show all architectures in 'apt list' output · 32e0587d
      David Kalnischkies authored
      The uniqueness in std::set containers is ensured by the ordering
      operator we provide, but it was not considering that different versions
      can have the same description like the different architectures for a
      version of a package.
      
      Closes: #908218
      32e0587d
  16. 12 Sep, 2018 1 commit
    • Damyan Ivanov's avatar
      clarification · 95fe9cac
      Damyan Ivanov authored
      do not suggest that 'source' and 'build-dep' arguments are binary
      package names only
      95fe9cac
  17. 11 Sep, 2018 6 commits
    • David Kalnischkies's avatar
      Support multiple keyrings in sources.list Signed-By · 8375d5b5
      David Kalnischkies authored
      A user can specify multiple fingerprints for a while now, so its seems
      counter-intuitive to support only one keyring, especially if this isn't
      really checked or enforced and while unlikely mixtures of both should
      work properly, too, instead of a kinda random behaviour.
      8375d5b5
    • David Kalnischkies's avatar
      Support subkeys properly in Signed-By options · ff8fa4ab
      David Kalnischkies authored
      If we limit a file to be signed by a certain key it should usually
      accept also being signed by any of this keys subkeys instead of
      requiring each subkey to be listed explicitly. If the later is really
      wanted we support now also the same syntax as gpg does with appending an
      exclamation mark at the end of the fingerprint to force no mapping.
      ff8fa4ab
    • David Kalnischkies's avatar
      Reorder progress report messages · 329c8d5e
      David Kalnischkies authored
      We are seeing 'processing' messages from dpkg first, so it makes sense
      to translate them to "Preparing" messages instead of using "Installing"
      and co to override these shortly after with the "Preparing" messages.
      
      The difference isn't all to visible as later messages tend to linger far
      longer in the display than the ealier ones, but at least in a listing it
      seems more logical.
      329c8d5e
    • David Kalnischkies's avatar
      Don't expect duplicated dpkg status-fd messages · f484906e
      David Kalnischkies authored
      The progress reporting relies on parsing the status reports of
      dpkg which used to repeat being in the same state multiple times
      in the same run, but by fixing #365921 it will stop doing so.
      
      The problem is in theory just with 'config-files' in case we do purge as
      this (can) do remove + purge in one step, but we remove this also for
      the unpack + configure combination althrough we handle these currently
      in two independent dpkg calls.
      f484906e
    • David Kalnischkies's avatar
      Process status-fd completely before finishing dpkg call · 2295de2c
      David Kalnischkies authored
      Exiting the processing loop as soon as the dpkg process finishes might
      leave status-fd lines unprocessed which wasn't much of a problem in the
      past as the progress would just be slightly off, but now that we us the
      information also for skipping already done tasks and generate warnings
      if we didn't see all expected messages we should make sure we seem them
      all. We still need to exit "early" if dpkg exited unsuccessfully/crashed
      through as the (remaining) status lines we get could be incomplete.
      2295de2c
    • David Kalnischkies's avatar
      Unset more environment variables in test framework · a5953d91
      David Kalnischkies authored
      It is an uphill battle to "reset" the environment to a clean state
      without making it needlessly hard to use 'good' environment variables,
      so we just try a little harder here without really trying for
      completeness.
      
      Gbp-Dch: Ignore
      a5953d91
  18. 10 Sep, 2018 1 commit
  19. 29 Aug, 2018 1 commit