[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

wrong icon file in bookworm repository



Hi,

While trying to build local bookworm repository I am still getting Error while doing apt-get update:
Nelze otevřít soubor /var/lib/apt/lists/partial/_home_wr_mirr_mir%5f2023-12-08_mirror_debian.superhosting.cz_debian_dists_bookworm_main_dep11_icons-48x48.tar - open (13: Operace zamítnuta)

The forum says that it is due to owener. 
I found the file is link to 
.../debian/dists/bookworm/non-free-firmware/dep11/by-hash/SHA256/7989bb311baa38ef545250282aa065d23281c46dfb8faabe4c653487bdbded5c
But this file is damaged, while containing just 29B
...
26893 25. kvě  2023 71f72206d10a74a106df0b79487a3d13215816056d3f0f0188703b2450bb9af7
   29 26. led  2023 7989bb311baa38ef545250282aa065d23281c46dfb8faabe4c653487bdbded5c
15620 12. kvě  2023 8e3625207671035623e663d770874f480cf16c1e6b5bad614fc7bf7bb0d45ee4
...

The content of the tis file is:
hd 7989bb311baa38ef545250282aa065d23281c46dfb8faabe4c653487bdbded5c
00000000  1f 8b 08 00 00 00 00 00  00 03 63 60 18 05 a3 60  |..........c`...`|
00000010  14 8c 54 00 00 2e af b5  ef 00 04 00 00           |..T..........|
0000001d

There must be definitely some changes in the repository format, because even I disabled the "non-free-firmware" in sources.list 
there is plenty of warning and unexpected and obscure (unclear) errors.

I used debian mirror created with apt-mirror more than 15 years simply by copying the directory onto my local web-server. 
Even it was very easy to configure BootP server with mini.iso to make easy debian install over net to any workstation connected to our isolated laboratory network.

The last year I cannot set it up. Even I am in respect to security improvements, I suppose it should be possible to disable it in our lab where there is no public Internet connection, I would like to replicate the debian mirror with minimum necessary steps. 
In nearly past, it was sufficient  to add 
 deb [trusted=yes] http://local.server.intra/debian ...

and could even include the complete mirror onto my laptop harddisk using:
 deb [trusted=yes] file:///var/debian ...

I can highly appreciate any advice or hints how to do it easy or automate it, because maintaining the debian mirror is not my main occupation in our lab.

dr. Jan Weber


Reply to: