Reply
Highlighted

6.10 beta 2 - errors updating udev

received below errors while doing apt-get upgrade

 

Setting up udev (230-7~bpo8+2.netgear3) ...
addgroup: The group `input' already exists as a system group. Exiting.
dpkg: error processing package udev (--configure):
subprocess installed post-installation script returned error exit status 102
Errors were encountered while processing:
udev
E: Sub-process /usr/bin/dpkg returned an error code (1)

 

ReadyNAS 528X, Pro 6, ProBusiness, Ultra 4, NV+
Model: RN528X|ReadyNAS 528X - Premium Performance Business Data Storage 8-Bay
Message 1 of 7

Accepted Solutions
Highlighted
Guide

Re: 6.10 beta 2 - errors updating udev

Hi guys,

If you stuck on the udev problem, you might try this.

KenKen

 

edit the file

/var/lib/dpkg/info/udev.postinst

 

either vi or other text editor (I use nano)

 

add to the first line

exit 0

 

run apt update & apt upgrade again

 

You can remove the line and resume normal after finish.

View solution in original post

Message 6 of 7

All Replies
Highlighted
Master

Re: 6.10 beta 2 - errors updating udev

apt-get upgrade is a very dangerous thing to do on a NAS.  You do not know what parts of the NAS specific OS may stop functioning with an update to the Linux core.

 

Why do you thnk you need to do it at all?

Message 2 of 7
Highlighted

Re: 6.10 beta 2 - errors updating udev

its been normally safe for os 6, and these are netgear packages that are failing to update.

 

ReadyNAS 528X, Pro 6, ProBusiness, Ultra 4, NV+
Message 3 of 7
Highlighted

Re: 6.10 beta 2 - errors updating udev

Is there going to be a new beta sooon?

 

Is there any way to unmuck my apt-get packages?

 

somehow while trying to get this stupid udev error cleared I have lost several install packages and have a mess of jacked up dependencies now.

 

I probably made things worse by attempting to install beta 2 over itself.

 

I have lost python and other packages and still get stuck on udev.

 

ReadyNAS 528X, Pro 6, ProBusiness, Ultra 4, NV+
Message 4 of 7
Highlighted

Re: 6.10 beta 2 - errors updating udev

I tried a different nas that is completely stock, that is running 6.10 beta2.

 

apt-get update/upgrade fails with with clamav daemon version mismatches.

 

I removed clamav

cd /var/lib/dpkg/info
rm clamav*
apt purge clamav*

do another apt-get update, then apt-get upgrade and see this, which is what I saw before I started having UDEV problems on my main nas.

root@frodo:/var/lib/dpkg/info# apt-get update
Hit:1 http://security.debian.org jessie/updates InRelease
Get:2 http://download.zerotier.com/debian/jessie jessie InRelease [17.8 kB]
Ign:3 http://mirrors.edge.kernel.org/debian jessie InRelease
Hit:4 https://apt.readynas.com/packages/readynasos 6.10.0 InRelease
Hit:5 http://mirrors.edge.kernel.org/debian jessie Release
Fetched 17.8 kB in 0s (26.6 kB/s)
Reading package lists... Done
root@frodo:/var/lib/dpkg/info# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  apache2 apache2-bin apache2-data apache2-utils
The following packages will be upgraded:
  btrfs-tools freeapp-collection libnss-myhostname libnss-winbind libsmbclient libssl1.0.0
  libsystemd0 libudev1 libwbclient0 mdadm openssl samba samba-common samba-common-bin samba-libs
  samba-vfs-modules smbclient systemd systemd-sysv tzdata udev winbind
22 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Need to get 14.1 MB of archives.
After this operation, 42.9 MB of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.

there is a lot of system packages wanting to be updated that probably should not be ?

 

I believe when I hit Y (without looking carefully at the upgrading package), is where my problems with UDEV started.

I am not jacking up another nas to experiment further, I still need to get my main nas back to working properly.

 

ReadyNAS 528X, Pro 6, ProBusiness, Ultra 4, NV+
Message 5 of 7
Highlighted
Guide

Re: 6.10 beta 2 - errors updating udev

Hi guys,

If you stuck on the udev problem, you might try this.

KenKen

 

edit the file

/var/lib/dpkg/info/udev.postinst

 

either vi or other text editor (I use nano)

 

add to the first line

exit 0

 

run apt update & apt upgrade again

 

You can remove the line and resume normal after finish.

View solution in original post

Message 6 of 7
Highlighted

Re: 6.10 beta 2 - errors updating udev

thanks a ton, I was finally able to get everything up to date and fixed.

 

ReadyNAS 528X, Pro 6, ProBusiness, Ultra 4, NV+
Message 7 of 7
Discussion stats
  • 6 replies
  • 1374 views
  • 2 kudos
  • 3 in conversation
Announcements