Hi Brandon,

Brandon wrote:

> Unpacking replacement gecko-mediaplayer ...
> dpkg: error processing 
> /var/cache/apt/archives/gecko-mediaplayer_0.9.9.2-1_i386.deb (--install):
>  unable to open '/usr/lib/mozilla/plugins/gecko-mediaplayer.so.dpkg-new': No 
> such file or directory

That helped.  My next questions are[1]:

 $ ls -ld /usr/lib/firefox/plugins
 $ dpkg -S /usr/lib/firefox/plugins

Thanks, and sorry for the earlier nonsense.
Jonathan

[1] IT = "/usr/lib/mozilla/plugins/gecko-mediaplayer.so" for brevity.

| lstat64(IT, {st_mode=S_IFLNK|0777, st_size=42, ...}) = 0
[...]
| readlink(IT, "../../mozilla/plugins/gecko-mediaplayer.so", 86) = 42
| symlink("../../mozilla/plugins/gecko-mediaplayer.so", IT ".dpkg-tmp") = 0

gecko-mediaplayer.so is a symlink to itself.  Odd, but dpkg should be
able to replace a symlink with a file without trouble.

| D000010: tarobject ti->Name=`.IT' Mode=644 owner=0.0 Type=48(-) 
ti->LinkName=`' namenode=`IT' flags=2 instead=`<none>'
| D000100: setupvnamevbs main=`IT' tmp=`IT.dpkg-tmp' new=`IT.dpkg-new'
| D000100: tarobject nonexistent

Nonexistent?  But the lstat succeeded!  Hmm, maybe the file was
removed between dpkg runs.  Perhaps two supposedly different files are
the same.  Indeed, from the strace, /usr/lib/firefox/plugins is a
symlink.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to