1. 07 Apr, 2012 8 commits
  2. 29 Mar, 2012 2 commits
  3. 28 Mar, 2012 3 commits
  4. 16 Mar, 2012 1 commit
  5. 15 Mar, 2012 2 commits
  6. 13 Mar, 2012 2 commits
  7. 09 Mar, 2012 1 commit
  8. 05 Mar, 2012 8 commits
  9. 20 Feb, 2012 3 commits
    • Dan McGee's avatar
      Don't check diskspace when using --dbonly · 78adb71f
      Dan McGee authored
      Mostly a waste of time. Sure, we no longer make sure your pacman
      database partition has enough space, but if you are using this option
      you better know what you are doing anyway.
      Signed-off-by: default avatarDan McGee <dan@archlinux.org>
      (cherry picked from commit ee969006)
    • Dan McGee's avatar
      Give better error messages on database locking failures · fe659153
      Dan McGee authored
      This was noted when trying to perform an operation on a pacman database
      on a read-only file system. Print the actual underlying errno string,
      and only show the "you can remove" message if the lock file actually
          $ pacman -Su
          error: failed to init transaction (unable to lock database)
            if you're sure a package manager is not already
            running, you can remove /e/db.lck
          $ pacman -Su
          error: failed to init transaction (unable to lock database)
          error: could not lock database: Read-only file system
      Signed-off-by: default avatarDan McGee <dan@archlinux.org>
    • Dan McGee's avatar
      diskspace: ensure we match only full path components · 4899b5bd
      Dan McGee authored
      If one had a mountpoint at '/e' (don't ask), a file being installed to
      '/etc' would map to it incorrectly. Ensure we do more than just prefix
      matching on paths by doing some more sanity checks once the simple
      strncmp() call succeeds.
      Signed-off-by: default avatarDan McGee <dan@archlinux.org>
  10. 16 Feb, 2012 2 commits
  11. 15 Feb, 2012 3 commits
    • Dan McGee's avatar
      Revert "Add -S --recursive operation" · 85712814
      Dan McGee authored
      This reverts commit f3fa77bc
       along with
      making other necessary changes to fully back this (mis)feature out until
      we can do it correctly.
      The quick summary here is this was not implemented correctly; provides
      are not fully taken into account in this logic, and making that happen
      exposes a lot of other flaws in this code that are covered up later on
      in the dependency resolving process by several other pieces of
      convoluted and conditional logic.
      Tests have been adjusted accordingly. Some test EXISTS conditions have
      been removed as we already know the package is installed locally, and we
      also are checking the VERSION condition anyway.
      With these two related revert commits, we do have some changes in test
      pass/fail results:
      * upgrade078.py: does not pass, this is due to --recursive getting
        removed for -U/-S operations after this commit.
      * sync302.py: the version checks have been disabled, so this test
        continues to pass but has been scaled back in scope.
      * sync303.py: now passes, was failing before.
      * sync304.py: still failing, was failing before.
      * sync305.py: now passes, was failing before.
      * sync306.py: still passes, was passing before.
      Signed-off-by: default avatarDan McGee <dan@archlinux.org>
    • Dan McGee's avatar
      Revert "Enable recursive/needed sync on SyncFirst" · 9a1ff474
      Dan McGee authored
      This reverts commit 09034520
      Tests affected by this revert have been adjusted; additionally a few
      EXIST tests have been removed where there is already a VERSION test
      doing the job for us.
      Signed-off-by: default avatarDan McGee <dan@archlinux.org>
    • Christoph Vigano's avatar
      makepkg: fix syntax error in remove_deps · edd81f3e
      Christoph Vigano authored
      This fixes a problem that occurs if you tell makepkg to remove installed
      dependencies (just to be sure) but there are none. As the $ was missing
      in front of deplist, the check never happened and 'pacman -Rn' was
      called which obviously failed.
      Dan: later reported as FS#28448.
      Signed-off-by: default avatarChristoph Vigano <mail@cvigano.de>
      Signed-off-by: default avatarDan McGee <dan@archlinux.org>
  12. 14 Feb, 2012 2 commits
  13. 13 Feb, 2012 1 commit
  14. 11 Feb, 2012 2 commits