Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 540266 - app-portage/layman-2.3.0 - layman-updater: Fatal error: Please run layman-updater, then run layman again
Summary: app-portage/layman-2.3.0 - layman-updater: Fatal error: Please run layman-upd...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Third-Party Tools (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Layman Overlay Manager project
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2015-02-16 10:03 UTC by PM
Modified: 2016-05-10 04:41 UTC (History)
2 users (show)

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


Attachments
layman config (file_540266.txt,8.96 KB, text/plain)
2015-02-16 10:05 UTC, PM
Details

Note You need to log in before you can comment on or make changes to this bug.
Description PM 2015-02-16 10:03:59 UTC
gentoo ~ # layman-updater 
 *   Creating layman's repos.conf file
 * Fatal error: Please run layman-updater, then run layman again
 * Fatal error(s) - aborting
gentoo ~ #

I guess there's something wrong with my layman.cfg after the update. I'll attach it to the report.

Reproducible: Always
Comment 1 PM 2015-02-16 10:05:44 UTC
Created attachment 396584 [details]
layman config
Comment 2 PM 2015-02-16 10:09:20 UTC
Removing layman.cfg fixed this.
Comment 3 Brian Dolbec (RETIRED) gentoo-dev 2015-02-16 16:26:37 UTC
No, removing your layman.cfg didn't fix it, plus there is nothing wrong with it.

I believe what happened is that you did not have any installed overlays, so did not have a /usr/local/portage/layman/installed.xml file.  The repos.conf generator tries to load the installed overlay db, then populates the repos.conf/layman.conf with the info.  In this case, since there was not an installed.xml, it triggered the upgrade message from the old filename to the new installed.xml filename.

Can you please confirm this info from your system?

I'll tweak the trigger for that message, to prevent the false start.
Comment 4 PM 2015-02-21 11:05:38 UTC
No, I had a couple of overlays installed. When updating to 2.3.0 I interactively merged the config file, leaving the old storage dir (/usr/local/portage/layman/) and replacing all the other settings with new values. This didn't work, so I removed the config file, re-emerged layman and re-added all my overlays in the new storage dir (/var/lib/layman). Now it works fine.
Comment 5 PM 2015-02-21 11:07:47 UTC
Also: in my old layman dir I have overlays.xml, not installed.xml.
Comment 6 Devan Franchini (RETIRED) gentoo-dev 2015-03-24 17:26:10 UTC
This has been fixed in the 9999 version for awhile now.
Comment 7 Devan Franchini (RETIRED) gentoo-dev 2016-05-10 04:41:14 UTC
2.4.1 is out which resolves this issue, therefore, I'm resolving the bug.