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@xxxxxxxxx>:
> > 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@xxxxxxxxx> wrote:
> > > >
> > > > 2011/3/9 Pavel ÅeznÃÄek <cigydd@xxxxxxxxx>:
> > > > > 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@xxxxxxxxx
> https://lists.maemo.org/mailman/listinfo/maemo-users
_______________________________________________ maemo-users mailing list maemo-users@xxxxxxxxx https://lists.maemo.org/mailman/listinfo/maemo-users