PDA

View Full Version : Ubuntu Gutsy - unable to install Slimserver



Ron F.
2007-10-24, 19:00
I know other people are installing it successfully, but I have been unable to do it. I have tried both stable and testing. In both cases when running apt-get install slimserver, it fails with the message:

Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/universe/libc/libclass-inspector-perl/libclass-inspector-perl_1.16-1_all.deb Size mismatch
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Any suggestions?

I have successfully installed at least a hundred packages on to this new system - this is the only one that doesn't work.

Something I found strange was that when installation begins for Slimserver the system asks to me to insert the CD that I had burned the ISO file for installing Gutsy. I am not doing an upgrade from Feisty, but a fresh install - or trying to.

Why does it need the CD again? Why not go out to the web for whatever it needs?

-Ron

bhaagensen
2007-10-25, 00:44
Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/universe/libc/libclass-inspector-perl/libclass-inspector-perl_1.16-1_all.deb Size mismatch
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Any suggestions?


I might be wrong, but did you try searching the forums for this error? It is quite common. See e.g.

http://forums.slimdevices.com/showthread.php?t=34742
http://forums.slimdevices.com/showthread.php?t=35823&highlight=size+mismatch
http://forums.slimdevices.com/showthread.php?t=37914&highlight=size+mismatch
http://forums.slimdevices.com/showthread.php?t=34394&highlight=size+mismatch

Its also mentioned on the wiki page:
http://wiki.slimdevices.com/?DebianPackage



Something I found strange was that when installation begins for Slimserver the system asks to me to insert the CD that I had burned the ISO file for installing Gutsy. I am not doing an upgrade from Feisty, but a fresh install - or trying to.

Why does it need the CD again? Why not go out to the web for whatever it needs?



If apt its configured to use the CD it will try to do that. It can go on the web, but the CD might have higher priority.

I think the reason is that the cdrom drive is listed as one of the sources. Try looking in /etc/apt/sources.list for lines mentioning cdrom. Try commenting those lines and do an 'sudo apt-get update'. You could also check out the software repository tool, its somewhere in System > Administration.

Bjørn

PeterDB
2007-10-25, 04:41
I suppose you are getting this using the Update Manager versus apt-get.

The times I have had to the problem, I made it go away much easier.

Open a Terminal (Application > Terminal) type

"sudo apt-get update"

if you already have SlimServer/SqueezeCenter installed, then
"sudo apt-get upgrade slimserver"

if you dont have SlimServer/SqueezeCenter installed, then
"sudo apt-get install slimserver"

Next time the Update Manager should work fine.

/Peter

Ron F.
2007-10-25, 07:23
Thank you Bjørn and Peter,

The two packages that were failing to install were libdbix-class-perl and libclass-inspector-perl and what wound up working was to download them directly from http://packages.ubuntu.com/gutsy/perl/ and then running apt-get install slimserver after doing that.

For some reason an "apt-get update" did not help and I could not get Synaptic to download them either. I don't understand why, but slimserver is running now.

andyg
2007-10-25, 07:45
Try unstable, we no longer depend on a bunch of Debian Perl packages.

Ron F.
2007-10-25, 12:06
Andyg,

Ok, out of curiosity - I will try the unstable version.

Thanks,
Ron

pippin
2007-10-30, 04:27
First of all: Hi, It's my first post here ;-)

And then: Did anyone try this on Gutsy SERVER?
I have 70a1 running on a Feisty Desktop VM without any problems (that was my testing ground) but I can't get it up and running on my Gutsy server.
It just won't start, the only log entry I get (even with deb options) is "server died...restarting", the process gets started but then it exits immediately.

I did a clean install with apt-get from unstable.
I did NOT get any warning messages regarding firmware copyright as on the desktop installation.

The desktop installation was also using apt-get, not gnome.

Any ideas, experience?

Oh, and: there were no error reported during install.
Oh, and, 2: If i try to run "slimserver" it exits "
The following modules failed to load: GD
To download and compile them, please run: /usr/share/slimserver/Bin/build-perl-modules.pl GD"
... which doesn't exist ;-)

bhaagensen
2007-10-30, 04:52
I'll try. When you try '/etc/init.d/slimserver start' do you get anything in '/var/log/slimserver/{slim,}server.log' ?

Are you sure slimserver is not already running. What does 'ps -A|grep slim' say ?

Bjørn

pippin
2007-10-30, 05:59
As I said, the only thing it's logging is the "starting up" and "died...restarting" messages.
And no, it is not running, the only thing that is running is the "slimserver_safe" script that keeps it restarting.

Jörg

bhaagensen
2007-10-30, 06:04
Hm, try 'apt-get install libgd-gd2-perl' and see if it helps, or the error message changes.

pippin
2007-10-30, 06:17
Actually, that's it.
Thanks a lot.
Looks like they did remove a bit too many dependencies on 70a1 ;-)
And that DOES explain why it worked on the desktop version.
Now I have to get rid of the dedicated mysql ;-)

Cheers

Jörg

bhaagensen
2007-10-30, 07:26
Looks like they did remove a bit too many dependencies on 70a1 ;-)


Yes probably. Actually I think the required dependency is only libgd2-xpm which is being pulled in by libgd-gd2-perl. This should probably be filed in their bugtracking system.

Bjørn