:: Re: [DNG] Error when updating ascii…
Top Page
Delete this message
Reply to this message
Author: Olaf Meeuwissen
Date:  
To: KatolaZ
CC: dng
Subject: Re: [DNG] Error when updating ascii 32 bit
Hi,

Saw the same on ascii amd64 yesterday, trying to upgrade eudev from
3.2.2-11 to 3.2.2-12.

KatolaZ writes:

> On Sat, Mar 17, 2018 at 02:56:03PM -0400, Ismael L. Donis Garcia wrote:
>> When updating my system I get the following error of which I have not the
>> slightest idea how to solve:
>>
>> Configurando eudev (3.2.2-12) ...
>> insserv: script eudev: service udev already provided!
>> [ ok ] Stopping the hotplug events dispatcher: udevd.
>> [ ok ] Starting the hotplug events dispatcher: udevd.
>>
>> *******************************************************
>>  Warning: eudev will default to the older network
>>  interface names, such as eth0 or wlan0. If you use
>>  the new names, such as enp0s3, you will need to add
>>  the following to the boot command:
>>                net.ifnames=1
>> ********************************************************

>>
>> update-initramfs: deferring update (trigger activated)
>> insserv: script eudev: service udev already provided!
>> insserv: exiting now!
>> update-rc.d: error: insserv rejected the script header
>> dpkg: error al procesar el paquete eudev (--configure):
>> el subproceso instalado el script post-installation devolvió el código de
>
> You have a previous version of "udev" in /etc/init.d/, or a link to
> eudev named "udev" in there. That was a required fix for a previous
> problem that has been solved, Just remove the udev file (or link) and
>
> apt-get upgrade
>
> again.


I found /etc/init.d/udev and /etc/init.d/udev-finis files, not links.
According to `dpkg -S etc/init.d/udev` they belong to the udev package
(1:3.2.2+devuan2.10) so I purged that. This didn't remove any other
packages because eudev provides udev. This also did *not* remove the
files in /etc/init.d.

During the `apt-get purge udev`, I saw:

  dpkg: udev: dependency problems, but removing anyway as you requested:
   bluez depends on udev (>= 170-1); however:
    Package udev is to be removed.
    Package eudev which provides udev is not configured yet.
   [...]


(Reading database ... 129383 files and directories currently installed.)
Removing udev (1:3.2.2+devuan2.10) ...
Setting up eudev (3.2.2-12) ...
insserv: script eudev: service udev already provided!
[ ok ] Stopping the hotplug events dispatcher: udevd.
[ ok ] Starting the hotplug events dispatcher: udevd.

  *******************************************************
    Warning: eudev will default to the older network
    interface names, such as eth0 or wlan0. If you use
    the new names, such as enp0s3, you will need to add
    the following to the boot command:
                  net.ifnames=1
  ********************************************************


update-initramfs: deferring update (trigger activated)
insserv: script eudev: service udev already provided!
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing package eudev (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
eudev

After the purge, I still had a /var/lib/dpgk/info/udev.list that
contained:

/etc/modprobe.d/fbdev-blacklist.conf
/etc/init/udev.conf
/etc/init/udev-finish.conf
/etc/init/udevtrigger.conf
/etc/init/udevmonitor.conf
/etc/init/udev-fallback-graphics.conf
/etc/init.d/udev
/etc/init.d/udev-finish

and all of these files still existed on my system. I ran

for f in `cat /var/lib/dpkg/info/udev.list`; do sudo rm $f; done
sudo rm /var/lib/dpkg/info/udev.list
sudo dpkg --configure eudev

and that allowed eudev to configure itself without error.

I realize that ascii is not quite ready for release yet, but I do
believe that the (e)udev installation scripts should provide users with
a *smooth* upgrade.

Hope this helps and keep up the good work,
--
Olaf Meeuwissen, LPIC-2            FSF Associate Member since 2004-01-27
 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
 Support Free Software                        https://my.fsf.org/donate
 Join the Free Software Foundation              https://my.fsf.org/join