Add trial count in CheckInstallLockUbuntu
Open
Nobody has claimed this yet.
:ok_hand: Approved
🆘 Help Wanted
- Dominant language
- Python
- Stars
- 333
- Forks
- 250
- Avg merge
- 3d 20h
- Merged PRs (30d)
- 20
Description
CheckInstallLockUbuntu is recursive function call and potentially has a risk of infinite loop if apt.lock is not removed.
It is nice to have counter after converting to non-recursive.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the CheckInstallLockUbuntu function and inspect how it recurses while apt.lock remains present. Define a bounded trial count and convert the recursive flow as described, then verify that the lock-checking path stops after the configured number of trials.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux, python
- Domain
- operating-systems, testing-qa
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100