You are not logged in.

#1 2017-12-31 13:29

CaptNoize
Member
From: Zombieland,Pa.
Registered: 2015-12-09
Posts: 264
Website

Downloading updates

I recently downloaded an update for Slimjet . It was a .deb file. It downloaded to "my documents" file. When I tried to install it using "sudo dpkg -i" command,I got an error message saying"could not find file" ."no file exists". I copied the file to my desktop,and tried again. This time,it found the file,and installed it. Is there a specific place to download files..? Any input would be appreciated.

Offline

#2 2017-12-31 14:42

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,501
Website

Re: Downloading updates

You probably need to enclose the path argument in quotes, so the command should look like this:
$ sudo dpkg -i "/home/username/my documents/slimjet_version.deb"

alternatively, without quotes, you would need to prepend a backslash to the space:
$ sudo dpkg -i /home/username/my\ documents/slimjet_version.deb

Offline

#3 2017-12-31 15:38

CaptNoize
Member
From: Zombieland,Pa.
Registered: 2015-12-09
Posts: 264
Website

Re: Downloading updates

Thanks Q4OS Team...! Happy New Year..!

Offline

#4 2017-12-31 15:45

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,992

Re: Downloading updates

A handy trick to get around the spaces in pathnames is to use the bash completion (tab) just start typint the path and press tab to complete the path for you, for example when you typed /home/username/my you could then press tab and it will complete the line for you including the escape characters which would allow the command to work.
Bash completion can be used to fill filenames for most bash instructions, and if there is more than one choice you can press tab a second time to get a list of filenames or command parameters (sometimes) and you can type a few more letter until there is only one choice and it will then be entered. I find it very useful in the terminal.

Offline

#5 2017-12-31 16:06

CaptNoize
Member
From: Zombieland,Pa.
Registered: 2015-12-09
Posts: 264
Website

Re: Downloading updates

Thanks so much,Dai..!
As always, very helpful info..!

Offline

#6 2017-12-31 18:26

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,992

Re: Downloading updates

You're welcome smile

Offline

Board footer

Powered by FluxBB