Restic binary is in both /bin and /usr/bin
Bug #1901409 reported by
Jivan Pal
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
restic (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
After `apt install restic`, doing `where restic` shows:
```
/usr/bin/restic
/bin/restic
```
Neither is a symlink to the other; they are copies of the same binary. Is this a bug, or is this intentional? If intentional, why is the binary included in two different places?
To post a comment you must log in.
I cannot replicate your bug. I'm using Ubuntu 22.04 Desktop. The command "apt-get install restic" only puts the binary (0.12.1) in /usr/bin folder.
I don't recognize the "where" command. Is it "whereis"?
"which restic" returns only "/usr/bin/restic". man/man1/ restic. 1.gz"
"whereis restic" returns "restic: /usr/bin/restic /usr/share/
I also tested the packages from kinetic (0.13.1) and lunar (0.14). No bug found.