Score:1

Private APT repo doesn't return Packages.gz

cn flag

So, here's the thing. I'm trying to create a private repo for our deb packages, it passes the apt update (since we don't sign them - we use [trusted=yes] option in source list), but after update all i see in /var/lib/apt/lists are just Release files, and not Packages, so i can't even check what is in my private repo with apt-cache policy <package> or smth like this.

My repo tree looks like that:

<some_repo_dir>
  -apt_release.conf  
  -/ubuntu
    -/pool
      -<deb packages>
      -Packages.gz
    -/dists
      -/bionic
        -Release
        -/main
          -~binary-amd64 (absolute symlink to ubuntu/pool)
          -~binary-i386  (same as ^)

Refering to this problem, Filename in compressed .gz archive is pool/<deb package>, so there's something else. We use small util for generating .gz's, and it wraps dpkg-scanpackages tool with some additions.

We used that setup on Debian Jessie, and it worked well both vith file:// and ftp:// URIs, but on Ubuntu 18.04 something goes wrong, and i can't understand what.

Any suggestions?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.