Re: Linux dpkg Software Report



On Tue, 2009-12-22 at 21:25 -0800, Ray Parrish wrote:
Hello,

I hope I won't get flamed for this, but I have just completed my most
ambitious script to date, and have completed the Linux dpkg Software
Report script which takes output from dpkg, and formats it into html
pages sorted by package section, such as Games, Editors, etc... and also
generates an alphabetical index to the packages.

Nice effort.


One issue with the script as written is that it MUST be invoked with an
absolute path name (i.e,
"/home/tim/bin/SoftwareReport/LinuxdpkgSoftwareReport.sh", rather than
"LinuxdpkgSoftwareReport.sh" or
"./bin/SoftwareReport/LinuxdpkgSoftwareReport.sh" - which I tried
first). This is used to:
- locate support scripts
- determine where to write the output files

Ideally, the program should be able to locate itself, and then derive
the location of the support scripts, based on its location.

It should also use the user's preferred temp directory (or /tmp
or /var/tmp), rather than writing files to a directory under it's
install location.

This allows an admin to install the scripts in a system directory such
as /usr/bin, without needing to compromise system security.

I will see what I can do about these issues, and feed the results back.

All web urls, ftp urls, and emails in the dpkg output have been
converted to clickable links, and there are links to each package's
installed files lists, and configuration files lists, as well as any
index.html files in that package's /usr/share/doc/packagename folders.

I've released it as open source, and it is available at -

<http://www.rayslinks.com/LinuxdpkgSoftwareReport.html>

There is also a sample output set from the script available for perusal
linked on that page.

Sorry if you consider this spam, it's not a technical question, but an
announcement of something I think could help some people learn their
systems easier.

Later, Ray Parrish

--
The Future of Technology.
http://www.rayslinks.com/The%20Future%20of%20Technology.html
Ray's Links, a variety of links to usefull things, and articles by Ray.
http://www.rayslinks.com
Writings of "The" Schizophrenic, what it's like to be a schizo, and other
things, including my poetry.
http://www.writingsoftheschizophrenic.com





Tim



--
Tim Frost <timfrost@xxxxxxxxxx>

Attachment: signature.asc
Description: This is a digitally signed message part

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


Relevant Pages

  • Re: Linux dpkg Software Report
    ... ambitious script to date, and have completed the Linux dpkg Software ... installed files lists, and configuration files lists, as well as any ...
    (Ubuntu)
  • Linux dpkg Software Report
    ... ambitious script to date, and have completed the Linux dpkg Software ... installed files lists, and configuration files lists, as well as any ... Writings of "The" Schizophrenic, what it's like to be a schizo, and other ...
    (Ubuntu)
  • Re: Linux dpkg Software Report
    ... ambitious script to date, and have completed the Linux dpkg Software ... installed files lists, and configuration files lists, as well as any ... Later, Ray Parrish ...
    (Ubuntu)
  • Re: Linux dpkg Software Report
    ... ambitious script to date, and have completed the Linux dpkg Software ... installed files lists, and configuration files lists, as well as any ... systems easier. ...
    (Ubuntu)
  • Re: apt-get dist-upgrade from Lenny to Squeeze crashes
    ... apt-get install deborphan ... Version of dpkg on system is 1.14.31. ... dpkg - trying script from the new package instead ... ...
    (Debian-User)