pkgsrc-Users archive

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

Re: python-311 fails to install



On Mon, Feb 12, 2024 at 06:40:53PM +0000, Steve Blinkhorn wrote:
> You wrote:
> > 
> > > amd64-9.2
> > >=20
> > > I am trying to install the most recent firefox.  There is a problem
> > > with python-311 which seems top be a recurrent stumbling-block:
> > >=20
> > > pkg_add: Package `python311-3.11.7' conflicts with =
> > `py311-cElementTree-[0-9]*',
> > > and `py311-cElementTree-3.11.5' is installed.
> > > pkg_add: Package `python311-3.11.7' conflicts with =
> > `py311-expat-[0-9]*', and `py
> > > 311-expat-3.11.5nb1' is installed.
> > > pkg_add: Can't install dependency python311>=3D3.11.6nb1
> > > pkg_add: Expected dependency python311>=3D3.11.6nb1 still missing =
> > pkg_add: 1 package addition failed
> > >=20
> > > How to resolve this?
> > 
> > py-cElementTree and py-expat are gone. Now these are included in Python. =
> > Delete these and rebuild or reinstall.

> Masny thaanks for the quick response.  I searcjed /usr/pkg for
> anything starting with each of these names, found one directory for
> each, and rm -r 'd them.  No joy.  I did pkgin install python-3.11 and
> got:
[errors]

Oh, no, dont' simply remove files, but properly delete
the old packages before retrying installing the new stuff:

pkg_delete py311-cElementTree py311-expat
(wait, are those 311 or 310?, do a

pkg_info -a | egrep 'py.*(expat|cElement)'

to find out, I don't remember what I did.)

Regards,
	-is


Home | Main Index | Thread Index | Old Index