1. 23 Jul, 2020 1 commit
  2. 12 May, 2020 1 commit
  3. 23 Apr, 2020 3 commits
  4. 22 Apr, 2020 7 commits
  5. 21 Apr, 2020 12 commits
  6. 10 Mar, 2020 1 commit
  7. 06 Sep, 2019 2 commits
  8. 11 Jul, 2019 2 commits
  9. 05 Mar, 2019 4 commits
  10. 27 Jan, 2019 1 commit
    • intrigeri's avatar
      Test suite: don't rely on the state of the APT lists to check if a package is... · fef1d042
      intrigeri authored
      Test suite: don't rely on the state of the APT lists to check if a package is installed (refs: #14596)
      
      I've seen cases where "apt-cache policy" would fail, when run by
      'the package "cowsay" is not installed', as part of
      "I am notified when Additional Software fails to install a package",
      with:
      
        E: Malformed Description-md5 line; doesn't have the required length (32 != 29)
        '0143a1c3acbdb045e4fcaab0d8657"
      
      This seems wrong and I don't know why this happens, but let's not get
      side-tracked: the goal here is to check whether a given package is installed,
      not to validate the state of the APT lists. So let's use dpkg instead.
      
      For details about why "dpkg -s" was initially replaced with "apt-cache policy",
      see c77c2dd9. The analysis of the problem in
      that commit message was correct: "deinstall" means "The package is selected for
      deinstallation" and is indeed a transient state. The solution did work until we
      face a situation when the higher level tool fails while checking things we're
      not interested in.
      fef1d042
  11. 24 Nov, 2018 1 commit
  12. 20 Nov, 2018 1 commit
  13. 19 Nov, 2018 2 commits
  14. 13 Nov, 2018 1 commit
    • bertagaz's avatar
      Test suite: Really fix the package removal step. · c77c2dd9
      bertagaz authored
      Using dpkg to test if a package was uninstalled was racy and error
      prone: once really completely removed, dpkg don't have any reference of
      the package in its database anymore. The 'deinstall' dpkg state is only
      temporary, so we can not really rely on it to know if a package is
      removed. Let's use 'apt-cache policy' rather.
      
      Refs: #14596
      c77c2dd9
  15. 12 Nov, 2018 1 commit