E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
this post was submitted on 16 Jun 2023
2 points (100.0% liked)
Programmer Humor
32464 readers
128 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
this incidence will be reported
This was just recently removed from sudo. Truly the end of an era
Remove "This incident will be reported." from user warnings.
This used to indicate that email had been sent to the administrator
telling them that someone tried to run sudo. Whether or not sudo
sends email is now configurable, so the warning may not be accurate.
It is also confusing to the user since they will not know who the
incident is being reported to. See also https://xkcd.com/838
https://github.com/sudo-project/sudo/commit/6aa320c96a37613663e8de4c275bd6c490466b01
EDIT: apparently it was added back for some cases
https://github.com/sudo-project/sudo/commit/9757d29a24ac1872872cf09757b0439c54089707