Paul Hartman | 9 Mar 2011 17:51
Picon

Re: Uninstalling Shortcutd

2011/3/9 Pavel Řezníček <cigydd <at> gmail.com>:
> Hello everybody,
>
> I'm a new user of Nokia N900 and Maemo 5.
> I experience troubles upgrading or uninstalling the Shortcutd package. Could
> someone kindly help me to get rid of this bug?
> For a log file with the apt-get program output, see the attachment.

Hi Pavel,

Is your /tmp full? I think it's only 1 megabyte by default.
_______________________________________________
maemo-users mailing list
maemo-users <at> maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users
Picon

Re: Uninstalling Shortcutd

mount -o remount,size=5M /tmp
f(t)

On Wed, Mar 9, 2011 at 1:51 PM, Paul Hartman <paul.hartman+maemo <at> gmail.com> wrote:
>
> 2011/3/9 Pavel Řezníček <cigydd <at> gmail.com>:
> > Hello everybody,
> >
> > I'm a new user of Nokia N900 and Maemo 5.
> > I experience troubles upgrading or uninstalling the Shortcutd package. Could
> > someone kindly help me to get rid of this bug?
> > For a log file with the apt-get program output, see the attachment.
>
> Hi Pavel,
>
> Is your /tmp full? I think it's only 1 megabyte by default.
> _______________________________________________
> maemo-users mailing list
> maemo-users <at> maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-users

<div><p>mount&nbsp;-o remount,size=5M /tmp<br>f(t)<br><br>On Wed, Mar 9, 2011 at 1:51 PM, Paul Hartman &lt;<a href="mailto:paul.hartman%2Bmaemo <at> gmail.com">paul.hartman+maemo <at> gmail.com</a>&gt; wrote:<br>&gt;<br>&gt; 2011/3/9 Pavel &#344;ezn&iacute;&#269;ek &lt;<a href="mailto:cigydd <at> gmail.com">cigydd <at> gmail.com</a>&gt;:<br>
&gt; &gt; Hello everybody,<br>&gt; &gt;<br>&gt; &gt; I'm a new user of Nokia N900 and Maemo 5.<br>&gt; &gt; I experience troubles upgrading or uninstalling the Shortcutd package. Could<br>&gt; &gt; someone kindly help me to get rid of this bug?<br>
&gt; &gt; For a log file with the apt-get program output, see the attachment.<br>&gt;<br>&gt; Hi Pavel,<br>&gt;<br>&gt; Is your /tmp full? I think it's only 1 megabyte by default.<br>&gt; _______________________________________________<br>
&gt; maemo-users mailing list<br>&gt; <a href="mailto:maemo-users <at> maemo.org">maemo-users <at> maemo.org</a><br>&gt; <a href="https://lists.maemo.org/mailman/listinfo/maemo-users">https://lists.maemo.org/mailman/listinfo/maemo-users</a><br><br></p></div>
Pavel Řezníček | 10 Mar 2011 02:39
Picon

Re: Uninstalling Shortcutd

Thank you both, Francisco and Paul,

I've tried and still no success. See for yourself in the attachment.

Pavel
--
Odesláno z mého telefonu Nokia N900 s linuxovým operačním systémem Maemo 5.

Pavel Řezníček,
vývojář multiplatformních binárních applikací a komponent
a správce sítě Farního sboru Českobratrské církve evangelické Korandova sboru v Plzni
Borová 18
31200 Plzeň
mobil: +420721456079
stabil: +420373541714

----- Původní zpráva -----
> mount -o remount,size=5M /tmp
> f(t)
>
> On Wed, Mar 9, 2011 at 1:51 PM, Paul Hartman
> <paul.hartman+maemo <at> gmail.com> wrote:
> >
> > 2011/3/9 Pavel Řezníček <cigydd <at> gmail.com>:
> > > Hello everybody,
> > >
> > > I'm a new user of Nokia N900 and Maemo 5.
> > > I experience troubles upgrading or uninstalling the Shortcutd
> > > package.
> Could
> > > someone kindly help me to get rid of this bug?
> > > For a log file with the apt-get program output, see the attachment.
> >
> > Hi Pavel,
> >
> > Is your /tmp full? I think it's only 1 megabyte by default.
> > _______________________________________________
> > maemo-users mailing list
> > maemo-users <at> maemo.org
> > https://lists.maemo.org/mailman/listinfo/maemo-users

Attachment (apt-get.log): text/x-log, 1274 bytes
<div>
<p>Thank you both, Francisco and Paul,
<br><br>I've tried and still no success. See for yourself in the attachment.
<br><br>Pavel
<br>-- 
<br>Odesl&aacute;no z&nbsp;m&eacute;ho telefonu Nokia&nbsp;N900 s linuxov&yacute;m opera&#269;n&iacute;m syst&eacute;mem Maemo 5.
<br>
<br>Pavel &#344;ezn&iacute;&#269;ek,
<br>v&yacute;voj&aacute;&#345; multiplatformn&iacute;ch bin&aacute;rn&iacute;ch applikac&iacute; a komponent
<br>a spr&aacute;vce s&iacute;t&#283; Farn&iacute;ho sboru &#268;eskobratrsk&eacute; c&iacute;rkve evangelick&eacute; Korandova sboru v Plzni
<br>Borov&aacute; 18
<br>31200 Plze&#328;
<br>mobil: +420721456079
<br>stabil: +420373541714
<br><br>----- P&#367;vodn&iacute; zpr&aacute;va -----
<br>&gt; mount -o remount,size=5M /tmp
<br>&gt; f(t)
<br>&gt; 
<br>&gt; On Wed, Mar 9, 2011 at 1:51 PM, Paul Hartman
<br>&gt; &lt;<a href="mailto:paul.hartman+maemo <at> gmail.com">paul.hartman+maemo <at> gmail.com</a>&gt; wrote:
<br>&gt; &gt; 
<br>&gt; &gt; 2011/3/9 Pavel &#344;ezn&iacute;&#269;ek &lt;<a href="mailto:cigydd <at> gmail.com">cigydd <at> gmail.com</a>&gt;:
<br>&gt; &gt; &gt; Hello everybody,
<br>&gt; &gt; &gt; 
<br>&gt; &gt; &gt; I'm a new user of Nokia N900 and Maemo 5.
<br>&gt; &gt; &gt; I experience troubles upgrading or uninstalling the Shortcutd
<br>&gt; &gt; &gt; package.
<br>&gt; Could
<br>&gt; &gt; &gt; someone kindly help me to get rid of this bug?
<br>&gt; &gt; &gt; For a log file with the apt-get program output, see the attachment.
<br>&gt; &gt; 
<br>&gt; &gt; Hi Pavel,
<br>&gt; &gt; 
<br>&gt; &gt; Is your /tmp full? I think it's only 1 megabyte by default.
<br>&gt; &gt; _______________________________________________
<br>&gt; &gt; maemo-users mailing list
<br>&gt; &gt; <a href="mailto:maemo-users <at> maemo.org">maemo-users <at> maemo.org</a>
<br>&gt; &gt; <a href="https://lists.maemo.org/mailman/listinfo/maemo-users">https://lists.maemo.org/mailman/listinfo/maemo-users</a>
<br><br></p>
</div>
Paul Hartman | 10 Mar 2011 16:18
Picon

Re: Uninstalling Shortcutd

Look at the scripts in /var/lib/dpkg/info/ such as shortcutd.postinst
and other shortcutd.* files, maybe they will give a clue about what it
is trying or what's going on. Or maybe you can even edit them. (I've
never tried it)

2011/3/9 Pavel Řezníček <cigydd <at> gmail.com>:
> Thank you both, Francisco and Paul,
>
> I've tried and still no success. See for yourself in the attachment.
>
> ----- Původní zpráva -----
>> mount -o remount,size=5M /tmp
>> f(t)
>>
>> On Wed, Mar 9, 2011 at 1:51 PM, Paul Hartman
>> <paul.hartman+maemo <at> gmail.com> wrote:
>> >
>> > 2011/3/9 Pavel Řezníček <cigydd <at> gmail.com>:
>> > > Hello everybody,
>> > >
>> > > I'm a new user of Nokia N900 and Maemo 5.
>> > > I experience troubles upgrading or uninstalling the Shortcutd
>> > > package.
>> Could
>> > > someone kindly help me to get rid of this bug?
>> > > For a log file with the apt-get program output, see the attachment.
>> >
>> > Hi Pavel,
>> >
>> > Is your /tmp full? I think it's only 1 megabyte by default.
_______________________________________________
maemo-users mailing list
maemo-users <at> maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-users
Pavel Řezníček | 10 Mar 2011 18:59
Picon

Re: Uninstalling Shortcutd

Thank you all very much.
I edited the postinstall and preremove scripts and everything has started to work.
I tried to enclose the cp and rm commands in an if-condition testing whether the file /tmp/shortcutd exists – in the postinstall script. There was still an error by running that condition so I tried to add an 'exit 0' command before it and the upgrade script silently finished with success. I then removed the exit statement but the erroneous condition didn't execute any more.
Similarly with the preremove script.
Then I reinstalled the shortcutd package and the new install ran without problems.
--
Odesláno z mého telefonu Nokia N900 s linuxovým operačním systémem Maemo 5.

Pavel Řezníček,
vývojář multiplatformních binárních applikací a komponent
a správce sítě Farního sboru Českobratrské církve evangelické Korandova sboru v Plzni
Borová 18
31200 Plzeň
mobil: +420721456079
stabil: +420373541714

----- Původní zpráva -----
> Look at the scripts in /var/lib/dpkg/info/ such as shortcutd.postinst
> and other shortcutd.* files, maybe they will give a clue about what it
> is trying or what's going on. Or maybe you can even edit them. (I've
> never tried it)
>
> 2011/3/9 Pavel Řezníček <cigydd <at> gmail.com>:
> > Thank you both, Francisco and Paul,
> >
> > I've tried and still no success. See for yourself in the attachment.
> >
> > ----- Původní zpráva -----
> > > mount -o remount,size=5M /tmp
> > > f(t)
> > >
> > > On Wed, Mar 9, 2011 at 1:51 PM, Paul Hartman
> > > <paul.hartman+maemo <at> gmail.com> wrote:
> > > >
> > > > 2011/3/9 Pavel Řezníček <cigydd <at> gmail.com>:
> > > > > Hello everybody,
> > > > >
> > > > > I'm a new user of Nokia N900 and Maemo 5.
> > > > > I experience troubles upgrading or uninstalling the Shortcutd
> > > > > package.
> > > Could
> > > > > someone kindly help me to get rid of this bug?
> > > > > For a log file with the apt-get program output, see the
> > > > > attachment.
> > > >
> > > > Hi Pavel,
> > > >
> > > > Is your /tmp full? I think it's only 1 megabyte by default.
> _______________________________________________
> maemo-users mailing list
> maemo-users <at> maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-users

<div>
<p>Thank you all very much.
<br>I edited the postinstall and preremove scripts and everything has started to work.
<br>I tried to enclose the cp and rm commands in an if-condition testing whether the file /tmp/shortcutd exists &ndash; in the postinstall script. There was still an error by running that condition so I tried to add an 'exit 0' command before it and the upgrade script silently finished with success. I then removed the exit statement but the erroneous condition didn't execute any more.  
<br>Similarly with the preremove script. 
<br>Then I reinstalled the shortcutd package and the new install ran without problems.
<br>-- 
<br>Odesl&aacute;no z&nbsp;m&eacute;ho telefonu Nokia&nbsp;N900 s linuxov&yacute;m opera&#269;n&iacute;m syst&eacute;mem Maemo 5.
<br>
<br>Pavel &#344;ezn&iacute;&#269;ek,
<br>v&yacute;voj&aacute;&#345; multiplatformn&iacute;ch bin&aacute;rn&iacute;ch applikac&iacute; a komponent
<br>a spr&aacute;vce s&iacute;t&#283; Farn&iacute;ho sboru &#268;eskobratrsk&eacute; c&iacute;rkve evangelick&eacute; Korandova sboru v Plzni
<br>Borov&aacute; 18
<br>31200 Plze&#328;
<br>mobil: +420721456079
<br>stabil: +420373541714
<br><br>----- P&#367;vodn&iacute; zpr&aacute;va -----
<br>&gt; Look at the scripts in /var/lib/dpkg/info/ such as shortcutd.postinst
<br>&gt; and other shortcutd.* files, maybe they will give a clue about what it
<br>&gt; is trying or what's going on. Or maybe you can even edit them. (I've
<br>&gt; never tried it)
<br>&gt; 
<br>&gt; 2011/3/9 Pavel &#344;ezn&iacute;&#269;ek &lt;<a href="mailto:cigydd <at> gmail.com">cigydd <at> gmail.com</a>&gt;:
<br>&gt; &gt; Thank you both, Francisco and Paul,
<br>&gt; &gt; 
<br>&gt; &gt; I've tried and still no success. See for yourself in the attachment.
<br>&gt; &gt; 
<br>&gt; &gt; ----- P&#367;vodn&iacute; zpr&aacute;va -----
<br>&gt; &gt; &gt; mount -o remount,size=5M /tmp
<br>&gt; &gt; &gt; f(t)
<br>&gt; &gt; &gt; 
<br>&gt; &gt; &gt; On Wed, Mar 9, 2011 at 1:51 PM, Paul Hartman
<br>&gt; &gt; &gt; &lt;<a href="mailto:paul.hartman+maemo <at> gmail.com">paul.hartman+maemo <at> gmail.com</a>&gt; wrote:
<br>&gt; &gt; &gt; &gt; 
<br>&gt; &gt; &gt; &gt; 2011/3/9 Pavel &#344;ezn&iacute;&#269;ek &lt;<a href="mailto:cigydd <at> gmail.com">cigydd <at> gmail.com</a>&gt;:
<br>&gt; &gt; &gt; &gt; &gt; Hello everybody,
<br>&gt; &gt; &gt; &gt; &gt; 
<br>&gt; &gt; &gt; &gt; &gt; I'm a new user of Nokia N900 and Maemo 5.
<br>&gt; &gt; &gt; &gt; &gt; I experience troubles upgrading or uninstalling the Shortcutd
<br>&gt; &gt; &gt; &gt; &gt; package.
<br>&gt; &gt; &gt; Could
<br>&gt; &gt; &gt; &gt; &gt; someone kindly help me to get rid of this bug?
<br>&gt; &gt; &gt; &gt; &gt; For a log file with the apt-get program output, see the
<br>&gt; &gt; &gt; &gt; &gt; attachment.
<br>&gt; &gt; &gt; &gt; 
<br>&gt; &gt; &gt; &gt; Hi Pavel,
<br>&gt; &gt; &gt; &gt; 
<br>&gt; &gt; &gt; &gt; Is your /tmp full? I think it's only 1 megabyte by default.
<br>&gt; _______________________________________________
<br>&gt; maemo-users mailing list
<br>&gt; <a href="mailto:maemo-users <at> maemo.org">maemo-users <at> maemo.org</a>
<br>&gt; <a href="https://lists.maemo.org/mailman/listinfo/maemo-users">https://lists.maemo.org/mailman/listinfo/maemo-users</a>
<br><br></p>
</div>

Gmane