Opened 4 years ago

Last modified 3 years ago

#2023 assigned defect

upgrade from 0.9.30 to 0.9.31 broken

Reported by: k1773r Owned by: Masayuki Hatta
Priority: minor Milestone: 0.9.33
Component: package/debian Version: 0.9.31
Keywords: Cc: Masayuki Hatta, k1773r, Xeha
Parent Tickets: Sensitive: no


when updating with the deb/ubu packages, the following happens and manual interactions is necessary to get it fully upgraded and running again:

$ apt-get dist-upgrade

Unpacking i2p-router (0.9.31p-2~trusty+1) over (0.9.30p-2~trusty+1) …
dpkg: error processing archive /var/cache/apt/archives/i2p-router_0.9.31p-2~trusty+1_all.deb (—unpack):

trying to overwrite '/usr/share/man/nl/man1/i2prouter-nowrapper.1.gz', which is also in package i2p 0.9.30p-2~trusty+1

Errors were encountered while processing:


E: Sub-process /usr/bin/dpkg returned an error code (1)

$ apt-get install -f

Setting up i2p (0.9.31p-2~trusty+1)

$ apt-get dist-upgrade
The following packages will be upgraded:


1 upgraded, 0 newly installed, 0 to remove and 15 not upgraded.
Preparing to unpack …/i2p-router_0.9.31p-2~trusty+1_all.deb …
Unpacking i2p-router (0.9.31p-2~trusty+1) over (0.9.30p-2~trusty+1) …
Processing triggers for man-db ( …
Setting up i2p-router (0.9.31p-2~trusty+1) …


Change History (9)

comment:1 Changed 4 years ago by k1773r

Component: unspecifiedpackage/ubuntu
Owner: set to zzz

comment:2 Changed 4 years ago by zzz

Milestone: undecided0.9.32
Status: newaccepted

Hmm. That man page was in the wrong subpackage in .30, I moved it in .31 to be with the associated binary. Don't know how to fix it but will investigate.

comment:3 Changed 4 years ago by zzz

Cc: Masayuki Hatta added

Maybe mhatta can help with this

comment:4 Changed 4 years ago by k1773r

Cc: k1773r added

comment:5 Changed 4 years ago by k1773r

Cc: Xeha added

comment:6 Changed 4 years ago by zzz

To be specific, the i2prouter-nowrapper manpages moved from the i2p package to the i2p-router package, because that's where the binary is.

The reports on IRC seem to indicate that retrying the update works the second time. Perhaps because the first time, the files are removed from i2p, and the second time, the files get installed from i2p-router. If so, the problem fixes itself, no need for -f ? Not sure…

comment:7 Changed 4 years ago by zzz

Component: package/ubuntupackage/debian
Milestone: 0.9.320.9.33

Would like to hear from mhatta whether this can be closed, since it fixes itself, or if there's more to do.

comment:8 Changed 3 years ago by zzz

Owner: changed from zzz to Masayuki Hatta
Status: acceptedassigned

comment:9 Changed 3 years ago by Masayuki Hatta

This is caused because i2p 0.9.30p-2~trusty+1 and i2p-router 0.9.31p-2~trusty+1 can't co-exist. I guess it can be solved with adding both i2p and i2p-router Breaks << 0.9.31.


Note: See TracTickets for help on using tickets.