LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 07-12-2012, 07:49 AM   #1
gkasica
Member
 
Registered: Jan 2011
Location: Jackson WI
Distribution: Fedora Core/Generic
Posts: 116

Rep: Reputation: 0
"\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
__________________
 
Old 07-19-2012, 02:18 PM   #2
gkasica
Member
 
Registered: Jan 2011
Location: Jackson WI
Distribution: Fedora Core/Generic
Posts: 116

Original Poster
Rep: Reputation: 0
To clean up the symlinks:

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

Then rm -rf the listed items and rerun preupgrade
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
preupgrade from F15 to F16 : "Error 15 : File not found" Moore Linux - General 10 12-05-2011 04:31 AM
"/usr/lib/cups/filter/foomatic-rip failed" newbiesforever Linux - Hardware 1 12-10-2010 09:37 AM
[SOLVED] "/usr/libexec/cups/filter/hpcups failed" dpminusa Gentoo 2 07-08-2010 04:52 AM
script using "/usr/bin/cat error" produces "cannot open" in cron Dcrusoe Programming 6 07-22-2009 03:30 PM
Compromised? Files "/usr/lib.hwm", "/usr/lib.pwd", "/usr/lib.pwi" Klaus Pforte Linux - Security 4 09-28-2004 11:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 07:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration