Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52467 - unable to emerge installed package
Summary: unable to emerge installed package
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All All
: High major
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-30 08:20 UTC by Ben Anderson
Modified: 2004-10-09 21:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Anderson 2004-05-30 08:20:09 UTC
I think the following dialogue speaks for itself:

root@Delacroix /var/tmp/portage/libpng-1.2.5-r6 # qpkg -I libpng -v
media-libs/libpng-1.2.5-r4 *
root@Delacroix /var/tmp/portage/libpng-1.2.5-r6 # emerge =media-libs/libpng-1.2.5-r4
Calculating dependencies
emerge: there are no masked or unmasked ebuilds to satisfy "=media-libs/libpng-1.2.5-r4".

!!! Error calculating dependencies. Please correct.
Comment 1 Sven Wegener gentoo-dev 2004-05-30 08:25:02 UTC
the old versions got removed due to denial of service vulnerability, bug 49887
latest is media-libs/libpng-1.2.5-r6 and has been marked stable on all arches

i don't consider this a bug
Comment 2 Ben Anderson 2004-05-30 08:41:06 UTC
I apologize. I didn't know of any other place to put this.

BTW, shouldn't they be hard-masked and not removed outright?
Comment 3 Sven Wegener gentoo-dev 2004-05-30 08:51:45 UTC
As far as I know, removing an ebuild is like hard-masking it. It can't be emerged
anymore and portage will automatically update/downgrade to the latest version available.
Comment 4 Ben Anderson 2004-05-30 09:10:44 UTC
If I come across something that's hard-masked, I ususally suspect that those have some sort of security flaw, and if I'm curious enough, I'll search the tracker/forums for answers as to why it was masked. If a few ebuilds suddenly disappear, I suspect either a portage malfunction, an incompetent maintainer, or a hacker in the portage tree, most likely the first. Functionally, as far as I know, you're right. But masking vs. outright removing looks cleaner and is less likely to cause concern/hysteria/unnecessary bug reports.

Perhaps we should move this discussion to the forum?
Comment 5 Ben Anderson 2004-05-30 10:34:11 UTC
Just discovered another reason to keep bad ebuilds in the portage tree, masked (and this looks rather serious)

A tool I was experimenting with spat out this exact error(specifically, ecatmur's pruneworld, I called the tool with arguments -aP). It looks rather serious:

!!! The package
!!! media-video/nvidia-kernel-1.0.5336-r1 is
!!! installed, but does not have a corresponding ebuild in an accessible
!!! portage tree. Things will break. Correct this. NOW.
Comment 6 SpanKY gentoo-dev 2004-05-30 23:07:09 UTC
umm that's the point of keeping the ebuild in /var/db/pkg/ ... if it gets removed from the portage tree, it's not a problem

in other words, comments 0-4 have no meaning ... this bug covers comment 5
Comment 7 Nicholas Jones (RETIRED) gentoo-dev 2004-10-09 21:23:27 UTC
That error is not a portage message.