Bug 442895 - /usr/lib/libbaconvideowidget.so symbolic link broken
Summary: /usr/lib/libbaconvideowidget.so symbolic link broken
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: totem
Version: rawhide
Hardware: i386
OS: Linux
low
low
Target Milestone: ---
Assignee: Bastien Nocera
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 443263 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-04-17 13:58 UTC by sangu
Modified: 2008-04-24 21:20 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-04-24 09:39:05 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Prevents alternatives configuration from being removed on upgrade (2.48 KB, patch)
2008-04-21 21:14 UTC, Stewart Adam
no flags Details | Diff

Description sangu 2008-04-17 13:58:29 UTC
Description of problem:
$ ls -al   /usr/lib/libbaconvideowidget.so
lrwxrwxrwx 1 root root 28 2008-04-17 22:39 /usr/lib/libbaconvideowidget.so ->
libbaconvideowidget.so.0.0.0
$ ls -aHl /usr/lib/libbaconvideowidget.so
ls: cannot access libbaconvideowidget.so: No such file or directory

$ rpm -qf /usr/lib/libbaconvideowidget.so
totem-2.23.1-1.fc9.i386

$/sbin/ldconfig -v

:/sbin/ldconfig: Cannot stat /usr/lib/libbaconvideowidget.so: No such file or
directory


Version-Release number of selected component (if applicable):
2.23.1-1.fc9

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Bastien Nocera 2008-04-17 14:53:52 UTC
Could you please post the output of rpm -qa "*totem*" ?

Comment 2 sangu 2008-04-17 15:09:46 UTC
(In reply to comment #1)
> Could you please post the output of rpm -qa "*totem*" ?

$ rpm -qa "*totem*"
totem-pl-parser-2.22.2-1.fc9.i386
totem-mozplugin-2.23.1-1.fc9.i386
totem-nautilus-2.23.1-1.fc9.i386
totem-2.23.1-1.fc9.i386
totem-gstreamer-2.23.1-1.fc9.i386
totem-youtube-2.23.1-1.fc9.i386
totem-galago-2.23.1-1.fc9.i386
totem-lirc-2.23.1-1.fc9.i386
totem-pl-parser-devel-2.22.2-1.fc9.i386


Comment 3 Bastien Nocera 2008-04-17 15:27:21 UTC
Stewart, any ideas?

Comment 4 Stewart Adam 2008-04-17 21:36:09 UTC
Looks like something went wrong with alternatives - If you run this as root:
$ /usr/sbin/alternatives --display totem-backend
nothing happens, right?

(I think this has something to do with the scriptlets - my first guess would be
that postuninstall is running upon an upgrade, removing the alternatives
configuration but postinstall isn't run so the result is a broken link)

Comment 5 Bastien Nocera 2008-04-21 17:49:51 UTC
*** Bug 443263 has been marked as a duplicate of this bug. ***

Comment 6 Bastien Nocera 2008-04-21 17:52:19 UTC
Goes empty. The problem is that there's no way to fix this problem in an
upgrade, as it's the old package's postun that will be run, and will remove the
alternatives link...

Only way is to remove the totem package and re-install it. I'm building a new
package that won't remove those links on upgrade now.

Comment 7 Stewart Adam 2008-04-21 21:14:58 UTC
Created attachment 303207 [details]
Prevents alternatives configuration from being removed on upgrade

The problem with this patch is it will require two upgrades to take effect,
although I think at this point that is unavoidable.

Comment 8 Bastien Nocera 2008-04-24 09:39:05 UTC
This should be fixed in totem-2.23.2-2.fc9. Obviously, upgrading from a broken
version won't work as expected, as it's the old version's post script that will
be running...

Comment 9 Martin Jürgens 2008-04-24 20:03:22 UTC
Still the same for me with that version. Totem-backend does not change anything.

Comment 10 Stewart Adam 2008-04-24 21:04:29 UTC
As Bastien mentioned that's because the old post script is still run. To
re-establish the symbolic link, run:
#  /usr/sbin/alternatives --install /usr/lib64/libbaconvideowidget.so.0.0.0
totem-backend /usr/lib64/libbaconvideowidget-gstreamer.so.0.0.0 2
#  /usr/sbin/alternatives --install /usr/lib64/libbaconvideowidget.so.0.0.0
totem-backend /usr/lib64/libbaconvideowidget-xine.so.0.0.0 1
as applicable (ie don't run the alternatives command for
libbaconvideowidget-xine.so.0.0.0 without totem-xine installed) and things
should return to normal.

If you'd prefer not using the command line, simply remove and then reinstall the
totem backends.

Comment 11 Martin Jürgens 2008-04-24 21:20:44 UTC
Works indeed. Thanks


Note You need to log in before you can comment on or make changes to this bug.