FS#13917 - File conflict - ntp-4.2.4p6-2
Attached to Project:
Arch Linux
Opened by Matthew Gyurgyik (pyther) - Sunday, 22 March 2009, 14:08 GMT
Last edited by Eric Belanger (Snowman) - Tuesday, 24 March 2009, 05:38 GMT
Opened by Matthew Gyurgyik (pyther) - Sunday, 22 March 2009, 14:08 GMT
Last edited by Eric Belanger (Snowman) - Tuesday, 24 March 2009, 05:38 GMT
|
Details
Description: When trying to upgrade there is a file conflict
with the ntpd man page.
Targets (2): ntp-4.2.4p6-2 tzdata-2009c-1 Total Download Size: 0.00 MB Total Installed Size: 6.61 MB Proceed with installation? [Y/n] y checking package integrity... (2/2) checking for file conflicts [#########################] 100% error: could not prepare transaction error: failed to commit transaction (conflicting files) ntp: /usr/share/man/man8/ntpd.8.gz exists in filesystem Errors occurred, no packages were upgraded. Additional info: * x86_64 * Running testing, however ntp-4.2.4p6-2 is in extra |
This task depends upon
Closed by Eric Belanger (Snowman)
Tuesday, 24 March 2009, 05:38 GMT
Reason for closing: Fixed
Additional comments about closing: fixed in ntp-4.2.4p6-3
Tuesday, 24 March 2009, 05:38 GMT
Reason for closing: Fixed
Additional comments about closing: fixed in ntp-4.2.4p6-3
pacman -Qo /usr/share/man/man8/ntpd.8.gz
tux:~ $ pacman -Qo /usr/share/man/man8/ntpd.8.gz
/usr/share/man/man8/ntpd.8.gz is owned by openntpd 3.9p1-7
Should ntpd conflict with openntpd?
You could run openntpd as daemon and still want to use the utilities (ntpq/ntptrace/ntpdate etc) from the official ntp distribution.
I could just move it (and maybe the others that are in man8/).
diff:
5c5
< pkgrel=3
---
> pkgrel=2
37,39c37,39
< # install man pages
< install -d $startdir/pkg/usr/share/man/man{1,5}
< install -m644 $startdir/src/man/*.5 \
---
> # install and remove duplicate man pages
> install -d $startdir/pkg/usr/share/man/man{5,8}
> install -D -m644 $startdir/src/man/*.5 \
41,44c41,45
< for i in $startdir/src/man/*.8 ; do
< install -m644 $i $startdir/pkg/usr/share/man/man1/$(basename $i .8).1 || return 1
< done
< mv $startdir/pkg/usr/share/man/man1/keygen.1 $startdir/pkg/usr/share/man/man1/ntp-keygen.1 || return 1
---
> install -D -m644 $startdir/src/man/*.8 \
> $startdir/pkg/usr/share/man/man8/ || return 1
> rm $startdir/pkg/usr/share/man/man1/{ntpd.1,ntpdc.1,ntpdsim.1,ntpq.1,ntp-keygen.1}
> rm $startdir/pkg/usr/share/man/man8/ntpdsim.8
> mv $startdir/pkg/usr/share/man/man8/keygen.8 $startdir/pkg/usr/share/man/man8/ntp-keygen.8