[Bug 570058] Re: file overwrite error on 8.04 -> 10.04 upgrade
** Changed in: openoffice.org (Ubuntu Lucid) Status: Triaged => Won't Fix ** Changed in: openoffice.org (Ubuntu Lucid) Milestone: ubuntu-10.04.4 => None -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/570058 Title: file overwrite error on 8.04 -> 10.04 upgrade To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/570058/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 570058] Re: file overwrite error on 8.04 -> 10.04 upgrade
** Changed in: openoffice.org (Ubuntu) Status: Triaged => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/570058 Title: file overwrite error on 8.04 -> 10.04 upgrade To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/570058/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 570058] Re: file overwrite error on 8.04 -> 10.04 upgrade
** Changed in: openoffice.org (Ubuntu Lucid) Milestone: ubuntu-10.04.3 => ubuntu-10.04.4 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/570058 Title: file overwrite error on 8.04 -> 10.04 upgrade To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openoffice.org/+bug/570058/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 570058] Re: file overwrite error on 8.04 -> 10.04 upgrade
** Tags added: hardy2lucid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/570058 Title: file overwrite error on 8.04 -> 10.04 upgrade -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 570058] Re: file overwrite error on 8.04 -> 10.04 upgrade
** Changed in: openoffice.org (Ubuntu Lucid) Milestone: ubuntu-10.04.2 => ubuntu-10.04.3 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/570058 Title: file overwrite error on 8.04 -> 10.04 upgrade -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 570058] Re: file overwrite error on 8.04 -> 10.04 upgrade
** Changed in: openoffice.org (Ubuntu) Assignee: Chris Cheney (ccheney) => (unassigned) ** Changed in: openoffice.org (Ubuntu Lucid) Assignee: Chris Cheney (ccheney) => (unassigned) -- file overwrite error on 8.04 -> 10.04 upgrade https://bugs.launchpad.net/bugs/570058 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 570058] Re: file overwrite error on 8.04 -> 10.04 upgrade
So, I'm upgrading Hardy to Lucid on the .1 images this morning, and I believe I've stepped into the bug. Installation is hung, the message is "Setting up openoffice.org-core (1.3.2.0-7ubuntu4.1 ..." I can ctrl-c out of the installation but what after that? How would I restart it and complete it? -- file overwrite error on 8.04 -> 10.04 upgrade https://bugs.launchpad.net/bugs/570058 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 570058] Re: file overwrite error on 8.04 -> 10.04 upgrade
Too late for .1 images now, but since this is an upgrade-only issue, it would still be good if this could be uploaded soon, so that upgraders from hardy are better off. ** Changed in: openoffice.org (Ubuntu) Milestone: ubuntu-10.04.1 => None ** Changed in: openoffice.org (Ubuntu Lucid) Status: New => Triaged ** Changed in: openoffice.org (Ubuntu Lucid) Milestone: None => ubuntu-10.04.2 ** Changed in: openoffice.org (Ubuntu Lucid) Assignee: (unassigned) => Chris Cheney (ccheney) -- file overwrite error on 8.04 -> 10.04 upgrade https://bugs.launchpad.net/bugs/570058 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 570058] Re: file overwrite error on 8.04 -> 10.04 upgrade
** Also affects: openoffice.org (Ubuntu Lucid) Importance: Undecided Status: New -- file overwrite error on 8.04 -> 10.04 upgrade https://bugs.launchpad.net/bugs/570058 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 570058] Re: file overwrite error on 8.04 -> 10.04 upgrade
** Changed in: openoffice.org (Ubuntu) Milestone: lucid-updates => ubuntu-10.04.1 -- file overwrite error on 8.04 -> 10.04 upgrade https://bugs.launchpad.net/bugs/570058 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 570058] Re: file overwrite error on 8.04 -> 10.04 upgrade
** Tags added: hardy lucid -- file overwrite error on 8.04 -> 10.04 upgrade https://bugs.launchpad.net/bugs/570058 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 570058] Re: file overwrite error on 8.04 -> 10.04 upgrade
Too late to make lucid release, will be added to an SRU. ** Changed in: openoffice.org (Ubuntu) Status: New => Triaged ** Changed in: openoffice.org (Ubuntu) Milestone: None => lucid-updates ** Changed in: openoffice.org (Ubuntu) Assignee: (unassigned) => Chris Cheney (ccheney) -- file overwrite error on 8.04 -> 10.04 upgrade https://bugs.launchpad.net/bugs/570058 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 570058] Re: file overwrite error on 8.04 -> 10.04 upgrade
So it looks like openoffice.org-dev only needs a "Replaces: openoffice .org-dev-doc (<< 1:2.4.2)" (or whenever the link changed). I quickly assembled a deb with that and that appears to fix the issue. -- file overwrite error on 8.04 -> 10.04 upgrade https://bugs.launchpad.net/bugs/570058 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 570058] Re: file overwrite error on 8.04 -> 10.04 upgrade
The dpkg debug log gives me: ... D10: tarobject ti->Name=`./usr/share/doc/openoffice.org-dev' Mode=777 owner=0.0 Type=50(l) ti->LinkName=`uno-libs3' namenode=`/usr/share/doc/openoffice.org-dev' flags=2 instead=`' D10: tarobject ... found in openoffice.org-dev-doc D40: does_replace new=openoffice.org-dev old=openoffice.org-dev-doc (1:2.4.1-1ubuntu2.2) D40: does_replace ... no D40: does_replace new=openoffice.org-dev-doc old=openoffice.org-dev (1:2.4.1-1ubuntu2.2) D40: does_replace ... no dpkg: error processing openoffice.org-dev_1%3a3.2.0-7ubuntu4_i386.deb (--unpack): trying to overwrite `/usr/share/doc/openoffice.org-dev', which is also in package openoffice.org-dev-doc ... -- file overwrite error on 8.04 -> 10.04 upgrade https://bugs.launchpad.net/bugs/570058 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 570058] Re: file overwrite error on 8.04 -> 10.04 upgrade
Hmm this actually looks buggy by design but may not be the root cause of the problem. It causes the postinst's to be generated that end up looking like this: exit 0 #! /bin/sh -e case "$1" in configure) docdir=/usr/share/doc/openoffice.org-emailmerge if [ -d $docdir ] && [ ! -h $docdir ]; then rm -rf $docdir ln -s openoffice.org-common $docdir fi esac Which obviously never get executed at least in most instances, and so no failures to attract attention, at least in cases where it is appended to a postinst that has an exit 0 at the end. -- file overwrite error on 8.04 -> 10.04 upgrade https://bugs.launchpad.net/bugs/570058 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 570058] Re: file overwrite error on 8.04 -> 10.04 upgrade
Adding this so it won't get forgotten... deppackage.postinst.in is added to each packages postinst that has a replaced doc dir. If I understand what was posted before this might be a policy violation. It has been part of OOo in Ubuntu since at least before Ubuntu 7.10 when I took over maintenance but hasn't caused a noticeable problem. deppackage.postinst.in --- #! /bin/sh -e case "$1" in configure) docdir=/usr/share/doc/@PKGNAME@ if [ -d $docdir ] && [ ! -h $docdir ]; then rm -rf $docdir ln -s @PKGTARGET@ $docdir fi esac #DEBHELPER# -- file overwrite error on 8.04 -> 10.04 upgrade https://bugs.launchpad.net/bugs/570058 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 570058] Re: file overwrite error on 8.04 -> 10.04 upgrade
In the test image I use its (for reference): # ls -dl /usr/share/doc/openoffice.org-dev lrwxrwxrwx 1 root root 19 Apr 26 18:27 /usr/share/doc/openoffice.org-dev -> openoffice.org-core -- file overwrite error on 8.04 -> 10.04 upgrade https://bugs.launchpad.net/bugs/570058 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 570058] Re: file overwrite error on 8.04 -> 10.04 upgrade
>From the debian policy manual: """A directory will never be replaced by a symbolic link to a directory or vice versa; instead, the existing state (symlink or not) will be left alone and dpkg will follow the symlink if there is one. """ (6.6.4) This leads to "interessting" results in this case on hardy: # apt-get install openoffice.org-dev Selecting previously deselected package openoffice.org-dev. (Reading database ... 13770 files and directories currently installed.) Unpacking openoffice.org-dev (from .../openoffice.org-dev_1%3a2.4.0-3ubuntu6_amd64.deb) ... Setting up openoffice.org-dev (1:2.4.0-3ubuntu6) ... # ls -l /usr/share/doc/openoffice.org-dev lrwxrwxrwx 1 root root 19 Apr 26 18:18 /usr/share/doc/openoffice.org-dev -> openoffice.org-core # apt-get install openoffice.org-dev-doc Selecting previously deselected package openoffice.org-dev-doc. (Reading database ... 18034 files and directories currently installed.) Unpacking openoffice.org-dev-doc (from .../openoffice.org-dev-doc_1%3a2.4.0-3ubuntu6_all.deb) ... Setting up openoffice.org-dev-doc (1:2.4.0-3ubuntu6) ... # ls -l /usr/share/doc/openoffice.org-dev lrwxrwxrwx 1 root root 19 Apr 26 18:18 /usr/share/doc/openoffice.org-dev -> openoffice.org-core # ls -ld /usr/share/doc/openoffice.org-core/docs drwxr-xr-x 6 root root 4096 Apr 26 18:22 docs But when installing -dev-docs first and then -dev: # apt-get install openoffice.org-dev-doc Selecting previously deselected package openoffice.org-dev-doc. (Reading database ... 13770 files and directories currently installed.) Unpacking openoffice.org-dev-doc (from .../openoffice.org-dev-doc_1%3a2.4.0-3ubuntu6_all.deb) ... Setting up openoffice.org-dev-doc (1:2.4.0-3ubuntu6) ... # ls -dl /usr/share/doc/openoffice.org-dev drwxr-xr-x 3 root root 4096 Apr 26 18:23 /usr/share/doc/openoffice.org-dev # apt-get install openoffice.org-dev Selecting previously deselected package openoffice.org-dev. (Reading database ... 23595 files and directories currently installed.) Unpacking openoffice.org-dev (from .../openoffice.org-dev_1%3a2.4.0-3ubuntu6_amd64.deb) ... Setting up openoffice.org-dev (1:2.4.0-3ubuntu6) ... # ls -dl /usr/share/doc/openoffice.org-dev lrwxrwxrwx 1 root root 19 Apr 26 18:27 /usr/share/doc/openoffice.org-dev -> openoffice.org-core # ls -dl /usr/share/doc/openoffice.org-core/docs ls: cannot access /usr/share/doc/openoffice.org-core/docs: No such file or directory which is rather puzzling. -- file overwrite error on 8.04 -> 10.04 upgrade https://bugs.launchpad.net/bugs/570058 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 570058] Re: file overwrite error on 8.04 -> 10.04 upgrade
Here is the file content data (old referes to the hardy version, new to the lucid version): The *old* openoffice.org-dev-doc_2.4.1-1ubuntu2.3_all.deb has: drwxr-xr-x root/root 0 2010-02-20 05:29 ./usr/share/doc/openoffice.org-dev/ The *old* openoffice.org-dev_2.4.1-1ubuntu2.3_amd64.deb has: lrwxrwxrwx root/root 0 2010-02-19 23:45 ./usr/share/doc/openoffice.org-dev -> openoffice.org-core The *new* openoffice.org-dev_1%3a3.2.0-7ubuntu4_amd64.deb has: lrwxrwxrwx root/root 0 2010-04-23 13:55 ./usr/share/doc/openoffice.org-dev -> uno-libs3 The *new* openoffice.org-dev-doc_1%3a3.2.0-7ubuntu4_all.deb has drwxr-xr-x root/root 0 2010-04-23 14:14 ./usr/share/doc/openoffice.org-dev/ -- file overwrite error on 8.04 -> 10.04 upgrade https://bugs.launchpad.net/bugs/570058 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 570058] Re: file overwrite error on 8.04 -> 10.04 upgrade
Er the above would happen assuming you don't use pre-depends which we have already established is a bad idea due to the fragility of apt when dealing with very complex package sets. So we are now looking into other ideas. -- file overwrite error on 8.04 -> 10.04 upgrade https://bugs.launchpad.net/bugs/570058 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 570058] Re: file overwrite error on 8.04 -> 10.04 upgrade
Talking with mvo directly on irc at the moment, I already determined that just doing the -dev non-symlink won't work correctly depending on ordering as -dev-doc files could end up in uno-libs3 doc dir by accident and then would appear missing to the user. -- file overwrite error on 8.04 -> 10.04 upgrade https://bugs.launchpad.net/bugs/570058 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 570058] Re: file overwrite error on 8.04 -> 10.04 upgrade
Changing it to uno-libs3 is too invasive but I can make -dev not be a symlink any longer which should also fix the issue I think. -- file overwrite error on 8.04 -> 10.04 upgrade https://bugs.launchpad.net/bugs/570058 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 570058] Re: file overwrite error on 8.04 -> 10.04 upgrade
Well installing both of them usually works so I think what must be the issue here is if openoffice.org-dev-doc gets unpacked before openoffice .org-doc then you run into a problem. I think I know how to fix this issue, change the openoffice.org-dev docdir in openoffice.org-dev-doc, to be uno-libs3 instead. -- file overwrite error on 8.04 -> 10.04 upgrade https://bugs.launchpad.net/bugs/570058 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 570058] Re: file overwrite error on 8.04 -> 10.04 upgrade
Hmm well I think this is the issue but the way that dir has been done is the same as it was all the way back until at least Hardy. Maybe it just used to work by accident? -- file overwrite error on 8.04 -> 10.04 upgrade https://bugs.launchpad.net/bugs/570058 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 570058] Re: file overwrite error on 8.04 -> 10.04 upgrade
Oh no, I found the bug I think: openoffice.org-dev-> /usr/share/doc/openoffice.org-dev (symlink) openoffice.org-dev-doc -> /usr/share/doc/openoffice.org-dev (real dir) This should be relatively easy to fix. -- file overwrite error on 8.04 -> 10.04 upgrade https://bugs.launchpad.net/bugs/570058 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 570058] Re: file overwrite error on 8.04 -> 10.04 upgrade
Should this be a openoffice.org-dev Replaces: openoffice.org-dev-doc ? -- file overwrite error on 8.04 -> 10.04 upgrade https://bugs.launchpad.net/bugs/570058 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs