Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #187363 > unrolled thread
| Started by | Sumit Jain <sumitjain6454@gmail.com> |
|---|---|
| First post | 2017-09-28 16:30 +0200 |
| Last post | 2017-09-29 04:50 +0200 |
| Articles | 3 — 3 participants |
Back to article view | Back to linux.debian.user
Debian 9.1.0 Sumit Jain <sumitjain6454@gmail.com> - 2017-09-28 16:30 +0200
Re: Debian 9.1.0 Dan Ritter <dsr@randomstring.org> - 2017-09-28 17:50 +0200
Re: Debian 9.1.0 David Christensen <dpchrist@holgerdanske.com> - 2017-09-29 04:50 +0200
| From | Sumit Jain <sumitjain6454@gmail.com> |
|---|---|
| Date | 2017-09-28 16:30 +0200 |
| Subject | Debian 9.1.0 |
| Message-ID | <uuHZ7-1Eo-17@gated-at.bofh.it> |
[Multipart message — attachments visible in raw view] — view raw
While I was installing sudo in Debian it is not getting installed . It shows that media change please insert the disc labelled.
[toc] | [next] | [standalone]
| From | Dan Ritter <dsr@randomstring.org> |
|---|---|
| Date | 2017-09-28 17:50 +0200 |
| Message-ID | <uuJey-2kP-5@gated-at.bofh.it> |
| In reply to | #187363 |
On Thu, Sep 28, 2017 at 07:41:42PM +0530, Sumit Jain wrote: > While I was installing sudo in Debian it is not getting installed . It > shows that media change please insert the disc labelled. You have configured your system to look for packages on a CD or DVD. The configuration is in /etc/apt/ in the sources.list file or the sources.list.d directory. You must configure at least one reachable apt repository to get this to work. For example: deb http://ftp.us.debian.org/debian/ stretch main contrib non-free deb http://ftp.us.debian.org/debian/ stretch-updates main contrib non-free deb http://security.debian.org/ stretch/updates main -dsr-
[toc] | [prev] | [next] | [standalone]
| From | David Christensen <dpchrist@holgerdanske.com> |
|---|---|
| Date | 2017-09-29 04:50 +0200 |
| Message-ID | <uuTxg-lO-1@gated-at.bofh.it> |
| In reply to | #187363 |
On 09/28/17 07:11, Sumit Jain wrote:
> While I was installing sudo in Debian it is not getting installed . It
> shows that media change please insert the disc labelled.
The Debian package management system uses a configuration file and a
configuration directory to determine where to obtain software packages.
These are:
/etc/apt/sources.list
/etc/apt/sources.list.d
The Debian installer will create a default package management
configuration file and an empty package management configuration
directory for you during installation.
This is what the default package management configuration file looked
like after I did a fresh install of Debian 9.1.0 amd64 XFCE on the
machine I am using:
2017-09-28 19:20:33 dpchrist@tinkywinky
~/tinkywinky.tracy.holgerdanske.com/etc/apt
$ cvs update -r 1.1 -p sources.list | nl
1 #
2 # deb cdrom:[Debian GNU/Linux 9.1.0 _Stretch_ - Official amd64
xfce-CD Binary-1 20170722-11:29]/ stretch main
3 deb cdrom:[Debian GNU/Linux 9.1.0 _Stretch_ - Official amd64
xfce-CD Binary-1 20170722-11:29]/ stretch main
4 deb http://approx:9999/debian/ stretch main
5 deb-src http://approx:9999/debian/ stretch main
6 deb http://security.debian.org/debian-security stretch/updates main
7 deb-src http://security.debian.org/debian-security
stretch/updates main
8 # stretch-updates, previously known as 'volatile'
9 deb http://approx:9999/debian/ stretch-updates main
10 deb-src http://approx:9999/debian/ stretch-updates main
Lines 1, 2, and 8 are commented out; they have no effect.
Line 3 is an entry for the installation media. While it says "cdrom", I
installed from a USB flash drive. This is why apt-get(8), or whatever
package management tool you are using, is asking you to change media
when you try to install a package -- the media was mounted during
installation, the package management system is still expecting the media
to be mounted, but the media was not mounted when you tried to install a
package. So, the package management system told you to change media and
mount the installation media.
Lines 4, 5, 9, and 10 were created by the Debian installer per my
"Debian archive mirror country" and "Debian archive mirror hostname"
choices during installation -- I choose "enter information manually" and
entered "approx:9999", respectively. (My local Approx server --
https://en.wikipedia.org/wiki/Approx .)
Lines 6 and 7 were created by the Debian installer automatically.
You have at least two choices:
1. Insert and/or mount the installation media before you install a package.
2. As root, comment out the "cdrom" line in sources.list, run 'apt-get
update', and then install a package.
HTH,
David
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web