public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] layman config file setup?
@ 2019-03-07 22:11 Walter Dnes
  2019-03-08  3:27 ` Corbin Bird
  2019-03-10  1:01 ` [gentoo-user] [SOLVED] " Walter Dnes
  0 siblings, 2 replies; 8+ messages in thread
From: Walter Dnes @ 2019-03-07 22:11 UTC (permalink / raw
  To: Gentoo Users List

  I've set up layman, and it appears to work, but I seem to be missing a
config entry somewhere.  Whenever I run emerge I get...

=================================================================
WARNING: One or more repositories have missing repo_name entries:

        /var/lib/layman/profiles/repo_name

NOTE: Each repo_name entry should be a plain text file containing a
unique name for the repository on the first line.
=================================================================

  What and where do I need to enter?  I don't even have a
/var/lib/layman/profiles/ directory.

-- 
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] layman config file setup?
  2019-03-07 22:11 [gentoo-user] layman config file setup? Walter Dnes
@ 2019-03-08  3:27 ` Corbin Bird
  2019-03-09  1:15   ` Walter Dnes
  2019-03-10  1:01 ` [gentoo-user] [SOLVED] " Walter Dnes
  1 sibling, 1 reply; 8+ messages in thread
From: Corbin Bird @ 2019-03-08  3:27 UTC (permalink / raw
  To: gentoo-user

Have you added an overlay using layman?

Gentoo's List : https://overlays.gentoo.org/

Add  : layman -a
Sync : layman -S

I use the Palemoon overlay :
/var/lib/layman/palemoon/profiles/repo_name

contents of repo_name :
palemoon

When you add the overlay the directories and files are created in
/var/lib/layman/*

Hope this helps.

On 3/7/19 4:11 PM, Walter Dnes wrote:
>   I've set up layman, and it appears to work, but I seem to be missing a
> config entry somewhere.  Whenever I run emerge I get...
> 
> =================================================================
> WARNING: One or more repositories have missing repo_name entries:
> 
>         /var/lib/layman/profiles/repo_name
> 
> NOTE: Each repo_name entry should be a plain text file containing a
> unique name for the repository on the first line.
> =================================================================
> 
>   What and where do I need to enter?  I don't even have a
> /var/lib/layman/profiles/ directory.
> 


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] layman config file setup?
  2019-03-08  3:27 ` Corbin Bird
@ 2019-03-09  1:15   ` Walter Dnes
  2019-03-09 14:59     ` Corbin Bird
  0 siblings, 1 reply; 8+ messages in thread
From: Walter Dnes @ 2019-03-09  1:15 UTC (permalink / raw
  To: gentoo-user

On Thu, Mar 07, 2019 at 09:27:04PM -0600, Corbin Bird wrote
> Have you added an overlay using layman?
> 
> Gentoo's List : https://overlays.gentoo.org/
> 
> Add  : layman -a
> Sync : layman -S
> 
> I use the Palemoon overlay :
> /var/lib/layman/palemoon/profiles/repo_name
> 
> contents of repo_name :
> palemoon
> 
> When you add the overlay the directories and files are created in
> /var/lib/layman/*
 
  So I ran "layman -d ALL" followed by "layman -a palemoon".  Now...

[i660][root][~] cat /var/lib/layman/palemoon/profiles/repo_name 
palemoon

... but I still get the same warning!  Some more info...

  First the layman dir
[i660][root][~] ll -og /var/lib/layman/
total 292
drwxr-xr-x  4   4096 Mar  8 19:54 .
drwxr-xr-x 12   4096 Mar  1 16:10 ..
-rw-r--r--  1     29 Mar  8 19:53 cache_930c3ed4a5f89f74fd810585751a06e3.timestamp
-rw-r--r--  1 266586 Mar  1 16:26 cache_930c3ed4a5f89f74fd810585751a06e3.xml
-rw-r--r--  1    615 Mar  8 19:54 installed.xml
drwxr-xr-x  2   4096 Mar  1 16:37 metadata
drwxr-xr-x  7   4096 Mar  8 19:54 palemoon

  Then the palemoon subdir...
[i660][root][~] ll -og /var/lib/layman/palemoon/
total 32
drwxr-xr-x 7 4096 Mar  8 19:54 .
drwxr-xr-x 4 4096 Mar  8 19:54 ..
drwxr-xr-x 7 4096 Mar  8 19:54 .git
-rw-r--r-- 1   97 Mar  8 19:54 README.md
drwxr-xr-x 2 4096 Mar  8 19:54 eclass
drwxr-xr-x 2 4096 Mar  8 19:54 metadata
drwxr-xr-x 2 4096 Mar  8 19:54 profiles
drwxr-xr-x 4 4096 Mar  8 19:54 www-client

  Then the profiles subdir...
[i660][root][~] ll -og /var/lib/layman/palemoon/profiles/
total 16
drwxr-xr-x 2 4096 Mar  8 19:54 .
drwxr-xr-x 7 4096 Mar  8 19:54 ..
-rw-r--r-- 1   25 Mar  8 19:54 package.use.mask
-rw-r--r-- 1    9 Mar  8 19:54 repo_name

  The repo_name file...
[i660][root][~] cat /var/lib/layman/palemoon/profiles/repo_name        
palemoon

  Now what?  Some more searching in /etc/layman...
[i660][root][~] ll -og /etc/layman/
total 24
drwxr-xr-x  3 4096 Aug  8  2018 .
drwxr-xr-x 64 4096 Feb 11 23:18 ..
-rw-r--r--  1 9358 Aug  8  2018 layman.cfg
drwxr-xr-x  2 4096 Aug  8  2018 overlays

[i660][root][~] ll -og /etc/layman/overlays/
total 8
drwxr-xr-x 2 4096 Aug  8  2018 .
drwxr-xr-x 3 4096 Aug  8  2018 ..
-rw-r--r-- 1    0 Aug  8  2018 .keep_app-portage_layman-0

  What does your /etc/layman/overlays/ directory contain?

-- 
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] layman config file setup?
  2019-03-09  1:15   ` Walter Dnes
@ 2019-03-09 14:59     ` Corbin Bird
  2019-03-09 20:04       ` Walter Dnes
  0 siblings, 1 reply; 8+ messages in thread
From: Corbin Bird @ 2019-03-09 14:59 UTC (permalink / raw
  To: gentoo-user

On 3/8/19 7:15 PM, Walter Dnes wrote:
>  
>   So I ran "layman -d ALL" followed by "layman -a palemoon".  Now...
> 
> [i660][root][~] cat /var/lib/layman/palemoon/profiles/repo_name 
> palemoon
> 
> ... but I still get the same warning!  Some more info...
> 

Apologies, if this a stupid question ... did you sync layman also?

( i.e. "layman -S", --NOT-- using emerge )

Layman has to be sync'd separately from portage/emerge.
( its a separate database system )

emerge will not find the updated ebuilds, from the overlays, without
layman being sync'd.

Also, the following dirs need the usual entries :
/etc/portage/package.use
/etc/portage/package.accept_keywords ( i.e. www-client/palemoon ~amd64 )

> 
>   What does your /etc/layman/overlays/ directory contain?
> 

... Same as yours.

Please check the contents of this file :
/etc/portage/repos.conf/layman.conf

content of /etc/portage/repos.conf/layman.conf :
[palemoon]
priority = 50
location = /var/lib/layman/palemoon
layman-type = git
sync-type = laymansync
sync-uri = https://github.com/deu/palemoon-overlay.git
auto-sync = Yes

Hope this helps.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] layman config file setup?
  2019-03-09 14:59     ` Corbin Bird
@ 2019-03-09 20:04       ` Walter Dnes
  2019-03-09 23:19         ` Mick
  0 siblings, 1 reply; 8+ messages in thread
From: Walter Dnes @ 2019-03-09 20:04 UTC (permalink / raw
  To: gentoo-user

  I originally had...

[palemoon]
priority = 50
location = /var/lib/layman/palemoon
layman-type = git
auto-sync = No

  I ran "layman -S"; no difference. I copied your config, ran "layman -S"
and now I get...

=========================================================================

[i660][root][~] emerge -pv layman
!!! Repository 'palemoon' has sync-type attribute set to unsupported value: 'laymansync'
!!! Installed sync-types are: '['cvs', 'git', 'rsync', 'svn', 'webrsync']'
WARNING: One or more repositories have missing repo_name entries:

        /var/lib/layman/profiles/repo_name

NOTE: Each repo_name entry should be a plain text file containing a
unique name for the repository on the first line.

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

Calculating dependencies... done!
[ebuild   R    ] app-portage/layman-2.4.2-r1::gentoo  USE="git -bazaar -cvs -darcs (-g-sorcery) -gpg -mercurial -sqlite -squashfs -subversion -sync-plugin-portage -test" PYTHON_TARGETS="python2_7 python3_6 (-pypy) -python3_4 -python3_5" 0 KiB

=========================================================================

  Is there anything unusual in my USE flags?

-- 
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] layman config file setup?
  2019-03-09 20:04       ` Walter Dnes
@ 2019-03-09 23:19         ` Mick
  0 siblings, 0 replies; 8+ messages in thread
From: Mick @ 2019-03-09 23:19 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1568 bytes --]

On Saturday, 9 March 2019 20:04:46 GMT Walter Dnes wrote:
>   I originally had...
> 
> [palemoon]
> priority = 50
> location = /var/lib/layman/palemoon
> layman-type = git
> auto-sync = No
> 
>   I ran "layman -S"; no difference. I copied your config, ran "layman -S"
> and now I get...
> 
> =========================================================================
> 
> [i660][root][~] emerge -pv layman
> !!! Repository 'palemoon' has sync-type attribute set to unsupported value:
> 'laymansync' !!! 

This is odd.  Is it reading some other repo file?

> Installed sync-types are: '['cvs', 'git', 'rsync', 'svn',
> 'webrsync']' WARNING: One or more repositories have missing repo_name
> entries:
> 
>         /var/lib/layman/profiles/repo_name
> 
> NOTE: Each repo_name entry should be a plain text file containing a
> unique name for the repository on the first line.

OK, try this:

echo palemoon /var/lib/layman/profiles/palemoon


> These are the packages that would be merged, in order:
> 
> Calculating dependencies... done!
> [ebuild   R    ] app-portage/layman-2.4.2-r1::gentoo  USE="git -bazaar -cvs
> -darcs (-g-sorcery) -gpg -mercurial -sqlite -squashfs -subversion
> -sync-plugin-portage -test" PYTHON_TARGETS="python2_7 python3_6 (-pypy)
> -python3_4 -python3_5" 0 KiB
> 
> =========================================================================
> 
>   Is there anything unusual in my USE flags?

Not really.  In addition to yours I have sqlite and subversion set on mine, 
because git is not used by all overlays I'm interested in.

-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [gentoo-user] [SOLVED] layman config file setup?
  2019-03-07 22:11 [gentoo-user] layman config file setup? Walter Dnes
  2019-03-08  3:27 ` Corbin Bird
@ 2019-03-10  1:01 ` Walter Dnes
  2019-03-10  9:10   ` Mick
  1 sibling, 1 reply; 8+ messages in thread
From: Walter Dnes @ 2019-03-10  1:01 UTC (permalink / raw
  To: Gentoo Users List

  My apologies for wasting everybody's time.  I think that I
misinterpreted https://wiki.gentoo.org/wiki/Layman and did a mix of the
config method for both version 2.1.0 and later as well as versions prior
to 2.1.0  Needless to say, the system was badly confused.

  I removed all overlays, unmerged layman, removed all directories/files
related to layman, and the entry in make.conf.  Then I did a fresh
install...

emerge layman
layman -S
layman -a palemoon

  It works fine now.

-- 
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] [SOLVED] layman config file setup?
  2019-03-10  1:01 ` [gentoo-user] [SOLVED] " Walter Dnes
@ 2019-03-10  9:10   ` Mick
  0 siblings, 0 replies; 8+ messages in thread
From: Mick @ 2019-03-10  9:10 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1008 bytes --]

On Sunday, 10 March 2019 01:01:47 GMT Walter Dnes wrote:
>   My apologies for wasting everybody's time.  

No problem, posting and thinking it through is part of troubleshooting!  ;-)

We've all been there.


>   I think that I
> misinterpreted https://wiki.gentoo.org/wiki/Layman and did a mix of the
> config method for both version 2.1.0 and later as well as versions prior
> to 2.1.0  Needless to say, the system was badly confused.
> 
>   I removed all overlays, unmerged layman, removed all directories/files
> related to layman, and the entry in make.conf.  Then I did a fresh
> install...
> 
> emerge layman
> layman -S
> layman -a palemoon
> 
>   It works fine now.

Retracing one's steps can help identifying mistakes, but the thing with layman 
is there were a number of overlapping and confusing changes.  Given layman is 
a means to an end, rather than a destination, absorbing oneself in all the 
config changes is more of an obstacle than part of an enjoyable experience. :p

-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-03-10  9:10 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-07 22:11 [gentoo-user] layman config file setup? Walter Dnes
2019-03-08  3:27 ` Corbin Bird
2019-03-09  1:15   ` Walter Dnes
2019-03-09 14:59     ` Corbin Bird
2019-03-09 20:04       ` Walter Dnes
2019-03-09 23:19         ` Mick
2019-03-10  1:01 ` [gentoo-user] [SOLVED] " Walter Dnes
2019-03-10  9:10   ` Mick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox