You are not logged in.

#1 2020-05-12 03:21:41

KevinRoberts
Member
From: Georgia United States
Registered: 2020-05-11
Posts: 6

[SOLVED] pacman gives a error while useing pacman -Syu

Hello all, I am a new user to the arch forums, and I am having a weird issue when I try and update my server that has arch on it. When I try and update my system with pacman -Syu, I get the following error

 error: could not open file /var/cache/pacman/pkg/rsync-3.1.3-3-x86_64.pkg.tar.zst: Unrecognized archive format

it does this for many packages and the transaction fails. I have tryed clearing out the pacman cache, but get the same thing when I run pacman -Syu again. Any guideance on how I can fix this would be greatly helpfull.
Thanks
Kevin Roberts

Last edited by KevinRoberts (2020-05-16 03:48:55)

Offline

#2 2020-05-12 03:27:31

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] pacman gives a error while useing pacman -Syu


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2020-05-12 03:42:27

KevinRoberts
Member
From: Georgia United States
Registered: 2020-05-11
Posts: 6

Re: [SOLVED] pacman gives a error while useing pacman -Syu

Hello,
Thanks for the news post. I just tryed updateing libarchive to the latest version, but it won't extract it when installing it. I get the following error when doing pacman -S libarchive.

 error: could not open file /var/cache/pacman/pkg/libarchive-3.4.2-1-x86_64.pkg.tar.zst: Unrecognized archive format                                             
 error: failed to commit transaction (cannot open package file)                  
 Errors occurred, no packages were upgraded.

how can I install it with out pacman erroring out on it?
Thanks
Kevin Roberts

Offline

#4 2020-05-12 03:44:48

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED] pacman gives a error while useing pacman -Syu

The news post tells you exactly what to do.

Honestly, though, if you haven't updated in a year and a half, you'd be better off wiping it and installing a different distro

Offline

#5 2020-05-14 04:58:23

KevinRoberts
Member
From: Georgia United States
Registered: 2020-05-11
Posts: 6

Re: [SOLVED] pacman gives a error while useing pacman -Syu

Hello, if this needs to be in a seprat topic, then will do that first of all heres a update from what I tryed yesterday. I grabbed a copy of the pacman-static package like the news post said figgured out how to install it and its still doing the same thing. I talked to a friend of mine and they said just do a full upgrade to the latest arch linux immage and that will fix the problem am having. but theirs a problem what I am running this system off of is a soyoustart  dedicated server and all they have is the immage for arch 2018 it says archlinux 2018,  auto installer, latest version, but I am thinking thats what the problem is. what I am wanting to do is boot the thing in to rescue mode, wipe  all the disks as it stands right now, grab the latest immage, and some how through SSH as I am a blind user of linux and can't use VNC to do the install, chroot in to the iso after mounting  it and follow the directions in the arch install guide and just do the commands and stuff needed to do the complete install. is their a way for that to  be done because this will have to be done all through the rescue system before I change the netboot back to the hard drive to boot in to my installed system. or am I stuck with what soyoustart has and need to do this hole thing a different way. Sorry if this is off topic from what I wanting to do but figgured it might be a way for me to fix my pacman problems once and for all by doing it this way.
Thanks
Kevin Roberts

Offline

#6 2020-05-14 05:39:07

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,819

Re: [SOLVED] pacman gives a error while useing pacman -Syu

figgured out how to install it and its still doing the same thing

No. You didn't use it. Download the direct binary and run that from anywhere. It's a static link, you don't need to install anything.

just do a full upgrade to the latest arch linux immage

That is not a thing.

On a sidenote, please read https://en.wikipedia.org/wiki/Paragraph

Offline

#7 2020-05-14 06:31:11

KevinRoberts
Member
From: Georgia United States
Registered: 2020-05-11
Posts: 6

Re: [SOLVED] pacman gives a error while useing pacman -Syu

Hello,
I grabbed the package from the repo once I added it to the pacman.conf file and then did pacman -S pacman-static and it installed the package thought it upgrades your pacman version, or is it a completely seprat package from the normal pacman. Just checking.
Thanks
Kevin Roberts

Offline

#8 2020-05-14 07:03:07

KevinRoberts
Member
From: Georgia United States
Registered: 2020-05-11
Posts: 6

Re: [SOLVED] pacman gives a error while useing pacman -Syu

Update finily got it working. now am trying to figgure out how to fix the subject to mark as resolved.
Thanks
Kevin Roberts

Offline

#9 2020-05-14 07:37:44

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,381

Re: [SOLVED] pacman gives a error while useing pacman -Syu

You can edit the subject line by editing your first post in the thread.

Offline

Board footer

Powered by FluxBB