Help ! Apt get

Forum: DSL Embedded
Topic: Help ! Apt get
started by: blip

Posted by blip on June 07 2007,10:35
Apt get

Can someone help me with some advice....

I'm a bit perplexed what I need to do to install fluidsynth and have tried different things.
In DSL linux I enabled apt get then tried apt-get install fluidsynth dssi but DSL embedded said it can't find the package in the repository.

All I want to do is install alsa with fluidsynth.........I've tried DSL embedded, DSL and DSL-N. It's a little confusing why apt get is in one and not the other ( ie it's on the menu in embedded but not in DSL).

Do you think it's going to be possible to do this with DSL or should I be going somewhere else?

Thanks for your help

Posted by Juanito on June 07 2007,12:11
Perhaps the first thing to do is to decide whether you want to use DSL, DSL-N, DSL embedded or DSL-N embedded.

I do not know how embedded works with respect to apt-get with either DSL or DSL-N. As you know, apt-get works fine with DSL and, with a little effort, it will work with DSL-N.

Maybe you need to check if the packages you are looking for are in the archived Debian packages DSL uses or in Debian oldstable, stable, etc.

To check whether your packages are in the archives, try this:
Code Sample
# su dsl mydsl-load /path-to-file/dsl-dpkg.unc
# apt-get update
# apt-get install mypackage

If your packages are not found, you will need to go to the < package search > section of the Debian site - change the "distribution" from "stable" to "any" and enter your package in the "keyword" section.

Your packages will no doubt show up somewhere - most probably in oldstable or stable. Once you find them, I guess you have two choices:

1. Download the package (and any dependent packages) and install them with "dpkg -i package.deb"
2. Modify /etc/apt/sources.list to point to the appropriate Debian distribution (oldstable, stable, etc)  then redo "apt-get update" and "apt-get install package"

Posted by blip on June 07 2007,15:12
Thank you for all your help.
You've been very helpful to me with various Linux problems and I'm a newbie.

I couldn't get DSL to start on my Dell was hanging so I thought I'd try DSL-N and embedded ( I'd like to use DSL but there we are ). As you know my main aim is to get midi and alsa working with fluidsynth........I don't want to install Ubuntu as I want it to run off a USB key.....I am sure it can be done but if you're new to it all it's taking a lot of time trying to get basic things going (like installing programs into DSL)
I'll try this tonight.
Thank you

Posted by blip on June 08 2007,07:50
Hi Juanito
I got quite far last night using DSL-N. I got apt get working, and installed various packages ( amazing! ). What newbies might not understand is why one isn't logged in as root when you start up DSL-N - you have to type 'Sudo' at the start to get any commands to work.

I did install alsa but once it's installed do you have to save the extension to your Ram disk in order for it to work? I couldn't get my Edirol midi device working ( using dev midi00 or midi01) but there's lights on it....

Unfortunately DSL-N couldn't install fluidsynth all the said it needed a packaged called fluidsynthlib1 I'm a bit stuck. How can I tell if it will work or not ( is there a list somewhere that tells you what might work with DSL-N or DSL).

At least I made some progress last night, it's very slow though!

Posted by Juanito on June 08 2007,09:04
I got apt get working, and installed various packages ( amazing! )
Great...did you install the packages using "apt-get install" or "dpkg -i"? The reason I ask is that if you used the former, I would expect it to automatically try to install fluidsynthlib1. If you used the latter, you will need to download fluidsynthlib1 and install it before you install fluidsynth.

I did install alsa but once it's installed do you have to save the extension to your Ram disk in order for it to work?
I'm guessing you mean you loaded the alsa.dsl extension. If the extension is copied to /mydsl it will load automatically on boot. If it is copied to /mydsl/optional you will be able to install it via the right-click menu after boot. In both cases you will still need to initialise alsa - from the right-click menu in the case of the DSL alsa extension or using whatever command I mentioned with the alsa extension I sent you.

Posted by blip on June 08 2007,10:07
Hi again
i used apt-get install at first but then used dpkg -i to install....apt get for some reason says fluidsynth doesn't exist in the repoisitories ( yet when you go to debain search it's there). Is this because I am pointing at a wrong place? I will need to re-read your earlier post again and try i tonight.

It would be good if alsa could just start up and detect things....I will have a go over the weekend and try to do it.

One thing that does perplex me is why there doesn't seem a more straightforward way of doing this ( like installing packages ) has taken a lot of work to get this far.....but I am learning. Also I think there should be some kind of icon that pops up on the desktop when you plug in a usb stick.. ( and it would be good if you could open the contents of it with a file browser )....I do appreciate you have to keep the size down though...............

Posted by ^thehatsrule^ on June 08 2007,13:42
That is because that site (by default) uses Stable.

Since DSL is based on woody (which is now archived, as Juanito pointed out), you cannot use that site to search anymore.  And fluidsynth isn't in the archives.  So you can either change your apt repository to oldstable (or higher, but not recommended) but you might run into library conflicts...

tip: after `apt-get update` you can use `apt-cache search fluidsynth`

Posted by blip on June 09 2007,14:14
Hi again.
Thanks for your reply explaining that.
At the risk of driving you all insane....could you please tell me how I point the repository at the oldstable? Sorry I know it's irritating but we all have to start somewhere!

Posted by Juanito on June 09 2007,14:34
It needs to look like this:
Code Sample
# beaver /etc/apt/sources.list

#deb woody main contrib non-free
deb oldstable main contrib non-free
#deb oldstable main contrib non-free
#deb oldstable main contrib non-free

Posted by blip on June 09 2007,14:43
Thanks mate! Quick reply! :D

If you look at my other post (the usb) I got midi working over usb with alsa. Hoorah!

I'll try that suggestion now. Thanks again.

Posted by blip on June 09 2007,14:45
Sorry to be off topic here...I just find when I open firefox the whole screen is full and I can't move the window down to see the top title bar. Opera is doing this as well. I have to keep minimising firefox to get to this normal? It's driving me nuts!
Posted by blip on June 09 2007,15:39
I found out why to the above post. If you make sure the taskbar is up at the top of the screen ( right click on the bottom taskbar and place it 'above' I can now see the close window icons / minimise in Firefox.
Posted by blip on June 09 2007,15:53
OK hold your breath everyone! I've got fluidsynth installed! I can't quite believe it. Let me try to get a soundfont in now and playing. If only I didn't have a gig tonight!
It would be nice if there was a sort of hibernate mode in could just press one button and everything gets backed up ( i know there is a backup tool )...I just want to be able to come back to the PC tomorrow with everything I've done today......all those extensions and changes....anyway we are making major progress people! :D

My mouse wheel seems to have stopped working in firefox.......mmmmm

Posted by ^thehatsrule^ on June 09 2007,18:14
Those browsers by default try to take up the most window space... I think some people have changed the defaults.  However, I do prefer the "taskbar" on top.  tip: use alt+rightclick to resize then alt+leftclick to drag if needed.

heh, some web pages causes my mousewheel to stop working... don't know why, but it seems to happen in windows or linux browsers.

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.