Re: have new packages listed on the debian landing page
at bottom :-
On 12/05/2017, Cédric Boutillier <boutil@debian.org> wrote:
>
>> First, how to get a listing/output to stdout from the 1st script ? I
>> just tried to run the script as it is after giving it executable
>> rights and got the following -
>
>> [$] ./get-new.sh
>
>> ./get-new.sh: 1: ./get-new.sh: cannot open !DOCTYPE: No such file
>> ./get-new.sh: 1: ./get-new.sh: html: not found
>> ./get-new.sh: 3: ./get-new.sh: Syntax error: newline unexpected
>
>> Look forward to know more.
>
> You need to call the script with a date with a date as an argument with
> format YYYYMMDD, e.g.:
>
> ./get-new.sh 20170201
>
> to get the new packages from Feb 1 of this year.
>
> It assumes that you have a line in your /etc/apt/sources.list with the
> 'unstable' suite (not sid). It will also fail if one of the files
> created by the script already exists in the current directory:
>
> all both old new list Package
>
> The result is in the 'list' file, which contains 1032 entries for the
> previous invocation.
>
> Cheers,
>
> Cédric
>
Dear Cedric,
Tried and failed. I tried both ways and it still fails for me and I
tried both ways -
[$] ./get-new.sh 20170201
./get-new.sh: 1: ./get-new.sh: cannot open !DOCTYPE: No such file
./get-new.sh: 1: ./get-new.sh: html: not found
./get-new.sh: 3: ./get-new.sh: Syntax error: newline unexpected
[$] ./get-new.sh 20170201 all both old new list Package
./get-new.sh: 1: ./get-new.sh: cannot open !DOCTYPE: No such file
./get-new.sh: 1: ./get-new.sh: html: not found
./get-new.sh: 3: ./get-new.sh: Syntax error: newline unexpected
I am using zsh so even changed the script a bit but got a different error -
[$] head get-new.sh
[
#!/usr/bin/env zsh
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang='en'>
<head>
Tried running it and got the following -
[$] ./get-new.sh 20170201
./get-new.sh:2: no such file or directory: !DOCTYPE
./get-new.sh:4: parse error near `\n'
[$] ./get-new.sh 20170201 all both new list Package
./get-new.sh:2: no such file or directory: !DOCTYPE
./get-new.sh:4: parse error near `\n'
Then tried using bash but same error as before -
─[$] bash ./get-new.sh 20170201
./get-new.sh: line 1: !DOCTYPE: No such file or directory
./get-new.sh: line 2: syntax error near unexpected token `newline'
./get-new.sh: line 2: `
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'
[$] bash ./get-new.sh 20170201 all both old new list Package
./get-new.sh: line 1: !DOCTYPE: No such file or directory
./get-new.sh: line 2: syntax error near unexpected token `newline'
./get-new.sh: line 2: `
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'
all out of options.
It is possible that I might have a new package installed in this 3
months period and that's the reason it is also failing :(
All out of options at my end :(
Looking forward to know.
--
Regards,
Shirish Agarwal शिरीष अग्रवाल
My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
EB80 462B 08E1 A0DE A73A 2C2F 9F3D C7A4 E1C4 D2D8
Reply to: