You are not logged in.

#1 2020-01-29 21:26:29

goodboy
Member
Registered: 2007-02-23
Posts: 34

[SOLVED] How to get libarchive for an unmaintained arch installation?

I have an old installation that I hope to get back on track.
(Linux hulk 4.6.4-1-ARCH #1 SMP PREEMPT Mon Jul 11 19:12:32 CEST 2016 x86_64 GNU/Linux)

Currently installed versions

pacman -Q libarchive
libarchive 3.2.1-2

pacman -Q pacman    
pacman 5.0.1-4

How can I break out of that vicious cycle.

I need the latest libarchive to install zstd-1.4.4-1 and  libarchive-3.4.1-1 using pacman.
But pacman can't handle the new compression format without libarchive.

I tried to install libarchive from the src tarball from http://www.linuxfromscratch.org/blfs/vi … chive.html

./configure --prefix=/usr --disable-static && make
make install

Which is probably not the way I should resolve the issue (obviously it didnt work)
The process exists with status code 127. See below.

Pictures|⇒ pacman -S libarchive
resolving dependencies...
looking for conflicting packages...

Packages (2) zstd-1.4.4-1  libarchive-3.4.1-1

Total Download Size:   0.87 MiB
Total Installed Size:  4.09 MiB
Net Upgrade Size:      1.79 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 zstd-1.4.4-1-x86_64                                391.9 KiB  5.47M/s 00:00 [############################################] 100%
 libarchive-3.4.1-1-x86_64                          499.2 KiB  8.13M/s 00:00 [############################################] 100%
(2/2) checking keys in keyring                                               [############################################] 100%
(2/2) checking package integrity                                             [############################################] 100%
(2/2) loading package files                                                  [############################################] 100%
error: could not open file /var/cache/pacman/pkg/libarchive-3.4.1-1-x86_64.pkg.tar.zst: Child process exited with status 127
error: failed to commit transaction (cannot open package file)
Errors occurred, no packages were upgraded.

Last edited by goodboy (2020-01-30 16:41:40)

Offline

#2 2020-01-29 21:31:31

Zod
Member
From: Hoosiertucky
Registered: 2019-03-10
Posts: 630

Re: [SOLVED] How to get libarchive for an unmaintained arch installation?

This is in the news section on the Arch home page.

https://www.archlinux.org/news/now-usin … mpression/

Offline

#3 2020-01-29 21:31:54

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,831

Re: [SOLVED] How to get libarchive for an unmaintained arch installation?

Last sentence of the news post: https://www.archlinux.org/news/now-usin … mpression/

Given that is really the only roadblock. It might be much more fruitful to update incrementally to at least every manual intervention according to the news using the ALA:  https://wiki.archlinux.org/index.php/Arch_Linux_Archive

Offline

#4 2020-01-29 21:33:37

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] How to get libarchive for an unmaintained arch installation?

You can use the ALA to upgrade in stages.

Just set the repo forward from your current last update (2016) a few months at a time upgrading as you go.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#5 2020-01-30 16:40:17

goodboy
Member
Registered: 2007-02-23
Posts: 34

Re: [SOLVED] How to get libarchive for an unmaintained arch installation?

Thanks gyus, ALA sounds about right,

Offline

#6 2020-01-30 16:48:08

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,907
Website

Re: [SOLVED] How to get libarchive for an unmaintained arch installation?

Mod note: Not an Installation issue, moving to NC.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB