I understood you. It seems. The fact is that I could not login my old
configuration on another machine.
What of dependencies of GDM? Maybe will be added some more garbage? I don't
need it, it can be fixed, but it turns out that the system is unfriendly.
Hi all! Last reconfigure passed without errors, but no messages about grub
installation. After reboot - grub rescue prompt. For example, some command
output in rescue console:
insmod search
# ok, silent
insmod linux
error: symbol 'some_symbol' not found
cd /mnt/boot/; ls -R
.:
grub
./grub:
fonts
Solved! Thanks.
(I forgot about ANOTHER profile, created a year ago. All is from there..)
> 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
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
> 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
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
> 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
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
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
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
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,
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/
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
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
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
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
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, 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
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"))
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.
> 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
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"
С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 :)
-- 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-modules
...
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
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
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.
*> 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 ?
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
> 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
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
> 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 ->
/gnu
> 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
3PM -0400, Mike Gerwitz wrote:
> > On Wed, Jun 27, 2018 at 14:53:50 +0000, Jone wrote:
> > > I have a problem: can not run system reconfigure.
> > > root@guix ~# guix system --help
> > > guix: system: command not found
> >
> > I had the
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;
Thanks. I already wrote this, but I was not sure that nothing would break in
the system.
Works as
sudo -E guix system --help
but I can not imagine what will happen as a result with 'sudo -E' and 'system
reconfigure'.
> 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.
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
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.
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
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?
#> 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
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'.
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
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
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
> .. 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.
-
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
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 build
> listed in the environment variable “X_XFCE4_LIB_DIRS”
It works! Thanks.
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?
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.
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'.
> 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.
> 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
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
Привет, Олег. Мне наверно было бы проще писать на русском, не мучая
системы перевода и остальных участников рассылки. Дело в том, что я
нахожу время на систему только урывками. В стиле работает и черт с
этим. А все эти инсрументы, которые мне нужны.. короче, их
много. Поэтому я и обратился к теме
evs-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 <myem...@gmail.com>")
i.e. mailutils with "pops" (gmail) it seems.
I use google-translate so I answer slowly. There are only wild
ubuntooids :) As win users.
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 :-(
e4-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
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.
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
Hello! If I make little changes, like such:
was:
(users (cons (user-account
(name "jone")
(comment "Jone")
(group "users")
(supplementary-groups '("wheel" "netdev" "audio
> 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
ems (cons*
47 %base-file-systems))
48(swap-devices
'("/dev/disk/by-uuid/0602935f-4ed2-4805-9ec9-e0c06238abf5"))
49 (users (cons (user-account
50 (
Более того, она зависла после первого раза. Хардварный сброс.
После второго раза - никакой реакции на подключение.
Только на третий раз удачное соединение. По 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:
1. Из мануала не ясно, могу ли я использовать noatime и discard.
Хорошо, мы можем выполнять trim по cron (mcron). Этот сервис есть в
%desktop-services? Или я должен явно прописывать это? Как часто следует
выполнять команду trim?
2. Для logrotate есть какой-то аналог, но я забыл какой :) Он
> If you want, you can write in one of the other languages that
> developers speak:
Хорошо, Ludo’, я пишу на своем языке. У меня куча вопросов, но к
сожалению мануалы GNU не являются "быстрорастворимыми". А кроме
мануалов любая другая документация с примерами ("howto") отсутствует!
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
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
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" ;)
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
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..
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! :)
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?
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:
-->
))
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
>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
> 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
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).
Solved with emacs-guix (very cool tool!):
guix-system-generations -> select to delete (d) -> execute (x) -> guix gc
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
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 [ ]
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,
t;)
(mount-point "/home")
(type "ext4")
(options "noatime,discard 0 0")
(title 'label))
(file-system
(device "634a6369-c5a8-4f4c-b3e8-35fb92cf850e")
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
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
89 matches
Mail list logo