repository local

Help with issues regarding installation of Debian
Post Reply
Message
Author
jesudia
Posts: 4
Joined: 2009-01-26 05:54

repository local

#1 Post by jesudia »

I want to do a local repository with :debian-testing-amd64-DVD-1.iso
but this is not posible, why ?
can somebody give me solution, thanks

Bulkley
Posts: 6146
Joined: 2006-02-11 18:35

Re: repository local

#2 Post by Bulkley »

Did you do an install or are you trying to use it as a live-cd? Look up persistence.

The easiest way to test out a new OS is to install it in a virtual machine (VM).

User avatar
stevepusser
Posts: 12408
Joined: 2009-10-06 05:53
Has thanked: 7 times
Been thanked: 5 times

Re: repository local

#3 Post by stevepusser »

I think it should be possible, so it falls to you to explain why you can't and what you've tried. Be exact and detailed.
MX Linux packager and developer

jesudia
Posts: 4
Joined: 2009-01-26 05:54

Re: repository local

#4 Post by jesudia »

this is the problem, with bullseye.
with buster dvd 1 and 2 go well

deb [trusted=yes] file:/mnt/m1 bullseye contrib main writed in sources.list

mkdir /mnt/m1

mount -t iso9660 -o loop /home/p/debian-testing-amd64-DVD-1.iso /mnt/m1/

root@localhost:/home/p# apt-get update
Des:1 file:/mnt/m1 bullseye InRelease
Ign:1 file:/mnt/m1 bullseye InRelease
Des:2 file:/mnt/m1 bullseye Release [20,0 kB]
Des:2 file:/mnt/m1 bullseye Release [20,0 kB]
Des:3 file:/mnt/m1 bullseye Release.gpg
Ign:3 file:/mnt/m1 bullseye Release.gpg
Leyendo lista de paquetes... Hecho
E: El archivo «Release» para file:/mnt/m1/dists/bullseye/Release está caducado (inválido desde 5d 18h 28min 46s). No se aplicará ninguna actualización de este repositorio.
root@localhost:/home/p# apt-get install mc
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias... Hecho
Leyendo la información de estado... Hecho
El paquete mc no está disponible, pero algún otro paquete hace referencia
a él. Esto puede significar que el paquete falta, está obsoleto o sólo se
encuentra disponible desde alguna otra fuente

E: El paquete «mc» no tiene un candidato para la instalación

brian_p
Posts: 151
Joined: 2015-11-05 10:32

Re: repository local

#5 Post by brian_p »

jesudia wrote:this is the problem, with bullseye.
with buster dvd 1 and 2 go well

E: El archivo «Release» para file:/mnt/m1/dists/bullseye/Release está caducado (inválido desde 5d 18h 28min 46s). No se aplicará ninguna actualización de este repositorio.
Some Release files have a Valid-Until header. You have a testing image, so that is probably the case here. Try adding

Code: Select all

-o Acquire::Check-Valid-Until=false
to the apt-get command lines.

OK now?
--
Brian.

Post Reply