Wildcards in apt-get commands don't work (using zsh)
Bug #1336315 reported by
JW
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Boot-Repair |
Won't Fix
|
Low
|
Unassigned |
Bug Description
At a certain point, boot-repair asks me to "open a terminal then type the following commands". One of these commands is something like (I don't remember exactly):
sudo apt-get purge grub*
However, I'm using zsh, and this doesn't work. Apparently * is seen as a wildcard and expanded into a list of files starting with "grub" in the current directory. (In the best case, there are no such files, so the command becomes a no-op: `sudo apt-get purge`).
This is fixed by surrounding the package name with quotes:
sudo apt-get purge "grub*"
So it is passed as-is to apt-get, which will expand it correctly.
(In the actual command, there were two packages containing a *, IIRC.)
Changed in boot-repair: | |
status: | New → Won't Fix |
To post a comment you must log in.
thanks JW for the report.
Which distribution are you using? is zsh installed by default in that distribution?