You are not logged in.

#1 2012-04-29 19:57:32

coacharnold
Member
Registered: 2011-06-23
Posts: 13

SOLVED pacman

ok this is weird and I haven't found a sticky that covers it ....

Does anyone know why my pacman gives me this output when I use it ..(i've set up and re-setup my repo's to try and fix it )

warning: config file /etc/pacman.d/mirrorlist, line 199: directive 'Server' in section 'options' not recognized.
warning: config file /etc/pacman.d/mirrorlist, line 200: directive 'Server' in section 'options' not recognized.
warning: config file /etc/pacman.d/mirrorlist, line 201: directive 'Server' in section 'options' not recognized.
warning: config file /etc/pacman.d/mirrorlist, line 202: directive 'Server' in section 'options' not recognized.
warning: config file /etc/pacman.d/mirrorlist, line 203: directive 'Server' in section 'options' not recognized.
warning: config file /etc/pacman.d/mirrorlist, line 204: directive 'Server' in section 'options' not recognized.
:: Synchronizing package databases...
error: failed retrieving file 'core.db' from ftp.osuosl.org : Connection time-out
error: failed retrieving file 'core.db' from mirrors.rutgers.edu : Connection time-out
core                     102.4 KiB   123K/s 00:01 [#################] 100%
extra                   1393.4 KiB   121K/s 00:12 [#################] 100%
community   


I mean it works ... just all the warnings are frustrating

Tim

Last edited by coacharnold (2012-04-29 21:37:54)

Offline

#2 2012-04-29 20:07:27

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: SOLVED pacman

It looks like something is commented or uncommented incorrectly in the mirrorlist.  Take a look at the offending lines.


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#3 2012-04-29 20:08:34

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: SOLVED pacman

It would seem you've ignored the comment in /etc/pacman.conf:

 67 # The header [repo-name] is crucial - it must be present and
 68 # uncommented to enable the repo.

You've likely tried to add a repo before [core] and neglected to include the section header.

Offline

#4 2012-04-29 20:52:55

coacharnold
Member
Registered: 2011-06-23
Posts: 13

Offline

#5 2012-04-29 20:55:14

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: SOLVED pacman

The error is in pacman.conf, not in the mirrorlist...

Offline

#6 2012-04-29 20:56:39

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,321
Website

Re: SOLVED pacman

Read falconindy's post again, and if still confused, post your pacman.conf, not your mirrorlist.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Online

#7 2012-04-29 21:06:47

coacharnold
Member
Registered: 2011-06-23
Posts: 13

Re: SOLVED pacman

No Idea ... but here we go .... thanks for your patience on this



# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives

#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir     = /
#DBPath      = /var/lib/pacman/
#CacheDir    = /var/cache/pacman/pkg/
#LogFile     = /var/log/pacman.log
#GPGDir      = /etc/pacman.d/gnupg/
HoldPkg     = pacman glibc
# If upgrades are available for these packages they will be asked for first
SyncFirst   = pacman
#XferCommand = /usr/bin/curl -C - -f %u > %o
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
Architecture = auto

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg   =
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options
#UseSyslog
#UseDelta
#TotalDownload
CheckSpace
#VerbosePkgLists

# PGP signature checking
# NOTE: None of this will work without running `pacman-key --init` first.
# The compiled in default is equivalent to the following line. This requires
# you to locally sign and trust packager keys using `pacman-key` for them to be
# considered valid.
#SigLevel = Optional TrustedOnly
# If you wish to check signatures but avoid local sign and trust issues, use
# the following line. This will treat any key imported into pacman's keyring as
# trusted.
#SigLevel = Optional TrustAll
# For now, off by default unless you read the above.
SigLevel = Never

#
# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here
#   - local/custom mirrors can be added here or in separate files
#   - repositories listed first will take precedence when packages
#     have identical names, regardless of version number
#   - URLs will have $repo replaced by the name of the current repo
#   - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
#       [repo-name]
#       Server = ServerName
#       Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#

# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.

#[testing]
#SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist

[core]
#SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist

[extra]
#SigLevel = PackageOptional
Include = /etc/pacman.d/mirrorlist

#[community-testing]
#SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist

[community]
#SigLevel = PackageOptional
Include = /etc/pacman.d/mirrorlist

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs

Offline

#8 2012-04-29 21:11:24

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Offline

#9 2012-04-29 21:13:45

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,321
Website

Re: SOLVED pacman

It is exactly as falconindy predicted.  Comment the Include line under testing and community-testing.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Online

#10 2012-04-29 21:21:19

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,156

Re: SOLVED pacman

@coacharnold:  Could I please get you to use 'code' tags as defined here.  This is the same link as the BBCode:on link below post text box.

#[testing]
#SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist
[core]

I believe that falconindy is trying to convince you to comment out that Include line.

$DEITY karol and trilby you guys are fast

Last edited by ewaller (2012-04-29 21:22:51)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#11 2012-04-29 21:22:36

coacharnold
Member
Registered: 2011-06-23
Posts: 13

Re: SOLVED pacman

Toatally not understanfing this ..... is there an order these need to be read in ... whats happening here? I'm commenting out the include line???  isn't that what is directing pacman to the mirrorlist? ...  do I leave one of them open ???



#[testing]
#SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist
[core]
#SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist
[extra]
#SigLevel = PackageOptional
Include = /etc/pacman.d/mirrorlist
#[community-testing]
#SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist
[community]
#SigLevel = PackageOptional
Include = /etc/pacman.d/mirrorlist

Offline

#12 2012-04-29 21:24:28

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: SOLVED pacman

coacharnold, wrt the e-mail you send me, I'll give you some more advice: please use a more descriptive title the next time and remember to mark the thread as solved.

Last edited by karol (2012-04-29 21:24:43)

Offline

#13 2012-04-29 21:27:34

coacharnold
Member
Registered: 2011-06-23
Posts: 13

Re: SOLVED pacman

Toatally not understanding this ..... is there an order these need to be read in ... whats happening here? I'm commenting out the include line???  isn't that what is directing pacman to the mirrorlist? ...  do I leave one of them open ???  everything here wa generated my the arch install and by the pacman script ....  maybe  post a  copy of how yours looks ..  I understand what your saying just don't know the "WHY?"


#[testing]
#SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist
[core]
#SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist
[extra]
#SigLevel = PackageOptional
Include = /etc/pacman.d/mirrorlist
#[community-testing]
#SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist
[community]
#SigLevel = PackageOptional
Include = /etc/pacman.d/mirrorlist

Offline

#14 2012-04-29 21:29:29

Psykorgasm
Member
Registered: 2011-11-24
Posts: 178

Re: SOLVED pacman

coacharnold, if you leave the "Include = /etc/pacman.d/mirrorlist" under #[testing], the include line is registered under [options] because the header [testing] is commented out, and not read.

If you do not use testing just delete completely  or comment it all out like so;

#[testing]
#SigLevel = PackageRequired
#Include = /etc/pacman.d/mirrorlist

[core]
#SigLevel = PackageRequired
Include = /etc/pacman.d/mirrorlist

[extra]
#SigLevel = PackageOptional
Include = /etc/pacman.d/mirrorlist

[community]
#SigLevel = PackageOptional
Include = /etc/pacman.d/mirrorlist

Offline

#15 2012-04-29 21:29:47

coacharnold
Member
Registered: 2011-06-23
Posts: 13

Re: SOLVED pacman

not solved here

Offline

#16 2012-04-29 21:31:56

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,321
Website

Re: SOLVED pacman

It will not be solved until you follow the simple instructions presented in several different ways.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Online

#17 2012-04-29 21:32:21

coacharnold
Member
Registered: 2011-06-23
Posts: 13

Re: SOLVED pacman

Psykorgasm you RULE .... someone who spoke clearly .... now I know and fixed it .... thank you .... have and aweosme british beer for me...

T

Offline

#18 2012-04-29 21:35:06

Psykorgasm
Member
Registered: 2011-11-24
Posts: 178

Re: SOLVED pacman

Well thanks, but the info was already given to you multiple times big_smile
Just take a little time to sit back and have a think about it, usually things make a little more sense when you take time wink Remember to mark as solved as Karol said, cya!

Offline

#19 2012-04-29 21:36:02

coacharnold
Member
Registered: 2011-06-23
Posts: 13

Re: SOLVED pacman

where the hell is the solved switch on this forum ...????

Offline

#20 2012-04-29 21:37:02

chamber
Member
From: ~/
Registered: 2012-03-29
Posts: 279

Re: SOLVED pacman

Just edit your title.


meh

Offline

#21 2012-04-29 21:40:04

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: SOLVED pacman

Please read the stickies on how to use the forums before posting: https://bbs.archlinux.org/viewtopic.php?id=130309

Do not overuse yellow color - it hurts the eyes and makes large block of text a pain to read.

Offline

#22 2012-04-29 22:07:21

coacharnold
Member
Registered: 2011-06-23
Posts: 13

Re: SOLVED pacman

just did what I was told .... after just a simple cut and paste wasn't good enough



1. Search the forums before posting: https://bbs.archlinux.org/viewtopic.php?id=42799
2. Please read on how to post code https://wiki.archlinux.org/index.php/Fo … s_and_Code https://bbs.archlinux.org/help.php#bbcode

Offline

#23 2012-04-29 22:19:39

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,156

Re: SOLVED pacman


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB