Install Problem - Media Change Request [Solved]

Help with issues regarding installation of Debian

Install Problem - Media Change Request [Solved]

Postby llewellen » 2018-04-10 02:19

I installed 9.4.0 ISO from a USB stick today, using the graphical installer. All seemed to go well, I exited the installer and rebooted with no issues. I then wanted to install some packages and tried to use sudo in the terminal. I have now discovered that since I specified a root password during installation, sudo is not installed by default. I then ran commands to install sudo and got the following output asking me to insert a disk. Huh??

Code: Select all
drew@Drew:~$ su
Password:
root@Drew:/home/drew# apt-get install sudo
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  sudo
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/1,055 kB of archives.
After this operation, 3,108 kB of additional disk space will be used.
Media change: please insert the disc labeled
 'Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 DVD Binary-1 20180310-11:21'
in the drive '/media/cdrom/' and press [Enter]
Last edited by llewellen on 2018-04-10 04:12, edited 1 time in total.
llewellen
 
Posts: 18
Joined: 2018-04-08 05:21
Location: Vancouver Island, Canada

Re: Install Problem - Media Change Request

Postby 4D696B65 » 2018-04-10 02:29

First, do you really need sudo or did ubuntu tell you that?

Remove or comment out the cd/dvd line in your /etc/apt/sources.list then run apt update.
This is done as root, use su
User avatar
4D696B65
 
Posts: 2131
Joined: 2009-06-28 06:09

Re: Install Problem - Media Change Request

Postby llewellen » 2018-04-10 02:52

Thank you. That worked. I don't recall specifically but, yes, it probably was a ubuntu "helpful hint". I can just use apt, right?
llewellen
 
Posts: 18
Joined: 2018-04-08 05:21
Location: Vancouver Island, Canada

Re: Install Problem - Media Change Request

Postby 4D696B65 » 2018-04-10 03:04

llewellen wrote:I can just use apt, right?

Yes, as root. su then exit when done
User avatar
4D696B65
 
Posts: 2131
Joined: 2009-06-28 06:09


Return to Installation

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable