You are not logged in.

#1 2021-06-16 11:54:02

hepuyuan100
Member
Registered: 2021-06-15
Posts: 20

Where will the downloaded content be kept when the download failed?

When I used "yay -S terminus" to download terminus, an error occurred during compilation after the downloading part was completed. At this time, it is considered that the software is downloaded or not?
I found that when I tried to delete it with "yay -Rs terminus", it will prompt target not found.

Offline

#2 2021-06-16 12:28:44

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

Re: Where will the downloaded content be kept when the download failed?

Please stop using yay until you understand how the AUR works.  Specifically "yay -Rs terminus" just passes those flags on to pacman, and as the package was not installed (or even built) pacman cannot find any such package to remove.  This has nothing to do with whether or not the source material was downloaded.


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

Offline

#3 2021-06-16 12:49:31

hepuyuan100
Member
Registered: 2021-06-15
Posts: 20

Re: Where will the downloaded content be kept when the download failed?

I would like to ask, this software was not successfully installed in the end, but whether the files downloaded during the installation of this software still remain on my computer?

Trilby wrote:

Please stop using yay until you understand how the AUR works.  Specifically "yay -Rs terminus" just passes those flags on to pacman, and as the package was not installed (or even built) pacman cannot find any such package to remove.  This has nothing to do with whether or not the source material was downloaded.

Offline

#4 2021-06-16 13:10:08

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

Re: Where will the downloaded content be kept when the download failed?

And again, my answer: STOP USING YAY.  Yay is precisely why you don't know where these files are or whether they remain on your computer.

In reality there are two sets of files that get downloaded: the aur material (e.g., PKGBUILD, .SRCINFO), and the upstream source used to build the software.  The location of the latter can be defined in makepkg.conf, but as you are unfamiliar with this, that option is almost certainly not used; the former is determined by yay and undoubtedly covered in yay's man page.

Note your new title is a little less vague, but it's still just asking about downloads: your question is all about how yay works, not "downloading" in general.  And from your first post, it sounds like the download didn't fail, but the build did.

Last edited by Trilby (2021-06-16 13:13:49)


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

Offline

#5 2021-06-16 13:13:22

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

Re: Where will the downloaded content be kept when the download failed?

And Trilby informed you that yay only acts as a pacman frontend here, so the behavior is that of "man pacman" - which you're going to read so you'll have a remote idea how the package manager works and why throwing "pacman -Rs" at something that wasn't installed won't work. And how to clean the cache. And all the other fundamentals you *REALLY* should (… watches video …) know.

When yay doesn't act as a mere wrapper but builds a package from the aur, the behavior is described in "man yay" (search for "aurdest"…)

Edit: curses.

Last edited by seth (2021-06-16 13:14:08)

Offline

#6 2021-06-16 14:17:03

hepuyuan100
Member
Registered: 2021-06-15
Posts: 20

Re: Where will the downloaded content be kept when the download failed?

Thanks for your explanation. I'll read the introduction, trying to learn it. smile

seth wrote:

And Trilby informed you that yay only acts as a pacman frontend here, so the behavior is that of "man pacman" - which you're going to read so you'll have a remote idea how the package manager works and why throwing "pacman -Rs" at something that wasn't installed won't work. And how to clean the cache. And all the other fundamentals you *REALLY* should (… watches video …) know.

When yay doesn't act as a mere wrapper but builds a package from the aur, the behavior is described in "man yay" (search for "aurdest"…)

Edit: curses.

Offline

#7 2021-06-16 14:19:47

hepuyuan100
Member
Registered: 2021-06-15
Posts: 20

Re: Where will the downloaded content be kept when the download failed?

Greatly thanks for your explaination. smile

Trilby wrote:

And again, my answer: STOP USING YAY.  Yay is precisely why you don't know where these files are or whether they remain on your computer.

In reality there are two sets of files that get downloaded: the aur material (e.g., PKGBUILD, .SRCINFO), and the upstream source used to build the software.  The location of the latter can be defined in makepkg.conf, but as you are unfamiliar with this, that option is almost certainly not used; the former is determined by yay and undoubtedly covered in yay's man page.

Note your new title is a little less vague, but it's still just asking about downloads: your question is all about how yay works, not "downloading" in general.  And from your first post, it sounds like the download didn't fail, but the build did.

Offline

Board footer

Powered by FluxBB