Hi Thomas,

Thanks for your reply.

I tried to put this in sources.list:

deb file:/media/deploy/UUI buster main

--Where /media/deploy/UUI is the mount for the USB stick

Running apt-get update, I get this:

root@deploy-pc:~# apt-get update
Get:1 file:/media/deploy/UUI buster InRelease
Ign:2 cdrom://[Official Debian GNU/Linux Live 10.2.0 gnome
2019-11-16T10:36] buster InRelease
Ign:1 file:/media/deploy/UUI buster InRelease
Err:3 cdrom://[Official Debian GNU/Linux Live 10.2.0 gnome
2019-11-16T10:36] buster Release
  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get
update cannot be used to add new CD-ROMs
Get:4 file:/media/deploy/UUI buster Release [1,130 B]
Get:4 file:/media/deploy/UUI buster Release [1,130 B]
Get:5 file:/media/deploy/UUI buster Release.gpg
Ign:5 file:/media/deploy/UUI buster Release.gpg
Reading package lists... Done
N: Download is performed unsandboxed as root as file
'/media/deploy/UUI/dists/buster/InRelease' couldn't be accessed by user
'_apt'. - pkgAcquire::Run (13: Permission denied)
E: The repository 'cdrom://[Official Debian GNU/Linux Live 10.2.0 gnome
2019-11-16T10:36] buster Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore
disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration
details.
E: The repository 'file:/media/deploy/UUI buster Release' is not signed.
N: Updating from such a repository can't be done securely, and is therefore
disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration
details.

Thanks,
Tamar


‫בתאריך יום ב׳, 3 בפבר׳ 2020 ב-10:18 מאת ‪Thomas Schmitt‬‏ <‪
[email protected]‬‏>:‬

> Hi,
>
> Rick Thomas wrote:
> > Anybody know what's the procedure for adding a local disk as a repo?
>
> I had hoped for other, more experienced self-admins to care for Tamar's
> questions. My theories about "deb file:..." in sources.list are below.
>
>
> Tamar Nirenberg's apt-get wrote:
> > openssh-server openssh-sftp-server
> > [...]
> > Could not resolve 'deb.debian.org [deb.debian.org]'
> > [...]
> > E: Unable to fetch some archives, maybe run apt-get update or try with
> > --fix-missing?
>
> If the ISO would be on DVD, i'd try what
>   man sources.list
> says about "URI SPECIFICATION" with type "cdrom".
>
> Since the ISO is on a USB stick, then i'd try type "file". I understand
> that the path after "file:" should point to the directory with
> subdirectories ./dist and ./pool . That would be the root directory o
> the mounted ISO on the stick.
> The squashfs seems to contain no pool.
>
> Assumed that the Live ISO is mounted at /mnt/liveiso i'd try:
>
>   deb file:/mnt/liveiso buster main
>
>
> Have a nice day :)
>
> Thomas
>
>

Reply via email to