سلام یک فلش دارم که توش دبیانه DVD هست می خواستم میزکار نصب کنم توی سیستم اومدم فلش رو به عنوان مخزن به سیستم معرفی کنم فایل /etc/apt/sources.list رو به این شکل تغییر دادم:
GNU nano 5.4 /etc/apt/sources.list *
# deb cdrom:[Debian GNU/Linux 11.2.0 _Bullseye_ - Official amd64 DVD Binary-1 20211218-11:13]/ bull>
# deb https://debian.hostiran.ir/debian/ bullseye main contrib non-free
# deb-src https://debian.hostiran.ir/debian/ bullseye main contrib non-free
# deb https://deb.debian.org/debian-security/ bullseye-security main contrib non-free
# deb-src https://deb.debian.org/debian-security/ bullseye-security main contrib non-free
# deb https://debian.hostiran.ir/debian/ bullseye-updates main contrib non-free
# deb-src https://debian.hostiran.ir/debian/ bullseye-updates main contrib non-free
deb file:/media/ms/Debian 11.2.0 amd64 1/ bullseye contrib main
# Line commented out by installer because it failed to verify:
#deb http://security.debian.org/debian-security bullseye-security main contrib
# Line commented out by installer because it failed to verify:
#deb-src http://security.debian.org/debian-security bullseye-security main contrib
مشکل اینجاست اسم فلش فاصله داره بین اسمش و نمی دونم جای space چی بزارم تا سیستم قاطی نکنه.
ارور:
ms@MTDebian:~$ sudo apt update
Get:1 file:/media/ms/Debian 11.2.0 InRelease
Ign:1 file:/media/ms/Debian 11.2.0 InRelease
Get:2 file:/media/ms/Debian 11.2.0 Release
Err:2 file:/media/ms/Debian 11.2.0 Release
File not found - /media/ms/Debian/dists/11.2.0/Release (2: No such file or directory)
Reading package lists... Done
N: Download is performed unsandboxed as root as file '/media/ms/Debian/dists/11.2.0/InRelease' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
E: The repository 'file:/media/ms/Debian 11.2.0 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.