I've checked the php5 case, and it's definitely a binary dependency that
parse_depends cannot parse.

>>> apt.apt_pkg.parse_depends('${misc:Depends},\n\t ${shlibs:Depends},\n\t sed 
>>> (>= 4.1.1-1),\n\t psmisc (>= 22.15-1~),\n\t lsof [!kfreebsd-any 
>>> !hurd-any],\n\t ucf')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: Problem Parsing Dependency
>>> apt.apt_pkg.parse_depends('sed (>= 4.1.1-1),\n\t psmisc (>= 22.15-1~),\n\t 
>>> lsof [!kfreebsd-any !hurd-any],\n\t ucf')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: Problem Parsing Dependency
>>>


Package: php5-common
Architecture: any
Depends: ${misc:Depends},
         ${shlibs:Depends},
         sed (>= 4.1.1-1),
         psmisc (>= 22.15-1~),
         lsof [!kfreebsd-any !hurd-any],
         ucf


I apologise if I made in error in the Libreoffice case.

** Changed in: python-apt (Ubuntu)
       Status: Invalid => New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1149679

Title:
  [check-mir] cannot parse dependencies with architecture restrictions

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/1149679/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to