I`ve looked all over Debian`s web site an I see no dep. files anywhere.
apt-rdepends does this, but it`s just another app. with deps. of it`s own to install.
I scoured Google and got a mixed bag of results. There must be text files.
Going web page to web page is not the way to do this!!! Any ideas ???
Looking for a simple way to get Debian dependencies.
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
I use packages.debian.org, but I use this html in a local static webpage because their site is visually distracting
I would have preselected the "searchon" type with a hidden value for you but you didn't specify binary or source dependencies
Code: Select all
<form method="GET" action="http://packages.debian.org/search">
<input type="hidden" name="suite" value="all">
<input type="hidden" name="section" value="all">
<input type="hidden" name="arch" value="any">
<input type="text" size="30" name="keywords" value="" id="kw">
<select size="1" name="searchon">
<option value="names" selected="selected">package names</option>
<option value="all" >descriptions</option>
<option value="sourcenames" >source package names</option>
<option value="contents" >package contents</option>
</select>
<input type="submit" value="Search">
</form>
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
here is the full html that I use for arch, debian, fedora, SUSE and gentoo
(you can use the gentoo section as a template for any site)
(you can use the gentoo section as a template for any site)
Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>
</title>
</head>
<body>
Debian
<form method="GET" action="http://packages.debian.org/search">
<input type="hidden" name="suite" value="all">
<input type="hidden" name="section" value="all">
<input type="hidden" name="arch" value="any">
<input type="hidden" name="searchon" value="all">
<input type="text" name="keywords" id="kw" size="30" value="">
<input type="submit" value="Search">
</form>
Arch
<form id="pkg-search" method="get" action="http://www.archlinux.org/packages/">
<input type="hidden" name="sort" value="">
<input type="hidden" name="arch" id="id_arch" value="i686">
<input type="hidden" name="maintainer" id="id_maintainer" value="">
<input type="hidden" name="flagged" id="id_flagged" value="">
<input type="hidden" name="limit" id="id_limit" value="all">
<input type="hidden" name="repo" id="id_repo" value="Testing">
<input type="hidden" name="repo" id="id_repo" value="Community">
<input type="hidden" name="repo" id="id_repo" value="Community-Testing">
<input type="hidden" name="repo" id="id_repo" value="Core">
<input type="hidden" name="repo" id="id_repo" value="Extra">
<input type="hidden" name="repo" id="id_repo" value="Multilib">
<input type="hidden" name="repo" id="id_repo" value="Multilib-Testing">
<input type="text" name="q" id="id_q" size="30" value="">
<input title="Search" type="submit" value="Search">
</div>
</form>
Fedora
<form action="https://admin.fedoraproject.org/pkgdb/search_dispatcher?_csrf_token=1ae83bcc78f5ee55d0bf12c94562ae24f9d0757c" method="POST">
<input name="pattern" size="30" value="">
<input class="button" name="submit" type="Submit" value="Builds">
</form>
OpenSUSE+
<form action="http://software.opensuse.org/search" method="get">
<input type="hidden" name="include_home" id="include_home" value="true">
<input type="hidden" name="exclude_debug" id="exclude_debug" value="true">
<input type="hidden" name="baseproject" id="baseproject" value="ALL">
<input type="hidden" name="lang" id="lang" value="en">
<input type="text" name="q" id="q" size="30" value="">
<input type="submit" value="Search">
</form>
Gentoo
<form action="http://www.google.com/search">
<input type="hidden" name="num" value="100">
<input type="hidden" name="sitesearch" value="packages.gentoo.org">
<input name="q" value="" size="30" type="text">
<input type="submit" value="Search">
</form>
</body>
</html>
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].
Thanks technosaurus; This is different than what I expected, or understand.
I`m writing a Debian downloader because apt-get, dpkg, etc. is so huge.
I have the Debian package groups page in a listBox, that sets the selected
group`s packages in the next listBox, that sets the package info in an editBox.
Source and binary download buttons, and a saveFileSel. button and textBox.
It`ll have to handle Arch, FileType (bin./src.), dependencies, and likely more.
I have the GUI and listBox code, but the dependencies are not easy to do.
I expected a file for each package with its full dependency tree.
Or at least a file list for each package, then recurse the lists to get its tree.
### I only understand a little of what you have posted here.
These look like package searches, but how does this get it`s dependencies?
The Gentoo is a Google search, so more commonly useful.
I`m writing a Debian downloader because apt-get, dpkg, etc. is so huge.
I have the Debian package groups page in a listBox, that sets the selected
group`s packages in the next listBox, that sets the package info in an editBox.
Source and binary download buttons, and a saveFileSel. button and textBox.
It`ll have to handle Arch, FileType (bin./src.), dependencies, and likely more.
I have the GUI and listBox code, but the dependencies are not easy to do.
I expected a file for each package with its full dependency tree.
Or at least a file list for each package, then recurse the lists to get its tree.
### I only understand a little of what you have posted here.
These look like package searches, but how does this get it`s dependencies?
The Gentoo is a Google search, so more commonly useful.
Hi technosaurus; I put your code into a file and it errors on the first line.
I must be missing something here.
I must be missing something here.
Code: Select all
# PackageSearch.html
/root/my-applications/bin/PackageSearch.html: line 1: syntax error near unexpected token `newline'
/root/my-applications/bin/PackageSearch.html: line 1: `<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">'
- technosaurus
- Posts: 4853
- Joined: Mon 19 May 2008, 01:24
- Location: Blue Springs, MO
- Contact:
It is html not shell
It isn't for automagically downloading a full dependency tree, just a way to get the package page that list sources and dependencies.
What you are looking for may be part of woof.
Otherwise try modding goingnuts *buntu version
http://www.goingnuts.dk/linux.asp#APT
It isn't for automagically downloading a full dependency tree, just a way to get the package page that list sources and dependencies.
What you are looking for may be part of woof.
Otherwise try modding goingnuts *buntu version
http://www.goingnuts.dk/linux.asp#APT
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].
There is Iguleder's Pdebthing for downloading ubuntu / debain application and dependencies.
http://www.murga-linux.com/puppy/viewtopic.php?t=59013
And also ariel's GoNgetIT - however it is for ubuntu .debs and not debain .
http://www.murga-linux.com/puppy/viewtopic.php?t=67671
http://www.murga-linux.com/puppy/viewtopic.php?t=59013
And also ariel's GoNgetIT - however it is for ubuntu .debs and not debain .
http://www.murga-linux.com/puppy/viewtopic.php?t=67671