pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re[2]: pkg_add: ImageMagick-7.1.2.21nb10: conflicting PLIST with ImageMagick-7.1.2.21nb8



Hi Greg,

Thanks for all information!
If next time I'll hit that case, will follow your instruction, now I just deinstalled old version and installed new one.

--
Marcin Gondek / Drixter
http://fido.e-utp.net/
AS56662


------ Original Message ------
From "Greg Troxel" <gdt%lexort.com@localhost>
To "Marcin Gondek" <drixter%e-utp.net@localhost>
Cc "pkgsrc-users%netbsd.org@localhost" <pkgsrc-users%netbsd.org@localhost>
Date 13.11.2026 13:47:44
Subject Re: pkg_add: ImageMagick-7.1.2.21nb10: conflicting PLIST with ImageMagick-7.1.2.21nb8

"Marcin Gondek" <drixter%e-utp.net@localhost> writes:

 ===> Updating using binary package of ImageMagick-7.1.2.21nb10
 /usr/bin/env  /usr/pkg/sbin/pkg_add -K /usr/pkg/pkgdb -U -D
 /usr/work/amd64/graphics/ImageMagick/work/.packages/ImageMagick-7.1.2.21nb10.tgz
 pkg_add: ImageMagick-7.1.2.21nb10: conflicting PLIST with
 ImageMagick-7.1.2.21nb8: lib/libMagick++-7.Q16HDRI.la
 pkg_add: 1 package addition failed
 *** Error code 1

Standard advice:

  ensure you have zero workdirs before you start

  ensure you have a consistent pkgsrc tree: same checkout time, no
  conflict markers

  bring everything up to date, via bob/pkgin or pkg_rr.  building a package
  when the installed packages are not up to date with respect  to
  sources does not in general work, but I think that's not your problem.

  pkg_admin audit # and deal with issues

  pkg_admin rebuild

  pkg_admin rebuild-tree

  in case of weirdness, look at /usr/pkg/pkgdb for directories
  corresponding to what is complained about and understand the contents.
  You may have two copies of the package installed (which would result
  in 2 metadata and one overwritten contents).




Home | Main Index | Thread Index | Old Index