Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 581096 - sys-apps/portage: complains about "Invalid news item" when News-Item-Format 2.0 is encountered
Summary: sys-apps/portage: complains about "Invalid news item" when News-Item-Format 2...
Status: UNCONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-24 23:42 UTC by reisio
Modified: 2016-04-25 09:55 UTC (History)
1 user (show)

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 reisio 2016-04-24 23:42:49 UTC
# emerge -Opv portage 1>/dev/null
!!! Invalid news item: /usr/portage/metadata/news/2016-04-24-default-video-cards/2016-04-24-default-video-cards.en.txt
!!!   line 6: News-Item-Format: 2.0
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2016-04-24 23:50:19 UTC
Has been fixed already
https://gitweb.gentoo.org/data/gentoo-news.git/commit/?id=c19c5f5dea8c56f1d2045c630821e9aa34589bc3

Leaving this bug open to avoid duplicates
Comment 2 Sebastian Pucilowski 2016-04-24 23:52:08 UTC
Hit this with the stable version of portage:

wanderweg ~ # emerge -DupN world

These are the packages that would be merged, in order:

Calculating dependencies... done!
!!! Invalid news item: /usr/portage/metadata/news/2016-04-24-default-video-cards/2016-04-24-default-video-cards.en.txt
!!!   line 6: News-Item-Format: 2.0
wanderweg ~ # emerge --version
Portage 2.2.26 (python 3.4.3-final-0, default/linux/amd64/13.0/systemd, gcc-4.9.3, glibc-2.22-r4, 4.4.5-gentoo x86_64)
Comment 3 Chí-Thanh Christopher Nguyễn gentoo-dev 2016-04-25 09:54:15 UTC
After thinking a bit more, this is probably a bug in portage which should ignore (or warn the user about) unsupported News-Item-Format instead of complaining that it is invalid.