Re: Uninstalling Shortcutd
Pavel Řezníček <cigydd <at> gmail.com>
2011-03-10 17:59:41 GMT
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 <at> 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+maemo <at> gmail.com> wrote:
> > > >
> > > > 2011/3/9 Pavel Řezníček <cigydd <at> 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 <at> maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-users
<div>
<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>--
<br>Odesláno z mého telefonu Nokia N900 s linuxovým operačním systémem Maemo 5.
<br>
<br>Pavel Řezníček,
<br>vývojář multiplatformních binárních applikací a komponent
<br>a správce sítě Farního sboru Českobratrské církve evangelické Korandova sboru v Plzni
<br>Borová 18
<br>31200 Plzeň
<br>mobil: +420721456079
<br>stabil: +420373541714
<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 <at> gmail.com">cigydd <at> 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 <at> gmail.com">paul.hartman+maemo <at> gmail.com</a>> wrote:
<br>> > > >
<br>> > > > 2011/3/9 Pavel Řezníček <<a href="mailto:cigydd <at> gmail.com">cigydd <at> 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 <at> maemo.org">maemo-users <at> 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>
</div>