• apt-mirror can't read bookworm-updates

    From fxkl47BF@protonmail.com@21:1/5 to All on Sun May 12 01:40:01 2024
    my config file has a single repo

    deb-src https://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware

    the following is what i get
    it seems the bookworm-updates sources file has no line "Files:"



    apt-mirror@odroid2:~$ apt-mirror /etc/apt/mirror.list
    Downloading 23 index files using 20 threads...
    Begin time: Sat May 11 16:54:06 2024
    [20]... [19]... [18]... [17]... [16]... [15]... [14]... [13]... [12]... [11]... [10]... [9]... [8]... [7]... [6]... [5]... [4]... [3]... [2]... [1]... [0]...
    End time: Sat May 11 16:54:08 2024

    Processing translation indexes: []

    Downloading 0 translation files using 0 threads...
    Begin time: Sat May 11 16:54:08 2024
    [0]...
    End time: Sat May 11 16:54:08 2024

    Processing DEP-11 indexes: []

    Downloading 0 dep11 files using 0 threads...
    Begin time: Sat May 11 16:54:08 2024
    [0]...
    End time: Sat May 11 16:54:08 2024

    Processing cnf indexes: []

    Downloading 0 cnf files using 0 threads...
    Begin time: Sat May 11 16:54:08 2024
    [0]...
    End time: Sat May 11 16:54:08 2024

    Processing indexes: [SUse of uninitialized value $lines{"Files:"} in split at /usr/bin/apt-mirror line 929, <STREAM> line 1.
    Use of uninitialized value $lines{"Files:"} in split at /usr/bin/apt-mirror line 929, <STREAM> line 2.A
    Use of uninitialized value $lines{"Files:"} in split at /usr/bin/apt-mirror line 929, <STREAM> line 3.
    Use of uninitialized value $lines{"Files:"} in split at /usr/bin/apt-mirror line 929, <STREAM> line 4.
    Use of uninitialized value $lines{"Files:"} in split at /usr/bin/apt-mirror line 929, <STREAM> line 5.
    Use of uninitialized value $lines{"Files:"} in split at /usr/bin/apt-mirror line 929, <STREAM> line 6.
    Use of uninitialized value $lines{"Files:"} in split at /usr/bin/apt-mirror line 929, <STREAM> line 7.
    Use of uninitialized value $lines{"Files:"} in split at /usr/bin/apt-mirror line 929, <STREAM> line 8.
    Use of uninitialized value $lines{"Files:"} in split at /usr/bin/apt-mirror line 929, <STREAM> line 9.
    Use of uninitialized value $lines{"Files:"} in split at /usr/bin/apt-mirror line 929, <STREAM> line 10.
    Use of uninitialized value $lines{"Files:"} in split at /usr/bin/apt-mirror line 929, <STREAM> line 11.
    Use of uninitialized value $lines{"Files:"} in split at /usr/bin/apt-mirror line 929, <STREAM> line 12.
    Use of uninitialized value $lines{"Files:"} in split at /usr/bin/apt-mirror line 929, <STREAM> line 13.
    Use of uninitialized value $lines{"Files:"} in split at /usr/bin/apt-mirror line 929, <STREAM> line 1.
    Use of uninitialized value $lines{"Files:"} in split at /usr/bin/apt-mirror line 929, <STREAM> line 1.
    Use of uninitialized value $lines{"Files:"} in split at /usr/bin/apt-mirror line 929, <STREAM> line 1.
    Use of uninitialized value $lines{"Files:"} in split at /usr/bin/apt-mirror line 929, <STREAM> line 2.

    0 bytes will be downloaded into archive.
    Downloading 0 archive files using 0 threads...
    Begin time: Sat May 11 16:54:08 2024
    [0]...
    End time: Sat May 11 16:54:08 2024

    0 bytes in 0 files and 0 directories can be freed.
    Run /data/backups/apt-mirror/var/clean.sh for this purpose.

    Running the Post Mirror script ...
    (/data/backups/apt-mirror/var/postmirror.sh)


    Post Mirror script has completed. See above output for any possible errors.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Yuri Konotopov@21:1/5 to All on Tue Jul 16 22:20:02 2024
    This is known issue in the apt-mirror [1]

    You can use apt-mirror2 [2] which fixes all known apt-mirror issues


    [1] https://github.com/apt-mirror/apt-mirror/issues/144

    [2] https://gitlab.com/apt-mirror2/apt-mirror2

    --
    Best regards, Yuri Konotopov

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