Termux upgrade fails: can't find archive

Today I installed visidata:

$ pip3 install visidata

as a dependency python-dateutil was also installed in the process.

Afterwards, I wanted to upgrade the termux packages:

$ pkg upgrade

But now this does not work any more.

“E: The package python3-dateutil needs to be reinstalled, but I can’t find an archive for it.”

I get error messages like that.

Deinstalling python-dateutil and visidata did not help either.

I am getting basically the same error when using

$ apt upgrade

which I would usually use.

What can I do to get that working again - preferably with visidata?

1 Like

Did you pkg update first?

Yes, I had first tried it via apt…

Meanwhile, I found, the culprit was, that I had tried to install

python3-dateutil from a deb package, that I had from somewhere else.

That had failed.

I had [almost] forgotten about it.

It had also left that package in a kind of half installed state

- I had not noticed at the time.

I found, that I could not remove it,

until I used –force-remove-reinstreq.

Now, it looks like, things work as expected again.

I have not thoroughly verified that yet - but I believe it so far. :slight_smile: