|
2010-02-13
, 15:19
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#22
|
Yes, I can confirm it too
That's due to a wrong sed command in the prerm script.
You need to manually fix it before upgrading or uninstalling wizard-mounter.
Follow the howto on prerm on this page :
https://garage.maemo.org/frs/?group_id=444
In brief:
1. download the new prerm script on the link upper
2. copy the new prerm script (wizard-mounter.prerm) to /var/lib/dpkg/info/wizard-mounter.prerm
3. You're done.
I'm sorry for the troubles
The Following 6 Users Say Thank You to qwerty12 For This Useful Post: | ||
|
2010-02-13
, 16:22
|
Posts: 318 |
Thanked: 735 times |
Joined on Oct 2009
|
#23
|
Why are you using sed to do this? Maemo provides update-sudoers for a reason.
Put the content that you'd like to have in sudoers into a file called "wizard-mounter.sudoers" and install that file to /etc/sudoers.d/ as part of your package. In the postinst and postrm, just run "update-sudoers".
If your wizard-mounter.sudoers file is dodgy, update-sudoers doesn't update /etc/sudoers as opposed to just ruining it. Which is what is happening currently with your sed method. Simple as that.
|
2010-02-13
, 16:51
|
Posts: 273 |
Thanked: 113 times |
Joined on Feb 2008
@ Germany
|
#24
|
The Following User Says Thank You to Corwin For This Useful Post: | ||
|
2010-02-13
, 17:15
|
Posts: 318 |
Thanked: 735 times |
Joined on Oct 2009
|
#25
|
Can someone clarify what needs to be fixed in the sudoers file?
I've changed line 7 to allow umount of /media/mmc1, and deleted the extra /media/mmc2 from line 140. This has got rid of the error but I'm not sure whether that's cleared up everything properly or not, and I'd rather not reflash.
|
2010-02-13
, 22:26
|
Posts: 1,283 |
Thanked: 370 times |
Joined on Sep 2009
@ South Florida
|
#26
|
|
2010-02-13
, 22:45
|
Posts: 318 |
Thanked: 735 times |
Joined on Oct 2009
|
#27
|
I just updated the parem file. There is a new update available today, is it safe to update now? Sorry for the Post, just trying to avoid brick mode
p.s. the Permissions on the old parem file was 755, but your update was 744. I reset the new one to 755.
Why were the permissions different? Does it matter?
|
2010-02-14
, 07:27
|
Posts: 101 |
Thanked: 18 times |
Joined on Dec 2009
@ Sweden
|
#28
|
|
2010-02-14
, 08:26
|
|
Posts: 2,154 |
Thanked: 2,186 times |
Joined on Dec 2009
@ Hellsinki, Finland
|
#29
|
ouch
I havnt followed the thread.
Got an update program notification for this app. and installed it.
no I cant se any installed programs and I cannot gainroot is xterm.
well well. **** happens
is flashing my device the only way out?
|
2010-02-14
, 09:08
|
Posts: 101 |
Thanked: 18 times |
Joined on Dec 2009
@ Sweden
|
#30
|
I've changed line 7 to allow umount of /media/mmc1, and deleted the extra /media/mmc2 from line 140. This has got rid of the error but I'm not sure whether that's cleared up everything properly or not, and I'd rather not reflash.