You are not logged in.

#1 2007-09-19 10:38:34

epimer
Member
Registered: 2007-09-06
Posts: 24

util-linux-ng

I apologise if this is a stupid question, but I can't find an answer in the wiki, on the forums, or on Google.

Since this morning, pacman -Syu has asked me if I want to "Replace util-linux with core/util-linux-ng". Am I right in thinking this is kernel related? What are the differences, pros/cons (if any)?

Thanks.

Offline

#2 2007-09-19 10:51:28

chaosgeisterchen
Member
From: Kefermarkt, Upper Austria
Registered: 2006-11-20
Posts: 550

Re: util-linux-ng

I have not yet seen that package.

[root@celestary chaosgeisterchen]# pacman -Ss util-linux
testing/util-linux 2.13-1 (base)
    Miscellaneous system utilities for Linux
core/util-linux 2.12-12
    Miscellaneous system utilities for Linux

Seems to be the same, so you might upgrade without hesitation.


celestary
Intel Core2Duo E6300 @ 1.86 GHz
kernel26
KDEmod current repository

Offline

#3 2007-09-19 10:52:59

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: util-linux-ng

No it is not kernel releated. Util-linux contains "miscellaneous system utilities for Linux" like mount, fsck, etc.
Util-linux-ng is a fork of the util-linux project, which has not been updated for the last couple of years AFAIK.

So you should answer yes, as util-linux is removed from the repos and replaced by util-linux-ng

[edit]
chaosgeisterchen is seems that your mirror has not synced yet wink

Last edited by pressh (2007-09-19 10:57:18)

Offline

#4 2007-09-19 13:11:54

Doehni
Member
From: Germany
Registered: 2007-05-19
Posts: 175

Re: util-linux-ng

There's an info about that on the archlinux main page: http://www.archlinux.org/news/346/

Last edited by Doehni (2007-09-19 13:12:09)

Offline

#5 2007-09-19 15:54:36

btartsa
Member
Registered: 2004-07-26
Posts: 222

Re: util-linux-ng

Big warning! I believe that this upgrade completely hosed my system! Upon reboot the system crashed because it can not mount the root fs( missing mount and umount). It also seems to be missing hwclock and ton of other things. I assume I must chroot in and fix it. Can someone give me a quick how-to on this?

Last edited by btartsa (2007-09-19 15:56:00)

Offline

#6 2007-09-19 16:53:08

berbae
Member
From: France
Registered: 2007-02-12
Posts: 1,304

Re: util-linux-ng

I checked the util-linux-ng package and the mount, umount and hwclock commands are present in it and correctly installed after the update.
[berbae@arch ~]$ ll /bin/mount
-rwsr-xr-x 1 root root 81136 sep 18 23:45 /bin/mount
[berbae@arch ~]$ ll /bin/umount
-rwsr-xr-x 1 root root 28540 sep 18 23:45 /bin/umount
[berbae@arch ~]$ ll /sbin/hwclock
-rwxr-xr-x 1 root root 31456 sep 18 23:45 /sbin/hwclock
only missing are :
/etc/fdprm
/sbin/elvtune
/usr/bin/setfdprm
changed :
from /usr/bin/raw to /sbin/raw
new commands :
/usr/bin/chrt
/usr/bin/i386
/usr/bin/ionice
/usr/bin/linux32
/usr/bin/linux64
/usr/bin/scriptreplay
/usr/bin/setarch
/usr/bin/taskset
/usr/sbin/rtcwake

I don't see where your problem stems from.

Offline

#7 2007-09-19 17:24:00

btartsa
Member
Registered: 2004-07-26
Posts: 222

Re: util-linux-ng

berbae: I wish I had been paying more attention sad

Perhaps during the upgrade pacman removed util-linux first, and then failed to install util-linux-ng because the repos were not synced? Regardless I have to get in there and reinstall those utils!

Offline

#8 2007-09-19 18:08:56

dhave
Arch Linux f@h Team Member
From: Outside the matrix.
Registered: 2005-05-15
Posts: 1,112

Re: util-linux-ng

I updated (replaced) util-linux to util-linux-ng without any problems. I've done several reboots, warm and cold, since then and haven't seen any ill effects.


Donate to Arch!

Tired? There's a nap for that. --anonymous

Offline

#9 2007-09-19 19:25:54

btartsa
Member
Registered: 2004-07-26
Posts: 222

Re: util-linux-ng

dhave: OK so if the package is working properly, where does that leave me? As I stated above I think it was some sort of strange timing situation w/ pacman and the repos syncing. Regardless...and tips on how to remedy this?

Offline

#10 2007-09-19 21:18:37

berbae
Member
From: France
Registered: 2007-02-12
Posts: 1,304

Re: util-linux-ng

btartsa : you have to boot with a live CD/DVD
Then run:

mkdir /mnt
mount /dev/hdaX /mnt (write your normal root partition in place of hdaX)
chroot /mnt
cd /var/cache/pacman/pkg
pacman -U util-linux-2.12-12.pkg.tar.gz

and reboot

If you don't have the package, you should download it first to install it from another place than the cache pacman directory.
Don't panic and you should be able to repair your installation.

Offline

#11 2007-09-19 23:16:29

btartsa
Member
Registered: 2004-07-26
Posts: 222

Re: util-linux-ng

Thanks that did the trick! Seems the schedutils package from AUR caused a conflict.

Offline

#12 2007-09-20 10:56:50

Rulatir
Banned
Registered: 2007-02-05
Posts: 94

Re: util-linux-ng

On Arch64, util-linux-ng wants to replace linux32. Is that OK?

Offline

#13 2007-09-20 11:01:52

AndyRTR
Developer
From: Magdeburg/Germany
Registered: 2005-10-07
Posts: 1,642

Re: util-linux-ng

yes. linux32 is now a part of util-linux-ng pkg.

Offline

Board footer

Powered by FluxBB