Active Topics

 


Reply
Thread Tools
Posts: 345 | Thanked: 117 times | Joined on Jan 2010 @ uk
#1
Having trouble with fapman and ham doing updates. I have applied Karam's solution from another thread but that didn't fix the problem.

everything seems to terminate with this line:
"
grep: /etc/sudoers.d/bluetooth-pan-tethering.sudoers: No such file or directory "

It all started with filebox not updating but other things would.Ignored it for a couple of weeks and just not investigating why. Other things have been updating ok. Now it's not just filebox. I've tried manually and the ap man's. Same result. Applied the fix about adding everybody.sudoers file.Still no luck. Also tried to remove some things but it stalls with the same line.

I have no idea when this started. Haven't installed anything in ages. last thing was qtirreco 2 weeks ago and before that about a month before.

anyone with an idea?
I have searched all over for a solution but found none that work. Hopefully someone has a very simple way out of this.
 
Posts: 345 | Thanked: 117 times | Joined on Jan 2010 @ uk
#2
forgot to mention. the file in question does exist. in the right place and the contents look ok.I realise this is like some kind of permissions problem with sudo, sudser or sudoers but have no idea how to fix.
 
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#3
Can you give more (preferably all) of the output? The one line isn't much use without any context.
 
Posts: 345 | Thanked: 117 times | Joined on Jan 2010 @ uk
#4
it's rather large if I put EVERYTHING but I will try to only update filebox and paste that in. Thanks for looking in
 
Posts: 345 | Thanked: 117 times | Joined on Jan 2010 @ uk
#5
BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ sudo gainroot
Root shell enabled


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/home/user # apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
sudser
The following packages have been kept back:
libqtm-12 libqtm-12-contacts libqtm-12-declarative
libqtm-12-location libqtm-12-messaging libqtm-12-multimedia
libqtm-12-publishsubscribe libqtm-12-serviceframework
libqtm-12-systeminfo libqtm-12-versit python-pyside
The following packages will be upgraded:
filebox
1 upgraded, 0 newly installed, 1 to remove and 11 not upgraded.
20 not fully installed or removed.
Need to get 0B/650kB of archives.
After this operation, 20.5kB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 58468 files and directories currently installed.)
Removing sudser ...
grep: /etc/sudoers.d/bluetooth-pan-tethering.sudoers: No such file or directory
dpkg: error processing sudser (--remove):
subprocess post-removal script returned error exit status 2
Errors were encountered while processing:
sudser
E: Sub-process /usr/bin/dpkg returned an error code (1)
/home/user #
 
Posts: 345 | Thanked: 117 times | Joined on Jan 2010 @ uk
#6
the sudser bit is on there cos I was going to try removing then installing again last night, but it seems that removing hits the same errors. had forgotten about that
 
Posts: 3,617 | Thanked: 2,412 times | Joined on Nov 2009 @ Cambridge, UK
#7
Okay, it's definitely complaining about /etc/sudoers.d/bluetooth-pan-tethering.sudoers then. Can you paste the output from:
Code:
ls -l /etc/sudoers.d/bluetooth-pan-tethering.sudoers
and
Code:
cat /etc/sudoers.d/bluetooth-pan-tethering.sudoers
 
Posts: 345 | Thanked: 117 times | Joined on Jan 2010 @ uk
#8
/home/user # ls -l /etc/sudoers.d/bluetooth-pan-tethering.sudoers
ls: /etc/sudoers.d/bluetooth-pan-tethering.sudoers: No such file or directory
/home/user # cat /etc/sudoers.d/bluetooth-pan-tethering.sudoers
cat: can't open '/etc/sudoers.d/bluetooth-pan-tethering.sudoers': No such file or directory
/home/user #


curioser and curioser. I can navigate to that very file if I just type mc and can even view and edit it in midnight commander. it's definitely there.
 
Posts: 345 | Thanked: 117 times | Joined on Jan 2010 @ uk
#9
just as an extra experiment I tried entering 'root' from where I was and re-running the cat.... command=>

home/user # root


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

Nokia-N900:~# home/user # ls -l /etc/sudoers.d/bluetooth-pan-tethering.sudoers
-sh: home/user: not found
Nokia-N900:~# ls: /etc/sudoers.d/bluetooth-pan-tethering.sudoers: No such file or directory
-sh: ls:: not found
Nokia-N900:~# /home/user # cat /etc/sudoers.d/bluetooth-pan-tethering.sudoers
-sh: /home/user: Permission denied
Nokia-N900:~# cat: can't open '/etc/sudoers.d/bluetooth-pan-tethering.sudoers': No such file or directory
> /home/user #
 
Posts: 345 | Thanked: 117 times | Joined on Jan 2010 @ uk
#10
that was the ls command sorry. here is the cat command

Nokia-N900:~# cat /etc/sudoers.d/bluetooth-pan-tethering.sudoers
cat: can't open '/etc/sudoers.d/bluetooth-pan-tethering.sudoers': No such file or directory
Nokia-N900:~#
 
Reply


 
Forum Jump


All times are GMT. The time now is 11:39.