Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #231148

Re: problem with wget -O

From Darac Marjal <mailinglist@darac.org.uk>
Newsgroups linux.debian.user
Subject Re: problem with wget -O
Date 2021-01-25 22:50 +0100
Message-ID <BBhUd-5JA-3@gated-at.bofh.it> (permalink)
References <BBf61-43Z-3@gated-at.bofh.it> <BBgYa-5bw-13@gated-at.bofh.it> <BBh7R-5ex-21@gated-at.bofh.it> <BBhhw-5wV-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On 25/01/2021 21:07, Gene Heskett wrote:
> On Monday 25 January 2021 15:55:31 Greg Wooledge wrote:
>
>> On Mon, Jan 25, 2021 at 03:47:03PM -0500, Gene Heskett wrote:
>>>> 1) You have a shell function or alias that overrides the wget
>>>> command. Diagnose this by running "type wget".
>>> Interesting:
>>> gene@coyote:~/src/build$ type wget
>>> wget is hashed (/usr/bin/wget)
>>> gene@coyote:~/src/build$
>>>
>>> What the heck does that mean?
>> It means you don't have a shell alias or function named wget.  It also
>> means you've run wget at least once previously in the current
>> interactive shell, so that its location in the PATH list is cached.
>>
>>> gene@coyote:~/src/build$ id
>>> uid=1000(gene) gid=1000(gene)
>>> groups=1000(gene),4(adm),5(tty),6(disk),7
>>> (lp),8(mail),12(man),20(dialout),24(cdrom),25(floppy),27(sudo),29
>>> (audio),33(www-data),44(video),46(plugdev),50(staff),100(users),102
>>> (systemd-timesync),116(lpadmin),118(pulse),119(pulse-access),120
>>> (scanner),122(colord),123(saned),125(nut)
>>>
>>> gene@coyote:~/src/build$ ls -ld
>>> drwxr-xr-x 19 gene gene 4096 Jan 25 14:05 .
>> OK.
>>
>>>> 3) You pasted the command from a source that has non-breaking
>>>> spaces or other non-ASCII garbage polluting the arguments.
>>> How would that be diagnosed?
>> By reading the error message extremely carefully.  Or possibly by
>> hex-dumping the command, extremely carefully.
>>
>>> df -h grep sda
>>> /dev/sda5       1.8T  291G  1.4T  18% /
>>> /dev/sda1       922M  183M  677M  22% /boot
>>> /dev/sda3        46G  4.7G   39G  11% /var
>> This command got mangled.  I am guessing you ran "df -h | grep sda",
>> and this all looks fine, but it doesn't tell us anything about ~gene.
>>
>>>> 5) Quotas.
>>> Diagnostic for that?
>> No idea.  You'd probably remember if you had set up user quotas,
>> though.
>>
>> Why don't you just show us the wget command and its error message so
>> we can stop guessing?
> posted at least once today:
> gene@coyote:~/src/build$ cd .. && wget -O opencv.zip https://github.com/opencv/opencv/archive/master.zip
> Cannot specify both -k or --convert-file-only and -O if multiple URLs are given, or in combination
> with -p or -r. See the manual for details.
>
> Usage: wget [OPTION]... [URL]...
>
> But the man page says it's legal.

Interesting. wget is complaining about a -k option which isn't visible
here (and hasn't been mentioned in this thread so far). Do you have
either /etc/wgetrc or ~/.wgetrc which mentions any of those prohibited
switches?


>
> Thanks Greg.
>
> Cheers, Gene Heskett

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: problem with wget -O Roberto C. Sánchez <roberto@debian.org> - 2021-01-25 19:50 +0100
  Re: problem with wget -O Greg Wooledge <wooledg@eeg.ccf.org> - 2021-01-25 20:00 +0100
    Re: problem with wget -O Gene Heskett <gheskett@shentel.net> - 2021-01-25 21:20 +0100
      Re: problem with wget -O Greg Wooledge <wooledg@eeg.ccf.org> - 2021-01-25 21:40 +0100
        Re: problem with wget -O Gene Heskett <gheskett@shentel.net> - 2021-01-25 21:50 +0100
          Re: problem with wget -O Greg Wooledge <wooledg@eeg.ccf.org> - 2021-01-25 22:00 +0100
            Re: problem with wget -O Gene Heskett <gheskett@shentel.net> - 2021-01-25 22:10 +0100
              Re: problem with wget -O Darac Marjal <mailinglist@darac.org.uk> - 2021-01-25 22:50 +0100
                Re: problem with wget -O Gene Heskett <gheskett@shentel.net> - 2021-01-25 23:40 +0100
                Re: problem with wget -O Gene Heskett <gheskett@shentel.net> - 2021-01-25 23:40 +0100
                Re: problem with wget -O Gene Heskett <gheskett@shentel.net> - 2021-01-26 00:00 +0100
                Re: problem with wget -O Gene Heskett <gheskett@shentel.net> - 2021-01-26 00:10 +0100
                Re: problem with wget -O <tomas@tuxteam.de> - 2021-01-26 10:50 +0100
                Re: problem with wget -O l0f4r0@tuta.io - 2021-01-26 13:40 +0100
                Re: problem with wget -O <tomas@tuxteam.de> - 2021-01-26 14:50 +0100
              Re: problem with wget -O Greg Wooledge <wooledg@eeg.ccf.org> - 2021-01-25 23:10 +0100
                Re: problem with wget -O Gene Heskett <gheskett@shentel.net> - 2021-01-25 23:50 +0100
                Re: problem with wget -O Vincent Lefevre <vincent@vinc17.net> - 2021-01-26 10:50 +0100
                Re: problem with wget -O Gene Heskett <gheskett@shentel.net> - 2021-01-26 12:30 +0100
                Re: problem with wget -O Greg Wooledge <wooledg@eeg.ccf.org> - 2021-01-26 13:40 +0100
                Re: problem with wget -O Vincent Lefevre <vincent@vinc17.net> - 2021-01-26 15:00 +0100
                Re: problem with wget -O Celejar <celejar@gmail.com> - 2021-01-26 15:10 +0100
                Re: problem with wget -O Vincent Lefevre <vincent@vinc17.net> - 2021-01-26 14:50 +0100
                Re: problem with wget -O David Wright <deblis@lionunicorn.co.uk> - 2021-01-28 17:10 +0100
                Re: problem with wget -O Greg Wooledge <wooledg@eeg.ccf.org> - 2021-01-28 17:20 +0100
                Re: problem with wget -O Gene Heskett <gheskett@shentel.net> - 2021-01-28 21:10 +0100
                Re: problem with wget -O Brian <ad44@cityscape.co.uk> - 2021-01-28 22:00 +0100
                Re: problem with wget -O David Wright <deblis@lionunicorn.co.uk> - 2021-01-29 18:30 +0100
                Re: problem with wget -O rhkramer@gmail.com - 2021-01-29 18:40 +0100
                Re: problem with wget -O David Wright <deblis@lionunicorn.co.uk> - 2021-01-29 18:00 +0100
                Re: problem with wget -O Vincent Lefevre <vincent@vinc17.net> - 2021-01-26 10:50 +0100
    Re: problem with wget -O Nicolas George <george@nsup.org> - 2021-01-26 12:40 +0100
      Re: problem with wget -O <tomas@tuxteam.de> - 2021-01-26 13:20 +0100
  Re: problem with wget -O Gene Heskett <gheskett@shentel.net> - 2021-01-25 21:10 +0100
    Re: problem with wget -O Roberto C. Sánchez <roberto@debian.org> - 2021-01-25 21:20 +0100
      Re: problem with wget -O Gene Heskett <gheskett@shentel.net> - 2021-01-25 21:40 +0100
    Re: problem with wget -O deloptes <deloptes@gmail.com> - 2021-01-25 21:20 +0100
      Re: problem with wget -O Gene Heskett <gheskett@shentel.net> - 2021-01-25 21:30 +0100
        Re: problem with wget -O deloptes <deloptes@gmail.com> - 2021-01-26 00:20 +0100

csiph-web