Mailing List Archive

Portage wrongly blocking an update
Hello list,

Today's update of my LAN server failed to resolve a block. It said it couldn't
emerge net-proxy/squid-5.7 because of:

[blocks B ] <net-proxy/squid-5 ("<net-proxy/squid-5" is hard blocking
net-proxy/squid-5.7)
[,,,]
(net-proxy/squid-5.7:0/0::gentoo, ebuild scheduled for merge) pulled in by
net-proxy/squid required by @apps

That's all I got. No sign of what required <net-proxy/squid-5, nor of where
the < had come from.

The apps set does not specify a version, and no other package depends on
squid, so I removed it with emerge -C, then restarted the update, which ran to
completion.

It seems to me that portage should have been able to do the same, and upgrade
squid smoothly.

--
Regards,
Peter.
Re: Portage wrongly blocking an update [ In reply to ]
On 2023-01-15, Peter Humphrey wrote:

> Hello list,
>
> Today's update of my LAN server failed to resolve a block. It said it couldn't
> emerge net-proxy/squid-5.7 because of:
>
> [blocks B ] <net-proxy/squid-5 ("<net-proxy/squid-5" is hard blocking
> net-proxy/squid-5.7)
> [,,,]
> (net-proxy/squid-5.7:0/0::gentoo, ebuild scheduled for merge) pulled in by
> net-proxy/squid required by @apps
>
> That's all I got. No sign of what required <net-proxy/squid-5, nor of where
> the < had come from.

It came from the squid ebuild itself.

From a quick look (I might have overlooked something), it sounds like it
has to be manually uninstalled beforehand (so, precisely what you did
:-) ).

https://bugs.gentoo.org/show_bug.cgi?id=834503

> The apps set does not specify a version, and no other package depends on
> squid, so I removed it with emerge -C, then restarted the update, which ran to
> completion.
>
> It seems to me that portage should have been able to do the same, and upgrade
> squid smoothly.

--
Nuno Silva
Re: Re: Portage wrongly blocking an update [ In reply to ]
On Sunday, 15 January 2023 10:03:19 GMT Nuno Silva wrote:

> From a quick look (I might have overlooked something), it sounds like it
> has to be manually uninstalled beforehand (so, precisely what you did
>
> :-) ).
>
> https://bugs.gentoo.org/show_bug.cgi?id=834503

Thanks Nuno. Interesting bug, too.

--
Regards,
Peter.
Re: Portage wrongly blocking an update [ In reply to ]
Thanks

Dave

On Sun, Jan 15, 2023, 04:53 Peter Humphrey <peter@prh.myzen.co.uk> wrote:

> Hello list,
>
> Today's update of my LAN server failed to resolve a block. It said it
> couldn't
> emerge net-proxy/squid-5.7 because of:
>
> [blocks B ] <net-proxy/squid-5 ("<net-proxy/squid-5" is hard blocking
> net-proxy/squid-5.7)
> [,,,]
> (net-proxy/squid-5.7:0/0::gentoo, ebuild scheduled for merge) pulled in by
> net-proxy/squid required by @apps
>
> That's all I got. No sign of what required <net-proxy/squid-5, nor of
> where
> the < had come from.
>
> The apps set does not specify a version, and no other package depends on
> squid, so I removed it with emerge -C, then restarted the update, which
> ran to
> completion.
>
> It seems to me that portage should have been able to do the same, and
> upgrade
> squid smoothly.
>
> --
> Regards,
> Peter.
>
>
>
>
>