You are not logged in.

#1 2013-03-27 23:24:12

gyurman
Member
From: Budapest/Hungary
Registered: 2011-03-22
Posts: 68

How to backup yaourt installed package?

Hello,

I didn't if I installed package from aur, how can I backup before remove if I want install next time with pacman?
I seen mine package structure in /var/lib/pacman/local, but I don not understand where can I found   pkg.tar.xz fie?
I wait for your answer.
Thanks

Offline

#2 2013-03-27 23:31:18

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,460
Website

Re: How to backup yaourt installed package?

You'll be much better off if you learn to use makepkg before you start using a helper (like yaourt) as then you'd understand this yourself.

But to answer your question - the pkg.tar.xz file is right where you told yaourt to put it.  See yaourt's config file to figure out where that is.  If it's in /tmp and you've rebooted, then I guess you're out of luck - you'll have to rebuild it.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2013-03-27 23:33:40

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,554
Website

Re: How to backup yaourt installed package?

If you built the package using yaourt, then it probably put the pkg.tar.xz in /tmp. If you've rebooted since building the package, then the .pkg.tar.xz has gone. You'll have to rebuild it if you want to reinstall it.

I suggest you use makepkg directly, rather than using an AUR helper to build packages, but if you insist on using yaourt, I believe you can change where it saves it's completed packages (or at least where it builds them).


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