You are not logged in.
I pacman -Syu'ed my system after a week & there was these error of cyclic dependancy while installing gcc package. So, I issued this command:
sudo pacman -S gcc gcc-libs gcc-ada gcc-fortran gcc-objc libtoolWhile instaling, it showed that gcc's package is corrupted.
But, later I tried installing it using
sudo pacman -U gcc-4.6.2-1-x86_64.pkg.tar.xz gcc-libs-4.6.2-1-x86_64.pkg.tar.xz gcc-ada-4.6.2-1-x86_64.pkg.tar.xz gcc-fortran-4.6.2-1-x86_64.pkg.tar.xz gcc-objc-4.6.2-1-x86_64.pkg.tar.xz libtool-2.4and it installed correctly.
It seems like local repo had the wrong md5 of the gcc package. How come?
Last edited by shadyabhi (2011-11-04 13:44:01)
My blog:-
http://blog.abhijeetr.com
Offline
Can you post the exact output, the 'corrupted' message?
Offline
Can you post the exact output, the 'corrupted' message?
shadyabhi@archlinux ~ $ sudo pacman -S gcc
warning: gcc-4.6.2-1 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...
Targets (1): gcc-4.6.2-1 [17.03 MB]
Total Download Size: 0.00 MB
Total Installed Size: 67.22 MB
Proceed with installation? [Y/n] Y
:: File gcc-4.6.2-1-x86_64.pkg.tar.xz is corrupted. Do you want to delete it? [Y/n] ^C [----------------------------------------------------------------] 0%
Interrupt signal received
shadyabhi@archlinux ~ $ sudo pacman -U /var/cache/pacman/pkg/gcc-4.6.2-1-x86_64.pkg.tar.xz
warning: gcc-4.6.2-1 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...
Targets (1): gcc-4.6.2-1 [17.06 MB]
Total Download Size: 0.00 MB
Total Installed Size: 66.82 MB
Proceed with installation? [Y/n] Y
(1/1) checking package integrity [################################################################] 100%
(1/1) checking for file conflicts [################################################################] 100%
(1/1) upgrading gcc [################################################################] 100%
shadyabhi@archlinux ~ $ I was successful in installing that same package if I used -U option. Thats some serious bug in pacman which should be looked into.
Please tell me as to what more info should I provide to be of more help.
Last edited by shadyabhi (2011-11-04 13:19:15)
My blog:-
http://blog.abhijeetr.com
Offline
The way I understand it: if you -S, the md5sum of the package gets compared to the one in the sync database of the given repo. If you -U, there is nothing to compare to.
You installed a package that is different that the one that should be on the mirror.
Last edited by lucke (2011-11-04 13:28:10)
Offline
Ah, now I get it, you were reinstalling a local package :-)
Does it happen every time?
Offline
what is the md5sum of /var/cache/pacman/pkg/gcc-4.6.2-1-x86_64.pkg.tar.xz ?
Offline
Ah! I think I get. This post probably doesn't make any sense.
Actually, initially I was not able to download gcc-4.6.2-1-x86_64.pkg.tar.xz from any of the mirrors I tried using my internet connection.(may be it has something to do with my university connection). So, I asked a friend of mine to download the package for me & send it to me by mail.
I just asked him, he downloaded it from chakra's mirror. So, now it makes sense. Closing the topic. This post was really not necessary. Sorry.
My blog:-
http://blog.abhijeetr.com
Offline