[maemo-developers] Sardine device upgrade failing for days now

From: Neil MacLeod gmane at nmacleod.com
Date: Mon Jul 16 17:05:56 EEST 2007
Marius Vollmer wrote:
> I wouldn't be using such broad terms; _you_ haven't been able to
> upgrade to Sardine unstable for a couple of days now, but that doesn't
> mean that Sardine in general is broken.  I (and others) actually use
> it daily and it works great for me.

True, but it's been failing on every occasion I've tried to upgrade in the past two weeks now (maybe 7 or 8 seperate days during that period?)

> But of course, thanks for reporting the problem! :) Let's try to
> figure it out.

Thanks, I appreciate your help. :)

>> Preparing to replace dbus 0.61-osso28 (using .../dbus_1.0.2-0osso8_armel.deb) ...
>> Unpacking replacement dbus ...
>> dpkg: error processing /var/cache/apt/archives/dbus_1.0.2-0osso8_armel.deb (--unpack):
>>  trying to overwrite `/var/run', which is also in package ssh
> Where did you install ssh from?

It's regular old openssh. I've been having this same problem with regular openssh installed on 3.2007 and also openssh on a fresh install of 4.2007. The only apps I have installed on 4.2007 are xterm, openssh, Skype and Pidgin.

> Both dbus and ssh _do_ contain /var/run, but that's OK since it is a
> directory in both.  Right now, I suspect you have a freaky ssh package
> that is causing the problems.
Prior to the upgrade, my /var/run on the SD card is as follows:

	lrwxrwxrwx    1 root     root            9 Jul 16 14:35 /var/run -> /tmp/.run

This is my sources.list:

	deb http://repository.maemo.org sardine main non-free

and these are the commands I'm executing - it's the upgrade that is failing, the hildon install goes without a hitch:

	apt-get update
	apt-get install hildon-application-framework
	apt-get -y --force-yes upgrade

Are these repositories/commands still correct? The Wiki[1] seems to have a mistake in step 1.5 of the device upgrade where it recommends that sources.list should contain

	deb  unstable main non-free

which doesn't look right!

I've just run a full upgrade against 4.2007 + xterm/openssh/Skype/Pidgin, all the way through from ext2 format, gnu tar until apt-get upgrade and again I get an error which relates to dbus - here's an extract of the output:

Preparing to replace libexpat1 1.95.8-4maemo (using .../libexpat1_1.95.8-4maemo_armel.deb) ...
Unpacking replacement libexpat1 ...
Preparing to replace dbus 0.61-osso28 (using .../dbus_1.0.2-0osso8_armel.deb) ...

Unpacking replacement dbus ...
dpkg: error processing /var/cache/apt/archives/dbus_1.0.2-0osso8_armel.deb (--unpack):
 trying to overwrite `/var/run', which is also in package ssh
dpkg-deb: subprocess paste killed by signal (Broken pipe)
groupadd: group messagebus exists
useradd: user messagebus exists
mkdir: cannot create directory '/var/run/': No such file or directory
invoke-rc.d: initscript dbus, action "start" failed.
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 1
Preparing to replace dbus-1-utils 0.61-osso28 (using .../dbus-1-utils_1.0.2-0osso8_armel.deb) ...
Unpacking replacement dbus-1-utils ...
Preparing to replace dosfstools 2.11-0osso1 (using .../dosfstools_2.11-0osso3_armel.deb) ...
Unpacking replacement dosfstools ...
Preparing to replace galago-daemon 0.5.0-0osso4 (using .../galago-daemon_0.5.0-0osso4_armel.deb) ...
Unpacking replacement galago-daemon ...
Preparing to replace libfreetype6 2.2.1-1osso3 (using .../libfreetype6_2.2.1-1osso3_armel.deb) ...
Unpacking replacement libfreetype6 ...
Preparing to replace osso-obexsrv 0.12 (using .../osso-obexsrv_0.12.1_armel.deb) ...
Stopping OBEX Server: dsmesock_connect: No such file or directory
Unpacking replacement osso-obexsrv ...
Preparing to replace osso-thumbnail0 0.7-1 (using .../osso-thumbnail0_0.9_armel.deb) ...
Unpacking replacement osso-thumbnail0 ...
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)

Many thanks for your help!

1. http://maemo.org/community/wiki/HowTo_GetStartedWithSardine

More information about the maemo-developers mailing list