اگه با دستور sudo root موقتا روت بشه و کارم انجام بشه راضی ام، ولی من روت هم میشم یه خطایی میده و نمیتونه بسته ها رو آپدیت کنه. این رو ببینید:
ali@ali:~$ su root
Password:
root@ali:/home/ali# sudo apt update
Ign:1 cdrom://[Debian GNU/Linux 12.2.0 _Bookworm_ - Official amd64 DVD Binary-1 with firmware 20231007-10:29] bookworm InRelease
Err:2 cdrom://[Debian GNU/Linux 12.2.0 _Bookworm_ - Official amd64 DVD Binary-1 with firmware 20231007-10:29] bookworm Release
Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Hit:3 http://debian.charite.de/debian bookworm InRelease
Reading package lists... Done
E: The repository 'cdrom://[Debian GNU/Linux 12.2.0 _Bookworm_ - Official amd64 DVD Binary-1 with firmware 20231007-10:29] bookworm 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.
root@ali:/home/ali#