LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-03-2017, 12:31 PM   #1
JStap
LQ Newbie
 
Registered: Mar 2017
Posts: 10

Rep: Reputation: Disabled
Help Me!! Failed to install file!


I just got a AlienWare steam machine and im trying to download google chrome and adobe flash player from the iceweasel browser. Whenever I try to download somthing I keep getting a message that says, "A package could not be found that allows the action to complete.More information is available in the detailed report."
 
Old 03-03-2017, 12:40 PM   #2
erik2282
Member
 
Registered: May 2011
Location: Texas
Distribution: Primarily Deb/Ubuntu, and some CentOS
Posts: 829

Rep: Reputation: 229Reputation: 229Reputation: 229
Well you wont need Adobe flash player for Chrome, as it uses it's own flash player called Pepper Flash.

Does it not ask you where you want to save the .deb file?

Once you get it downloaded:

Im assuming you're using Debian since you mention Iceweasel. Go to https://www.google.com/chrome/ download the deb file. Then in your terminal, cd to your Downloads or wherever you saved it and do:
Code:
root@myserver:/home/erik/Downloads# dpkg -i google-chrome-stable_current_amd64.deb
if it complains about dependencies, then do:

Code:
root@myserver:/home/erik/Downloads# apt-get install -f

Last edited by erik2282; 03-03-2017 at 01:02 PM.
 
Old 03-03-2017, 12:49 PM   #3
JStap
LQ Newbie
 
Registered: Mar 2017
Posts: 10

Original Poster
Rep: Reputation: Disabled
Thanks erik I did what you told me and in the termial it tells me No such file or directory

Last edited by JStap; 03-03-2017 at 12:51 PM.
 
Old 03-03-2017, 01:01 PM   #4
erik2282
Member
 
Registered: May 2011
Location: Texas
Distribution: Primarily Deb/Ubuntu, and some CentOS
Posts: 829

Rep: Reputation: 229Reputation: 229Reputation: 229
ok can you show what you did?
were you able to download the file?
is it now asking you where to save the file?

Go back to your terminal and do the following:

Code:
erik@myserver:~$ cd /home/PutYourUserNameHere/Downloads
erik@myserver:~/Downloads$ ls
Is the deb file in there?
 
Old 03-03-2017, 01:11 PM   #5
JStap
LQ Newbie
 
Registered: Mar 2017
Posts: 10

Original Poster
Rep: Reputation: Disabled
Ok it lets me download the file then I save it to my downloads then when i follow what you said it keeps saying, "No such file or directory". It did the same thing for cd /home/Jeff/Downloads.
 
Old 03-03-2017, 01:27 PM   #6
erik2282
Member
 
Registered: May 2011
Location: Texas
Distribution: Primarily Deb/Ubuntu, and some CentOS
Posts: 829

Rep: Reputation: 229Reputation: 229Reputation: 229
as i said, can you please show what you did. Copy the commands and the output from the terminal and paste it into your next post below.
 
Old 03-03-2017, 01:32 PM   #7
JStap
LQ Newbie
 
Registered: Mar 2017
Posts: 10

Original Poster
Rep: Reputation: Disabled
This is what I did.

desktop@steamos:~$ /home/Jeff/Downloads# dpkg -i google-chrome-stable_current_amd64.deb

bash: /home/Jeff/Downloads#: No such file or directory
 
Old 03-03-2017, 01:55 PM   #8
erik2282
Member
 
Registered: May 2011
Location: Texas
Distribution: Primarily Deb/Ubuntu, and some CentOS
Posts: 829

Rep: Reputation: 229Reputation: 229Reputation: 229
Code:
desktop@steamos:~$
After the prompt you cannot do: /home/Jeff/Downloads# dpkg -i google-chrome-stable_current_amd64.deb
After the prompt there needs to be a command first (dpkg -i) in this case, and has be run as root (promt ending with #) not your user account (prompt ending with $)

Do this
Code:
desktop@steamos:~$ whoami
Hit enter, it will output your username. If the username is desktop then you can use that in your path to where the deb is.

at your prompt do this:

Code:
desktop@steamos:~$ su -
Hit Enter

Its going to ask you for your root password, it will look like this

Code:
desktop@steamos$ su -
Password:
Hit Enter

Then it will look something like this:
Code:
root@steamos:~#
The # at the end of the prompt means you are working as the root user.

then do
Code:
root@steamos:~# cd /home/yourusernamehere/Downloads
root@steamos:/home/yourusername/Downloads# ls
after issuing the ls command you should see the google deb file in there.

Then do:
Code:
root@steamos:/home/yourusername/Downloads# dpkg -i google-chrome-stable_current_amd64.deb

Last edited by erik2282; 03-03-2017 at 02:00 PM.
 
Old 03-03-2017, 02:07 PM   #9
JStap
LQ Newbie
 
Registered: Mar 2017
Posts: 10

Original Poster
Rep: Reputation: Disabled
Im running into another problem

desktop@steamos:~$ whoami
desktop
desktop@steamos:~$ su -
Password:
su: Authentication failure
desktop@steamos:~$
 
Old 03-03-2017, 02:11 PM   #10
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
If it is debian based then you would want:

Code:
sudo su -
 
Old 03-03-2017, 02:19 PM   #11
JStap
LQ Newbie
 
Registered: Mar 2017
Posts: 10

Original Poster
Rep: Reputation: Disabled
Well

desktop@steamos:~$ whoami
desktop
desktop@steamos:~$ sudo su -
[sudo] password for desktop:
root@steamos:~# cd /home/Jeff/Downloads
-su: cd: /home/Jeff/Downloads: No such file or directory
root@steamos:~# /home/Jeff/Downloads# ls
-su: /home/Jeff/Downloads#: No such file or directory
root@steamos:~#
 
Old 03-03-2017, 02:25 PM   #12
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
I don't think you are reading the replies to your questions very carefully. Read post #8 and read it carefully.
 
Old 03-03-2017, 02:33 PM   #13
JStap
LQ Newbie
 
Registered: Mar 2017
Posts: 10

Original Poster
Rep: Reputation: Disabled
I read over it again and Im not sure what I did wrong.

Will I have to do this for every download because I'm having the same problem with everything I try to download.
 
Old 03-03-2017, 02:35 PM   #14
erik2282
Member
 
Registered: May 2011
Location: Texas
Distribution: Primarily Deb/Ubuntu, and some CentOS
Posts: 829

Rep: Reputation: 229Reputation: 229Reputation: 229
Quote:
Originally Posted by JStap View Post
Well

desktop@steamos:~$ whoami
desktop
desktop@steamos:~$ sudo su -
[sudo] password for desktop:
root@steamos:~# cd /home/Jeff/Downloads
-su: cd: /home/Jeff/Downloads: No such file or directory
root@steamos:~# /home/Jeff/Downloads# ls
-su: /home/Jeff/Downloads#: No such file or directory
root@steamos:~#
The output from whoami says your user account is called "desktop" not "Jeff". You need use:

Code:
root@steamos:~# cd /home/desktop/Downloads
By the way, using desktop as a username can get confusing.
 
Old 03-03-2017, 02:52 PM   #15
JStap
LQ Newbie
 
Registered: Mar 2017
Posts: 10

Original Poster
Rep: Reputation: Disabled
It worked!! Thank you so much.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Failed to install file. JStap Linux - Software 1 03-03-2017 07:26 PM
failed to download cups:FTP couldn't retrieve (RETR Failed) the specified file geeky1 Linux - Newbie 1 11-11-2015 05:20 PM
zypper install of local rpm file failed: package not found openSauce SUSE / openSUSE 4 03-26-2009 03:11 PM
Installation failed: file /usr/X11R6/lib/libGL.so.1.2 from install of fglrx-glc22-4. witchy2k1 Linux - Newbie 13 01-25-2004 05:26 AM
Netscape install failed how can remove old file and install again? nuwanguy Linux - Software 3 09-10-2003 07:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration