Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved]q problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
testware73
n00b
n00b


Joined: 28 Dec 2024
Posts: 3

PostPosted: Sat Dec 28, 2024 3:59 pm    Post subject: [Solved]q problem Reply with quote

Hello, I have a problem with the installation of gentoo.
Problem.

I get something as output:
usage: q <applet> <args> : invoke a portage utility applet.
But I don't know what it is and how to fix it.
But since I have this output, grub-install doesn't do anything anymore.
It's the same with “grub-mkconfig -o /boot/grub/grub.cfg” with the difference that it doesn't say something like
“Adding boot menu entry for UEFI Firmware Settings ...
done” is generated as output.

Code:

$grub-install --target=x86_64-efi --efi-directory=/efi --bootloader-id=GRUB --removable
usage: q <applet> <args>  : invoke a portage utility applet
currently defined applets:
         q <applet> <args> : virtual applet
     qatom <pkg>           : split atom strings
    qcheck <pkgname>       : verify integrity of installed packages
  qdepends <pkgname>       : show dependency info
     qfile <filename>      : list all pkgs owning files
     qgrep <expr> [pkg ...]: grep in ebuilds
  qkeyword <action> <args> : list packages based on keywords
     qlist <pkgname>       : list files owned by pkgname
      qlop <pkgname>       : emerge log analyzer
 qmanifest <misc args>     : verify or generate thick Manifest files
    qmerge <pkgnames>      : fetch and merge binary package
      qpkg <misc args>     : create or manipulate Gentoo binpkgs
   qsearch <regex>         : search pkgname/desc
     qsize <pkgname>       : calculate size usage
     qtbz2 <misc args>     : manipulate tbz2 packages
  qtegrity <misc args>     : verify files with IMA
      quse <useflag>       : find pkgs using useflags
    qwhich <pkg ...>       : find path to pkg
     qxpak <misc args>     : manipulate xpak archives
options: -[ioemvqChV]
  -i, --install    * Install symlinks for applets
  -o, --overlays   * Print available overlays (read from repos.conf)
  -e, --envvar     * Print used variables and their found values
  -m, --masks      * Print (package.)masks for the current profile
      --root <arg> * Set the ROOT env var
  -v, --verbose    * Report full package versions, emit more elaborate output
  -q, --quiet      * Tighter output; suppress warnings
  -C, --nocolor    * Don't output color
      --color      * Force color in output
  -h, --help       * Print this help and exit
  -V, --version    * Print version and exit
Installing for x86_64-efi platform.
Installation finished. No error reported.

Code:

$grub-mkconfig -o /boot/grub/grub.cfg
usage: q <applet> <args>  : invoke a portage utility applet
currently defined applets:
         q <applet> <args> : virtual applet
     qatom <pkg>           : split atom strings
    qcheck <pkgname>       : verify integrity of installed packages
  qdepends <pkgname>       : show dependency info
     qfile <filename>      : list all pkgs owning files
     qgrep <expr> [pkg ...]: grep in ebuilds
  qkeyword <action> <args> : list packages based on keywords
     qlist <pkgname>       : list files owned by pkgname
      qlop <pkgname>       : emerge log analyzer
 qmanifest <misc args>     : verify or generate thick Manifest files
    qmerge <pkgnames>      : fetch and merge binary package
      qpkg <misc args>     : create or manipulate Gentoo binpkgs
   qsearch <regex>         : search pkgname/desc
     qsize <pkgname>       : calculate size usage
     qtbz2 <misc args>     : manipulate tbz2 packages
  qtegrity <misc args>     : verify files with IMA
      quse <useflag>       : find pkgs using useflags
    qwhich <pkg ...>       : find path to pkg
     qxpak <misc args>     : manipulate xpak archives
options: -[ioemvqChV]
  -i, --install    * Install symlinks for applets
  -o, --overlays   * Print available overlays (read from repos.conf)
  -e, --envvar     * Print used variables and their found values
  -m, --masks      * Print (package.)masks for the current profile
      --root <arg> * Set the ROOT env var
  -v, --verbose    * Report full package versions, emit more elaborate output
  -q, --quiet      * Tighter output; suppress warnings
  -C, --nocolor    * Don't output color
      --color      * Force color in output
  -h, --help       * Print this help and exit
  -V, --version    * Print version and exit


Last edited by testware73 on Sat Dec 28, 2024 4:49 pm; edited 1 time in total
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3787
Location: Rasi, Finland

PostPosted: Sat Dec 28, 2024 4:34 pm    Post subject: Reply with quote

Well that's definitedly strange.

It's like grub-mkconfig ran q, without any arguments and then exited.

Please run the following commands:
Code:
command -V grub-mkconfig
and
Code:
qlist -Iv grub


Also re-re-check your grub configs.
Paste the contents of any modified grub configs here if you don't spot any errors.

EDIT: My guess is you tried to exit your editor with ctrl+q (or similar), but accidentally typed only q, which was then left in your config file which is being sources as a shell script.
You get almost the same output just by running command q.
_________________
..: Zucca :..

My gentoo installs:
init=/sbin/openrc-init
-systemd -logind -elogind seatd

Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
testware73
n00b
n00b


Joined: 28 Dec 2024
Posts: 3

PostPosted: Sat Dec 28, 2024 4:48 pm    Post subject: Reply with quote

i found the error:
at the end of the file of grub config /etc/default/grub was a "q" I thought I had removed it but somehow not.

thx for help
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum