cigydd at gmail
Mar 10, 2011, 9:59 AM
Post #6 of 6
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.
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
----- 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>:
> > 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> wrote:
> > > >
> > > > 2011/3/9 Pavel Řezníček <cigydd [at] gmail>:
> > > > > 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