Re: Automatic software installing (like Win. 2000)
On Sat, Aug 28, 1999 at 06:35:48PM -0500, David Blackman wrote:
> I came up with a better idea (I think).
OK, I hope.
> file, we all love file, right? file has a database of what various file
> types look like, so it will tell you if text is C code, html, text, a
> staticly linked file, or whatever. file rocks.
Yes; file is great.
> All file is: a frontend to a database of file types.
> Get ready:
> 2 programs filer & apt-get-filer
> filer has a databse of file types, once a week you sync it with the great
> filer databasse in the sky (work with me here people), it has an internal
> list of what program will 'do' stuff to thsi file (let's say for .prc, it
> returns jpilot, kpilot, pilot-mgr, pilot-link, for word docs it returns
> word-view, staroffice, wp8) with me here? now you know what programs do
> stuff to those files
Hmm. This idea an be great, but the problem is that is will only work on
programs using file formats w/ extensions. But it's great anyway.
> apt-get-filer ask you what programs you want from the output of filer on
> [file-type], and gets it for you, (obviously only stuff that apt can get
> to, duh!), I've got an unused domain @ www.whizziwig.com, I'd love to host
> filer (& help coordinate it), the hardest part woudln't be the coding (get
> teh file people to help 'us' out),creating a syncable filer database would
> be a bitch.
Yes, terribly ! Have you an idea of how to create one ?
> --David Blackman
> aka Whizziwig
> "sometimes I even amaze myself"
> On Fri, 27 Aug 1999, Sami Dalouche wrote:
> > On Thu, Aug 26, 1999 at 01:11:24PM -0400, Ben Collins wrote:
> > > On Thu, Aug 26, 1999 at 01:19:56PM -0500, Ashley Clark wrote:
> > > > On Wed, 25 Aug 1999, Sami Dalouche wrote:
> > > > > I would like to know if there's a possibility with apt (or something else)
> > > > > to do the same that windows/Office 2000.
> > > > > It installs automaticly new software from the CD when you want to start a
> > > > > non-installed function.
> > > > >
> > > > > It could be great if under Debian, when we type a command that don't exist,
> > > > > it would automaticly search the command from a small APT database or from the internet if diald|direct connection is here.
> > > > > And we could specify in a conffile to download the software or to install
> > > > > directly from the CD.
> > > > >
> > > > > Wouldn't it be cool ? Is it possible to program ?
> > > >
> > > > Egads man! That would be a lot of work, for it to work (I personally wouldn't
> > > > want it on my machine for numerous reasons) you'd have to make *EVERY* program
> > > > that executed a program check with apt/dpkg to see if a package contains that
> > > > executable. The only other way around it would be to write a wrapper program
> > > > that would take as arguments the command line to search for and possibly
> > > > install. This would be easier but you'd still have to tell all other programs
> > > > to change what they execute in order for your program to search for new
> > > > packages.
> > >
> > > <sarcasm>
> > > You could just get really spiffy and rewrite glibc's exec*() calls to do
> > > all of this. Then when you execute a command as root, like accidentally
> > > typing ssh instead of sh, then all of the sudden you have an import/export
> > > restricted piece of software automatically installed on your system!
> > >
> > > Or better yet run some scripts that try to exec programs that aren't
> > > available and see how much you can overload your bandwidth!
> > > </sarcasm>
> > >
> > > Sorry, auto updating packages to the latest version is one thing, but auto
> > > installing is down right dangerous. Just because it's "nifty" and "easy"
> > > doesn't mean it's a good idea. Gee, Windows itself is "nifty" and "easy"
> > > isn't it? :)
> > >
> > > Ben
> > Thank you very much for all your answers. I didn't imagine this as hard as
> > it is and didn't see the dangerous aspect of it.
> > As a result, I will wait a bit before beginning so difficult and dangerous
> > software like this.
> > But your answers were very helpful.
> > sami
> > --
> > LL II NN N U U X X RRRR U U LL EEEEE ZZZZZ !!
> > LL N N N U U XX R R U U LL E__ Z !!
> > LL II N N N U U XX RRR U U LL E Z
> > LLLLL II N NN UUUUU X X R R UUUUU LLLLL EEEEE ZZZZZ !!
> > --
> > Unsubscribe? mail -s unsubscribe email@example.com < /dev/null
LL II NN N U U X X RRRR U U LL EEEEE ZZZZZ !!
LL N N N U U XX R R U U LL E__ Z !!
LL II N N N U U XX RRR U U LL E Z
LLLLL II N NN UUUUU X X R R UUUUU LLLLL EEEEE ZZZZZ !!