I found a plot twist: the package doesn't install if in the same path as user.
So:
# both user and package are in ~/Downloads. Don't work
marcos@marcos-laptop:~/Downloads$ gnome-software --local-filename=google-chrome-stable_current_amd64.deb
# user is in one directory and package are in a subdirectory. Works
marcos@marcos-laptop:~$ gnome-software --local-filename=Downloads/google-chrome-stable_current_amd64.deb
# same as before, but indicating the full path using til. Don't work
marcos@marcos-laptop:~$ gnome-software --local-filename=~/Downloads/google-chrome-stable_current_amd64.deb
# same as before, but indicating the full path normally. Works
marcos@marcos-laptop:~$ gnome-software --local-filename=/home/marcos/Downloads/google-chrome-stable_current_amd64.deb
# different paths, but indicating the relative path using two dots. Don't work
marcos@marcos-laptop:~/Downloads$ gnome-software --local-filename=../google-chrome-stable_current_amd64.deb
# same path, but indicating the relative path using one dot. Works
marcos@marcos-laptop:~$ gnome-software --local-filename=./google-chrome-stable_current_amd64.deb
May be you could understand I can't understand. :)
I found a plot twist: the package doesn't install if in the same path as user.
So: marcos- laptop: ~/Downloads$ gnome-software --local- filename= google- chrome- stable_ current_ amd64.deb
# both user and package are in ~/Downloads. Don't work
marcos@
# user is in one directory and package are in a subdirectory. Works marcos- laptop: ~$ gnome-software --local- filename= Downloads/ google- chrome- stable_ current_ amd64.deb
marcos@
# same as before, but indicating the full path using til. Don't work marcos- laptop: ~$ gnome-software --local- filename= ~/Downloads/ google- chrome- stable_ current_ amd64.deb
marcos@
# same as before, but indicating the full path normally. Works marcos- laptop: ~$ gnome-software --local- filename= /home/marcos/ Downloads/ google- chrome- stable_ current_ amd64.deb
marcos@
# different paths, but indicating the relative path using two dots. Don't work marcos- laptop: ~/Downloads$ gnome-software --local- filename= ../google- chrome- stable_ current_ amd64.deb
marcos@
# same path, but indicating the relative path using one dot. Works marcos- laptop: ~$ gnome-software --local- filename= ./google- chrome- stable_ current_ amd64.deb
marcos@
May be you could understand I can't understand. :)