Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Problem when upgrading Debian from stable (lenny) to testing (squeeze)

1 view
Skip to first unread message

Wookai

unread,
Dec 7, 2009, 2:02:26 PM12/7/09
to
I just got a VPS for private use, and wanted to upgrade it to Debian
testing (squeeze) in order to have newer packages. The actual version
was Debian stable (lenny).

What I did is simply :

1. edit /etc/apt/sources.list and replace lenny with squeeze
2. run apt-get update
3. run apt-get dist-upgrade

This is AFAIK the standard way of upgrading a machine. However, I got
the following error :

Selecting previously deselected package insserv.
dpkg: considering deconfiguration of sysv-rc, which would be
broken by installation of insserv ...
dpkg: yes, will deconfigure sysv-rc (broken by insserv).
(Reading database ... 37095 files and directories currently
installed.)
Unpacking insserv (from .../insserv_1.12.0-14_i386.deb) ...
De-configuring sysv-rc ...
Setting up insserv (1.12.0-14) ...
(Reading database ... 37124 files and directories currently
installed.)
Preparing to replace sysv-rc 2.86.ds1-61 (using .../sysv-
rc_2.87dsf-8_all.deb) ...
touch: setting times of `/etc/init.d/.legacy-bootordering': Bad
address
dpkg: error processing /var/cache/apt/archives/sysv-
rc_2.87dsf-8_all.deb (--unpack):
subprocess new pre-installation script returned error exit status
1
Errors were encountered while processing:
/var/cache/apt/archives/sysv-rc_2.87dsf-8_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

When trying to install sysv-rc itself, I get the following error. The
file in question (/etc/init.d/.legacy-bootordering) exists, but is
empty.

Has anybody an idea of what causes this error, and how I could solve
it ?

Bill Marcum

unread,
Dec 7, 2009, 3:58:19 PM12/7/09
to
On 2009-12-07, Wookai <vincen...@gmail.com> wrote:
> Preparing to replace sysv-rc 2.86.ds1-61 (using .../sysv-
> rc_2.87dsf-8_all.deb) ...
> touch: setting times of `/etc/init.d/.legacy-bootordering': Bad
> address
> dpkg: error processing /var/cache/apt/archives/sysv-
> rc_2.87dsf-8_all.deb (--unpack):
> subprocess new pre-installation script returned error exit status
> 1
> Errors were encountered while processing:
> /var/cache/apt/archives/sysv-rc_2.87dsf-8_all.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> When trying to install sysv-rc itself, I get the following error. The
> file in question (/etc/init.d/.legacy-bootordering) exists, but is
> empty.
>
> Has anybody an idea of what causes this error, and how I could solve
> it ?

rm /etc/init.d/.legacy-bootordering ?

Darren Salt

unread,
Dec 7, 2009, 5:11:27 PM12/7/09
to
I demand that Wookai may or may not have written...

> I just got a VPS for private use, and wanted to upgrade it to Debian
> testing (squeeze) in order to have newer packages. The actual version
> was Debian stable (lenny).

> What I did is simply :

> 1. edit /etc/apt/sources.list and replace lenny with squeeze
> 2. run apt-get update
> 3. run apt-get dist-upgrade

> This is AFAIK the standard way of upgrading a machine.

Well, yes, but it's possible that you might need to upgrade/install some
packages first and in a specific order; and if one of those things is the
kernel, make sure that you're running the new kernel as soon as possible.

> However, I got the following error :

[snip]


> touch: setting times of `/etc/init.d/.legacy-bootordering': Bad address

[snip]

Hmm. Strange... maybe http://bugs.gentoo.org/show_bug.cgi?id=224483#c37 might
help?

--
| Darren Salt | linux at youmustbejoking | nr. Ashington, | Doon
| using Debian GNU/Linux | or ds ,demon,co,uk | Northumberland | Army
| + http://wiki.debian.org/DebianEeePC/

Are you using a Windows box? Defenestrate it immediately!

philo

unread,
Dec 7, 2009, 8:01:24 PM12/7/09
to
Wookai wrote:
> I just got a VPS for private use, and wanted to upgrade it to Debian
> testing (squeeze) in order to have newer packages. The actual version
> was Debian stable (lenny).
>
> What I did is simply :


<snip>

I always advise *not* to attempt an upgrade.

Keep your /home partition

format the rest and perform a clean install


BTW: I advise testing the new distro first on a spare hard drive...
you may or may not like the results

John Hasler

unread,
Dec 7, 2009, 8:49:42 PM12/7/09
to
Wookai writes:
a) File a bug report against sysv-rc.
b) Post your question to debia...@lists.debian.org.

> When trying to install sysv-rc itself, I get the following error. The
> file in question (/etc/init.d/.legacy-bootordering) exists, but is
> empty.

There is no file by that name. Please paste the exact command and the
exact result.
--
John Hasler
jha...@newsguy.com
Dancing Horse Hill
Elmwood, WI USA

0 new messages