LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   update asking for cd (https://www.linuxquestions.org/questions/debian-26/update-asking-for-cd-4175531075/)

sfzombie13 01-14-2015 11:48 PM

update asking for cd
 
i just installed debian 7.7.0 and slackware 14.1 dual boot on a laptop with an i7 processor. i am tweaking the settings, have to get used to the changes. i like most of them, but i need to smooth it out. the main concern i have is trying to update. whether i use apt in the terminal or the package manager it keeps asking to insert the other disc. i looked at the source.list and have:
Code:

deb http://http.us.debian.org/debian/ wheezy contrib non-free main
deb http://download.virtualbox.org/virtualbox/debian wheezy contrib
deb http://ftp.debian.org/debian/ wheezy-updates main contrib

at first i thought i may have gotten a recent iso, but when i couldn't install virtualbox, i started looking closer.

descendant_command 01-15-2015 12:00 AM

Also look in the sources.list.d directory.
There is a reference to the CD in there somewhere that you should comment out.

EDDY1 01-15-2015 01:19 AM

Did you remove or comment out the cdrom in /etc/apt/sources.list? There are usually 2 entries for cdrom, with 1 of them uncommented. Also add non-free to "deb http://ftp.debian.org/debian/ wheezy-updates main contrib". After commenting out cdrom run
Quote:

apt-get update
apt-get upgrade
apt-get dist-upgrade
You really don't need virtualbox repo because vbox is already in debian repo's.
Post /etc/apt/sorces.list

sfzombie13 01-15-2015 02:18 PM

i found two entries for a cd/dvvd at the top and both were commented out. i also found an entry in the comments that said commented out by installer because it failed to verify. it also said that no entries were specified at time of install, so the ones here are provided as an example. when i installed, it wouldn't connect to the network, so i went without a repo, knowing i could add one later, so i didn't cause any problems. i had a day and a half trying to get the install to take, now it won't update.

it won't add the printer either, so i need to take care of iptables. i had to take the hard drive and put it in another computer to get it installed this time. i may just go ahead and blow the install and do it over rather than try to tweak it. only thing is, the slackware partition won't recognize the wi-fi and the only other laptop i have for work is a kali/pentoo box. they aren't very user friendly as an everyday box. ah, the joys of going windowless...at least once i get it set up, it stays that way for a while. long enough to create an image anyway.

Code:

# deb cdrom:[Debian GNU/Linux 7.7.0 _Wheezy_ - Official amd64 DVD Binary-1 20141018-13:06]/ wheezy contrib main

# deb cdrom:[Debian GNU/Linux 7.7.0 _Wheezy_ - Official amd64 DVD Binary-1 20141018-13:06]/ wheezy contrib main

# Line commented out by installer because it failed to verify:
deb http://security.debian.org/ wheezy/updates main contrib
# Line commented out by installer because it failed to verify:
# deb-src http://security.debian.org/ wheezy/updates main contrib

# wheezy-updates, previously known as 'volatile'
# A network mirror was not selected during install.  The following entries
# are provided as examples, but you should amend them as appropriate
# for your mirror of choice.

deb http://ftp.debian.org/debian/ wheezy-updates main contrib
# deb-src http://ftp.debian.org/debian/ wheezy-updates main contrib

deb http://http.us.debian.org/debian/ wheezy contrib non-free main
deb http://download.virtualbox.org/virtualbox/debian wheezy contrib

i don't know what happened, but when i tried it again, it worked. i think it's the motherboard honestly. it had a cup of coffee spilled onto it two years ago, and it has acted strange occaisionally ever since. like the dvd player won't boot the debian install disc, but it burns it, and it is bootable. and the camera or speakers don't work, haven't with windows either. anyway, i am marking it solved. thanx for the help.

EDDY1 01-17-2015 10:53 AM

You need to add security to sources.list. Use this to get your sources.list right.
http://debgen.simplylinux.ch/


All times are GMT -5. The time now is 12:40 AM.