You are not logged in.
Pages: 1
what is correct commenting for Base OS installing updates offline with mounted live iso cd/dvd
# Package repositories
deb file:/mnt/devuan_chimaera_4.0.2_amd64_desktop-live.iso chimaera main
deb cdeb /mnt/devuan_chimaera_4.0.2_amd64_desktop-live.iso
deb cdrom:[devuan_chimaera_4.0.2_amd64_desktop-live.iso}/ cimaera contrib main
#deb http://deb.devuan.org/merged chimaera main
#deb http://deb.devuan.org/merged chimaera-updates main
#deb http://deb.devuan.org/merged chimaera-security main
# Source repository
deb-src cdeb /mnt/devuan_chimaera_4.0.2_amd64_desktop-live.iso chimaera main
deb cdeb file:/mnt/mount-iso chimaera main
deb file:/mnt/mount-iso chimaera main
Last edited by tux (2023-01-25 01:22:18)
Offline
# Package repositories
deb [trusted=yes] file:/mnt/devuan_chimaera_4.0.2_amd64_desktop-live.iso chimaera main
deb [trusted=yes] cdeb file:/mnt/mount-iso chimaera main
deb [trusted=yes] cdeb file:/devuan_chimaera_4.0.2_amd64_desktop-live.iso chimaera main
deb [trusted=yes] cdrom file:/devuan_chimaera_4.0.2_amd64_desktop-live.iso chimaera main
Last edited by tux (2023-01-25 02:01:26)
Offline
Mount the ISO image under a directory (eg, /cdrom) and use
deb file:/cdrom chimaera main
Alternatively run
# apt-cdrom add
Then insert the CD/DVD.
Brianna Ghey — Rest In Power
Offline
Apt looks for the cdrom at /media/cdrom, so for the non-live ISO I did:
mount -o loop,ro -t iso9660 /mnt/devuan_chimaera_4.0.0_amd64_desktop.iso /media/cdrom
(If necessary, do mount /dev/sdX1 /mnt or equivalent first, or copy the ISO to the local disk and update the path.)
Then, given an /etc/apt/sources.list which already contained...
deb cdrom:[Devuan GNU/Linux 4.0 chimaera amd64 - desktop 20211012]/ chimaera contrib main nonfree
...I removed contrib and nonfree, and needed to set allow-insecure=yes like so:
deb [ allow-insecure=yes ] cdrom:[Devuan GNU/Linux 4.0 chimaera amd64 - desktop 20211012]/ chimaera main
(In addition to the ISO filename, I assume the live ISO has a different cdrom label also.)
3.1415P265E589T932E846R64338
Offline
mount -o loop,ro -t iso9660 /mnt/devuan_chimaera_4.0.0_amd64_desktop.iso /media/cdrom
deb file:/cdrom chimaera main
added to config file.
sudo aptupdate
Error output.
W: the resository file:cdrom chimaera does not have a release file
E: failed to fetch file:cdrom/distros/chimaera/main/source/Sources File not found - /cd/dist
/chimaera/main/sources/Sources (2: No such file or directory)
W: Some indect files failed to download. they have been ignored, or old ones used instead
no lines in live or base os sources.list have deb cdrom lines commented or uncommented.
Last edited by tux (2023-01-25 21:24:23)
Offline
no lines in live or base os sources.list have deb cdrom lines commented or uncommented.
Mine did.
Maybe it got added by apt-cdrom add - I don't think I ran that, but can't say for certain.
3.1415P265E589T932E846R64338
Offline
mount -o loop,ro -t iso9660 /mnt/devuan_chimaera_4.0.0_amd64_desktop.iso /media/cdrom
deb file:/cdrom chimaera main
added to config file.
If you've mounted the ISO under /media/cdrom then you should put the same directory in sources.list. Surely that's obvious, even with a language barrier?
EDIT: and why are you combining the differing advice from two respondents? That's even weirder.
Last edited by Head_on_a_Stick (2023-01-26 15:59:22)
Brianna Ghey — Rest In Power
Offline
Pages: 1