Bug#771749: cyrus-{common, imapd}-2.4: unhandled symlink to directory conversion: /usr/share/doc/PACKAGE

Ondřej Surý ondrej at sury.org
Tue Dec 2 16:26:57 UTC 2014


Hi,

On Tue, Dec 2, 2014, at 16:17, Andreas Beckmann wrote:
> On 2014-12-02 16:05, Ondřej Surý wrote:
> > I am out of clues how to fix that in a general manner. I guess I just
> > can't support upgrades from testing versions and from wheezy versions at
> > the same time.
> 
> That should not be impossible ...
> 
> At least for one of the packages (IIRC -imapd-2.4) I had checked and
> there were no dpkg-maint-script-helper calls ... so that wasn't an
> erroneus use. There must have been some added to other packages for the
> missing copyright files ...

Yeah, I noticed that too. That's probably something that got created by
testing jessie->sid migration, and I forgot to test wheezy->sid at the
same time.

> > I will just aim to have the upgrades from wheezy right and fix the most
> > of jessie-to-jessie upgrades. And I just regret of ever using --link-doc
> > more and more.
> 
> When did you start and stop using it? And on which packages?

There was so many changes back and forth that I have no idea now :).

I sort of solved it by listing all cases I was able to think of into
*.maintscript files :).

> > Would you be able to test upgrades from wheezy to unstable with -10
> > quickly?
> 
> If you put the .debs (amd64) together with a Packages file somewhere I
> can start my piuparts engine on it :-)
> (I can test upgrades from any release in the archive to any other
> release but using the new packages instead. Release includes testing,
> sid, ...)

I found another problem. When you use absolute path for old_path it
doesn't work in case of multiple symlink indirects, e.g.
cyrus-imapd->cyrus-imapd-2.4->cyrus-common-2.4.

So I have changed this into relative path, so it triggers correctly.

wheezy->sid currently ends with:
Setting up cyrus-imapd (2.4.17+caldav~beta10-10) ...
Setting up cyrus-pop3d (2.4.17+caldav~beta10-10) ...
Setting up cyrus-replication (2.4.17+caldav~beta10-10) ...
Setting up cyrus-replication-2.4 (2.4.17+caldav~beta10-10) ...
Setting up cyrus-imapd-2.4 (2.4.17+caldav~beta10-10) ...
Setting up cyrus-pop3d-2.4 (2.4.17+caldav~beta10-10) ...
Setting up cyrus-murder (2.4.17+caldav~beta10-10) ...
Setting up cyrus-murder-2.4 (2.4.17+caldav~beta10-10) ...
Setting up libcyrus-imap-perl (2.4.17+caldav~beta10-10) ...
Setting up libcyrus-imap-perl24 (2.4.17+caldav~beta10-10) ...
Setting up cyrus-dev (2.4.17+caldav~beta10-10) ...
Setting up cyrus-dev-2.4 (2.4.17+caldav~beta10-10) ...
Setting up cyrus-nntpd (2.4.17+caldav~beta10-10) ...
Setting up cyrus-nntpd-2.4 (2.4.17+caldav~beta10-10) ...
Setting up libfile-fcntllock-perl (0.22-1+b1) ...
Setting up cyrus-admin (2.4.17+caldav~beta10-10) ...
Setting up cyrus-admin-2.4 (2.4.17+caldav~beta10-10) ...
Setting up cyrus-caldav (2.4.17+caldav~beta10-10) ...
Setting up cyrus-caldav-2.4 (2.4.17+caldav~beta10-10) ...
root at lettie:/tmp# ls -ld /usr/share/doc/*cyrus*
drwxr-xr-x 2 root root 4096 Dec  2 16:06 /usr/share/doc/cyrus-admin
drwxr-xr-x 2 root root 4096 Dec  2 16:06 /usr/share/doc/cyrus-admin-2.4
drwxr-xr-x 2 root root 4096 Dec  2 16:06 /usr/share/doc/cyrus-caldav
drwxr-xr-x 2 root root 4096 Dec  2 16:06 /usr/share/doc/cyrus-caldav-2.4
drwxr-xr-x 2 root root 4096 Dec  2 16:06 /usr/share/doc/cyrus-clients
drwxr-xr-x 2 root root 4096 Dec  2 16:06
/usr/share/doc/cyrus-clients-2.4
drwxr-xr-x 2 root root 4096 Dec  2 16:06 /usr/share/doc/cyrus-common
drwxr-xr-x 2 root root 4096 Dec  2 16:05 /usr/share/doc/cyrus-common-2.4
drwxr-xr-x 2 root root 4096 Dec  2 16:05 /usr/share/doc/cyrus-dev
drwxr-xr-x 2 root root 4096 Dec  2 16:05 /usr/share/doc/cyrus-dev-2.4
drwxr-xr-x 5 root root 4096 Dec  2 16:06 /usr/share/doc/cyrus-doc
drwxr-xr-x 2 root root 4096 Dec  2 16:06 /usr/share/doc/cyrus-doc-2.4
drwxr-xr-x 2 root root 4096 Dec  2 16:05 /usr/share/doc/cyrus-imapd
drwxr-xr-x 2 root root 4096 Dec  2 16:05 /usr/share/doc/cyrus-imapd-2.4
drwxr-xr-x 2 root root 4096 Dec  2 16:05 /usr/share/doc/cyrus-murder
drwxr-xr-x 2 root root 4096 Dec  2 16:05 /usr/share/doc/cyrus-murder-2.4
drwxr-xr-x 2 root root 4096 Dec  2 16:05 /usr/share/doc/cyrus-nntpd
drwxr-xr-x 2 root root 4096 Dec  2 16:05 /usr/share/doc/cyrus-nntpd-2.4
drwxr-xr-x 2 root root 4096 Dec  2 16:05 /usr/share/doc/cyrus-pop3d
drwxr-xr-x 2 root root 4096 Dec  2 16:05 /usr/share/doc/cyrus-pop3d-2.4
drwxr-xr-x 2 root root 4096 Dec  2 16:05
/usr/share/doc/cyrus-replication
drwxr-xr-x 2 root root 4096 Dec  2 16:05
/usr/share/doc/cyrus-replication-2.4
drwxr-xr-x 2 root root 4096 Dec  2 16:05
/usr/share/doc/libcyrus-imap-perl
drwxr-xr-x 2 root root 4096 Dec  2 16:05
/usr/share/doc/libcyrus-imap-perl24

Looks good, right? :)

O.
-- 
Ondřej Surý <ondrej at sury.org>
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server



More information about the Pkg-Cyrus-imapd-Debian-devel mailing list