:: Re: [Dng] A novice attempt to speed…
Góra strony
Delete this message
Reply to this message
Autor: Anto
Data:  
Dla: dng
Temat: Re: [Dng] A novice attempt to speed up Devuan development


On 17/05/15 16:11, Jaret Cantu wrote:
>
> Oh my, are you using Wheezy? This is supposed to be for Jessie -- I
> have no clue what would happen if you tried installing this on an
> older version.
>
> eudev didn't even exist at udev version 175, so there should be no
> equivalent version to drop in. I would recommend just using what
> Wheezy already provides.
> If you upgrade to Jessie/Devuan, then this eudev is a good idea. I
> haven't even looked into Stretch? yet.
>
>
> ~jaret
>


Hello Jaret,

Yes. I am on Debian wheezy. I think I always mention that. :)

The main reason I am insisting to stay on Debian wheezy (while I am
waiting for Devuan) is that, I have a lot of issues using Debian jessie.
Perhaps it has too many "contaminated" packages so I get those issues as
I always pin any packages containing *systemd* to Pin-Priority: -1. If I
would be successful in using eudev on my test PC, I will use it on all
my other installs including the PC I am using now for writing this email.

I still suspect that there seems to be a problem with the install script.

I have done the followings:

1. Upgrade udev to Debian wheezy-backports

    That also pulled libudev1


2. Upgrade the packages below to Debian jessie

    dmsetup, grub-common, grub-pc, grub-pc-bin, grub2-common, 
libcryptsetup-dev, libcryptsetup4, libdevmapper1.02.1, nfs-common


3. Purge libudev0

4. Install eudev package

    The same result as before


Please have a look below for the detail.

I will switch to Devuan merged repository which mostly contains Debian
jessie packages. And I will give the update later on.

Cheers,

Anto
----

root@d945gclf:/home/anto/packages# apt-get install udev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libudev1
The following NEW packages will be installed:
libudev1
The following packages will be upgraded:
udev
1 upgraded, 1 newly installed, 0 to remove and 37 not upgraded.
Need to get 1,144 kB of archives.
After this operation, 4,579 kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://ftp.debian.org/debian/ wheezy-backports/main libudev1 amd64
204-14~bpo70+1 [54.8 kB]
Get:2 http://ftp.debian.org/debian/ wheezy-backports/main udev amd64
204-14~bpo70+1 [1,090 kB]
Fetched 1,144 kB in 1s (1,123 kB/s)
Reading changelogs... Done
.
<cut>
.
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.16.0-0.bpo.4-amd64
root@d945gclf:/home/anto/packages#

<enable Debian jessie repository>

root@d945gclf:/home/anto/packages# apt-get install dmsetup grub-common 
grub-pc grub-pc-bin grub2-common libcryptsetup-dev libcryptsetup4 
libdevmapper1.02.1 nfs-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
   libc-bin libc-dev-bin libc6 libc6-dev libgcrypt20 libgpg-error0 
libgssapi-krb5-2 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 
libtirpc1
Suggested packages:
   multiboot-doc grub-emu xorriso desktop-base glibc-doc rng-tools 
krb5-doc krb5-user open-iscsi watchdog
Recommended packages:
   manpages-dev krb5-locales
The following packages will be REMOVED:
   locales
The following NEW packages will be installed:
   libgcrypt20
The following packages will be upgraded:
   dmsetup grub-common grub-pc grub-pc-bin grub2-common libc-bin 
libc-dev-bin libc6 libc6-dev libcryptsetup-dev libcryptsetup4 
libdevmapper1.02.1 libgpg-error0 libgssapi-krb5-2 libk5crypto3
   libkeyutils1 libkrb5-3 libkrb5support0 libtirpc1 nfs-common
20 upgraded, 1 newly installed, 1 to remove and 340 not upgraded.
Need to get 14.4 MB of archives.
After this operation, 679 kB disk space will be freed.
Do you want to continue [Y/n]? Y
Get:1 http://ftp.debian.org/debian/ jessie/main libkeyutils1 amd64 
1.5.9-5+b1 [12.0 kB]
Get:2 http://ftp.debian.org/debian/ jessie/main libk5crypto3 amd64 
1.12.1+dfsg-19 [115 kB]
Get:3 http://ftp.debian.org/debian/ jessie/main libgssapi-krb5-2 amd64 
1.12.1+dfsg-19 [150 kB]
Get:4 http://ftp.debian.org/debian/ jessie/main libkrb5-3 amd64 
1.12.1+dfsg-19 [303 kB]
Get:5 http://ftp.debian.org/debian/ jessie/main libkrb5support0 amd64 
1.12.1+dfsg-19 [58.5 kB]
Get:6 http://ftp.debian.org/debian/ jessie/main dmsetup amd64 
2:1.02.90-2.2 [69.1 kB]
Get:7 http://ftp.debian.org/debian/ jessie/main libdevmapper1.02.1 amd64 
2:1.02.90-2.2 [145 kB]
Get:8 http://ftp.debian.org/debian/ jessie/main nfs-common amd64 
1:1.2.8-9 [206 kB]
Get:9 http://ftp.debian.org/debian/ jessie/main libtirpc1 amd64 0.2.5-1 
[80.4 kB]
Get:10 http://ftp.debian.org/debian/ jessie/main libc6-dev amd64 2.19-18 
[2,003 kB]
Get:11 http://ftp.debian.org/debian/ jessie/main libc-dev-bin amd64 
2.19-18 [237 kB]
Get:12 http://ftp.debian.org/debian/ jessie/main libc6 amd64 2.19-18 
[4,811 kB]
Get:13 http://ftp.debian.org/debian/ jessie/main libc-bin amd64 2.19-18 
[1,284 kB]
Get:14 http://ftp.debian.org/debian/ jessie/main libgpg-error0 amd64 
1.17-3 [94.9 kB]
Get:15 http://ftp.debian.org/debian/ jessie/main libgcrypt20 amd64 
1.6.3-2 [392 kB]
Get:16 http://ftp.debian.org/debian/ jessie/main grub-pc amd64 
2.02~beta2-22 [220 kB]
Get:17 http://ftp.debian.org/debian/ jessie/main grub-pc-bin amd64 
2.02~beta2-22 [876 kB]
Get:18 http://ftp.debian.org/debian/ jessie/main grub2-common amd64 
2.02~beta2-22 [504 kB]
Get:19 http://ftp.debian.org/debian/ jessie/main grub-common amd64 
2.02~beta2-22 [2,725 kB]
Get:20 http://ftp.debian.org/debian/ jessie/main libcryptsetup-dev amd64 
2:1.6.6-5 [49.8 kB]
Get:21 http://ftp.debian.org/debian/ jessie/main libcryptsetup4 amd64 
2:1.6.6-5 [103 kB]
Fetched 14.4 MB in 12s (1,187 kB/s)
Reading changelogs... Done
.
<cut>
.
Reading state information... Done
(Reading database ... 50025 files and directories currently installed.)
Removing locales ...
Purging configuration files for locales ...
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
root@d945gclf:/home/anto/packages#
root@d945gclf:/home/anto/packages#
root@d945gclf:/home/anto/packages# dpkg --list | grep udev
ii  libudev0:amd64 175-7.2                       amd64        libudev 
shared library
ii  libudev1:amd64 204-14~bpo70+1                amd64        libudev 
shared library
ii  udev 204-14~bpo70+1                amd64        /dev/ and hotplug 
management daemon
root@d945gclf:/home/anto/packages#
root@d945gclf:/home/anto/packages# apt-get purge libudev0
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
   libudev0*
0 upgraded, 0 newly installed, 1 to remove and 340 not upgraded.
After this operation, 162 kB disk space will be freed.
Do you want to continue [Y/n]? Y
Can't set locale; make sure $LC_* and $LANG are correct!
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
     LANGUAGE = "en_US:en",
     LC_ALL = (unset),
     LANG = "en_US.UTF-8"
     are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
(Reading database ... 50024 files and directories currently installed.)
Removing libudev0:amd64 ...
Purging configuration files for libudev0:amd64 ...
Processing triggers for libc-bin ...
root@d945gclf:/home/anto/packages#
root@d945gclf:/home/anto/packages# dpkg --list | grep udev
ii  libudev1:amd64 204-14~bpo70+1                amd64        libudev 
shared library
ii  udev 204-14~bpo70+1                amd64        /dev/ and hotplug 
management daemon
root@d945gclf:/home/anto/packages#
root@d945gclf:/home/anto/packages# ls -ln *udev*.deb
-rw-r--r-- 1 1000 1000  996840 May 17 14:54 eudev-dbg_1.9-1_amd64.deb
-rw-r--r-- 1 1000 1000    3072 May 17 14:54 gir1.2-gudev-1.0_1.9-1_amd64.deb
-rw-r--r-- 1 1000 1000   43860 May 17 14:54 libgudev-1.0-0_1.9-1_amd64.deb
-rw-r--r-- 1 1000 1000   44316 May 17 14:54 libgudev-1.0-dev_1.9-1_amd64.deb
-rw-r--r-- 1 1000 1000   95544 May 17 14:54 libudev-dev_1.9-1_amd64.deb
-rw-r--r-- 1 1000 1000   92128 May 17 14:54 libudev1_1.9-1_amd64.deb
-rw-r--r-- 1 1000 1000 1046270 May 17 14:54 udev_1.9-1_amd64.deb
root@d945gclf:/home/anto/packages#
root@d945gclf:/home/anto/packages# dpkg --install 
libudev1_1.9-1_amd64.deb udev_1.9-1_amd64.deb
(Reading database ... 50018 files and directories currently installed.)
Preparing to replace libudev1:amd64 204-14~bpo70+1 (using 
libudev1_1.9-1_amd64.deb) ...
Unpacking replacement libudev1:amd64 ...
Preparing to replace udev 204-14~bpo70+1 (using udev_1.9-1_amd64.deb) ...
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Unpacking replacement udev ...
Setting up libudev1:amd64 (215:1.9-1) ...
Setting up udev (215:1.9-1) ...
Installing new version of config file 
/etc/modprobe.d/fbdev-blacklist.conf ...
Installing new version of config file /etc/init/udev.conf ...
Installing new version of config file /etc/init/udev-finish.conf ...
Installing new version of config file /etc/init.d/udev ...
Installing new version of config file /etc/init.d/udev-finish ...
[ ok ] Stopping the hotplug events dispatcher: udevd.
[....] Starting the hotplug events dispatcher: udevd/etc/init.d/udev: 
244: /etc/init.d/udev: udevd: not found
  failed!
invoke-rc.d: initscript udev, action "restart" failed.
dpkg: error processing udev (--install):
  subprocess installed post-installation script returned error exit 
status 127
Processing triggers for man-db ...
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Processing triggers for libc-bin ...
Errors were encountered while processing:
  udev
root@d945gclf:/home/anto/packages#