Skip to content
This repository has been archived by the owner on Aug 24, 2024. It is now read-only.

UMASK to avoid problems with APT? #58

Open
simurq opened this issue Jan 8, 2023 · 0 comments
Open

UMASK to avoid problems with APT? #58

simurq opened this issue Jan 8, 2023 · 0 comments

Comments

@simurq
Copy link

simurq commented Jan 8, 2023

Good day,

I've noticed that you're "setting UMASK to 0022 for the script to avoid APT errors" on line 1418 of the script. Can you please elaborate on the relation between the two? Is this how you deal with packagekitd locking the file /var/lib/apt/lists/lock during apt updates? Why not to disable the apt-daily*** services and then re-enable them when necessary instead?

I'm asking because I'm working on a similar but less sophisticated script myself for Pop!_OS and currently stuck with an apt problem caused by packagekitd, as I described above. To solve it, I simply stop the daemon, which is re-started by apt during the update anyway.

Thank you!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant