• Why installed files of my package doen't show with apt-file

    From Modaresi Soft Hard@21:1/5 to All on Thu Mar 13 03:40:02 2025
    We created several packages in https://build.opensuse.org/project/show/home:celenity (OBS)

    I added our Repo to sources.list.d/....

    Why when I run `apt-file show phoenix` nothing happens?

    What should I observe in the packaging?

    You can download deb files and the files we use to create a deb package from our repo: https://download.opensuse.org/repositories/home:/celenity/Debian_12/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From tomas@tuxteam.de@21:1/5 to Modaresi Soft Hard on Thu Mar 13 06:50:01 2025
    On Thu, Mar 13, 2025 at 02:13:05AM +0000, Modaresi Soft Hard wrote:
    We created several packages in https://build.opensuse.org/project/show/home:celenity (OBS)

    Apt-file relies on the Contents file, which your repository must provide (possibly you have to tell your instance of apt-file where to find that,
    I have no practical experience with it).

    See apt-file(1) man page and apt util's ftparchive [1], which seems to
    be te tool to generate this Contents file for you.

    Cheers

    [1] https://manpages.debian.org/bookworm/apt-utils/apt-ftparchive.1.en.html
    --
    tomás

    -----BEGIN PGP SIGNATURE-----

    iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCZ9JwbQAKCRAFyCz1etHa RiT6AJ9rizSdDyDH359pYQFYODkxiDn+lQCfVkLh+dKQn2GzQ5s0Q4U0+XY42u8=
    =i/kE
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Henrik Ahlgren@21:1/5 to Modaresi Soft Hard on Thu Mar 13 10:10:01 2025
    Modaresi Soft Hard <modaresisofthard@proton.me> writes:

    I added our Repo to sources.list.d/....

    Why when I run `apt-file show phoenix` nothing happens?

    Just to confirm, you ran `apt-get update` before that, correct?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From tomas@tuxteam.de@21:1/5 to Brad Rogers on Thu Mar 13 11:50:01 2025
    On Thu, Mar 13, 2025 at 09:19:12AM +0000, Brad Rogers wrote:
    On Thu, 13 Mar 2025 10:59:49 +0200
    Henrik Ahlgren <pablo@seestieto.com> wrote:

    Hello Henrik,

    Why when I run `apt-file show phoenix` nothing happens?
    Just to confirm, you ran `apt-get update` before that, correct?

    apt-*file* update (emphasis is mine), surely?

    I thought that too, but according to the man page, apt-get update does
    that job, too (I was always wondering to find my apt-file database
    up to date and suspected some well-meaning cron job, but that seems
    to be the secret :-)

    Hanlon's Corollary: it's almost never the gremlins ;-)

    Cheers
    --
    t

    -----BEGIN PGP SIGNATURE-----

    iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCZ9K3RQAKCRAFyCz1etHa RmfcAJ9kWPT3EsGJdINs2QB/AjE9RPH+3QCdFENBqslnoqFO82fv+dpGP8ounMQ=
    =Fdew
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From tomas@tuxteam.de@21:1/5 to Brad Rogers on Thu Mar 13 12:40:01 2025
    On Thu, Mar 13, 2025 at 10:56:47AM +0000, Brad Rogers wrote:
    On Thu, 13 Mar 2025 11:45:32 +0100
    <tomas@tuxteam.de> wrote:

    Hello tomas@tuxteam.de,

    I thought that too, but according to the man page, apt-get update does {snipped}

    Okay, fair enough. I'm new to apt-file so haven't fully absorbed all required knowledge yet.

    I thought I had, and as you see, I learnt something new today :)

    Hanlon's Corollary: it's almost never the gremlins ;-)

    *almost* never != never :-D

    almost definitely ;-)

    Cheers
    --
    t

    -----BEGIN PGP SIGNATURE-----

    iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCZ9LCDAAKCRAFyCz1etHa RhluAJ4nBgfLYm+ceKMy/NXzrwpyrcyKbgCfd5TJfPhwCB94Jq5Pmz2p79DmOPI=
    =XIXP
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From tomas@tuxteam.de@21:1/5 to Greg on Thu Mar 13 17:40:01 2025
    On Thu, Mar 13, 2025 at 04:29:56PM -0000, Greg wrote:
    On 2025-03-13, <tomas@tuxteam.de> <tomas@tuxteam.de> wrote:

    I thought that too, but according to the man page, apt-get update does
    that job, too (I was always wondering to find my apt-file database
    up to date and suspected some well-meaning cron job, but that seems
    to be the secret :-)

    apt-get update only updates the package lists from the repositories configured in /etc/apt/sources.list.

    apt-file update fetches the latest file index for all packages.

    IOW, you should run apt-get update (packages) before apt-file update
    (the files inside those packages).

    Sigh. Kids, read the doco. From man apt-file (1)

    update
    This action that just calls apt update or apt-get update (depending
    on whether a tty is available).

    The only advantage using this over a regular apt update or apt-get
    update directly is for the case where you have configured an apt-
    file specific configuration (via the Dir::Etc::apt-file-main
    configuration option). In that case, said configuration will be
    included automatically.

    You don't need apt-file update anymore. Apt update or apt-get update do
    the trick. (Apt-file update won't hurt, though).

    Cheers
    --
    t


    -----BEGIN PGP SIGNATURE-----

    iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCZ9MJowAKCRAFyCz1etHa RlXyAJ0ZVtvginr0avDZ55dULf+Bgl9vUQCfas1c7qRj4nkOLkl9ttEPI53PCXU=
    =aerf
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)