Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • P Pacman
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • Pacman
  • Pacman
  • Merge requests
  • !1

alpm: return -1 for error in find_dl_candidates

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Morgan Adamiec requested to merge morganamilo/noserver into master Nov 21, 2021
  • Overview 0
  • Commits 1
  • Pipelines 1
  • Changes 1

This is the error value generally used and the calling function explicitly checks for -1, later causing the error to be missed and the transaction to continue.

pacman -S xterm warning: xterm-369-1 is up to date -- reinstalling resolving dependencies... looking for conflicting packages...

Package (1) Old Version New Version Net Change Download Size

extra/xterm 369-1 369-1 0.00 MiB 0.42 MiB

Total Download Size: 0.42 MiB Total Installed Size: 1.05 MiB Net Upgrade Size: 0.00 MiB

:: Proceed with installation? [Y/n] error: no servers configured for repository: extra (1/1) checking keys in keyring ------------------------------------------------------ 100% (1/1) checking package integrity ------------------------------------------------------ 100% error: failed to commit transaction (wrong or NULL argument passed) Errors occurred, no packages were upgraded.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: morganamilo/noserver