Directory not getting installed right (or am I just being really stupid?)
I'm really quite confused by this one:
When installing an architecture:all package the
mozilla-firefox/extensions/{FFA36170-80B1-4535-B0E3-A4569E497DD0}/
directory appears to exist exactly how I expected, and on i386 the
mozilla-thunderbird/extensions/{FFA36170-80B1-4535-B0E3-A4569E497DD0}/
directory exists as expected too. On both i386 and amd64 dpkg -L shows
the directories as expected, but the
thunderbird/extensions/{FFA36170-80B1-4535-B0E3-A4569E497DD0} does not
exist at all on my amd64 machine. In the diff below the machine with the
extra lines is the i386 one.
I have CC'd this email to debian-amd64 because I suspect (but am not
100% sure) that it could for some reason (I'm not familiar with dpkg
internals) be a problem which only manifests itself on amd64. (It works
exactly as expected on i386, and I have no other architectures to test
it on).
I'm not very good at articulating my thoughts, so I think the following
3 commands illustrates what is puzzling me better than any explination I
can write:
nostradamus# dpkg -i
/home/woodalan/work/debian/mozilla-mozgest_0.3.99+20040902-1_all.deb
(Reading database ... 62610 files and directories currently installed.)
Preparing to replace mozilla-mozgest 0.3.99+20040902-1 (using
.../mozilla-mozgest_0.3.99+20040902-1_all.deb) ...
Unpacking replacement mozilla-mozgest ...
Setting up mozilla-mozgest (0.3.99+20040902-1) ...
Updating mozilla chrome registry...done.
Updating mozilla-firefox chrome registry...done.
Updating mozilla-thunderbird chrome registry...done.
nostradamus# dpkg -L
mozilla-mozgest
/.
/var
/var/lib
/var/lib/mozilla
/var/lib/mozilla/chrome.d
/var/lib/mozilla-firefox
/var/lib/mozilla-firefox/extensions.d
/var/lib/mozilla-firefox/extensions.d/50-mozgest
/var/lib/mozilla-firefox/chrome.d
/var/lib/mozilla-thunderbird
/var/lib/mozilla-thunderbird/extensions.d
/var/lib/mozilla-thunderbird/extensions.d/50-mozgest
/var/lib/mozilla-thunderbird/chrome.d
/var/lib/mozilla-snapshot
/var/lib/mozilla-snapshot/chrome.d
/usr
/usr/share
/usr/share/mozilla-extensions
/usr/share/mozilla-extensions/mozgest
/usr/share/mozilla-extensions/mozgest/mozgest.jar
/usr/share/mozilla-extensions/mozgest/50-mozgest
/usr/share/doc
/usr/share/doc/mozilla-mozgest
/usr/share/doc/mozilla-mozgest/MPL-1.1.txt
/usr/share/doc/mozilla-mozgest/faqs.html
/usr/share/doc/mozilla-mozgest/README.Debian
/usr/share/doc/mozilla-mozgest/copyright
/usr/share/doc/mozilla-mozgest/changelog.Debian.gz
/usr/lib
/usr/lib/mozilla-firefox
/usr/lib/mozilla-firefox/extensions
/usr/lib/mozilla-firefox/extensions/{FFA36170-80B1-4535-B0E3-A4569E497DD0}
/usr/lib/mozilla-firefox/extensions/{FFA36170-80B1-4535-B0E3-A4569E497DD0}/install.rdf
/usr/lib/mozilla-firefox/chrome
/usr/lib/mozilla-thunderbird
/usr/lib/mozilla-thunderbird/extensions
/usr/lib/mozilla-thunderbird/extensions/{FFA36170-80B1-4535-B0E3-A4569E497DD0}
/usr/lib/mozilla-thunderbird/extensions/{FFA36170-80B1-4535-B0E3-A4569E497DD0}/install.rdf
/usr/lib/mozilla-thunderbird/chrome
/usr/lib/mozilla-snapshot
/usr/lib/mozilla-snapshot/chrome
/usr/lib/mozilla
/usr/lib/mozilla/chrome
/var/lib/mozilla/chrome.d/50-mozgest
/var/lib/mozilla-firefox/chrome.d/50-mozgest
/var/lib/mozilla-thunderbird/chrome.d/50-mozgest
/var/lib/mozilla-snapshot/chrome.d/50-mozgest
/usr/lib/mozilla-firefox/chrome/mozgest.jar
/usr/lib/mozilla-thunderbird/chrome/mozgest.jar
/usr/lib/mozilla-snapshot/chrome/mozgest.jar
/usr/lib/mozilla/chrome/mozgest.jar
nostradamus# cd
/usr/lib/mozilla-thunderbird/extensions/{FFA36170-80B1-4535-B0E3-A4569E497DD0}
cd: no such file or directory:
/usr/lib/mozilla-thunderbird/extensions/{FFA36170-80B1-4535-B0E3-A4569E497DD0}
nostradamus#
tried dpkg-deb -x on it to see if it really was there or what:
nostradamus# dpkg-deb -x
/home/woodalan/work/debian/mozilla-mozgest_0.3.99+20040902-1_all.deb
testinst
nostradamus# cd
testinst/usr/lib/mozilla-thunderbird/extensions/\{FFA36170-80B1-4535-B0E3-A4569E497DD0\}
nostradamus# ls
install.rdf
nostradamus#
I tried this package on another machine, removed any previous versions
first and then ran dpkg with -D10 so I could see what it was doing to
the files, and then ran the output of each through diff, and got quite a
few differences (asside from the expected ones like number of files
installed)
3,4c3,4
< (Reading database ... 62587 files and directories currently installed.)
< Unpacking mozilla-mozgest (from
.../mozilla-mozgest_0.3.99+20040902-1_all.deb) ...
---
> (Reading database ... 137754 files and directories currently installed.)
> Unpacking mozilla-mozgest (from
mozilla-mozgest_0.3.99+20040902-1_all.deb) ...
157a158
> D000010: process_archive looking for overwriting
`/var/lib/mozilla-firefox/extensions.d'
158a160,161
> D000010: process_archive looking for overwriting
`/var/lib/mozilla-thunderbird'
> D000010: process_archive looking for overwriting
`/var/lib/mozilla-thunderbird/extensions.d'
159a163
> D000010: process_archive looking for overwriting
`/var/lib/mozilla-thunderbird/chrome.d'
168a173,174
> D000010: process_archive looking for overwriting
`/usr/lib/mozilla-firefox/extensions'
> D000010: process_archive looking for overwriting
`/usr/lib/mozilla-firefox/extensions/{FFA36170-80B1-4535-B0E3-A4569E497DD0}'
169a176,177
> D000010: process_archive looking for overwriting
`/usr/lib/mozilla-thunderbird'
> D000010: process_archive looking for overwriting
`/usr/lib/mozilla-thunderbird/extensions'
171a180
> D000010: process_archive looking for overwriting
`/usr/lib/mozilla-thunderbird/chrome'
Thanks, any advice/suggestions/comments will be greatly appriciated.
Alan
Reply to: