maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   unable to upgrade via apt-get or fapman or ham (https://talk.maemo.org/showthread.php?t=76043)

kyllerbuzcut 2011-08-24 22:52

unable to upgrade via apt-get or fapman or ham
 
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.

kyllerbuzcut 2011-08-24 22:55

Re: unable to upgrade via apt-get or fapman or ham
 
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.

Rob1n 2011-08-25 08:40

Re: unable to upgrade via apt-get or fapman or ham
 
Can you give more (preferably all) of the output? The one line isn't much use without any context.

kyllerbuzcut 2011-08-25 11:23

Re: unable to upgrade via apt-get or fapman or ham
 
it's rather large if I put EVERYTHING but I will try to only update filebox and paste that in. Thanks for looking in:)

kyllerbuzcut 2011-08-25 11:25

Re: unable to upgrade via apt-get or fapman or ham
 
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 #

kyllerbuzcut 2011-08-25 11:32

Re: unable to upgrade via apt-get or fapman or ham
 
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:)

Rob1n 2011-08-25 12:47

Re: unable to upgrade via apt-get or fapman or ham
 
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

kyllerbuzcut 2011-08-25 13:39

Re: unable to upgrade via apt-get or fapman or ham
 
/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.

kyllerbuzcut 2011-08-25 13:42

Re: unable to upgrade via apt-get or fapman or ham
 
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 #

kyllerbuzcut 2011-08-25 13:44

Re: unable to upgrade via apt-get or fapman or ham
 
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:~#


All times are GMT. The time now is 23:16.

vBulletin® Version 3.8.8