hi there,

there is a strange bug that manifests itself when i sometimes
do a pkg_add -ui.

/var/db/pkg/opera-10.11p2/+REQUIRING:
desktop-file-utils-0.19
fedora_base-4.0p9
.libs-sqlite3-3.7.5
.libs1-glib2-2.28.8p3

i am a long time opera user and i know for a fact that neither sqlite
nor glib2 are direct dependencies.  how did they get there?

$ ls -la /var/db/pkg/opera-10.11p2/
total 38
-rw-r--r--    1 root  wheel  23751 May  4  2011 +CONTENTS
-r--r--r--    1 root  wheel    209 May  4  2011 +DESC
-rw-r--r--    1 root  wheel     84 Jan 10 21:03 +REQUIRING

the port was installed on 4th may.  during my previous
update on Jan 10 it got the extra dependencies for some
reason.  this was when the ports tree sqlite got broken.
because the mirrors did not have the correct version,
i handrolled one using the ports tree and ran a package
update afterwards.


when i do an update, it always finishes like this:

Couldn't find updates for py-django-paging-0.2.4, opera-10.11p2, 
py-django-uni-form-0.8.0, py-django-indexer-0.3.0, opera-next-12.00.1054, 
py-django-sentry-1.8.6.1, py-django-debug-toolbar-0.8.5

these are ports that a) truly have no updates (opera has no package)
b) are my own ports not commited to the ports tree

and somehow these are exactly the ports that all get extra dependencies
they dont actually depend on:

$ grep "\.lib" /var/db/pkg/py-django-*/*
/var/db/pkg/py-django-debug-toolbar-0.8.5/+REQUIRING:.libs-sqlite3-3.7.5
/var/db/pkg/py-django-indexer-0.3.0/+REQUIRING:.libs-sqlite3-3.7.5
/var/db/pkg/py-django-paging-0.2.4/+REQUIRING:.libs-sqlite3-3.7.5
/var/db/pkg/py-django-sentry-1.8.6.1/+REQUIRING:.libs-sqlite3-3.7.5
/var/db/pkg/py-django-uni-form-0.8.0/+REQUIRING:.libs-sqlite3-3.7.5

/var/db/pkg/.libs-sqlite3-3.7.5/+REQUIRED_BY
actually also has a list of all those packages, but this
is clearly not true, they do not depend on it (although python does)

the only solution is to manually remove these dependencies
so pkg_delete will allow me to delete the .libs

i am sorry i cant come up with a more coherent bug report,
this is a bit over the top of my head..

-f
--
he who lives by the sword eats with bloody hands.

Reply via email to