You are not logged in.
Pages: 1
After successfully upgrading to pacman-4.0.3-2 on 3 systems, I am getting a failure on the 4th:
[root@peregrine etc]# pacman -Suy
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
:: The following packages should be upgraded first :
pacman
:: Do you want to cancel the current operation
:: and upgrade these packages now? [Y/n] y
resolving dependencies...
looking for inter-conflicts...
Targets (1): pacman-4.0.3-2
Total Installed Size: 3.27 MiB
Net Upgrade Size: -0.27 MiB
Proceed with installation? [Y/n] y
(1/1) checking package integrity [######################] 100%
error: pacman: key "E62F853100F0D0F0" is unknown
:: Import PGP key 00F0D0F0, "Gaetan Bisson <g.bisson@tue.nl>", created 2010-01-09? [Y/n] y
(1/1) checking package integrity [######################] 100%
error: pacman: signature from "Gaetan Bisson <gaetan.bisson@normalesup.org>" is unknown trust
error: failed to commit transaction (invalid or corrupted package (PGP signature))
Errors occurred, no packages were upgraded.
[root@peregrine etc]#
I tried reverting to the -1 version of pacman, but no soap. Now I am stuck! How can I get pacman-4.0.3-2 installed successfully?
Last edited by djraymondnm (2012-06-08 02:43:53)
Offline
What happens if you simply answer "N"?
Burninate!
Offline
As a start, remove SyncFirst from pacman.conf, and then read this: http://www.archlinux.org/news/having-pa … -packages/
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
1) Typing "N" just causes the install to abort.
2) Commenting out SyncFirst = pacman allows installation of other stuff to start, but it then aborts.
Running pacman-key --init simply hangs after the output "gpg: Generating pacman keychain master key..."
Offline
Read this to learn more about package signing:
https://wiki.archlinux.org/index.php/Package_signing
Alternately, just disable it if you do not want it. I'd suggest you take a couple minutes and learn about it/set it up though.
Offline
Try disabling signature checking temporarily by setting 'SigLevel = Never' for all repositories in your pacman.conf. Then, you should be able to upgrade pacman and enable signature checking again.
edit: SigLevel = Never used to be the default, so I wonder what went wrong.
Last edited by Terminator (2012-06-05 18:13:04)
Offline
edit: SigLevel = Never used to be the default, so I wonder what went wrong.
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
The problem seems to be that pacman-key --init hangs on this particular machine. On my
other machines it finished really fast. Could there be some corrupt file standing in the way
of this command? I even tried removing /etc/pacman.d/gnupg and rerunning pacman-key --init.
It still hung.
Offline
Read the pacman-key page.
Offline
Terminator wrote:edit: SigLevel = Never used to be the default, so I wonder what went wrong.
I am aware of that. However, the OP says the upgrade to pacman-4.0.3-2 fails. Since this is the first version of pacman where signature checking is enabled by default, his pacman.conf should still contain 'SigLevel = Never'.
The problem seems to be that pacman-key --init hangs on this particular machine. On my
other machines it finished really fast. Could there be some corrupt file standing in the way
of this command? I even tried removing /etc/pacman.d/gnupg and rerunning pacman-key --init.
It still hung.
Is the install on that machine one without a graphical environment? If so, the system might not find enough random data for pacman-key --init, move your mouse around; bash your keyboard; do what you need to do to give your pc enough data to initialize the keystore. Note that this happened to me a while ago, when I enabled the testing repositories before installing X. Also note that when that happened to me, running 'pacman-key --init' gave me comprehensible error-messages.
Last edited by Terminator (2012-06-05 19:03:09)
Offline
OK, by setting "SigLevel = TrustAll" in pacman.conf, I can install things, including the new pacman.
However, doing pacman-key --init still hangs. Since pacman-key is a shell script (more or less),
I can trace the origin of the hang to the "%commit" statement in the routine "generate_master_key()"
in pacman-key. The "%commit" statement hangs. I can't trace this any further because I don't
know what "%commit" does.
Offline
Is the computer otherwise usable?
maybe its a case of
How can I collect entropy?
Moving your mouse around, pressing random characters at the keyboard or running some disk-based activity e.g. updatedb in another virtual console can solve it. It may take a while so please be patient.
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
Found the problem: /etc/pacman.d/gnupg/secring.gpg was of zero length.
Copying the secring file from a healthy machine fixed the problem.
So how did this file get hosed???
Offline
Offline
Found the problem: /etc/pacman.d/gnupg/secring.gpg was of zero length.
Copying the secring file from a healthy machine fixed the problem.So how did this file get hosed???
Not the real problem.
You should just have been more patient, or used some of the fun tools to generate entropy. (network traffic works well too for it btw)
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
Pacman-key --init finally works on the problem machine after about half an hour running lots of
"entropy generation" programs. (updatedb finally did the trick!)
This time is about 2 orders of magnitude larger than I experienced on any of 4 other machines.
Is it possible that some key generation situations just take much longer?
Offline
This time is about 2 orders of magnitude larger than I experienced on any of 4 other machines.
You are saying that the other machines finished on the order of 20 seconds. It is possible, especially if the machines had been on, doing other things prior to the key generation. The kernel does collect and store entropy continuously. Only when you run out do you need to wait. The system uses time between keystrokes, mouse movement, Ethernet latency, disk rotation latency, etc... It is dependent on the system components and whether they are running. Increasing numbers of systems even have hardware true random generators -- usually based on the metastability of a bi-stable circuit (flip-flops) or based upon jitter measurement of a "poor" oscillator. Maybe those other systems have some of those capabilities.
Is it possible that some key generation situations just take much longer?
You bet. Funny thing about entropy, it is not very organized
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
djraymondnm wrote:This time is about 2 orders of magnitude larger than I experienced on any of 4 other machines.
You are saying that the other machines finished on the order of 20 seconds. It is possible, especially if the machines had been on, doing other things prior to the key generation. The kernel does collect and store entropy continuously. Only when you run out do you need to wait. The system uses time between keystrokes, mouse movement, Ethernet latency, disk rotation latency, etc... It is dependent on the system components and whether they are running. Increasing numbers of systems even have hardware true random generators -- usually based on the metastability of a bi-stable circuit (flip-flops) or based upon jitter measurement of a "poor" oscillator. Maybe those other systems have some of those capabilities.
Is it possible that some key generation situations just take much longer?
You bet. Funny thing about entropy, it is not very organized
I wonder if this information should go somewhere in the documentation.
Offline
[I wonder if this information should go somewhere in the documentation.
I must admit, I spend my time either here, hacking code, working, or spending time with my kids. Maybe this would give me an excuse to contribute to the wiki. The information I provided is not critical, but it does provide background.
Maybe this weekend ... After I pull the bearings on the washing machine, clean the seats, seat the new bearings, replace the seal, and re-assemble the piece of junk.
They say that being married to an engineer means you never get new appliances
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
ewaller wrote:djraymondnm wrote:This time is about 2 orders of magnitude larger than I experienced on any of 4 other machines.
You are saying that the other machines finished on the order of 20 seconds. It is possible, especially if the machines had been on, doing other things prior to the key generation. The kernel does collect and store entropy continuously. Only when you run out do you need to wait. The system uses time between keystrokes, mouse movement, Ethernet latency, disk rotation latency, etc... It is dependent on the system components and whether they are running. Increasing numbers of systems even have hardware true random generators -- usually based on the metastability of a bi-stable circuit (flip-flops) or based upon jitter measurement of a "poor" oscillator. Maybe those other systems have some of those capabilities.
Is it possible that some key generation situations just take much longer?
You bet. Funny thing about entropy, it is not very organized
I wonder if this information should go somewhere in the documentation.
Probably a good idea because I just ran into the same problem. While my new Arch installed laptop was hung at "gpg: Generating pacman keychain master key...", I started researching the forums here and found this thread. While reading the thread, my laptop beeped and I had a prompt and, evidently, a new master key. Took a lot longer than it did on other systems.
Offline
Pages: 1