You are not logged in.

#1 2019-10-08 15:50:02

olive
Member
From: Belgium
Registered: 2008-06-22
Posts: 1,490

[SOLVED] asp use its cache even if it is out of date.

I use asp to download build scripts for a package. According to the documentation:

asp export repository/package 

should retrieve the build script of the package currently present in the repository. All work well as long as this script is not in the cache. But if the build script is indeed in the cache, this build script gets exported, even if a new version is available in the repository. As a workaround, I can simply: "rm -rf ~/.cache" (or the specific subdirectory used by asp). But this is confusing and seems to be a bug. Is someone here more knowledgeable than me about this?

Last edited by olive (2019-10-09 07:41:21)

Offline

#2 2019-10-08 16:03:57

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

Re: [SOLVED] asp use its cache even if it is out of date.

asp update

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

#3 2019-10-08 16:10:44

olive
Member
From: Belgium
Registered: 2008-06-22
Posts: 1,490

Re: [SOLVED] asp use its cache even if it is out of date.

@Slithery. It seems that it does indeed do what I wan. When I first read the man page, I believed it concerned only the packages where you had retrieved the whole repository; but it seems that I was wrong... thanks.

Offline

Board footer

Powered by FluxBB