W
W
WayMax2018-09-04 14:22:46
linux
WayMax, 2018-09-04 14:22:46

How to fix update error from downloaded repository of Debian-based distribution?

Created a local copy of the Debian-based distribution repository with the command apt-mirror
Created an iso image of the repository with the command

genisoimage -iso-level 4 -J -R -o repository.iso /путь_к_скаченным_файлам

I connected repository.iso to the virtual PC as an optical disk
I added a repository from the disk with the command apt-cdrom add
Result of the command:
5b8e6773b35b5142636880.png
Then I execute the command apt-get update
Result of the command:
5b8e698694adc480986917.png
This repository contains only packages for a 64-bit system, there are no i386 packages. I did not configure anything in the /etc/apt/mirror.list file, I only specified the path to the repository and the directory in which it should be downloaded.
What should be done to get rid of this error? Download the repository with some additional parameters or do it somehow "tricky" apt-cdrom addand apt-get update?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2018-09-04
@UPSA

i386 ... amd64 ... something terrible)))
1. Is apt-mirror installed? Usually I don't go here /etc/apt/mirror.list , but I go into /etc/apt/sources.list .
2. Isn't there "i386" somewhere in the *.list files
3. Double-check - it's definitely a 64-bit system
4. Specify the bit depth in the *.list files hard - deb-amd64
5. apt-get update && apt-get upgrade

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question