<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="generator" content="Osso Notes">
    <title></title></head>
<body>
<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 – 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. &#32;
<br>Similarly with the preremove script. 
<br>Then I reinstalled the shortcutd package and the new install ran without problems.
<br><font color="#999999">-- </font>
<br><font color="#999999">Odesláno z&nbsp;mého telefonu Nokia&nbsp;N900 s linuxovým operačním systémem Maemo 5.</font>
<br><font color="#999999"></font>
<br><font color="#999999">Pavel Řezníček,</font>
<br><font color="#999999">vývojář multiplatformních binárních applikací a komponent</font>
<br><font color="#999999">a správce sítě Farního sboru Českobratrské církve evangelické Korandova sboru v Plzni</font>
<br><font color="#999999">Borová 18</font>
<br><font color="#999999">31200 Plzeň</font>
<br><font color="#999999">mobil: +420721456079</font>
<br><font color="#999999">stabil: +420373541714</font>
<br>
<br>----- Původní zprá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 Řezníček &lt;<a href="mailto:cigydd@gmail.com">cigydd@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ůvodní zprá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@gmail.com">paul.hartman+maemo@gmail.com</a>&gt; wrote:
<br>&gt; &gt; &gt; &gt; 
<br>&gt; &gt; &gt; &gt; 2011/3/9 Pavel Řezníček &lt;<a href="mailto:cigydd@gmail.com">cigydd@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@maemo.org">maemo-users@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>
</body>
</html>