From: Efraim Flashner <efraim@flashner.co.il>
To: Reza Alizadeh Majd <r.majd@pantherx.org>
Cc: help-guix@gnu.org
Subject: Re: Hi Guix, ??adding the package names to package list in system configuration file, we could install these packages system wide and they will be available for all users. ??for packages that are located in user profile, we could check for available updates using `guix pull`. ??but I didn't find any similar concept for system wide installed packages. ??is it possible to check for system wide installed packages without reconfiguring the system? ?
Date: Wed, 16 Oct 2019 09:07:48 +0300 [thread overview]
Message-ID: <20191016060748.GA1014@E5400> (raw)
In-Reply-To: <19e653be-6e48-4c75-9227-c2c110a8cb8d@www.fastmail.com>
[-- Attachment #1: Type: text/plain, Size: 2691 bytes --]
On Wed, Oct 16, 2019 at 12:21:52AM +0330, Reza Alizadeh Majd wrote:
> > I'm not sure I understand your question, so let me rephrase and please tell me
> > if it's not what you wanted to ask. When you upgrade the distribution with guix
> > pull, you can get a list of what could be upgraded using, say, guix package -n
> > -u. Your question was, I think, how to do that for globally available packages.
> >
> > If that is your question, the answer is quite simple. The set of globally
> > installed packages is installed in a separate profile from the user profile.
> > You can use the same command as before, specifying that other profile, to get
> > the same result, with globally installed packages:
> >
> > guix package -p /run/current-system/profile -n -u
>
>
> Hi Julien,
>
> Sorry if I couldn't describe my issue well. yes thats exactly what I meant to say.
> so as I understand:
>
> 1. we can get list of upgradable packages using: `guix package -n -u`
>
> 2. globally available packages are located in system profile located
> in `/run/current-system/profile` and we can't check for upgrades just by
> pointing the profile location.
>
This is pretty cool, I never tried doing that before.
(ins)efraim@E5400 ~/workspace/guix$ ./pre-inst-env guix package -p /run/current-system/profile -n -u
The following derivation would be built:
/gnu/store/mznyxwxi62ca8rlkmfbq66vb0m7wlz7p-profile.drv
2.6 MB would be downloaded:
/gnu/store/qyzlsaiqfggbk0j505h4m57wyyqvjnxv-grep-3.3
/gnu/store/1gyi4i5lbpr7apm74p08dwy11fhzh4j7-sed-4.7
/gnu/store/nmy9vns5xavx4c77kij5yb85k7axx06w-findutils-4.6.0
/gnu/store/gh02bsk1w007gv4sl3b5rj18ziqgxm6f-diffutils-3.7
/gnu/store/c2vas7isbs7iwjsr7wr09iwdsw9vvy25-ed-1.15
/gnu/store/8ap398fd00xqa9ng9yzv8amkni7fzpi9-patch-2.7.6
/gnu/store/bf18yhnd9h5qlfsw8s4c849k424ph1qh-libsigsegv-2.12
/gnu/store/hn8kdxgd1yjqwmc32p4xjkzkhhw82g6f-gawk-5.0.1
The following profile hooks would be built:
/gnu/store/hc51jygkiadkq8z5337jl80cpr3f8i3a-manual-database.drv
/gnu/store/hn2ybg56m2qas1bz782b08yr6hpahb96-xdg-desktop-database.drv
/gnu/store/j2lnvm506d9vlyksfdwnpkv1cp1n9l1c-xdg-mime-database.drv
/gnu/store/nh6361wwkgncxzqbgfyl37n66c6hz1pz-fonts-dir.drv
/gnu/store/q3bn0518lzmbm3mbd24r9h3flriabyxs-ca-certificate-bundle.drv
/gnu/store/sl5yc24v3xrbrqajfrrxszw16xnz7jns-glib-schemas.drv
/gnu/store/ybqjn15ixigjfl3g0qyinvabii8iba6g-info-dir.drv
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2019-10-16 6:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-15 17:12 Hi Guix, adding the package names to package list in system configuration file, we could install these packages system wide and they will be available for all users. for packages that are located in user profile, we could check for available updates using `guix pull`. but I didn't find any similar concept for system wide installed packages. is it possible to check for system wide installed packages without reconfiguring the system? Reza Alizadeh Majd
2019-10-15 17:15 ` Reza Alizadeh Majd
2019-10-15 20:51 ` Reza Alizadeh Majd
2019-10-16 6:07 ` Efraim Flashner [this message]
2019-10-15 19:27 ` checking for updates system-wide(was: very long subject) Julien Lepiller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191016060748.GA1014@E5400 \
--to=efraim@flashner.co.il \
--cc=help-guix@gnu.org \
--cc=r.majd@pantherx.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.