22nd Dec, 2013, 02:22 AM
Similar to @d4m4s74, My recent set of updates has caused a problem with sudo.
In the thread titled "Strange issue: sudo: effective uid is not 0, is sudo installed setuid root?" the solution was to run the following commands:
I did that, ran
after reboot.
Lo and behold, the problem is BACK! I've now done this several times, with and without the `dpkg-reconfigure -a`.
So then I try to roll back to one of my btrfs snapshots. No luck there:
And yes, I tried to rollback AFTER I'd fixed up the permissions and before I rebooted again, so presumably the permissions should have allowed the rollback.
I'm downloading B2 right now and expect to try a fresh install. This isn't my ideal.
Thanks for the awesome project and keep up the good works!
In the thread titled "Strange issue: sudo: effective uid is not 0, is sudo installed setuid root?" the solution was to run the following commands:
Code:
for f in bin etc lib media mnt opt root sbin usr var xbmc-backup; do chown -R root $f; done
chown root:root /home
chown syslog /var/log/*
chown -R man /var/cache/man
chown -R xbian:xbian /usr/local/share/xbmc/addons/plugin.xbianconfig
chmod 4755 /usr/bin/sudo
I did that, ran
Code:
dpkg-reconfigure -a
Lo and behold, the problem is BACK! I've now done this several times, with and without the `dpkg-reconfigure -a`.
So then I try to roll back to one of my btrfs snapshots. No luck there:
Code:
root@lamassu ~ # apt-get install strace
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
fbset gnutls-bin libass-dev libbluray-dev libenca-dev libfontconfig1-dev libfreetype6-dev libjasper-dev libpar2-0 libsigc++-dev libsigc++0c2
python-cheetah
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
strace
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B/123 kB of archives.
After this operation, 296 kB of additional disk space will be used.
Error: another copy is running ... 0
Error: another copy is running ... 1
Error: another copy is running ... 2
Error: another copy is running ... 3
Error: another copy is running ... 4
Error: another copy is running ... 5
Error: another copy is running ... 6
Error: another copy is running ... 7
Error: another copy is running ... 8
Error: another copy is running ... 9
Error: another copy is running ... 10
Error: another copy is running ... 11
Error: another copy is running ... 12
E: Problem executing scripts DPkg::Pre-Invoke '[ ! -e /etc/default/xbian-snap ] || . /etc/default/xbian-snap; [ $ENABLEDAPT = yes ] || exit 0; z=$(findmnt -n | grep -m1 . | awk '{print $2}'); z=${z#*\[\/}; export z=${z%%\/*}; if [ -x /usr/sbin/btrfs-auto-snapshot ]; then btrfs-auto-snapshot snapshot -k 10 -l apt-run $z ; fi ;'
E: Sub-process returned an error code
And yes, I tried to rollback AFTER I'd fixed up the permissions and before I rebooted again, so presumably the permissions should have allowed the rollback.
I'm downloading B2 right now and expect to try a fresh install. This isn't my ideal.
Thanks for the awesome project and keep up the good works!