Debian 9 stretch не хочет обновляться с зеркала apt-move

Автор sidbar, 29 сентября 2017, 13:26:39

« назад - далее »

0 Пользователи и 2 гостей просматривают эту тему.

sidbar

Выдает такую ошибку:
Insufficient information available to perform this download securely
Нашел похожую тему, там чел с jidgo  тоже не смог обновится, но как-то вопрос решил, а что поможет в моейм случае?
apt-get update
Открыть содержимое (спойлер)
# apt-get update
Get:1 file:/mnt/mirror/debian/dists/stable/main/binary-i386 ./ InRelease
Ign:1 file:/mnt/mirror/debian/dists/stable/main/binary-i386 ./ InRelease
Get:2 file:/mnt/mirror/debian/dists/stable/main/binary-i386 ./ Release [84 B]
Get:2 file:/mnt/mirror/debian/dists/stable/main/binary-i386 ./ Release [84 B]
Get:3 file:/mnt/mirror/debian/dists/stable/main/binary-i386 ./ Release.gpg
Ign:3 file:/mnt/mirror/debian/dists/stable/main/binary-i386 ./ Release.gpg
Get:4 file:/mnt/mirror/debian/dists/stable/main/binary-i386 ./ Translation-en_US
Ign:4 file:/mnt/mirror/debian/dists/stable/main/binary-i386 ./ Translation-en_US
Get:5 file:/mnt/mirror/debian/dists/stable/main/binary-i386 ./ Translation-en
Ign:5 file:/mnt/mirror/debian/dists/stable/main/binary-i386 ./ Translation-en
Get:4 file:/mnt/mirror/debian/dists/stable/main/binary-i386 ./ Translation-en_US
Ign:4 file:/mnt/mirror/debian/dists/stable/main/binary-i386 ./ Translation-en_US
Get:5 file:/mnt/mirror/debian/dists/stable/main/binary-i386 ./ Translation-en
Ign:5 file:/mnt/mirror/debian/dists/stable/main/binary-i386 ./ Translation-en
Get:4 file:/mnt/mirror/debian/dists/stable/main/binary-i386 ./ Translation-en_US
Ign:4 file:/mnt/mirror/debian/dists/stable/main/binary-i386 ./ Translation-en_US
Get:5 file:/mnt/mirror/debian/dists/stable/main/binary-i386 ./ Translation-en
Ign:5 file:/mnt/mirror/debian/dists/stable/main/binary-i386 ./ Translation-en
Get:4 file:/mnt/mirror/debian/dists/stable/main/binary-i386 ./ Translation-en_US
Ign:4 file:/mnt/mirror/debian/dists/stable/main/binary-i386 ./ Translation-en_US
Get:5 file:/mnt/mirror/debian/dists/stable/main/binary-i386 ./ Translation-en
Ign:5 file:/mnt/mirror/debian/dists/stable/main/binary-i386 ./ Translation-en
Get:4 file:/mnt/mirror/debian/dists/stable/main/binary-i386 ./ Translation-en_US
Ign:4 file:/mnt/mirror/debian/dists/stable/main/binary-i386 ./ Translation-en_US
Get:5 file:/mnt/mirror/debian/dists/stable/main/binary-i386 ./ Translation-en
Ign:5 file:/mnt/mirror/debian/dists/stable/main/binary-i386 ./ Translation-en
Get:4 file:/mnt/mirror/debian/dists/stable/main/binary-i386 ./ Translation-en_US
Ign:4 file:/mnt/mirror/debian/dists/stable/main/binary-i386 ./ Translation-en_US
Get:5 file:/mnt/mirror/debian/dists/stable/main/binary-i386 ./ Translation-en
Ign:5 file:/mnt/mirror/debian/dists/stable/main/binary-i386 ./ Translation-en
Reading package lists... Done
W: No Hash entry in Release file /var/lib/apt/lists/_mnt_mirror_debian_dists_stable_main_binary-i386_._Release
W: Invalid 'Date' entry in Release file /var/lib/apt/lists/_mnt_mirror_debian_dists_stable_main_binary-i386_._Release
[свернуть]
apt-get upgrade
Открыть содержимое (спойлер)
# apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  libsmbclient libwbclient0 python-samba samba samba-common samba-common-bin samba-libs smbclient
The following packages will be upgraded:
  file libgcrypt20 libmagic-mgc libmagic1 tcpdump
5 upgraded, 0 newly installed, 0 to remove and 8 not upgraded.
Need to get 0 B/1,325 kB of archives.
After this operation, 12.3 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err:0 file:/mnt/mirror/debian/dists/stable/main/binary-i386 ./ libgcrypt20 1.7.6-2+deb9u2
  Insufficient information available to perform this download securely
  Hashes of expected file:
   - MD5Sum:8b6e744646a3ec556aee
   - MD5Sum:3c663c7347a076ac2d4d965c441a46ad [weak]
   - Filesize:63994 [weak]
Err:2 file:/mnt/mirror/debian/dists/stable/main/binary-i386 ./ libmagic1 1:5.30-1+deb9u1
  Insufficient information available to perform this download securely
  Hashes of expected file:
   - MD5Sum:cbefc12c39c97cea146a1442cdce59e3 [weak]
   - Filesize:116776 [weak]
Err:3 file:/mnt/mirror/debian/dists/stable/main/binary-i386 ./ libmagic-mgc 1:5.30-1+deb9u1
  Insufficient information available to perform this download securely
  Hashes of expected file:
   - MD5Sum:db3ad0997a55360a8552668a0af6562c [weak]
   - Filesize:221714 [weak]
Err:4 file:/mnt/mirror/debian/dists/stable/main/binary-i386 ./ tcpdump 4.9.2-1~deb9u1
  Insufficient information available to perform this download securely
  Hashes of expected file:
   - MD5Sum:df634456351f79ba894fae4fe4c95260 [weak]
   - Filesize:425308 [weak]
E: Failed to fetch file:/mnt/mirror/debian/dists/stable/main/binary-i386/pool/main/libg/libgcrypt20/libgcrypt20_1.7.6-2+deb9u2_i386.deb  Insufficient information available to perform this download securely
   Hashes of expected file:
    - MD5Sum:8b6e744646a3ec556aee2f6d86ff8fb0 [weak]
    - Filesize:497362 [weak]
E: Failed to fetch file:/mnt/mirror/debian/dists/stable/main/binary-i386/pool/main/f/file/file_5.30-1+deb9u1_i386.deb  Insufficient information available to perform this download securely
   Hashes of expected file:
    - MD5Sum:3c663c7347a076ac2d4d965c441a46ad [weak]
    - Filesize:63994 [weak]
E: Failed to fetch file:/mnt/mirror/debian/dists/stable/main/binary-i386/pool/main/f/file/libmagic1_5.30-1+deb9u1_i386.deb  Insufficient information available to perform this download securely
   Hashes of expected file:
    - MD5Sum:cbefc12c39c97cea146a1442cdce59e3 [weak]
    - Filesize:116776 [weak]
E: Failed to fetch file:/mnt/mirror/debian/dists/stable/main/binary-i386/pool/main/f/file/libmagic-mgc_5.30-1+deb9u1_i386.deb  Insufficient information available to perform this download securely
   Hashes of expected file:
    - MD5Sum:db3ad0997a55360a8552668a0af6562c [weak]
    - Filesize:221714 [weak]
E: Failed to fetch file:/mnt/mirror/debian/dists/stable/main/binary-i386/pool/main/t/tcpdump/tcpdump_4.9.2-1~deb9u1_i386.deb  Insufficient information available to perform this download securely
   Hashes of expected file:
    - MD5Sum:df634456351f79ba894fae4fe4c95260 [weak]
    - Filesize:425308 [weak]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
[свернуть]
fix-missing делал, не помогло.
Devuan GNU/Linux

qupl

Настройки/конфиги где? Минимум список источников.

sidbar

Цитата: qupl от 29 сентября 2017, 14:02:10Настройки/конфиги где?
конфиги там особо ничем не выделяются, первый это конфиг на основной машине где установлен apt-move и расположена папка mirror, второй это настройка на клиенте откуда эти логи в первом посте.
Открыть содержимое (спойлер)
cat apt-move.conf
#  Configuration file for the apt-move script.
#
#  You should modify the following configuration to suit your system.
#  See the apt-move(8) manpage for information about these settings.
#
#  The defaults for this file are simply the settings I currently use.

# Configuration for apt-move script --------------------------------------

# The sites in ``/etc/apt/sources.list'' that you wish to mirror.
APTSITES="/all/"

# The absolute path to your debian directory (top of your local mirror).
# This MUST appear as the first entry of your sources.list if you use
# sync or mirror.
LOCALDIR=/mirrors/debian

# The default distribution (see the apt-move(8) manpage for details)
DIST=stable

# The package types you want to mirror.
# Possible values are: binary, source, and both (use only one).
PKGTYPE=binary

# The full (absolute) path to your local cache of package files. The default
# will work for the apt-get packages, unless you've reconfigured apt.
FILECACHE=/var/cache/apt/archives

# The full (absolute) path to your local cache of Packages files.  The
# default will work for the apt-get Packages, unless you've reconfigured apt.
LISTSTATE=/var/lib/apt/lists

# Do you want apt-move to delete obsolete files from your mirror? (yes/no)
DELETEyes=

# Maximum percentage of files to delete during a normal run.
MAXDELETE=20

# Set this to yes if you wish to keep the originals for move/movefile.
COPYONLY=no

# Set this to 'none gzip' to get uncompressed Packages/Sources files.
PKGCOMP=gzip

# Set this to yes to make apt-move generate Contents files.
CONTENTS=no

# Set this to key name to be used for signing Release files.
GPGKEY=

# End Configuration ------------------------------------------------------
[свернуть]
Открыть содержимое (спойлер)
cat /etc/apt/sources.list
deb file:/mnt/mirror/dists/stable/main/binary-i386/ ./
[свернуть]
Devuan GNU/Linux

sidbar

# cat /var/lib/apt/lists/_mnt_mirror_debian_dists_stable_main_binary-i386_._Release
Archive: stable
Component: main
Origin: APT-Move
Label: APT-Move
Architecture: i386

Не понятно почему не создается  хешей в этом файле.
Devuan GNU/Linux

sidbar

Добавил подпись в репозиторий, теперь Release выглядит так:
Открыть содержимое (спойлер)
Origin: APT-Move
Label: APT-Move
Suite: stable
Codename: unknown
Date: Wed, 18 Oct 2017 10:18:35 UTC
Architectures: i386
Components: main contrib non-free
Description: unknown
MD5Sum:
dba4838102845d55c0bab44370fbb9eb           350709 main/binary-i386/Packages
9ffdd10b14175ac683eba54f8a1fe73f            96244 main/binary-i386/Packages.gz
0307361d9dc6b228ff48c7091ecaf758               84 main/binary-i386/Release
9554b356b34d3084b0e23e75c5902500             1788 contrib/binary-i386/Packages
e5419d3b2dd843fac77d751d0b0136da              930 contrib/binary-i386/Packages.gz
e04638f4f2b16607f727bbfa875affb1               87 contrib/binary-i386/Release
bfc9dc6fc37bdb60a137103143a71f74              687 non-free/binary-i386/Packages
55653db37e1dfbab5ef449179f690181              453 non-free/binary-i386/Packages.gz
e839235b003ac787d34c25590ffa7e7e               88 non-free/binary-i386/Release
SHA1:
c7393e18a5f32b47e386723f937b21e0ff9074e3           350709 main/binary-i386/Packages
ba443b9d85f50356373b29ba388f319e9af7f62b            96244 main/binary-i386/Packages.gz
d49e9815248487f3ab54316ad50ffd06f4239505               84 main/binary-i386/Release
179c0cf329f52743dbda9a296f3e689d38777e6f             1788 contrib/binary-i386/Packages
bf10c265aee9c204b4b7c237ba4bfe6fffb1aa42              930 contrib/binary-i386/Packages.gz
747c231f17843d4601fbad74fbfedfee97b50950               87 contrib/binary-i386/Release
9dd74a232c52dffad03aeb9fb9c4b231cbd97180              687 non-free/binary-i386/Packages
09c0ec1ec5aab1f7d8cafcd4b64d653909f45b9f              453 non-free/binary-i386/Packages.gz
8d22f52be700354dec56e3ff338820cdbcedb669               88 non-free/binary-i386/Release
[свернуть]
Но, по прежнему, выдается при обновлении тоже самое сообщение, не находит hash подпись - No Hash entry in Release file.
Devuan GNU/Linux

sidbar

Пытался разобраться с gpg.conf, так и не понял читает apt-move из него информацию или где-то есть другие настройки для генерации алгоритмов отличных от SHA1. Жаль, программа хорошая и на wheezy работает нормально. Нагуглил программу reprepro, натравил ее на pool от apt-move, и обновления заработали.
Devuan GNU/Linux