SliTaz SliTaz Forum

You are not logged in.

#1 2012-12-21 14:08:26

tkoun
Member
Registered: 2012-12-04
Posts: 21

tazpkg get-install questions ?

hi there,

I have a local "undigest" where I keep custom builds for some packages also existing on the mirror (e.g. mutt with sidebar patch)

When I issue a tazpkg get-install it always prefers to get the package on the mirror; so I have to do a tazpkg install /path/to/package/some-package-1.0.1.tazpkg

Is there a way to give preference to a package in a local undigest instead of the one on the mirror ?

Is there a way to specify the version of a package I want to install in case I have multiple versions of some package in my local undigest plus the one on the mirror?

thanx for any insight or reply

tkoun

Offline

#2 2012-12-23 08:11:03

gdesilva
Member
Registered: 2011-04-07
Posts: 419

Re: tazpkg get-install questions ?

I think 'get-install' means accessing the mirror via the Internet for the install whereas just 'install' requires a specific location of the tazpackage hence if you use 'get-install' option I doubt you could tell it not to download it from the mirror. The way I overcome this issue is by blocking the packages that I have customized for my use in Tazpanel. This way, Tazpanel does not try to re-install or upgrade them.

Offline

#3 2012-12-23 20:18:50

tkoun
Member
Registered: 2012-12-04
Posts: 21

Re: tazpkg get-install questions ?

@gdesilva: thnax for the blocking tip.

I blocked a few and I hope to check if with blocked packages I can still get whether a package can be upgraded in case a higher version becomes available on the mirror...

Offline

#4 2012-12-25 14:38:49

kultex
Administrator
Registered: 2011-03-28
Posts: 1,175

Re: tazpkg get-install questions ?

hope that helps

http://vanilla.slitaz.org/index.php?p=/discussion/1893/solved-how-do-i-setup-a-local-repositorys/p1

Offline

#5 2012-12-25 21:17:29

tkoun
Member
Registered: 2012-12-04
Posts: 21

Re: tazpkg get-install questions ?

I have the impression that get-install will always get the internet mirror pkg even if the local undigest is of higher version. I'll check it.

I also wonder we can specify the package name with its version in the get-install command

so if I have mutt-1.25.6 on my local undigest and mutt-1.25.5 is on the internet mirror, I can do something like

tazpkg get-install mutt-1.25.6

I guess I'll have to check this as well. I'll report back

Offline

#6 2012-12-25 21:21:03

tkoun
Member
Registered: 2012-12-04
Posts: 21

Re: tazpkg get-install questions ?

@kultex

thanx for the link. ernia's question is my question. he seems to imply that packages in the local undigest which have higher version that the ones on the repo get priority with get-install over the repo ones.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.020 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]