Strange issue: sudo: effective uid is not 0, is sudo installed setuid root?
|
8th Sep, 2016, 07:32 PM
Post: #38
|
|||
|
|||
RE: Strange issue: sudo: effective uid is not 0, is sudo installed setuid root?
(8th Sep, 2016 06:05 AM)dgarciam Wrote: First was running stable version and now running devel (upgrade via apt-get dist-upgrade instead of apt upgrade, which i learned today was the best way). That was bad idea. Look to FAQ, section Why should I not use apt-get Enabling devel repo and sudo apt-get update;sudo apt-get upgrade is enough Quote:Today at lunch, i went home with an restored image i did last time i had to rebuild the pi. Once everything booted, I uninstalled maraschino and headphone (purged) since i didn't use them, and last time i installed headphones alone, upgraded some package and all went to hell, after that commented all the apt sources and chmod 400 /etc/init.d/unattended-upgrades, since i noticed that the problem came always after a reboot when a single package was pending. Don't know which package, because an apt list --upgradable never told me which package was gonna be upgraded. Hmmm, still not clear what exactly happened. But anyway, for those situations we have snapshots. They allows easy and fast restoring to a previous working point. Before you install packages via apt-get (but not with dpkg), system makes a snapshot of your / fs. This works really great, there is only one limitation: /boot partition is not preserved, you have to keep this mind when kernel is updated Quote:After I rebooted a couple times w/o problems. Let's hope this time i won't have the problem. In 6 months i will enable the sources, do an upgrade and see how all goes. But you have working system again, that's the most important |
|||
« Next Oldest | Next Newest »
|
Possibly Related Threads... | |||||
Thread: | Author | Replies | Views: | Last Post | |
Kodi won't start after sudo apt-get upgrade update | karanda | 3 | 13,497 |
21st Nov, 2015 10:16 PM Last Post: karanda |
|
sudo: effective uid is not 0 - returns after fix | rbellamy | 9 | 22,703 |
22nd Dec, 2013 04:34 AM Last Post: mk01 |