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