:: Re: [DNG] error processing package …
Inizio della pagina
Delete this message
Reply to this message
Autore: Svante Signell
Data:  
To: Miroslav Rovis
CC: dng
Oggetto: Re: [DNG] error processing package initscripts, because /lib/init/vars.sh missing
On Thu, 2017-07-06 at 09:58 +0000, Miroslav Rovis wrote:
> On 170705-23:48+0200, Svante Signell wrote:
> > On Wed, 2017-07-05 at 21:05 +0000, Miroslav Rovis wrote:

...
>
> > If you are on i386 or amd64 I can send you the required debs for
> > 2.29.2-1+devuan1 from ascii-proposed.
>
> But it has all been solved by now. In the gap btwn my message and
> when you send
> the message, I was right somewhere there figuring out the solution,
> and now,
> you can see my message where I (manually construing a quote) explain:
> > # dpkg -i /var/cache/apt/archives/initscripts_2.88dsf-
> > 59.3+devuan2_amd64.deb
> >
> > reinstalled initscripts, and the /lib/init/vars.sh (which is part
> > of
> > initscripts package)
>
> and state that I expect to reboot without problems.


Nice that your problems are solved :)

Regarding util-linux (2.29.2-1+devuan1) that version is needed in order
to install sysvinit-utils (2.88dsf-59.9+devuan2) required by
initscripts (2.88dsf-59.9+devuan2) and sysvinit-core (2.88dsf-
59.9+devuan2) is needed if you want to try openrc out.
In such case you need to enable ascii-proposed:
deb http://packages.devuan.org/devuan ascii-proposed main

> Thanks for caring!


You're welcome.

As a sidenote: I do know now why this happened to you when downgrading:

dpkg -c initscripts_2.88dsf-59.3+devuan2_amd64.deb |grep vars
-rw-r--r-- root/root      1212 2016-03-04 03:25 ./lib/init/vars.sh
dpkg -c initscripts_2.88dsf-59.9+devuan2_amd64.deb |grep vars
dpkg -c sysvinit-utils_2.88dsf-59.9+devuan2_amd64.deb |grep vars
-rw-r--r-- root/root      1212 2017-06-15 13:59 ./lib/init/vars.sh

The srcipt lib/init/vars.sh was provided by initscripts and has now
been moved to sysvinit-utils. And since you had util-linux (2.29.2-1)
install that script was provided by that package util you downgraded.

>From the changelog of sysvinit:

sysvinit (2.88dsf-59.5) unstable; urgency=medium
[ Martin Pitt ]
* Move /lib/init/vars.sh from initscripts to sysvinit-utils. It's not
specific to initscripts, but API for other init scripts similar to
/lib/init/init-d-script. This will allow initscripts to drop from    
the default installation. (Closes: #826205)


Nice to know what's happening and why :)