dependencies, how to get around them,  and others


Forum: HD Install
Topic: dependencies, how to get around them,  and others
started by: Yoda

Posted by Yoda on April 18 2006,21:32
well, i've been using dsl for about a week now, and generally i would like to figure /everything/ out for myself, but some things just aren't working. i know most of you don't recommend a hd install, because that isn't what it's for and blah blah blah, i don't ant to hear that, i've read enough of it already in various topics in this forum. i've been having some trouble with dependencies, most notably, for wine. if it (synaptic) says wine depends on libwine, which is fine in and of itself, find libwine, install it, or so i thought. libwine depends on libarts, libcupsys2, libsane, libusb and xlibmesa, fine, go find those, whatever, but then you go back to get wine, and it still doesn't want to download it... what am i doing wrong?

another problem i am having is finding some of the files that it (synaptic) downloads, is there anyway to /find/ them without searching every folder manually?

another problem is that some files just don't do anything, one example being limewire, i downloaded it, but clicking on it does nothing.

and finally, are you supposed to do anything with dsl-dpkg..dsl and gnu-utils.dsl, or do you just download them and let them be, because when i click on them nothing happens aswell.

thanks in advance for the help :)

... 21 views and not one answer? well... thanks

Posted by lovdsl on April 19 2006,03:52
Well I'll take a last stab in the dark..you need java for limewire available in the repository... synaptic is a gui for apt-get which has limitations in dsl due to its small debian size..you need to have your dpkg.dsl in home/dsl and then click the mydsl button and wait 30+ to install dpackage..so you can apt-get what is available via the synaptic gui.choose from menu enableapt/ synaptic...the downloads are stored in var/cache/apt/archives...you can mydsl gnu utilities if you like....I am typeing from a hd install they are a nessessary part of antique computeing..I drink wine but I think the idea of apt-get is to choose your download and it will take care of downloading and installing dependancies.. and best of luck with that....21 views not 21 reads..it's relative...serenity now...: )
Posted by Yoda on April 19 2006,06:22
i previously installed java, ok for the limitations, that is where dpkg.dsl is, synaptic already works so apparently i did all that, thank you for the dir that the downloads are stored, makes my life easier, i don't care if you drink wine, i'm having trouble with its dependencies, and yes, for most programs it does take care of dependencies, but for wine it won't, even when i download the dependencies myself it won't download, and no serenety yet, it's midnight, and i'm still up :/
Posted by cmanb on April 19 2006,12:59
[quote=Yoda,April 18 2006,14:32][/quote]
Wow.  You probably got "21 views and not one answer" because this is a crazy, general, multi-question post.

Hmm.

Quote
i've been having some trouble with dependencies, most notably, for wine. if it (synaptic) says wine depends on libwine, which is fine in and of itself, find libwine, install it, or so i thought. libwine depends on libarts, libcupsys2, libsane, libusb and xlibmesa, fine, go find those, whatever, but then you go back to get wine, and it still doesn't want to download it... what am i doing wrong?


What do you mean?  It won't download it?  Is this a problem with your internet connection or your browser?  Or are you downloading it through Synaptic?  Perhaps try using 'wget' to nab the file and then an 'apt-get install'.  (Or an 'apt-get update' if that's what the command is.  I don't know apt-get.)

Quote
another problem i am having is finding some of the files that it (synaptic) downloads, is there anyway to /find/ them without searching every folder manually?


Oh, god yes.  Please learn to effectively use grep.  In my own personal history, it was what hands-down convinced me that unix systems are much easier to use than microsoft systems.

< man grep >

Quote
another problem is that some files just don't do anything, one example being limewire, i downloaded it, but clicking on it does nothing.


No idea.  Be more specific with what, exactly, it is that you're asking.  What file did you download?  Where did you download it?  How did you install it?  Etc.

Quote

and finally, are you supposed to do anything with dsl-dpkg..dsl and gnu-utils.dsl, or do you just download them and let them be, because when i click on them nothing happens aswell.


These are mydsl extensions.  How you load them depends in part in how you get them.  If you use the mydsl extension browser to get 'em, then they are downloaded to, by default, /tmp and then automatically loaded.  If you download them through your browser or through the command line, then you'll have to load them manually.  This can be done from the command line or through emelfm.

Command line
1.  Be in the directory as myextension.dsl
2.  Type "mydsl-load myextension.dsl" (w/o quotes).

Emelfm
1.  Find the extension in the directory to which it was downloaded.
2.  Select it.
3.  Click "MyDSL" (You should get a Success! message.)



And finally, Yoda, the frayed and inspecific nature of this post makes it annoying to respond to.  Coupled with the fact that at the time I'm posting this, there are 10 times as many guests as there are registered users, you can see how there may be a high view-to-reply ratio.  Be patient.  There are some smart and helpful people living in this forum. (I'm not one of them, but I try.)


Welcome to Damn Small Linux.  I hope you get it to do everything you want to.  This little distro has taught me almost everything I know about Linux.  Read every script you can get your hands on.

Posted by mikshaw on April 19 2006,14:21
Files installed through Synaptic will almost always be installed into /usr (occasionally an X app will be in /usr/X11R6), with configuration files usually in /etc.
Executables will be in /usr/bin.
Shared or static libraries will be in /usr/lib.
Data files such as pixmaps, documentation, and example files will be in /usr/share.

I don't know what you mean when you say you "click on them"...that's a pretty vague statement. If you're using Synaptic then you are apparently already using dpkg, since I think Synaptic is a frontend for apt-get/dpkg.  You probably won't notice much of a difference with gnu-utils unless you tend to use the commandline or scripts...it replaces much of the Busybox toolkit with more robust versions of many of the core system utilities.

I can't help with dependencies...no experience with Synaptic, apt-get, or most other package systems.

Posted by torp on April 19 2006,14:50
i think that reading the deb-to-dsl howto in the wiki will answer many of your questions. they are NOT stupid questions....but the REAL yoda would already have checked the wiki....:D

torp

Posted by doobit on April 19 2006,16:12
I could swear that someone already made a custom DSL with wine. You might check the list in the home page. If you can find that it will no doubt save you a lot of time.


Also, here is another distro that comes with wine preinstalled. It's pretty interesting:

< http://videolinux.net/page.php?7 >

Posted by Yoda on April 19 2006,19:29
cmanb: it's a problem with synaptic, i click install, it blinks, says it will install, and then blinks again saying it won't, "blinks" is a bad word though... anyways, that is the problem. thank you for the grep hint. i downloaded limewire, i downloaded it as a myDSL extension, and it won't install, that is the problem i'm having with it. i haven't actually tried downloading any extensions from my browser yet. and i have for the most part figured out how to use emelfm and i have never gotten a success message after installing something.and sorry about the frayed inspecific nature of the post :P i figured it was pretty structured, but looking at the enormous amount of things to know about linux, it was...

mikshaw: thank you for the different directories. and what i meant by click on them was clicking on them, trying to install them, or open them, whichever be the case for that specific file.

torp: yea, the REAL Yoda would have, and the fake Yoda (i.e me) was tired and wanted to ask questions instead of wading through it.

doobit: that distro looks pretty cool, unfortunately i won't be able to download it. no offence to DSL users and such, but installing it was a last ditch effort, i wanted to try something new, and ubuntu was too hard to setup the modem (i know, that is sad...) anyways, now that i have installed it, i like it, and will continue to use it, thank you everyone for your help with my problems, and i leave off with one more question, how does one get a program to load at startup?

Posted by Yoda on April 19 2006,19:41
uhm... double post, didn't see a way to delete this one... just decided to edit it
Posted by doobit on April 19 2006,19:42
The dsl extentions don't actually need to be installed. They ship installed in a way, because the directory structure is buitl ito them my the person that makes the package. All you do is "load" them. That seems to be a foreign concept to most experienced Linux users, but it's an extremely easy thing to people who are new to computers in general. Copy the dsl or uci to the / directory (The top directory of your boot media) and put
Code Sample
dsl mydsl=xxxx
where xxxx is that drive or partitio, in the boot command line, or in the boot command line of your lilo or grub bootloader, and those apps will load automatically. Some apps have dependancies (the info files will tell you which ones), but the dependancies will also be dsl extentions, so put them in the / directory as well. DSL-2.3 has the option of creating a /mydsl directory to put the apps in, but putting them in the top directory will override that.

I hope that my explanation is easy to understand.

Posted by cmanb on April 19 2006,20:17
Yoda, how are you running DSL?  Have you installed it to your hard drive?   And if so, did you set up a frugal install or a full on debian install?  That will make a big difference in how things on your system run.

I think the biggest problem is that the DSL users around here are very snobby about not installing anything when they use DSL.  They run it live (or something similar to live) and load extensions in real time as they need them; I know that I personally can't help you with anything Synaptic or apt-get related.

I do know that if you're trying to load an extension, you won't really get anything (I think) by just clicking on it.  You have to load it from the command line or with EmelFM "MyDSL" button.

Perhaps (here's a random idea) if you downloaded and installed dependencies through Synaptic, they were installed system wide. Then, if you try to load an extension, that extension would probably be looking for the libraries and such in /opt, which is where most MyDSL extensions would put them.

Try doing this just to see if it works.

Boot up a livecd with norestore, etc.
Open up the MyDSL browser on the desktop.
Select "Testing" and click on the wine-20050524.uci extension.

It should download it to /tmp and install it automatically.

Then, chances are, you can right-click and select Wine from the MyDSL sub-menu in the fluxbox menu.

Posted by lovdsl on April 20 2006,07:38
If you have java and limewire installed correctly and when you click limewire in the dsl desktop menu nothing happens you may have a path issue..if synaptic gui will download and install other programs for you includeing dependancies then maby wine is not available via synaptic.I do not use wine to run win programs in linux.. you may try apt-get update...if dpkg is in /home/dsl then go ahead and click mydsl and install..one thing at a time may offer serenity..hope you got some sleep..

oops..versitility has me lost in the fray..hope you found some solutions.
I have a non frugal hd install and download .dsl extensions via the browser to /home/dsl and install via mydsl button..one click..
I installed dpkg.dsl then enabled apt and then attemped synaptic..some had dependency issues..some worked fine..it is trial and error to some extent..

Posted by doobit on April 20 2006,12:49
Another thing to note is that some of the dsl packages are made to work without all their dependancies, but they will still throw up the errors. Just ignore them and go ahead.
Posted by lovdsl on April 20 2006,18:50
if you must be a wine'r go to APPS go to page three (3) and go to the nineth post down..and get your fill : ) or type wine in the search box for all forums..like I did..hope that helps..there is an xwine download and lots of posts
Posted by Yoda on April 21 2006,02:20
cmanb: full on debian install, that's why i put this topic in /this/ forum   :P one problem with your livecd idea though, the extension browser doesn't have a testing section, i have to go to the site to get anything from there, this DSL version is older... not actually sure what version it is

doobit: yea but i don't get errors with them either, they just don't do anything...

lovdsl: thank you, thank you, thank you, and yes, i got sleep.

also, i have /another/ problem, sometimes while using emelfm my desktop icons disappear :/ they come back after a reboot, or opening emelfm again... it's... weird..

Posted by lovdsl on April 21 2006,07:42
Have you seen wmdrawer....slides out some icons when you need them...just touch the icon with the cursor..very configureable...I think you might be pushin the limits of the box..I read on some post a while back it has happened generally due to that..the drawer sits on the slit and is available in the repository in wmapps..you can just turn off the icons via the icon tool..It may be a solution..you can find the paths to the exec's by looking in the fluxbox menu..icons are in xdesktop..the drawer icon is in /opt/wmdrawer/usr/share/image...I think..its..in the drawer confige file..the slit auto hides..I use it all the time..why clutter the desktop ...have fun  : )
Posted by Yoda on April 21 2006,13:23
thank you again lovdsl, very handy app :)
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.