LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (http://www.linuxquestions.org/questions/fedora-35/)
-   -   "\usr merge script failed" during preupgrade from f16 ro f17 (http://www.linuxquestions.org/questions/fedora-35/%5Cusr-merge-script-failed-during-preupgrade-from-f16-ro-f17-4175416340/)

gkasica 07-12-2012 08:49 AM

"\usr merge script failed" during preupgrade from f16 ro f17
 
When trying to upgrade from F16 to F17 using preupgrade, the boot sequence to the F17 option is stopped with the error "The \usr merge script failed..." etc. on reboot.

I've tried to follow the setps in the Bugzilla posting for this but don't show any symlinka back to /etc. https://bugzilla.redhat.com/show_bug.cgi?id=831242

"I have just experienced this on a server I am upgrading. I found a symlink in /usr/bin called 'java' pointing at /etc/alternatives/java. Deleting the symlink corrected the error and the upgrade is now proceeding."
Where do I go from here. I can successfully reboot into FC16 so the box is up & running and there is not a huge time pressure to resolve this.

I've done the above search with the following results (doesn't look like any symlinks going to etc) and as far as I know I have no NFS/CIFS mounts for that directory eiter (just running Samba here). How do I proceed to fix this or get around it...or worst case back out what preupgrade has already done? I was able to reboot into the "old" FC16 setup manually and its working fine so I'm guessing remove the entries in the grub.conf files maybe but some direction there and what else to clean up would help if we can't resolve this.

Thanks,



# cd /usr
[root@saturn usr]# find . -type l | grep etc
./lib/libkwalletclient.so.1
./lib/glusterfs/3.2.7/xlator/performance/stat-prefetch.so
./lib/glusterfs/3.2.7/xlator/performance/stat-prefetch.so.0
./lib/libkgetcore.so.4
./lib/libnetcf.so.1
./lib/openldap/retcode-2.4.so.2
./lib/libkwalletclient.so
./libexec/getconf/default
./share/man/man3/mvgetch.3x.gz
./share/man/man3/ungetch.3x.gz
./share/man/man3/setcchar.3x.gz
./share/man/man3/mvwgetch.3x.gz
./share/man/man3/getcury.3x.gz
./share/man/man3/getcurx.3x.gz
./share/man/man3/getch.3x.gz
./share/man/man3/wgetch.3x.gz
./share/man/man3/getcchar.3x.gz
./share/man/man3/ungetch_sp.3x.gz

# ll ./lib/libkwalletclient.so.1
lrwxrwxrwx 1 root root 25 Nov 19 2011 ./lib/libkwalletclient.so.1 -> libkwalletclient.so.1.0.1
# ll ./lib/glusterfs/3.2.7/xlator/performance/stat-prefetch.so
lrwxrwxrwx 1 root root 22 Jun 22 06:36 ./lib/glusterfs/3.2.7/xlator/performance/
stat-prefetch.so -> stat-prefetch.so.0.0.0
# ll ./lib/glusterfs/3.2.7/xlator/performance/stat-prefetch.so.0
lrwxrwxrwx 1 root root 22 Jun 22 06:36 ./lib/glusterfs/3.2.7/xlator/performance/
stat-prefetch.so.0 -> stat-prefetch.so.0.0.0
# ll ./lib/libkgetcore.so.4
lrwxrwxrwx 1 root root 20 Jun 30 19:01 ./lib/libkgetcore.so.4 -> libkgetcore.so.4.8.0
# ll ./lib/libnetcf.so.1
lrwxrwxrwx. 1 root root 17 Nov 11 2011 ./lib/libnetcf.so.1 -> libnetcf.so.1.4.0
# ll ./lib/openldap/retcode-2.4.so.2
lrwxrwxrwx 1 root root 20 Apr 18 21:52 ./lib/openldap/retcode-2.4.so.2 -> retcode-2.4.so.2.7.1
# ll ./lib/libkwalletclient.so
lrwxrwxrwx 1 root root 25 Nov 19 2011 ./lib/libkwalletclient.so -> libkwalletclient.so.1.0.1
# ll ./libexec/getconf/default
lrwxrwxrwx 1 root root 20 Mar 22 03:44 ./libexec/getconf/default -> POSIX_V6_ILP32_OFF32
# ll ./share/man/man3/mvgetch.3x.gz
lrwxrwxrwx. 1 root root 16 Nov 11 2011 ./share/man/man3/mvgetch.3x.gz -> curs_getch.3x.gz
# ll ./share/man/man3/ungetch.3x.gz
lrwxrwxrwx. 1 root root 16 Nov 11 2011 ./share/man/man3/ungetch.3x.gz -> curs_getch.3x.gz
# ll ./share/man/man3/setcchar.3x.gz
lrwxrwxrwx. 1 root root 19 Nov 11 2011 ./share/man/man3/setcchar.3x.gz -> curs_getcchar.3x.gz
# ll ./share/man/man3/mvwgetch.3x.gz
lrwxrwxrwx. 1 root root 16 Nov 11 2011 ./share/man/man3/mvwgetch.3x.gz -> curs_getch.3x.gz
# ll ./share/man/man3/getcury.3x.gz
lrwxrwxrwx. 1 root root 17 Nov 11 2011 ./share/man/man3/getcury.3x.gz -> curs_legacy.3x.gz
# ll ./share/man/man3/getcurx.3x.gz
lrwxrwxrwx. 1 root root 17 Nov 11 2011 ./share/man/man3/getcurx.3x.gz -> curs_legacy.3x.gz
# ll ./share/man/man3/getch.3x.gz
lrwxrwxrwx. 1 root root 16 Nov 11 2011 ./share/man/man3/getch.3x.gz -> curs_getch.3x.gz
# ll ./share/man/man3/wgetch.3x.gz
lrwxrwxrwx. 1 root root 16 Nov 11 2011 ./share/man/man3/wgetch.3x.gz -> curs_getch.3x.gz
# ll ./share/man/man3/getcchar.3x.gz
lrwxrwxrwx. 1 root root 19 Nov 11 2011 ./share/man/man3/getcchar.3x.gz -> curs_getcchar.3x.gz
# ll ./share/man/man3/ungetch_sp.3x.gz
lrwxrwxrwx. 1 root root 19 Nov 11 2011 ./share/man/man3/ungetch_sp.3x.gz -> curs_sp_funcs.3x.gz

# more /etc/fstab
LABEL=/root / ext4 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
devpts /dev/pts devpts gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs defaults 0 0
LABEL=/home /home ext4 defaults 1 2
LABEL=/home2 /home2 ext4 defaults 1 2
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
/dev/scd0 /mnt/cdrom/ iso9660 ro,user,noauto 0 0
LABEL=/tmp /tmp ext4 defaults 1 2
LABEL=/SWAP-hda2 swap swap defaults 0 0
#
# Loopback mount of Samba Share
/home2/DAWS /var/www/html/DAWS none bind 0 0

# df -kh
Filesystem Size Used Avail Use% Mounted on
rootfs 289G 25G 251G 9% /
devtmpfs 969M 0 969M 0% /dev
tmpfs 977M 72K 977M 1% /dev/shm
/dev/sda3 289G 25G 251G 9% /
tmpfs 977M 42M 935M 5% /run
tmpfs 977M 0 977M 0% /sys/fs/cgroup
tmpfs 977M 0 977M 0% /media
/dev/sda1 485M 236M 249M 49% /boot
/dev/sdb1 294G 1.7G 277G 1% /home
/dev/sdc1 37G 136M 35G 1% /tmp
/dev/sdc2 257G 20G 225G 9% /home2
/dev/sdc2 257G 20G 225G 9% /var/www/html/DAWS
/dev/sda3 289G 25G 251G 9% /var/named/chroot/etc/named
/dev/sda3 289G 25G 251G 9% /var/named/chroot/etc/pki/dnssec-keys
/dev/sda3 289G 25G 251G 9% /var/named/chroot/usr/lib/bind
/dev/sda3 289G 25G 251G 9% /var/named/chroot/etc/named.iscdlv.key
/dev/sda3 289G 25G 251G 9% /var/named/chroot/etc/named.root.key
__________________

gkasica 07-19-2012 03:18 PM

To clean up the symlinks:

cd /usr
find ./ -mount -lname /etc/\*

Then rm -rf the listed items and rerun preupgrade


All times are GMT -5. The time now is 08:56 PM.