Hello!
I'm newbie. After update system (guix pull) I see this error:
root@guix ~# guix system -n reconfigure /etc/CURRENT.scm
/etc/CURRENT.scm:37:24: error: you need these modules in the initrd for
/dev/sdb2: sata_nv pata_acpi
BUT:
1. Prior to this (before upgrade) everything was OK
2. sata_nv an
Thanks. I rewrite config, following your advice and run 'guix system
--verbosity=10 reconfigure new.scm':
acquiring global GC lock `/var/guix/gc.lock'
acquiring read lock on `/var/guix/temproots/434'
acquiring write lock on `/var/guix/temproots/434'
downgrading to read lock on `/var/guix/temproots
> Does ‘guix system reconfigure’ succeed once you specify the
> ‘initrd-modules’ field as others suggested?
This problem is resolved, thanks. But I still can't reconfigure system
(‘--verbosity=10’ needed to see some output, otherwise absolutely nothing
in console). Experimentally, I found out that
device "one")
(mount-point "/home")
(type "ext4")
(options "noatime,discard 0 0")
(title 'label))
(file-system
(device "634a6369-c5a8-4f4c-b3e8-35f
Ok, with Your version of a config 'reconfigure' starts, normal output. Also
I added some more packages
to the selected.
But further in an output I see something, similar to compilation of
packages (for "ffmpeg" and
"icecat-52.6.0"), as in Gentoo. Well, that is exactly the output of GCC!
Possibly,
Hello. Can I remove old package versions and other builds? On the example
of Icecat:
252.1 MiB [ ]
/5ym67s5vp1vmnc3y4ds4r3687vc3nl25-icecat-52.6.0-gnu1
252.0 MiB [ ]
/360i9ca4gnm3rsjj8v43ih0j3mfrp40n-icecat-52.6.0-gnu1
246.8 MiB [ ]
/kd0nnq3i0qarx4vqxcampxfj3
Thanks to all respondents, I thumbed through manual. All my questions
relate exclusively to 'reconfigure' and old grub menu entries, and old
system configurations.
guix gc Ok, next:
guix gc -d /gnu/store/kd0nnq3i0qarx4vqxcampxfj3igxn84h-icecat-52.3.0-gnu1
finding garbage collector roots...
guix gc
Solved with emacs-guix (very cool tool!):
guix-system-generations -> select to delete (d) -> execute (x) -> guix gc
Another question.. Package zip refers to "compression" package source.
Can I not specify individual packages, but install all of this group?
Can I do this with a single command? (This is a general question, not
just about zip).
> On 07/03/2018, Jone wrote:
> Hello. Can I remove old package versions and other builds? On the
> example of Icecat:
>
> 252.1 MiB [ ]
> /5ym67s5vp1vmnc3y4ds4r3687vc3nl25-icecat-52.6.0-gnu1
> 252.0 MiB [ ]
> /360i9ca4gnm3rsjj8v43ih0j3mf
>Your user’s profiles are not the only ones that can keep packages
>alive.
>You also have a system profile with potentially multiple generations.
>They are stored under /var/guix/profiles/system*
This we already figured out previously in this thread :)
And:
"Label : GNU with Linux-Li
))
In unknown file:
9 (primitive-load "/home/jone/.guile")
In ice-9/eval.scm:
721:20 8 (primitive-eval (use-modules (ice-9 readline)))
In ice-9/psyntax.scm:
1235:36 7 (expand-top-sequence ((use-modules (ice-9 readline))) _ …)
1182:24 6 (parse _ (("plac
I wrote a simple script:
TRGT="*-gtk+-2.2*"
for i in $(ls -d /gnu/store/$TRGT/)
do
echo
echo "--> $i"
echo "$(guix gc --referrers $i | grep -v \.drv)"
done
Part of output:
--> /gnu/store/595ydgdnkj9vdx
And, I seem I begin to understand!
After deleting the previous profiles does not occur "relink" to current
version of library: what has already been established, that will also
remain. Correctly?
Thanks, Ricardo.
Then still questions:
the difference in a hash is already enough to read two identical
libraries as two different versions? Whether are available dependences
of one package for another?
Need wiki, not only Manual! :)
Björn wrote:
> I'm not sure if I understood you fully, I hope my answer is the right
> one to your question.
But I understood you.
> Since a week or so we decided to invite people
> also to write in their language and not only in English.
Languages there is, but there is whether people..
To run 'reconfigure' for minor changes to the system configuration
is inconvenient. For example, this option:
(sudoers-file (local-file (config-file "/etc/sudoers")))
provides an easy way to make changes at any time. But what about mcron?
The user has a directory ~/.config/cron, but it cannot r
Ricardo writes:
> Reconfiguring does not take a lot of time when there have been only
> minor changes. It only takes a couple of seconds.
Well, let's just say, this is not always true. The last time was a full
compilation of Icecat from source (!) "It only takes a couple of
hours" ;)
Ricardo writes:
> Only if you change the version of Guix in between reconfiguration
> or ..
This! I run 'guix pull' every week.
And how do I act?
1. Run 'guix pull' once a month.
2. Disable internet connection before reconfigure (in case I only need
to update system configuration, without downlo
Andreas writes:
> Also, this problem can be circumvented by not having packages in the
> *system* definition, but only in *user* profiles. This decouples
> updates of single packages from updates of the system configuration.
Yes, I also came to this: absolute minimum of packages in the system
con
> If you want, you can write in one of the other languages that
> developers speak:
Хорошо, Ludo’, я пишу на своем языке. У меня куча вопросов, но к
сожалению мануалы GNU не являются "быстрорастворимыми". А кроме
мануалов любая другая документация с примерами ("howto") отсутствует!
1. Из мануала не ясно, могу ли я использовать noatime и discard.
Хорошо, мы можем выполнять trim по cron (mcron). Этот сервис есть в
%desktop-services? Или я должен явно прописывать это? Как часто следует
выполнять команду trim?
2. Для logrotate есть какой-то аналог, но я забыл какой :) Он включен
Более того, она зависла после первого раза. Хардварный сброс.
После второго раза - никакой реакции на подключение.
Только на третий раз удачное соединение. По USB!!
dmesg
1: [sde] Attached SCSI removable disk
[15463.554865] sd 6:0:0:0: [sdd] Attached SCSI removable disk
[15564.604846] usb 1-6.3:
Благодарю Вас. Это PocketBook, известный низким качеством своего ПО. Однако
до этого ошибок подключения было меньше. Я протестирую эту проблему немного
позже.
Вроде бы Xfce заявлена основной рабочей средой, но есть только базовые
плагины. Ну хорошо, как их собирать локально? Я хочу Whisker Menu, и еще
датчики (lm_sensors). Пожалуйста с примерами кода, ваш мануал.. сложен.
Почему вообще у вас не полностью собранная среда? Ну сами посмотрите: на
Gentoo ест
-systems (cons*
47 %base-file-systems))
48(swap-devices
'("/dev/disk/by-uuid/0602935f-4ed2-4805-9ec9-e0c06238abf5"))
49(users (cons (user-account
50
> He-he, I recognize this :-)
Copy-paste method! ;) Guix manual.. is too academic. And does not
contain examples.
(I'll get back to that later).
Hi people!
How do I build https://github.com/nonpop/xkblayout-state ?
I need it for switching keyboard layout with one key (LWin), in Emacs
and in X.
> Please point the author to
> https://www.gnu.org/licenses/gpl-howto.html.
Not with my level of English :(
I somehow launched xkblayout-state from my previous build. My method
switching keyboard layout:
1. get current window name (xdotool)
2. if Emacs then xdotool->emacs_shortcut
if not Emac
Hello! If I make little changes, like such:
was:
(users (cons (user-account
(name "jone")
(comment "Jone")
(group "users")
(supplementary-groups '("wheel" "netdev" "
Don't refer to manual, please - it does not answer practical
questions. Why do you think there are so few packages? - and no one
knows how to build them! I tried, and of course I did not succeed. For
example, when I write to elisp, I guess by context how and what I should
do next. And a powerful co
On Gentoo I actively used github: download, then local build and install
in ~/{bin,tools}. It was easy! I didn't even need ebuilds and did not
think as this works :-)
Now I need several applications which are absent and will not be in
official repositories of a distribution. For an example:
1. htt
;xfce4-panel" ,xfce4-panel)))
(home-page
"https://goodies.xfce.org/projects/panel-plugins/";)
(synopsis "cpugraph")
(description
"TEST")
(license (list gpl2+ lgpl2.0+
)
2. Then in terminal
GUIX_PACKAGE_PATH=/home/jone/sys.cfg/build/my/ guix package -i
xfce4-cpugraph-plugin
ERROR: In procedure %resolve-variable:
libxfce4util: unbound variable
About off-topic, if I understood you correctly, I have Rmail with
default settings. I do not know.
> best off looking at similar package declarations among the
> distribution's official packages.
I go and look, but there are no comments :-(
'mail-abbrevs-setup)
;;; SMTP
(require 'smtpmail)
(setq send-mail-function 'smtpmail-send-it
smtpmail-smtp-server "smtp.gmail.com"
smtpmail-stream-type 'starttls
smtpmail-smtp-service 587)
(setq user-mail-address "Jone ")
i.e. mailutils with "pops" (gmail) it seems.
I use google-translate so I answer slowly. There are only wild
ubuntooids :) As win users.
Привет, Олег. Мне наверно было бы проще писать на русском, не мучая
системы перевода и остальных участников рассылки. Дело в том, что я
нахожу время на систему только урывками. В стиле работает и черт с
этим. А все эти инсрументы, которые мне нужны.. короче, их
много. Поэтому я и обратился к теме с
Hi all! I got confused with this:
Xfce panel clock show the right time, in my config.scm:
...
(operating-system
...
(timezone "Europe/Moscow")
...
but:
sudo hwclock --localtime
2018-05-09 19:53:59.559850+0300(Ok)
sudo hwclock --utc
2018-05-09 22:54:06.184854+0300(wrong!)
and time in sy
> I guess this explains the wrong timestamps of your e-mails! :)
Previously, did not pay attention, but wrong time in system log is
extremely undesirable.
> You can fix it with `hwclock --systohc`
.. and no changes. ??
> Do you run a dual boot with Windows?
I forgot long ago what is dual boot
> sudo herd status ntpd
Status of ntpd:
It is started.
Running value is 14818.
It is enabled.
Provides (ntpd).
Requires (user-processes networking).
Conflicts with ().
Will be respawned.
Oleg, ‘ntp-service’ is part of dektop-services or something like
that. In any case ntpd process is running.
> They should not be equal, because they are different timezones. :-)
In Gentoo, or in OpenSUSE 'date' displays time for my timezone, but here so
works 'date -u'.
In any case, when I look at my watch and see 22:00 and then I look in
/var/log/messages and see there 01:00.. it's no good.
Now:
guix package -i PACKAGE # -> creating new generation
guix package -d # remove all generations, except current
guix gc
- not so good: first creating new generation, and next delete all
others (I absolutely do not need a rollback).
Maybe some other way?
> Also note that generations are generally lightweight
It's right. But I have another problem with different generations:
I build and install xfce4-cpugraph-plugin
/gnu/store/qf0khvz9vj5lj4k9sfjxqlbs0kl8ssr3-xfce4-cpugraph-plugin-1.0.5/
├── lib
│ └── xfce4
│ └── panel
│ └── plug
> listed in the environment variable “X_XFCE4_LIB_DIRS”
It works! Thanks.
Hello! I'm wondering, how could I operate with unpacked sources?
So far I see only this:
guix build -f /home/jone/Desktop/template.scm
guix build: error: #: not something we can build
Files:
1. template.scm
(use-modules
(ice-9 match)
(srfi srfi-1)
(guix gexp)
(guix licenses)
(guix
packages audio))
(define-public gvolwheel
(package
(name "gvolwheel")
(version "-1.0")
(source (local-file "/home/jone/Desktop/gvolwheel-1.0" #:recursive? #t))
(build-system gnu-build-system)
;; see https://github.com/pjotrp/guix-notes/blob/ma
> .. if you want to submit this as a patch to guix ..
O, no)) It was relatively easy, beginners level.
About the rest - thanks, I will consider this in the next packages.
>> (use-modules
>> (ice-9 match)
>> (srfi srfi-1)
>> (guix gexp)
> I don't think you need these three first modules.
- gu
For a long time I could not understand why command 'date' show incorrect
time (but 'date -u' displays everything correctly). And this problem is
characteristic only for GuixSD!
After studying the question, I found that "export TZ=MSK" fix this
problem (my timezone is "Europe/Moscow"). But in no ot
Hi!
> Does ‘zdump /etc/localtime’ show your timezone time?
1.
J: ~/Desktop> date
Пн май 28 15:42:54 MSK 2018
2.
J: ~/Desktop> zdump /etc/localtime
/etc/localtime Mon May 28 18:42:58 2018 MSK
1 - Ok, 2 - not Ok/
3. system.scm:
...
(operating-system
(host-name "guix")
(timezone "Europe/Moscow")
Hello. I check updates:
guix refresh emacs
gnu/packages/emacs.scm:116:13: emacs would be upgraded from 25.3 to 26.1
and would like to install only this one update:
guix package -u emacs
guix package: warning: Your Guix installation is 16 days old
...
Can I change threshold for this ("NN d
Maybe this helps (see manual):
"guix package:
...
--roll-back
Roll back to the previous generation of the profile—i.e., undo the
last transaction."
or again 'guix gc'.
#> speaker-test
Cannot open shared library
/gnu/store/..-alsa-lib-1.1.6/lib/alsa-lib/libasound_module_pcm_equal.so
I do not know how it happened, but apparently this:
libasound_module_pcm_equal.so -> alsaequal
Ok, build alsaequal (I really need an equalizer):
install: target '/usr/lib/alsa
Hi, people! There are also prepared packages - why not a give to the
world this? As third-patry, no warranty.
Or is it still an experimental distro for hackers? I have prepared 3
packages, they are not in the official delivery, but where can I send
them?
Standard path is '/usr/lib/alsa-lib/', and
$HOME/.guix-profile/lib/alsa-lib not exist. Need to change. Edit
Makefile is bad, gexp.. it's outrageous why it couldn't be done on a
standard Lisp. I'm sometimes an idiot :)
> If you've built 3 packages for Guix, we will be glad to add them to
> Guix o
Hello. I just have very bad English. I chose this distribution
because of the progressive engineering approach and wide
possibilities. And someday I'll learn all this)) Okay, I'll figure it
out myself. Or not =) It does not matter! Anyway for me it will be a
rewarding experience.
I have a problem: can not run system reconfigure.
root@guix ~# guix system --help
guix: system: command not found
'guix pull' launched 3 times in a row, each time gives the same output:
compiling...100.0% of 1 files
compiling...100.0% of 230 files
co
> If you run guix as root, then you must run `guix pull` as root as
> well.
Yes, that's exactly what I did.
> sudo guix system reconfigure
> should work.
But:
sudo guix system --help
Password:
guix: system: command not found
Try `guix --help' for more information.
Works as
sudo -E guix system --help
but I can not imagine what will happen as a result with 'sudo -E' and 'system
reconfigure'.
Thanks. I already wrote this, but I was not sure that nothing would break in
the system.
And the current results:
during reconfigure were built from source samba, ffmpeg, icecat (now)
and I do not know what else and how long it will be.
Theoretically, berlin.guixsd.org repository is enabled:
(modify-services %desktop-services
...
(substitute-urls (list "https://berlin.guixsd.org";
, Jun 27, 2018 at 09:48:23PM -0400, Mike Gerwitz wrote:
> > On Wed, Jun 27, 2018 at 14:53:50 +, Jone wrote:
> > > I have a problem: can not run system reconfigure.
> > > root@guix ~# guix system --help
> > > guix: system: command not found
> >
> &g
> We recommend not to add user packages to the “packages” field of your
> operating system configuration.
Ricardo, there are listed only base system-wide packages! I even deleted
'icecat' and some others,
but this almost did not change the reconfigure time.
By the way, in the new system generatio
> When I had problems they were caused by wrong path.
Not sure, it seems the main problem is a broken 'guix pull' in root guix
instance,
and I can not do anything further, deadlock!
Output:
## user
ls -l .config/guix/
total 0
lrwxrwxrwx 1 jone users 58 May 20 23:29 latest
Thanks, Swedebugia.
> You probably like Pierre missed the warning about setting
> the correct path after the first guix pull.
Yep, maybe. But while I was messing with the system, I globally
rewrote the system config. And now is difficult to combine it with
current state of the system.. I think th
> Can you not choose an earlier profile in grub and go from there?
Here is my mistake: I decided that old profiles are not needed and clear
them.
Well, I was not happy with my config also. Now - satisfied. So it is not so
important,
only the cost of processor time. That's why I want to get a good
> So did you learn something the hard way?
Perhaps the hard way is my way =) I'm just studying the system so far.
I need precise answers to specific questions. In manual many practical
issues is omitted. Well.. nothing else and not expected.
> I do not understand how only relying on one profile r
Clean installation took many hours. Problems:
1. Need downgrade system config (as example initrd modules syntax, I forgot
about it)
2. After first 'guix pull' - error as in Thread "Error: system: command not
found." Fixed with repeat guix pull.
3. Initial 'system reconfigure' fails at final (error
Hello. My question briefly: I want to get a compact base system, but can
not do this by of the dependencies.
Now for more details: during reconfigure installed a package A. A depend of
B, B depend of C,
C depend of D, .. and all of them I don't need.
Removing package А will probably require a lot
Hi Tonton.
> I'm guessing your config contains more than the barebones or similar.
Yes, but the differences are not great: %base-packages, some others that I
want to see as system-wide
(like emacs, perl, alsa, xrandr) and a couple of mcron-jobs. And another
important function
that copies the curr
> Note: I haven't tested this, but hopefully it should give an idea :-)
Perfect!
You reminded about services and there is an idea even easier: just remove
colord-service.
How? This issue has already been discussed in *"Deleting services from
%desktop-services in operating system declaration"*
thre
I was able to remove colord only like this:
(remove (lambda (service)
(eq? (service-value service) colord)) ;; colord-service-type not
exported
%desktop-services)
and after removing, the login to Xfce freezes for some time. In short,
something goes wrong =)
Where to see logs?
ot;10 10 * * 6"
"fstrim -a"))
...
(services (cons*
...
(mcron-service-type (mcron-configuration (jobs (list fstrim-job ;; ←
but here the question
...
root@guix ~# guix system -n reconfigure /home/jone/sys.cfg/system-config.scm
guix system: error: failed to load '
Yes, it was only my mistake, I was in a hurry =) Now «(mcron-service (list
updatedb-job fstrim-job))», reconfigure Ok.
But only it still does not work! At first, ps ax | grep mcron
292 ?Ssl0:00
/gnu/store/9dl8l4krszdd1dhaw94da0nv28ap8dvp-mcron-1.1.1/bin/mcron
/gnu/store/vvf3frpvrff
*> But only it still does not work!*
With current system version all Ok:
#> sudo herd status mcron
Status of mcron:
It is started.
Running value is 298.
It is enabled.
Provides (mcron).
Requires (user-processes).
Conflicts with ().
Will be respawned.
ps ax | grep mcron
298 ?
Hello, hakers!
I want to build a package 1 that depends on package 2.
To be more precise, I want Liferea without webkit. Older versions allow you
to use gtkhtml(2).
How to act in such a case? You can even put the question wider: need an
advanced rss-aggregator,
but there is nothing in the repo. Qui
Hah! RSS-aggregator Liferea could use multilple html-engines. Old versions
- gtkhtml, recent versions - webkit. I want build with gtkhtml. How to
create package definition for old version Liferea with gtkhtml? The problem
is that Guix does not know anything about this library, right? Well, I
build
...
2018-07-02 21:00:12 Respawning ntpd.
2018-07-02 21:00:12 Service ntpd has been started.
2018-07-02 21:03:32 Respawning ntpd.
2018-07-02 21:03:32 Service ntpd has been started.
2018-07-02 21:04:08 Respawning term-tty4.
2018-07-02 21:04:08 Service term-tty4 has been started.
2018-07-02 21:04:36 R
-- Forwarded message --
From: Jone
Date: 2018-07-21 16:46 GMT+00:00
Subject: Re: shepherd.log - ntpd - what?
To: Pierre Neidhardt
Ah, sorry, my mcron is brocken -> rottlog not work.
> Can you share your Guix system config
Yes, but it's long:
;; Version 04
(use-mod
Сannot upgrade system, i. g. guix. Its a first problem with upgrade from 0.13.
I will try again to provide a output.
And I didn't read the manual carefully - a little time, sorry. I'll
do this more closely later.
And additionally I would like to see two things:
1. FAQ
2. external repo :)
(About
I need execute this as root? For upgrade system libraries and kernel.
Part of my config:
(packages
(let ((trash (map specification->package
'("zile" "wireless-tools"
(append (map specification->package
'("xfce" "slim" "gvfs" "xrandr" "unzip"
> this looks like it's part of an operating-system declaration. Is that right?
That's right.
> When you run guix pull, a new guix is installed for the user who ran it.
And who updates the system libraries and kernel? Root? Well, what is
stated in operating-system declaration?
> Try 'guix syste
Thank you! I did not understand before what a system profile is. As such
'root profile' in my system and no, there is only a user profile and
system profile (i. e. 0 packages at root).
But it seems the upgrade errors were on stage 'guix package -u' at
user.. Ok, I'll try with more attention.
Current Guix, system reconfigure passed, but:
1. Mount/booting errors.
(file-systems (cons*
(file-system
(mount-point "/")
(type "ext4")
(device (file-system-label "my-root"))
(options "defaults,noatime 0 1"))
(file-sy
Hello, people! I don't even know exactly what I would like to ask))
Well, for example: two calls "guix pull" as root and as user - what
does the first if the root has 0 packages (besides guix itself,
right?) But how is this related in the future? I still do not
understand what I do not understand))
As example my attempts to run xfce4-popup-windowmenu. But..
"strace xfce4-panel -o log.winmenu --plugin
event=windowmenu:popup:bool:true" not understood.
I would like to add this to hotkey, but there are mistakes. now it
doesn't work anymore?
Hello! I want enter user/root password only once per session. To do this,
it will probably be convenient to export the password to shell variable.
For example, adding this to PAM configuration file:
auth sufficient pam_exec.so expose_authtok /path/to/script.sh
But how to write it in system-con
Thanks, Timothy! And sorry for my bad english.
> I don’t fully understand what you are trying to do
It's elementary! One password for any "local services", such as sudo, GPG
encryption, etc. The password is entered once at login and exported
to environment variable. As a result, password is avail
Important notice, thank you!
I have read the detailed answer on this page:
https://stackoverflow.com/questions/4129631/linux-securing-environment-variables
and suppose I could use file instead variable.
An alternative solution would probably be to configure
sudoers file. But here comes the problem
Hi community!
My problem:
❯ cpanm -i Term::ReadLine::Gnu
Configure failed... See build.log for details.
Could not find neither libtermcap, libtinfo, libncurses, or libcurses.
❯ guix package -p /run/current-system/profile -I | grep ncurses
ncurses6.1out
/gnu/store/4h03mp5nggsblscs
Hi communiti!
I don't fully understand Guix in this case:
❯ guix pull -l | grep Generation
Generation 15Sep 28 2019 17:10:57(current)
❯ guix package -l | grep Generation
Generation 155 Oct 20 2019 09:29:25(current)
❯ ls -1d /gnu/store/*-gtk+-2.24.32/
/gnu/store/0v0dwirkd5sixh91n0
Hardlinks! I hadn't thought of that :) Thanks.
> To remove those that are no longer needed by any other package in any of
> your profile generations run “guix gc”. You may want to delete unused
> profile and system generations first, though.
Well, that's obvious. 'guix gc' is executed by cron, a
Hello, peolpe! I cannot understand results of this simple sequence of
actions:
First, update Icecat: guix package -u icecat
and then later remove it: guix package -r icecat
and view /gnu/store:
du -hs -l -t 1M /gnu/store/* | grep -E 'rust|icecat'
274M/gnu/store/0p4blr576rjzpyybfmvygny6ra641w0p
Thanks, I figured out the basic things.
> If the old icecat is still referenced by an old profile, you'll have to
> remove this profile first.
> guix package --delete-generations=1m
Currently the profle contains only one generation, previous generations
was deleted immediately after command 'guix
Tobias, in answer to Pierre I have added some additional information.
I read the help and manual (but partially), and anywhere is no description of
my case.
Or in other words, I didn't understand what I didn't understand! Sorry. (It
would be very
nice in addition to the manual to have any simple
> How do you list your generations?
❯ guix package -l | grep Generation
Generation 158 Nov 02 2019 15:27:19(current)
> But it won't work since your old icecat is still live.
It seems so:
❯ guix gc -d /gnu/store/50530hgnzkxgkqciip68dn7v23cslw1c-icecat-60.8.0-guix1/
guix gc: warning: '-d' as
Thanks for reminder about /var/guix/profiles.
❯ guix package -l | grep Generation
Generation 158 Nov 02 2019 15:27:19(current)
❯ ls -1 /var/guix/profiles/per-user/jone/
current-guix
current-guix-16-link
guix-profile
guix-profile-158-link
current-guix -> current-guix-16-link
current-g
> Please also try `guix gc --referrers`.
That's right. I wrote a simple script, which shows it:
#!/bin/sh
if [ -z "$1" ]
then exit 1
fi
cprof=$(readlink -f ~/.guix-profile)
init=/gnu/store/*-$1*/
rtest="$(eval echo $init)" # trick!
if [ "$rtest" = "$init" ]
then init=$1
fi
for f in $init
do
We seem to be going in circles =)
> for r in $(guix gc --list-roots); do ls -l $r; done
lrwxrwxrwx 1 jone users 51 Oct 30 14:31
/var/guix/profiles/per-user/jone/current-guix-16-link ->
/gnu/store/bcbvw5n1pna08pj7zqfflb5zs9yfj90y-profile
lrwxrwxrwx 1 jone users 51 Oct 30 14:31
/va
> That is what you need to delete.
But this should do himself Guix? But ok, trying to delete:
sudo rm -rf /gnu/store/zxqr8afp3rpd2r3g9x41sqg5mx525355-profile
rm: cannot remove ... Read-only file system
- for all files in /gnu/store/zxqr8afp3rpd2r3g9x41sqg5mx525355-profile
Solved! Thanks.
(I forgot about ANOTHER profile, created a year ago. All is from there..)
1 - 100 of 104 matches
Mail list logo