You are not logged in.
Hi
I accidentally overwrote etc/pacman.conf with the old /etc/pacman.conf.pacnew.
Pacman now appears to work but disregards the signing of packages.
Is there an copy of the pacman.conf from the upgrade around so I can merge
the two files. perhaps pacman.conf~, but no I think this is overwritten too.
Regardz
El Zorro
Offline
The pacnew version includes everything for package signing. All you will have lost is any personal changes you have made.
The package signing lines are, however, commented out except for the "SigLevel = Never" line. Just read the instructions within the comments and uncomment the appropriate SigLevel line (and comment the "Never" line).
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Click on the packages link at the top of this forum. Search for and go to the pacman package. Click on the link called "Source Files". It is the same for a lot of packages. If you cannot find it in the source files you can download the package from the site and extract it. You will most likely find it then.
Last edited by dodo3773 (2012-01-21 06:31:22)
Offline
Hi Trilby,
it may be the mouldy oldy one as there is no reference to "SigLevel = Never" it does not seem to exist only "Architecture = auto"
Here is the current /etc/pacman.conf
#
# /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
HoldPkg = pacman glibc
# If upgrades are available for these packages they will be asked for first
SyncFirst = pacman
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#XferCommand = /usr/bin/curl -C - -f %u > %o
#CleanMethod = KeepInstalled
Architecture = auto
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg =
#IgnoreGroup =
#NoUpgrade =
#NoExtract =
# Misc options (all disabled by default)
#UseSyslog
#ShowSize
#UseDelta
#TotalDownload
#CheckSpace
#
# 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]
#Include = /etc/pacman.d/mirrorlist
[core]
Include = /etc/pacman.d/mirrorlist
[extra]
Include = /etc/pacman.d/mirrorlist
#[community-testing]
#Include = /etc/pacman.d/mirrorlist
[community]
Include = /etc/pacman.d/mirrorlist
# An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#Server = file:///home/custompkgs
The pacnew version includes everything for package signing. All you will have lost is any personal changes you have made.
The package signing lines are, however, commented out except for the "SigLevel = Never" line. Just read the instructions within the comments and uncomment the appropriate SigLevel line (and comment the "Never" line).
Last edited by elzorro (2012-01-21 06:31:50)
Offline
Just reinstall pacman.
Offline
Thanks tomk
that is real KISS to the core,
but I might wait a little while until keys and signing are better sorted out, all that entropy stuff took an age last time
Cheers
El Zorro
Just reinstall pacman.
Offline
What did you do to generate entropy?
Offline
Thanks tomk
that is real KISS to the core,
but I might wait a little while until keys and signing are better sorted out, all that entropy stuff took an age last time
Cheers
El Zorrotomk wrote:Just reinstall pacman.
It may not be generally indicated, but you can speed up the gaining of entropy by doing things
Move the mouse around, cat a file to /dev/null... etc. Sitting there waiting for things to happen will let it take quite a while.
Arch i686 on Phenom X4 | GTX760
Offline
[root@greeen ~]# pacman-key --init
gpg: Generating pacman keychain master key...
Not enough random bytes available. Please do some other work to give
the OS a chance to collect more entropy! (Need 300 more bytes)
An example of what could "other work" be could be welcome.
Last edited by karol (2012-01-21 12:43:46)
Offline
An example of what could "other work" be could be welcome.
Agreed. As it turns out, going off to do some house-cleaning doesn't help. While it lowers the entropy of my home, none of seems to end up in my computer!
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Bug report opened: https://bugs.archlinux.org/task/28027
Offline
one example why more entropy required.
Offline
I was of course being facetious with the house-cleaning - really, me cleaning ... that is a joke - and I roughly understood what I needed to do. But I was not aware that even just moving the mouse or hitting keys would help. I figured I had to do some processor intensive work. A note as is seen in Kgas's link would be plenty. It says something along the lines "do other work such as .... " rather than just "do other work".
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Trilby, I've cleaned my computer screen yesterday and now I've spit on it for the second time today. Looks like you'll be doing come cleaning at my place :-)
Offline
Right, 'spit' .... if you have to clean your monitor that often, perhaps you're visiting those other sites a bit too often.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline