Score:0

apt-get error in local repository

in flag
Soo

We have created an offline Ubuntu 20.04 repository using apt-mirror as per the directions given in https://www.linuxtechi.com/setup-local-apt-repository-server-ubuntu/

In a few local machines we were able to install packages using apt from the offline repository. But in some other machines, while using the command "sudo apt-get update", it is giving an error "File has unexpected size (1536 != 1260)". Please refer to the following image. enter image description here It seems like an error related to cnf. We found that the file in the repository has a size 1536. We checked Internet and found that the file has size 1536 only.

How to solve this issue? We are also wondering why the same issue is not reported in other machines? (All machines have Ubuntu 20.04.3)

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.