[maemo-users] Emacs

From: Peter Flynn peter.flynn at mars.ucc.ie
Date: Sun Jun 21 22:34:49 EEST 2009
Having fixed the ncurses-base dependency, I tried to install with

> # mkdir /media/mmc1/emacs
> # dpkg --instdir=/media/mmc1/emacs -i emacs_22.1-1_armel.deb
> (Reading database ... 18457 files and directories currently installed.)
> Unpacking emacs (from emacs_22.1-1_armel.deb) ...
> dpkg: error processing emacs_22.1-1_armel.deb (--install):
>  error setting ownership of `./usr': Operation not permitted
> dpkg-deb: subprocess paste killed by signal (Broken pipe)
> Errors were encountered while processing:
>  emacs_22.1-1_armel.deb
> # ls -ld /media/mmc1/emacs/
> drwxrwxrwx  2 user root  32768 Jun 21 16:09 /media/mmc1/emacs/
> # 

Why should it have a problem with ownership when I'm installing as root?

Without knowing what the preprocess script is trying to do, can I assume
that the './usr' it refers to is in fact /media/mmc1/emacs/usr (ie that
it has changed directory to the specified destination and therefore
really means it when it gives a relative directory reference?) or is it
still in fact trying to install in /usr (which will of course fail: the
built-in memory doesn't have enough space for something as big as Emacs).

(And incidentally, is that 32768 because of the granularity of the FAT
format? Give that this card will never need to be used in Windows, can I
reformat it with mkfs and a lower block size?)

More information about the maemo-users mailing list