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 <cig...@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+ma...@gmail.com> wrote: > > > > > > > > 2011/3/9 Pavel Řezníček <cig...@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@maemo.org > https://lists.maemo.org/mailman/listinfo/maemo-users
_______________________________________________ maemo-users mailing list maemo-users@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-users