Solved: Re: Can't install flashplugin.nonfree. ERROR: wget failed to download

May 01st, 2012 - 04:10 am ET by Han Soo Chang | Report spam
Thanks for your help.

It was just that I needed to apt-get install as root, not sudo apt-get.

The following command
# apt-get install flashplugin-nonfree
worked just fine.

$ sudo apt-get install flashplugin-nonfree
failed because the invoked script probably did not have the write permission
for a certain directory.

This is a little bit confusing for a newbie like me.
But, anyway, I can now see the videos on youtube.

I appreciate the help by everyone.

Han Soo
2012/4/30, Johan Grönqvist <johan.gronqvist@gmail.com>:

2012-04-30 07:46, Han Soo Chang skrev:


If you try fetching it with wget:
"wget
http://people.debian.org/~bartm/flashplugin-nonfree/fp10.sha512.amd64.pgp.asc"
does it produce an error message?



This is the message I get.
I am inside a corporate LAN with a proxy server whose address is
ns14:8080.


Cannot write to `fp10.sha512.amd64.pgp.asc' (Permission denied).




As Curt wrote, it seems that you can not write the output file.

To verify that it is not network related:

"wget
http://people.debian.org/~bartm/flashplugin-nonfree/fp10.sha512.amd64.pgp.asc"

tries tio fetch and write to file, which does not work, as you tried
before.

"wget
http://people.debian.org/~bartm/flashplugin-nonfree/fp10.sha512.amd64.pgp.asc

-O -" will try to fetch the file and print it to standard output, so
that you see it on screen. I expect that to work without problems.

Is this a special setup with special write permissions?

My interpretation is that the installation scripts fails to write a file
that it wants to save to disc for later use.

Regards

Johan


To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org
Archive: http://lists.debian.org/jnm7ou$bmr$1@dough.gmane.org






To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: http://lists.debian.org/CADZ+JBo7e5...5Qx25ub04w@mail.gmail.com
email Follow the discussionReplies 10 repliesReplies Make a reply

Similar topics

Replies

#1 Chris Bannister
May 02nd, 2012 - 01:10 am ET | Report spam
On Tue, May 01, 2012 at 05:05:28PM +0900, Han Soo Chang wrote:
Thanks for your help.

It was just that I needed to apt-get install as root, not sudo apt-get.

The following command
# apt-get install flashplugin-nonfree
worked just fine.

$ sudo apt-get install flashplugin-nonfree
failed because the invoked script probably did not have the write permission
for a certain directory.

This is a little bit confusing for a newbie like me.
But, anyway, I can now see the videos on youtube.



Just remember Debian isn't Ubuntu. When you see "sudo blah blah blah"
just run "blah blah blah" as root¹.

Ubuntu specifically sets up sudo, they don't like you being root!
whereas, in Debian, ***YOU*** would have to install sudo and configure
it to get the desired result.

¹ "su -c blah blah blah" is probably better.

"Religion is excellent stuff for keeping common people quiet."


To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Archive: http://lists.debian.org/
Replies Reply to this message
#2 Indulekha
May 02nd, 2012 - 02:30 am ET | Report spam
On Wed, May 02, 2012 at 05:07:26PM +1200, Chris Bannister wrote:
On Tue, May 01, 2012 at 05:05:28PM +0900, Han Soo Chang wrote:
> Thanks for your help.
>
> It was just that I needed to apt-get install as root, not sudo apt-get.
>
> The following command
> # apt-get install flashplugin-nonfree
> worked just fine.
>
> $ sudo apt-get install flashplugin-nonfree
> failed because the invoked script probably did not have the write permission
> for a certain directory.
>
> This is a little bit confusing for a newbie like me.
> But, anyway, I can now see the videos on youtube.

Just remember Debian isn't Ubuntu. When you see "sudo blah blah blah"
just run "blah blah blah" as root¹.

Ubuntu specifically sets up sudo, they don't like you being root!
whereas, in Debian, ***YOU*** would have to install sudo and configure
it to get the desired result.

¹ "su -c blah blah blah" is probably better.




?????
I use sudo all the time, and have done so for years.
'Course you have to install it, add your user to the
sudo group, and edit /etc/sudoers with the "visudo"
command first. But all that is very easy.
Install sudo and read "man sudo".
Feel free to ask me if you need further help with it.

❤ ♫ ❤ ♫ ❤ ♫ ❤
Indulekha


To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Archive: http://lists.debian.org/
Replies Reply to this message
#3 Han Soo Chang
May 02nd, 2012 - 03:40 am ET | Report spam
Thanks for your response.

Yes, I installed sudo, and edited the confiugration file using visudo.
That was easy.
And I have been using sudo in all the cases where I needed to be root.
I believed that it gives me better security.

However, in this particular case of installing flashplugin-nonfree,
sudo apt-get failed, but su apt-get succeeded.

What I'm trying to say is that this could be interpreted as a subtle bug,
because it confuses a user like me.


2012/5/2, Indulekha :
On Wed, May 02, 2012 at 05:07:26PM +1200, Chris Bannister wrote:
On Tue, May 01, 2012 at 05:05:28PM +0900, Han Soo Chang wrote:
> Thanks for your help.
>
> It was just that I needed to apt-get install as root, not sudo apt-get.
>
> The following command
> # apt-get install flashplugin-nonfree
> worked just fine.
>
> $ sudo apt-get install flashplugin-nonfree
> failed because the invoked script probably did not have the write
> permission
> for a certain directory.
>
> This is a little bit confusing for a newbie like me.
> But, anyway, I can now see the videos on youtube.

Just remember Debian isn't Ubuntu. When you see "sudo blah blah blah"
just run "blah blah blah" as root¹.

Ubuntu specifically sets up sudo, they don't like you being root!
whereas, in Debian, ***YOU*** would have to install sudo and configure
it to get the desired result.

¹ "su -c blah blah blah" is probably better.




?????
I use sudo all the time, and have done so for years.
'Course you have to install it, add your user to the
sudo group, and edit /etc/sudoers with the "visudo"
command first. But all that is very easy.
Install sudo and read "man sudo".
Feel free to ask me if you need further help with it.

❤ ♫ ❤ ♫ ❤ ♫ ❤
Indulekha


To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact

Archive: http://lists.debian.org/






To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Archive: http://lists.debian.org/CADZ+
Replies Reply to this message
#4 Indulekha
May 02nd, 2012 - 07:40 am ET | Report spam
On Wed, May 02, 2012 at 04:37:16PM +0900, Han Soo Chang wrote:
Thanks for your response.

Yes, I installed sudo, and edited the confiugration file using visudo.
That was easy.
And I have been using sudo in all the cases where I needed to be root.
I believed that it gives me better security.

However, in this particular case of installing flashplugin-nonfree,
sudo apt-get failed, but su apt-get succeeded.

What I'm trying to say is that this could be interpreted as a subtle bug,
because it confuses a user like me.




I don't think it's a bug...
If you add your user to the sudo group and use the line:

yourusername ALL=(ALL) NOPASSWD: ALL

in /etc/sudoers, everything should work and you'll
get no password prompt. Of course, replace "youusername"
with your actual username. :)

❤ ♫ ❤ ♫ ❤ ♫ ❤
Indulekha


To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Archive: http://lists.debian.org/
Replies Reply to this message
#5 Christofer C. Bell
May 02nd, 2012 - 04:20 pm ET | Report spam
On Wed, May 2, 2012 at 6:30 AM, Indulekha wrote:

I don't think it's a bug...
If you add your user to the sudo group and use the line:

yourusername   ALL=(ALL) NOPASSWD: ALL

in /etc/sudoers, everything should work and you'll
get no password prompt. Of course, replace "youusername"
with your actual username. :)



If you add your user account to /etc/sudoers, there's no need to be in
the sudo group. The configuration in the default /etc/sudoers is
this:

# Allow members of group sudo to execute any command
# (Note that later entries override this, so you might need to move
# it further down)
%sudo ALL=(ALL) ALL

You can just add the NOPASSWORD directive to that line (which I'd not
recommend) if you put the user in the sudo group thusly:

# usermod -G sudo -a username

My recommendation would be to simply use usermod to add your username
to the sudo group and call it done (do not edit /etc/sudoers at all).
You'll then get the same behavior that you see in Ubuntu (with the
exception that root still has a real password).

Chris


To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Archive: http://lists.debian.org/CAOEVnYs9=M
Replies Reply to this message
Help Create a new topicNext page Replies Make a reply
Search Make your own search