You are not logged in.

#1 2010-06-02 22:25:26

mianka
Member
From: BE LEUVEN
Registered: 2006-05-30
Posts: 232

Not updating (SOLVED)

Trying to update 2 machines 64-bit AMD with clyde and pacman  -Syu
get:
checking package integrity...
:: File attica-0.1.3-1-x86_64.pkg.tar.xz is corrupted. Do you want to delete it? [Y/n] n
error: failed to commit transaction (invalid or corrupted package)
attica-0.1.3-1-x86_64.pkg.tar.xz is invalid or corrupted
Errors occurred, no packages were upgraded.
What's wrong?

f option does not work either.

Last edited by mianka (2011-03-23 19:56:46)

Offline

#2 2010-06-02 22:30:44

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,799
Website

Re: Not updating (SOLVED)

i get this on occasion if my mirrors are acting funny.  for this reason, i've an alias:

alias paccorrupt='sudo find /var/cache/pacman/pkg -name '\''*.part.*'\'''

i have with sudo so that i can do

$ paccorrupt
Password:
/foo/bar.tar.xz.part.1
/foo/bar.tar.xz.part.2
$ paccurropt -delete
$

this cleans things up.  you should also try a new mirror and -Syyu when this occurs.

/edited because i can't spell.

Last edited by brisbin33 (2010-06-03 00:34:02)

Offline

#3 2010-06-03 00:27:57

mianka
Member
From: BE LEUVEN
Registered: 2006-05-30
Posts: 232

Re: Not updating (SOLVED)

It does not evzn install patially.

Offline

#4 2010-06-03 00:32:42

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,799
Website

Re: Not updating (SOLVED)

that's not what the alias does.  failed/partial downloads leave ".part" files in my cache.  pacman complains about corrupted files until i remove them.

Offline

#5 2010-06-03 05:18:38

mianka
Member
From: BE LEUVEN
Registered: 2006-05-30
Posts: 232

Re: Not updating (SOLVED)

I do not even have corrupted files or downloads!

I have 3 atticas in /var/cache/pacman/pkg/ , ver 0.1.4, 0.1.3 and 0.1.2 and none is a *part file

Last edited by mianka (2010-06-03 05:30:08)

Offline

#6 2010-06-03 05:36:26

kazuo
Member
From: São Paulo/Brazil
Registered: 2008-03-18
Posts: 413
Website

Re: Not updating (SOLVED)

You already tried to change mirrors?

EDIT: You say that you dont have corrupted files, so you checked they manually against the md5 from the repos correct?

Last edited by kazuo (2010-06-03 05:37:50)

Offline

#7 2010-06-03 15:46:59

mutlu_inek
Member
From: all over the place
Registered: 2006-11-18
Posts: 686

Re: Not updating (SOLVED)

Try:

rm /var/cache/pacman/pkg/attica-0.1.3-1-x86_64.pkg.tar.xz
pacman -Su

Offline

#8 2010-06-03 17:08:23

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,799
Website

Re: Not updating (SOLVED)

mianka wrote:

I do not even have corrupted files or downloads!

I have 3 atticas in /var/cache/pacman/pkg/ , ver 0.1.4, 0.1.3 and 0.1.2 and none is a *part file

your initial error was when trying to update to 0.1.3 so i'm not sure what's going on.  besides i was just offering what fixes this issue for me.

the following would probably fix your issue.

sudo mv /var/cache/pacman/pkg/attica* ./

# pick a new mirror

sudo pacman -Syyu

i use mv and not rm, just incase you feel the need to put them back.  one of those things is likely corrupted (probably the 0.1.3 one), so i'd be careful about putting that one back.

Offline

#9 2010-06-03 17:35:40

sylentdogg
Member
From: Tampa, FL
Registered: 2010-04-10
Posts: 8

Re: Not updating (SOLVED)

I think there is something wrong with the mirrors. I checked the repos by using a browser to try and find the packages but they are not there (ftp://ftp.archlinux.org/ and ftp://ftp.gtlib.gatech.edu/). It only happens when pacman gets to the extra repo. Then it spits out errors saying package not found, and then quits. I don't know if this info can help narrow down what the problem is, but I am having issues with the kde related updates too.

Offline

#10 2010-06-03 17:43:48

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,799
Website

Re: Not updating (SOLVED)

Offline

#11 2010-06-03 18:13:17

sylentdogg
Member
From: Tampa, FL
Registered: 2010-04-10
Posts: 8

Re: Not updating (SOLVED)

So I guess we just wait for the repos to repopulate then. Looks like someone broke it.

Offline

#12 2010-06-05 09:43:37

mianka
Member
From: BE LEUVEN
Registered: 2006-05-30
Posts: 232

Re: Not updating (SOLVED)

The solution is much simpler : delete /var/cache/pacman/attica-0.1.3-1 and update (pm -Syu), that's all.

Offline

Board footer

Powered by FluxBB