Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 559284 - app-portage/layman-2.3.0 error setting sync data in repos.conf
Summary: app-portage/layman-2.3.0 error setting sync data in repos.conf
Status: RESOLVED DUPLICATE of bug 559282
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Layman Overlay Manager project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 240187
  Show dependency tree
 
Reported: 2015-08-31 21:45 UTC by Lagu
Modified: 2016-07-10 22:58 UTC (History)
2 users (show)

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


Attachments
layman.conf (layman.conf,292 bytes, text/plain)
2015-09-02 04:07 UTC, Lagu
Details
emerge --info (file_559284.txt,6.06 KB, text/plain)
2015-09-02 04:08 UTC, Lagu
Details
layman2.conf (layman.conf,634 bytes, text/plain)
2015-09-05 16:29 UTC, Lagu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lagu 2015-08-31 21:45:06 UTC
Hi, well for some reason emaint don't update the layman repos only gentoo repo, layman its configured with repos.conf, and the file layman.conf in repos.conf have enabled the auto-sync option.

i'm using the command: emaint sync -A

Thx.
Comment 1 Lagu 2015-09-02 04:07:38 UTC
Created attachment 410822 [details]
layman.conf
Comment 2 Lagu 2015-09-02 04:08:47 UTC
Created attachment 410824 [details]
emerge --info
Comment 3 Lagu 2015-09-05 16:29:48 UTC
Created attachment 411068 [details]
layman2.conf
Comment 4 Lagu 2015-09-05 16:32:51 UTC
Hi, well i think with this 2 files can see hi emaint doesn't update the layman repos, for some reason some overlays layman don't save the sync data in repos.conf/layman.conf

ex.

[jorgicio]
priority = -2000
location = /var/lib/layman/jorgicio
layman-type = git
auto-sync = Yes

[chaos]
priority = -2000
location = /var/lib/layman/chaos
layman-type = git
sync-type = laymansync
sync-uri = git://github.com/chaoskagami/chaos-overlay.git
auto-sync = Yes
Comment 5 tman 2015-11-04 21:57:03 UTC
i can confirm this problem too

Portage 2.2.24 (python 2.7.10-final-0, default/linux/amd64/13.0/desktop, gcc-4.9.3, glibc-2.22-r1, 4.3.0-gentoo x86_64)
=================================================================
System uname: Linux-4.3.0-gentoo-x86_64-Intel-R-_Core-TM-_i7-3740QM_CPU_@_2.70GHz-with-gentoo-2.2
KiB Mem:    24626732 total,  18988040 free
KiB Swap:   26488828 total,  26488828 free
Timestamp of repository gentoo: Wed, 04 Nov 2015 21:30:01 +0000
Timestamp of repository poly-c: Wed, 04 Nov 2015 20:04:39 +0000
sh bash 4.3_p42
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.22.0::gentoo
dev-lang/python:          2.7.10::gentoo, 3.4.3::gentoo, 3.5.0-r1::gentoo
dev-util/cmake:           3.4.0_rc2::poly-c
dev-util/pkgconfig:       0.29::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.18.3::gentoo
sys-apps/sandbox:         2.9::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r1::gentoo
Repositories:

gentoo
    location: /mnt/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

bumblebee
    location: /mnt/portage/local/layman/bumblebee
    masters: gentoo
    priority: 0

dotnet
    location: /mnt/portage/local/layman/dotnet
    masters: gentoo
    priority: 1

steam-overlay
    location: /mnt/portage/local/layman/steam-overlay
    masters: gentoo
    priority: 2

media-overlay
    location: /mnt/portage/local/layman/media-overlay
    masters: gentoo
    priority: 3

dr
    location: /mnt/portage/local/layman/dr
    masters: gentoo
    priority: 4

brother-overlay
    location: /mnt/portage/local/layman/brother-overlay
    masters: gentoo
    priority: 5

poly-c
    location: /mnt/portage/local/layman/poly-c
    masters: gentoo
    priority: 6

bitcoin
    location: /mnt/portage/local/layman/bitcoin
    masters: gentoo
    priority: 7

lokal
    location: /mnt/portage/local/local-overlay
    masters: gentoo
    priority: 8

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=corei7 -O2 -pipe"
DISTDIR="/mnt/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/mnt/portage/packages"
Comment 6 Lagu 2015-11-05 00:49:26 UTC
are you using this use sync-plugin-portage in layman?
Comment 7 Brian Dolbec (RETIRED) gentoo-dev 2016-01-02 01:43:31 UTC
Sorry, I somehow missed seeing this bug before.

If you did not emerge layman with the sync-plugin-portage enabled. then any overlays it adds will not set the sync-type.  Later when you re-emerged layman with it enabled, it added the sync-type to any new ones since that last layman emerge. 

To fix it simply run layman-updater to rebuild a new layman.conf file.  Then they should all have the sync-type set.

See the -R, --rebuild option:


usage: layman-updater [-h] [-H] [-c CONFIG] [-m MIGRATE_DB] [-R] [--version]

Layman's update script

optional arguments:
  -h, --help            show this help message and exit
  -H, --setup_help      Print the NEW INSTALL help messages.
  -c CONFIG, --config CONFIG
                        the path to config file
  -m MIGRATE_DB, --migrate_db MIGRATE_DB
                        the database you'd like to migrate to
  -R, --rebuild         rebuild the Package Manager config file
  --version             show program's version number and exit
Comment 8 Devan Franchini (RETIRED) gentoo-dev 2016-07-10 22:46:19 UTC
Can we confirm that this resolves it for the reporter? I'll give it a few days or so before I resolve it.
Comment 9 Devan Franchini (RETIRED) gentoo-dev 2016-07-10 22:58:34 UTC

*** This bug has been marked as a duplicate of bug 559282 ***