Closed tflink closed 12 years ago
Another side effect of not checking is that adding a non-standard repo fails when running as non-root with no error message about privileges - I had to hack in a log message to figure out why it was failing
I left that out intentionally because I was going to use polkit to get privs rather than just a dumb "hey are you root?" check at the start.
Obviously, time is running a bit short for that. I'll add the stupid check now and do the polkit stuff later.
After installing fedup, it is possible to run fedup-cli as a non-root user without using sudo. If this happens, all the packages are downloaded without issue but right after the upgrade transaction is tested, the following error message shows up:
I was able to re-run fedup-cli using sudo and it completed without issue.
fedup should probably check for privileges before starting in order to avoid this error