You are not logged in.
I have installed arch linux using netinstall in Virtualbox on Ubuntu 12.04 x64, and now I am having some sort of headache with this pacman 4.0.3.
I am trying to install base Xorg packages using this command as given in the beginner's guide:
# pacman -S xorg-server xorg-xinit xorg-server-utils
After I hit enter, it downloads the packages successfully, but while installing them shows it shows the output below after checking for the package integrity:
error: failed to commit transaction (invalid or corrupted package)
Errors occured, no packages were upgraded.
It shows the same thing no matter what package I am trying to install. I tried installing gnome-shell, and it shows up same thing after that download completes.
Actually, it showed some package signature errors before, but after I have done what has been said in this blog(as a solution for those errors):
http://allanmcrae.com/2011/12/pacman-pa … arch-linux
it shows the errors quoted above.
Yes, I would have pasted the whole terminal output - but it's on VM, and I can't get the terminal output inside that VM to ubuntu(so that I can paste it here), pacman giving problems seems to make this even harder.
I am not sure what I have messed up as I am installing it for first time, so I am waiting for some help.
Thanks!
Offline
Can you post the entire output of pacman command and your /etc/pacman.conf file?
Last edited by ewaller (2012-05-23 15:46:12)
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
hmm... I had to do it the hard way... I didn't get better idea than taking screenshots...
This is when I run the xorg command: I have saved the output into a text file and opened it again, as it's kinda hard to get the screenshot while it scrolls the output...
http://i1220.photobucket.com/albums/dd4 … mmand1.png
http://i1220.photobucket.com/albums/dd4 … mmand2.png
http://i1220.photobucket.com/albums/dd4 … mmand3.png
And this is the /etc/pacman.conf file:
http://i1220.photobucket.com/albums/dd4 … acman1.png
http://i1220.photobucket.com/albums/dd4 … acman2.png
http://i1220.photobucket.com/albums/dd4 … acman3.png
http://i1220.photobucket.com/albums/dd4 … acman4.png
http://i1220.photobucket.com/albums/dd4 … acman5.png
http://i1220.photobucket.com/albums/dd4 … acman6.png
http://i1220.photobucket.com/albums/dd4 … acman7.png
http://i1220.photobucket.com/albums/dd4 … acman8.png
http://i1220.photobucket.com/albums/dd4 … acman9.png
I'm really sorry I had to do it this way... if you have some other idea how I can do the same job, please tell me... hopefully, the problem gets solved before I have to post another Terminal output...
Last edited by ewaller (2012-05-23 16:43:44)
Offline
Ouch. I had to turn all of those inline images to url links.
Verify that you have done a paman-key --init ??
Did it ever ask you if you wanted to download individual keys?
You may also try a pacman -Scc followed by pacman -Syyu
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
oops... sorry for enclosing them in img tag...
Yes, I have done pacman-key --init before.
You mean something like this?
error: gcc-libs: key "F99FFE0FEAE999BD" is unknown
:: Import PGP key EAE999BD, "Allan McRae ", created 2011-06-03? [Y/n]
Yes, it asked for that too. I tried like four different packages in four ways and I guess when I was trying for firefox, I even added each of those package keys manually using these commands:
# pacman-key -r <keyid>
# pacman-key --lsign-key <keyid>
Well, the same error came up even when I did it that way.
Just to tell you where exactly where I am stuck, I guess I was able to install only sudo until now... as given in the Beginner's guide. The next thing I started doing was Xorg GUI, and this gave me a bunch of error messages instead. I wasn't strictly following the guide when it came to /etc/pacman.conf though, because it gave me different error messages then... What it's like now, can be seen in that screenshot.
Last edited by Black Death (2012-05-23 18:59:02)
Offline
I wasn't strictly following the guide when it came to /etc/pacman.conf though, because it gave me different error messages then...
You would probably be better off following the guide to the letter until you have a better understanding of how everything works, and only then attempting some freestyle moves...
Offline
You would probably be better off following the guide to the letter until you have a better understanding of how everything works, and only then attempting some freestyle moves...
oh, no... you misunderstood me. When I followed the guide, it gave me some errors then too.
They were regarding the signature and key checking in pacman like I quoted in the post above.
So, I only tried commenting and uncommenting SigLevel setting under the repositories in the file.
When that didn't seem to work, I changed them back to how they were before, and this time I got the blog article and did what was said in that. Then this particular error is coming up.
If you want to know how the /etc/pacman.conf is as of now:
Include mirrorlist setting is uncommented only for [core], [extra], and [community] repositories.
The SigLevel is commented for all of them.
For the [testing] and remaining repositories, both of them are commented.
The SigLevel option above the repositories settings is currently set to Optional TrustAll as shown in the screenshot.
I don't think I should uncomment those multibit repositories like it says, as the xorg package doesn't seem to be a 32-bit one or something like that...
I can't understand where from the error is popping up.
Offline
For future reference, instead of wasting time taking 12 screenshots and posting them, it would be much easier to just use a pastebin client to upload from the command line.
https://wiki.archlinux.org/index.php/Pastebin_Clients
Some other solutions were discussed here:
https://bbs.archlinux.org/viewtopic.php?id=141534
Offline
Thanks Pres!
Well, about the problem - It seems to me like the error might not be from pacman configuration file, I have wrote the settings in that file already here, and because you guys didn't spot any "obvious" error in that file - I think the pacman itself or the Arch installation itself might have crashed somewhere in the middle.
I think there would have been some problem while installing Arch itself, I mean it could so happen that one or two packages might not download properly, and may be pacman itself didn't download properly. May be something like that would be the cause for this error.
So, I am thinking of re-installing the whole thing.
But, I really didn't screw up the /etc/pacman.conf file.
Also, could it be this way that the error might be occuring due to some problem in downloading some packages while netinstall?
EDIT: I think I need to install guest additions for sharing folders (and writing terminal output) or I need to install some other package using pacman for posting /etc/pacman.conf here.
But, I can't do that because pacman itself is not working here. I should have posted this thread in pacman forum, but since I was technically in the middle of the installation and also because I consider myself a n00b, I thought this would be better place.
Last edited by Black Death (2012-05-24 18:35:14)
Offline
Boot the virtual machine into a live environment and then mount the Arch partition and grab the /etc/pacman.conf file from there. You can then install a pastebin client and post it. Heck, you could even just use Ubuntu/etc. and use a web browser to post it from within the virtual machine.
Offline