icecat can't be started by basename only

  • Done
  • quality assurance status badge
Details
3 participants
  • Danny Milosavljevic
  • Ludovic Courtès
  • Taylan Ulrich Bay?rl? /Kammer
Owner
unassigned
Submitted by
Danny Milosavljevic
Severity
normal
D
D
Danny Milosavljevic wrote on 8 Aug 2015 00:28
(address . bug-guix@gnu.org)
20150808002838.28d32a4d@scratchpost.org
Hello,

right now on the GuixSD from the website I have about 12 copies of
icecat installed in /gnu/store but I can start none of them by typing

$ icecat

Why not?

Also, it isn't in Xfce4's Application Finder either (while for example
HexChat is).

With kind regards,
Danny
T
T
Taylan Ulrich Bay?rl? /Kammer wrote on 8 Aug 2015 11:44
(name . Danny Milosavljevic)(address . dannym@scratchpost.org)(address . 21215@debbugs.gnu.org)
87r3nem7vp.fsf@T420.taylan
Danny Milosavljevic <dannym@scratchpost.org> writes:

Toggle quote (9 lines)
> Hello,
>
> right now on the GuixSD from the website I have about 12 copies of
> icecat installed in /gnu/store but I can start none of them by typing
>
> $ icecat
>
> Why not?

In Unix-like systems, an executable needs to be in any of the
colon-separated directories in the PATH environment variable, otherwise
it won't appear as a shell command. (E.g. a typical value for PATH
might be "/bin:/sbin:/usr/bin:/usr/sbin".)

In Guix, we typically install a package into our "profile" by running
"guix package -i the-package", and add the 'bin' and 'sbin'
sub-directories in the profile to PATH.

A user's profile is typically under:

/var/guix/profiles/per-user/<username>

so you can add the following lines to your ~/.bash_login or ~/.profile
file:

export PATH=/var/guix/profiles/per-user/<username>/sbin:$PATH
export PATH=/var/guix/profiles/per-user/<username>/bin:$PATH

By the way, every time you use a "guix package" command to edit your
profile, a new "generation" of your profile is created, and you can
roll-back to previous generations when you want, for example in case
updated packages in the new generation happen to have a bug. The 12
copies of IceCat in your /gnu/store might belong to old generations of
your profile, which you can delete with the "guix package -d" command
(read the documentation please!), and then run the garbage collector
"guix gc" to delete the stale IceCat copies in the store.

Toggle quote (3 lines)
> Also, it isn't in Xfce4's Application Finder either (while for example
> HexChat is).

I don't know anything about Xfce, but possibly the problem will be
solved when you install IceCat into your profile with "guix package -i".

Hope that helps,
Taylan
T
T
Taylan Ulrich Bay?rl? /Kammer wrote on 9 Aug 2015 16:34
(name . Danny Milosavljevic)(address . dannym@scratchpost.org)(address . 21215@debbugs.gnu.org)
87bnegmsxv.fsf@T420.taylan
taylanbayirli@gmail.com (Taylan Ulrich "Bay?rl?/Kammer") writes:

Toggle quote (4 lines)
> A user's profile is typically under:
>
> /var/guix/profiles/per-user/<username>

Correction: this should have been:

/var/guix/profiles/per-user/<username>/guix-profile

Taylan
L
L
Ludovic Courtès wrote on 7 Sep 2015 15:48
(name . Danny Milosavljevic)(address . dannym@scratchpost.org)(address . 21215@debbugs.gnu.org)
874mj6uyr2.fsf@gnu.org
Hi,

Danny Milosavljevic <dannym@scratchpost.org> skribis:

Toggle quote (7 lines)
> right now on the GuixSD from the website I have about 12 copies of
> icecat installed in /gnu/store but I can start none of them by typing
>
> $ icecat
>
> Why not?

See Taylan’s explanation from last month.

Toggle quote (3 lines)
> Also, it isn't in Xfce4's Application Finder either (while for example
> HexChat is).

Is IceCat installed in the global profile, i.e., specified in the
‘packages’ field of the ‘operating-system’ declaration, or is it
installed in your user profile?

Thanks,
Ludo’.
L
L
Ludovic Courtès wrote on 2 Nov 2015 23:55
control message for bug #21215
(address . control@debbugs.gnu.org)
8737woui3c.fsf@gnu.org
tags 21215 moreinfo
L
L
Ludovic Courtès wrote on 10 Feb 2016 22:03
Re: bug#21215: icecat can't be started by basename only
(name . Danny Milosavljevic)(address . dannym@scratchpost.org)(address . 21215@debbugs.gnu.org)
87k2mcjn1i.fsf@gnu.org
ludo@gnu.org (Ludovic Courtès) skribis:

Toggle quote (18 lines)
> Danny Milosavljevic <dannym@scratchpost.org> skribis:
>
>> right now on the GuixSD from the website I have about 12 copies of
>> icecat installed in /gnu/store but I can start none of them by typing
>>
>> $ icecat
>>
>> Why not?
>
> See Taylan’s explanation from last month.
>
>> Also, it isn't in Xfce4's Application Finder either (while for example
>> HexChat is).
>
> Is IceCat installed in the global profile, i.e., specified in the
> ‘packages’ field of the ‘operating-system’ declaration, or is it
> installed in your user profile?

Ping! :-)

Any update on this issue? (http://bugs.gnu.org/21215)

Ludo’.
D
D
Danny Milosavljevic wrote on 16 Feb 2016 19:21
(name . Ludovic Courtès)(address . ludo@gnu.org)(address . 21215@debbugs.gnu.org)
20160216192120.5ef8af10@scratchpost.org
Hi,

On Wed, 10 Feb 2016 22:03:21 +0100
ludo@gnu.org (Ludovic Courtès) wrote:

Toggle quote (24 lines)
> ludo@gnu.org (Ludovic Courtès) skribis:
>
> > Danny Milosavljevic <dannym@scratchpost.org> skribis:
> >
> >> right now on the GuixSD from the website I have about 12 copies of
> >> icecat installed in /gnu/store but I can start none of them by typing
> >>
> >> $ icecat
> >>
> >> Why not?
> >
> > See Taylan’s explanation from last month.
> >
> >> Also, it isn't in Xfce4's Application Finder either (while for example
> >> HexChat is).
> >
> > Is IceCat installed in the global profile, i.e., specified in the
> > ‘packages’ field of the ‘operating-system’ declaration, or is it
> > installed in your user profile?
>
> Ping! :-)
>
> Any update on this issue? (<http://bugs.gnu.org/21215>)

I have a backup HDD with a copy of the installation from back then.
I can connect it via USB enclosure. What should I check?

For the record, on the new GuixSD installation (including guix pull) which I'm using now, I can start icecat by typing "icecat". However, there's still no entry in the start menu - which is pretty annoying.

Also, icecat is in "gnu/packages/gnuzilla.scm". Weird. But ok...

Regards,
Danny
L
L
Ludovic Courtès wrote on 17 Feb 2016 19:17
(name . Danny Milosavljevic)(address . dannym@scratchpost.org)(address . 21215-done@debbugs.gnu.org)
87mvqz19ru.fsf@gnu.org
Danny Milosavljevic <dannym@scratchpost.org> skribis:

Toggle quote (30 lines)
> On Wed, 10 Feb 2016 22:03:21 +0100
> ludo@gnu.org (Ludovic Courtès) wrote:
>
>> ludo@gnu.org (Ludovic Courtès) skribis:
>>
>> > Danny Milosavljevic <dannym@scratchpost.org> skribis:
>> >
>> >> right now on the GuixSD from the website I have about 12 copies of
>> >> icecat installed in /gnu/store but I can start none of them by typing
>> >>
>> >> $ icecat
>> >>
>> >> Why not?
>> >
>> > See Taylan’s explanation from last month.
>> >
>> >> Also, it isn't in Xfce4's Application Finder either (while for example
>> >> HexChat is).
>> >
>> > Is IceCat installed in the global profile, i.e., specified in the
>> > ‘packages’ field of the ‘operating-system’ declaration, or is it
>> > installed in your user profile?
>>
>> Ping! :-)
>>
>> Any update on this issue? (<http://bugs.gnu.org/21215>)
>
> I have a backup HDD with a copy of the installation from back then.
> I can connect it via USB enclosure. What should I check?

You could answer the question I asked you above, but since you mention
the problem is gone, we’ll assume there was no real problem after all.
;-)

Toggle quote (2 lines)
> For the record, on the new GuixSD installation (including guix pull) which I'm using now, I can start icecat by typing "icecat". However, there's still no entry in the start menu - which is pretty annoying.

Please open a different bug for the missing icon in the start menu.

Toggle quote (2 lines)
> Also, icecat is in "gnu/packages/gnuzilla.scm". Weird. But ok...

‘guix edit’ FTW! :-)

Thanks,
Ludo’.
Closed
?