[deb][filtering] Filtering works with rather huge warnings for deb packages

Bug #1584781 reported by Sergey Kulanov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
packetary
Opinion
High
Unassigned

Bug Description

1) Command:

packetary --threads-num 10 clone \
   -t deb
   -r ubuntu_mirror.yaml
   -R ubuntu_packages.yaml
   -d build-mirror/

ubuntu_mirror.yaml:
- name: "ubuntu"
  uri: "http://localhost:8000/ubuntu/"
  suite: "mos-master"
  section: ["main", "restricted"]
  priority: 1000
  path: "/home/user/projects/fuel-main/build/iso/isoroot/ubuntu"

ubuntu_packages.yaml
repositories:
  - name: "ubuntu"
    excludes:
      - group: "debug"

2) Result

Loading packages from http://localhost:8000/ubuntu/ mos-master main ...
loaded: 1304 packages from http://localhost:8000/ubuntu/ mos-master main.
loading packages from http://localhost:8000/ubuntu/ mos-master restricted ...
loaded: 0 packages from http://localhost:8000/ubuntu/ mos-master restricted.
Unresolved relation: adduser (any) from zaqar-server
Unresolved relation: debconf (any) from zaqar-server
Unresolved relation: debconf (>= 0.5) | debconf-2.0 (any) from zaqar-server
Unresolved relation: sysv-rc (>= 2.88dsf-24) | file-rc (>= 0.8.16) from zaqar-server
Unresolved relation: adduser (any) from zaqar-common
Unresolved relation: dbconfig-common (any) from zaqar-common
Unresolved relation: debconf (any) from zaqar-common
Unresolved relation: sqlite3 (any) from zaqar-common
Unresolved relation: debconf (>= 0.5) | debconf-2.0 (any) from zaqar-common
Unresolved relation: python (any) from zaqar-common
Unresolved relation: python-numpy (any) from websockify
Unresolved relation: python (< 2.8) from websockify
Unresolved relation: python (>= 2.7.5-5~) from websockify
Unresolved relation: python (>= 2.7~) from websockify
Unresolved relation: libc6 (>= 2.4) from websockify
Unresolved relation: python3 (any) from virtualenv
Unresolved relation: vim-addon-manager (any) from vim-puppet
.........
Unresolved relation: sysv-rc (>= 2.88dsf-24) | file-rc (>= 0.8.16) from aodh-evaluator
Unresolved relation: adduser (any) from aodh-common
Unresolved relation: dpkg-dev (any) from aodh-common
Unresolved relation: debconf (>= 0.5) | debconf-2.0 (any) from aodh-common
Unresolved relation: python2.7 (any) from aodh-common
Unresolved relation: adduser (any) from aodh-api
Unresolved relation: debconf (any) from aodh-api
Unresolved relation: debconf (>= 0.5) | debconf-2.0 (any) from aodh-api
Unresolved relation: sysv-rc (>= 2.88dsf-24) | file-rc (>= 0.8.16) from aodh-api
cloning repository 'http://localhost:8000/ubuntu/ mos-master main' to '/home/skulanov/projects/fuel-main/build/iso/isoroot/ubuntu'
download: http://localhost:8000/ubuntu/pool/main/p/python-setuptools/python-setuptools_20.1.1-1~u14.04+mos1_all.deb from the offset: 0
download: http://localhost:8000/ubuntu/pool/main/c/ceilometer/ceilometer-api_6.0.0~rc1-1~u14.04+mos15_all.deb from the offset: 0
download: http://localhost:8000/ubuntu/pool/main/p/python-jingo/python-jingo_0.8-1~u14.04+mos1_all.deb from the offset: 0
download: http://localhost:8000/ubuntu/pool/main/p/python-senlinclient/python3-senlinclient_0.4.1-1~u14.04+mos15_all.deb from the offset: 0
download: http://localhost:8000/ubuntu/pool/main/p/python-cffi/python3-cffi_1.1.2-1~u14.04+mos2_all.deb from the offset: 0
download: http://localhost:8000/ubuntu/pool/main/s/swift/swift-container_2.6.0-3~u14.04+mos145_all.deb from the offset: 0
download: http://localhost:8000/ubuntu/pool/main/c/corosync/libcmap-dev_2.3.4-0u~u14.04+mos2_amd64.deb from the offset: 0
.....
loading packages from file:///home/skulanov/projects/fuel-main/build/iso/isoroot/ubuntu/ mos-master main ...
loaded: 0 packages from file:///home/skulanov/projects/fuel-main/build/iso/isoroot/ubuntu/ mos-master main.
saved 1262 packages in file:///home/skulanov/projects/fuel-main/build/iso/isoroot/ubuntu/ mos-master main
added repository suite release file: /home/skulanov/projects/fuel-main/build/iso/isoroot/ubuntu/dists/mos-master/Release
Packages copied: 1262/1262.

description: updated
description: updated
Changed in packetary:
importance: Undecided → High
milestone: none → 0.2.0
summary: - [deb][filtering] Filtering doesn't work for deb packages
+ [deb][filtering] Filtering works with rather huge warnings for deb
+ packages
description: updated
description: updated
description: updated
Revision history for this message
Sergey Kulanov (skulanov) wrote :

Work as designed, since we are not provided "all" mirrors, where packetary can get "all" dependencies. can be fixed by extending mirrors list, for example:

- name: "ubuntu"
  uri: "http://localhost:8000/ubuntu/"
  suite: "mos-master"
  section: ["main", "restricted"]
  priority: 1000
  path: "/tmp/mirrors/ubuntu"

- name: "upstream"
  uri: "http://ua.archive.ubuntu.com/"
  suite: "trusty"
  section: ["main", "universe"]
  path: "/tmp/mirrors/ubuntu"

- name: "upstream-updates"
  uri: "http://ua.archive.ubuntu.com/"
  suite: "trusty-updates"
  section: ["main"]
  path: "/tmp/mirrors/ubuntu"

Changed in packetary:
status: New → Opinion
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.