You are not logged in.

#1 2010-11-23 09:24:28

ClayOgre
Member
Registered: 2010-11-23
Posts: 4

Gimp no joy [Solved]

I have just installed Arch for the first time (coming from Slackware), and am pretty impressed.  However, I am running into an issue with one of my "gotta have it" packages ... Gimp.  It refuses to install.  I have uncommented all the repositories for the US, and added the multilib thing in my pacman config file. (am running the 64 bit version), but I keep getting this error message:

:: Retrieving packages from extra...
checking package integrity...
error: failed to commit transaction (invalid or corrupted package)
gsfonts-1.0.7pre44-2-any.pkg.tar.xz is invalid or corrupted
Errors occurred, no packages were upgraded.

I am assuming someone uploaded a bad package to the repository?  Do I need to try to locate this outside of the repositories?  I have done numerous installs of other distros (including source compiles of Gimp) and AFAIK have never run across this particular dependency.  However, since it is at the top of the dependency list, I am reluctant to try and force things to install.

Last edited by ClayOgre (2010-11-23 20:43:25)

Offline

#2 2010-11-23 09:42:46

Meyithi
Member
From: Wirral, UK
Registered: 2009-06-21
Posts: 550
Website

Re: Gimp no joy [Solved]

Change your mirror - http://www.archlinux.org/mirrorlist/

Un-commenting all mirrors is useless as pacman will just use the one at the top.


The mind roams more freely in empty rooms.
dwm - colours - ncmpcpp - system
irc://irc.freenode.net:meyithi

Offline

#3 2010-11-23 10:45:14

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,029

Re: Gimp no joy [Solved]

delete the install package from /var/cache/pacman/pkg/ and try again.

i always found it quite odd that pacman would not remove broken packages.

Offline

#4 2010-11-23 11:38:31

ClayOgre
Member
Registered: 2010-11-23
Posts: 4

Re: Gimp no joy [Solved]

Okay, tried both of your suggestions, still no luck.
@Meyithi
Uncommenting the mirrors actually "appears" to have some effect.   When I attempted the install with just one mirror uncommented, I got a file not found error.  When uncommenting all the mirrors, it apparently keeps trying different mirrors until it finds what it is looking for...

:: Retrieving packages from extra...
error: failed retrieving file 'gsfonts-1.0.7pre44-2-any.pkg.tar.xz' from mirror.rit.edu : Requested Range Not Satisfiable
error: failed retrieving file 'gsfonts-1.0.7pre44-2-any.pkg.tar.xz' from www.gtlib.gatech.edu : Requested Range Not Satisfiable
error: failed retrieving file 'gimp-2.6.9-1-x86_64.pkg.tar.xz' from mirror.rit.edu : Not Found
error: failed retrieving file 'gimp-2.6.9-1-x86_64.pkg.tar.xz' from www.gtlib.gatech.edu : Not Found
error: failed retrieving file 'gimp-2.6.9-1-x86_64.pkg.tar.xz' from mirror.rit.edu : File unavailable (e.g., file not found, no access)
error: failed retrieving file 'gimp-2.6.9-1-x86_64.pkg.tar.xz' from mirrors.cat.pdx.edu : Not Found
error: failed retrieving file 'gimp-2.6.9-1-x86_64.pkg.tar.xz' from mirror.ece.vt.edu : Not Found
error: failed retrieving file 'gimp-2.6.9-1-x86_64.pkg.tar.xz' from ftp.gtlib.gatech.edu : File unavailable (e.g., file not found, no access)
error: failed retrieving file 'gimp-2.6.9-1-x86_64.pkg.tar.xz' from locke.suu.edu : File unavailable (e.g., file not found, no access)
error: failed retrieving file 'gimp-2.6.9-1-x86_64.pkg.tar.xz' from mirror.yellowfiber.net : Not Found
error: failed retrieving file 'gimp-2.6.9-1-x86_64.pkg.tar.xz' from ftp.archlinux.org : File unavailable (e.g., file not found, no access)
error: failed retrieving file 'gimp-2.6.9-1-x86_64.pkg.tar.xz' from ftp.osuosl.org : Not Found
error: failed retrieving file 'gimp-2.6.9-1-x86_64.pkg.tar.xz' from mirrors.xmission.com : Not Found
error: failed retrieving file 'gimp-2.6.9-1-x86_64.pkg.tar.xz' from ftp.osuosl.org : File unavailable (e.g., file not found, no access)
error: failed retrieving file 'gimp-2.6.9-1-x86_64.pkg.tar.xz' from mirrors.xmission.com : File unavailable (e.g., file not found, no access)
error: failed retrieving file 'gimp-2.6.9-1-x86_64.pkg.tar.xz' from hpc.arc.georgetown.edu : Not Found
gimp-2.6.9-1-x86_64       9.6M  313.1K/s 00:00:31 [######################] 100%
checking package integrity...
error: failed to commit transaction (invalid or corrupted package)
gsfonts-1.0.7pre44-2-any.pkg.tar.xz is invalid or corrupted
Errors occurred, no packages were upgraded.

Offline

#5 2010-11-23 12:36:22

vacant
Member
From: downstairs
Registered: 2004-11-05
Posts: 816

Re: Gimp no joy [Solved]

That's an old gimp so pacman -Sy

Offline

#6 2010-11-23 14:03:53

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

Re: Gimp no joy [Solved]

vacant wrote:

That's an old gimp so pacman -Sy

I would even say 'pacman -Syu' - who knows what else is out of date.

Offline

#7 2010-11-23 14:09:22

ClayOgre
Member
Registered: 2010-11-23
Posts: 4

Re: Gimp no joy [Solved]

Actually, did an -Syy and it tried to install 2.6.11, same issue.  Will try the -Syu.

However....

I decided to install it using the no dependencies option, then attempting to run it (Gimp) from a terminal to see what it was missing.  I got it to run without installing the offending package, but don't know what functionality might have been affected.

Just for the heck of it, I downloaded the offending file and took a look at it with File Roller.  File Roller appeared to extract it without any complaints.   I am wondering if I could just install it manually in the correct location and have it function as it is supposed to, however, I am guessing that pacman wouldn't see it and it wouldn't show as being installed...yes?

Offline

#8 2010-11-23 14:15:53

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: Gimp no joy [Solved]

Yup. Go with -Syu.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#9 2010-11-23 14:21:40

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

Re: Gimp no joy [Solved]

You can download it from http://www.archlinux.org/packages/extra/x86_64/gimp/ (click 'Download From Mirror' in the top right corner) if you're having some weird mirror issues. Next, run 'pacman -U gimp-2.6.11-1-x86_64.pkg.tar.xz' to install it. It won't work if you are missing dependencies.

Offline

#10 2010-11-23 15:49:07

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,029

Re: Gimp no joy [Solved]

i think you are failing to read the error correctly

checking package integrity...
error: failed to commit transaction (invalid or corrupted package)
gsfonts-1.0.7pre44-2-any.pkg.tar.xz is invalid or corrupted

delete gsfonts-1.0.7pre44-2-any.pkg.tar.xz from /var/cache/pacman/pkg

do a pacman -Syu
and then try to install gimp.

you could read https://wiki.archlinux.org/index.php/Pacman to learn how to update your system correctly.

Offline

#11 2010-11-23 16:55:23

ClayOgre
Member
Registered: 2010-11-23
Posts: 4

Re: Gimp no joy [Solved]

Thank you eldragon!  That did the trick.  Sorry to be such a pest.

Offline

#12 2010-11-23 17:00:02

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,029

Re: Gimp no joy [Solved]

ClayOgre wrote:

Thank you eldragon!  That did the trick.  Sorry to be such a pest.

you are welcome and never a pest  wink

just remember for future issues.

1. read wiki
2. search forums
3. google
4. ask wink

EDIT: and mark the thread as solved. (edit first post, add [SOLVED] to the beggining of the subject. )

Last edited by eldragon (2010-11-23 17:00:46)

Offline

Board footer

Powered by FluxBB