[Bug 886463] Re: Missing files after installing package
Raphaël Hertzog
hertzog at debian.org
Sat Nov 26 17:57:45 UTC 2011
** Package changed: dpkg (Ubuntu) => synaptic (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dpkg in Ubuntu.
https://bugs.launchpad.net/bugs/886463
Title:
Missing files after installing package
Status in “synaptic” package in Ubuntu:
New
Bug description:
First, I must say that I'm not sure if the issue is with synaptic, apt-get or dpkg (or maybe something else). The problem manifested on two of my machines after the upgrade from 32-bit 11.04 to 11.10, with different packages. Here is one situation:
Before upgrade, I changed Skype launcher to
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype
because my webcam didn't work with it otherwise. After the upgrade,
launcher was changed, and fix was gone, so I re-applid the fix, but
webcam didn't work:
ERROR: ld.so: object '/usr/lib/libv4l/v4l1compat.so' from LD_PRELOAD
cannot be preloaded: ignored.
I checked if libv4l was installed, and, according to synaptic, it was,
but when I tried to see installed files, I got
"The list of installed files is only available for installed packages"
I suspected that there is something wrong with synaptic, and I tried
to install libv4l package manually with dpkg -i. Installation went
without errors, but, even after that, I got the same error when
starting skype. I checked /usr/lib/, and libv4l directory wasn't
there. I tried dpkg-query -L libv4l* and got this:
Package `libv4l' is not installed.
Package `libv4l1.so.0' is not installed.
Package `libv4l2.so.0' is not installed.
Package `libv4lconvert.so.0' is not installed.
Now, this was something I didn't expected. I tried dpkg-deb -c libv4l-
0_0.8.5-3ubuntu1_i386.deb and got this:
drwxr-xr-x root/root 0 2011-08-25 19:13 ./
drwxr-xr-x root/root 0 2011-08-25 19:13 ./usr/
drwxr-xr-x root/root 0 2011-08-25 19:13 ./usr/share/
drwxr-xr-x root/root 0 2011-08-25 19:13 ./usr/share/lintian/
drwxr-xr-x root/root 0 2011-08-25 19:13 ./usr/share/lintian/overrides/
-rw-r--r-- root/root 79 2011-01-26 22:07 ./usr/share/lintian/overrides/libv4l-0
drwxr-xr-x root/root 0 2011-08-25 19:13 ./usr/share/doc/
drwxr-xr-x root/root 0 2011-08-25 19:13 ./usr/share/doc/libv4l-0/
-rw-r--r-- root/root 3383 2011-07-17 18:06 ./usr/share/doc/libv4l-0/README.lib.gz
-rw-r--r-- root/root 1867 2011-07-17 18:06 ./usr/share/doc/libv4l-0/README
-rw-r--r-- root/root 520 2011-07-17 18:06 ./usr/share/doc/libv4l-0/README.lib-multi-threading
-rw-r--r-- root/root 1692 2011-07-17 18:06 ./usr/share/doc/libv4l-0/TODO
-rw-r--r-- root/root 642 2011-08-05 17:48 ./usr/share/doc/libv4l-0/README.Debian
-rw-r--r-- root/root 15921 2011-07-17 18:35 ./usr/share/doc/libv4l-0/copyright
-rw-r--r-- root/root 1135 2011-08-25 19:13 ./usr/share/doc/libv4l-0/changelog.Debian.gz
drwxr-xr-x root/root 0 2011-08-25 19:13 ./usr/lib/
drwxr-xr-x root/root 0 2011-08-25 19:13 ./usr/lib/i386-linux-gnu/
-rw-r--r-- root/root 23224 2011-08-25 19:13 ./usr/lib/i386-linux-gnu/libv4l1.so.0
-rw-r--r-- root/root 42456 2011-08-25 19:13 ./usr/lib/i386-linux-gnu/libv4l2.so.0
-rw-r--r-- root/root 144964 2011-08-25 19:13 ./usr/lib/i386-linux-gnu/libv4lconvert.so.0
drwxr-xr-x root/root 0 2011-08-25 19:13 ./usr/lib/i386-linux-gnu/libv4l/
-rw-r--r-- root/root 5368 2011-08-25 19:13 ./usr/lib/i386-linux-gnu/libv4l/v4l1compat.so
-rw-r--r-- root/root 5424 2011-08-25 19:13 ./usr/lib/i386-linux-gnu/libv4l/v4l2convert.so
-rwxr-xr-x root/root 13716 2011-08-25 19:13 ./usr/lib/i386-linux-gnu/libv4l/ov511-decomp
-rwxr-xr-x root/root 21908 2011-08-25 19:13 ./usr/lib/i386-linux-gnu/libv4l/ov518-decomp
So, libv4l directory wasnt at /usr/lib/, but at /usr/lib/i386-linux-
gnu/. Then, I changed my skype launcher to:
LD_PRELOAD=/usr/lib/i386-linux-gnu/libv4l/v4l1compat.so skype
but, to my surprise, I got the same error as I got with original path:
ERROR: ld.so: object '/usr/lib/libv4l/v4l1compat.so' from LD_PRELOAD
cannot be preloaded: ignored.
I checked /usr/lib/i386-linux-gnu/libv4l/ and all files inside were
real files, not symlinks. Finally, I manually copied libv4l from
/usr/lib/i386-linux-gnu/ to /usr/lib/, and skype finnaly worked with
webcam. But, the underlying problem is still there.
On another machine, after upgrade from 11.04 to 11.10, my Radeon graphic card was working only in vesa mode. To cut the long story short, after about two hours of trying to make it work, I found that almost all files for my opengl libraries were missing, although there were all reported as installed in synaptic. I tried to re-install them, from synaptic, apt-get and dpkg, but I always got errors about missing libraries when starting Unity. That made my machine almost unusable, as there is no non-3d interface that worked without heavy artifacts.
After many re-installs of open-source and fglrx drivers, the card at one moment started to work with fglrx. But, the problem still exists: libdrm-radeon1, libdrm2, libegl1-mesa, libegl1-mesa-drivers, libgl1-mesa-dri, libgl1-mesa-glx, libgles1-mesa, libgles2-mesa, libglew1.6, libglu1-mesa, libosmesa6 (only to name a few) are still reported as installed, but file list of those packages is not available because (synaptic):
"The list of installed files is only available for installed packages"
I'm affraid that some next update of those libraries will render my
system unusable again, as I don't know what made it work (out of many
things I tried).
So, what is happening with package installation in Ubuntu 11.10? I
have the same problem on two machines (with different packages), so I
guess it isn't mchine-specific.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/synaptic/+bug/886463/+subscriptions
More information about the foundations-bugs
mailing list