View previous topic :: View next topic |
Author |
Message |
Strange_Attractor n00b
Joined: 07 Mar 2011 Posts: 41 Location: Sweden
|
Posted: Wed Nov 25, 2015 4:33 pm Post subject: [SOLVED] iniparser: input line too long in //etc/portage/rep |
|
|
Recently I have started getting annoying messages whenever I run a program from portage-utils, namely:
Code: | iniparser: input line too long in //etc/portage/repos.conf/gentoo.conf (9)
iniparser: input line too long in //etc/portage/repos.conf/local.conf (5)
|
gentoo.conf contains the following:
Code: |
[DEFAULT]
main-repo = gentoo
[gentoo]
location = /usr/portage
priority = 9999
sync-type = rsync
sync-uri = rsync://rsync.gentoo.org/gentoo-portage
auto-sync = yes
|
and local.conf:
Code: | [Local-overlay]
masters = gentoo
location = /usr/local/portage
auto-sync = no
priority = 0
|
None of the lines seem very long to me. Why do I keep getting these warnings? I have portage-utils-0.56 and portage 2.2.26.
Last edited by Strange_Attractor on Fri Dec 04, 2015 11:34 pm; edited 1 time in total |
|
Back to top |
|
|
Strange_Attractor n00b
Joined: 07 Mar 2011 Posts: 41 Location: Sweden
|
Posted: Fri Dec 04, 2015 11:13 pm Post subject: |
|
|
No one else experiencing this problem? |
|
Back to top |
|
|
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Fri Dec 04, 2015 11:24 pm Post subject: |
|
|
Strange_Attractor wrote: | No one else experiencing this problem? |
Strange_Attractor ... no not me, post the output of 'cat -vET /etc/portage/repos.conf/gentoo.conf', and the version of portage-utils.
best ... khay |
|
Back to top |
|
|
Strange_Attractor n00b
Joined: 07 Mar 2011 Posts: 41 Location: Sweden
|
Posted: Fri Dec 04, 2015 11:31 pm Post subject: |
|
|
Thanks for the reply. Here is the output of the command:
Code: |
[DEFAULT]$
main-repo = gentoo$
$
[gentoo]$
location = /usr/portage$
priority = 9999$
sync-type = rsync$
sync-uri = rsync://rsync.gentoo.org/gentoo-portage$
auto-sync = yes |
I suspect that this means that an end-of-line character is missing at the end? Portage-utils is version 0.60 (latest ~amd64). |
|
Back to top |
|
|
Strange_Attractor n00b
Joined: 07 Mar 2011 Posts: 41 Location: Sweden
|
Posted: Fri Dec 04, 2015 11:32 pm Post subject: |
|
|
I will answer my own question: yes, there was no newline character at the end of the file. Inserting one fixed the problem. Thanks a lot! |
|
Back to top |
|
|
gr3m1in n00b
Joined: 22 Mar 2010 Posts: 39 Location: Poland
|
Posted: Mon May 21, 2018 8:01 am Post subject: |
|
|
That helped indeed, thanks! |
|
Back to top |
|
|
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Mon May 21, 2018 8:51 am Post subject: |
|
|
gr3m1in, et al ...
Not sure how you created this file but (unix) editors should do this automatically, eg, vim has 'fixendofline' set by default.
best ... khay |
|
Back to top |
|
|
|