[maemo-users] Emacs

From: Eero Tamminen eero.tamminen at nokia.com
Date: Tue Jul 21 10:29:15 EEST 2009
Hi,

ext Peter Flynn wrote:
> Peter Flynn wrote:
>> 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?
> 
> Turns out that OS2008 allows the cards to be mounted as user.
> umounted mmc1 and remounted as root, and it appeared to start 
> installing, but now it's gagging on
> 
>> (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 creating hard link `./usr/bin/emacs-22.1': Operation not permitted

VFAT is lacking many features of real file system. VFAT is used
on MMC/SD cards by default for PC i.e. Windows/OSX/etc compatibility
reasons.

You need to use some other file system (it's a bit complicated,
is there a Wiki page on using other file systems on the MMC/SD
cards?).


> and it doesn't appear to have written any files (maybe it wipes all 
> traces if it aborts?)

Dpkg must remove aborted installations, otherwise you would soon
run out of disk space on rootfs even for root (and as a result device
would be in reboot loop if you'd reboot it at that state).


	- Eero
More information about the maemo-users mailing list