LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 09-20-2005, 04:27 PM   #1
revenge80200
Member
 
Registered: Mar 2004
Location: Chicago
Distribution: Lenny & Xp
Posts: 238

Rep: Reputation: 30
apt-get dist-upgrade questions


I like to keep somewhat up-to-date so I ran dist-upgrade after updating apt-get and I got the following:

Media Change: Please insert the disc labelled
'Debian GNU/Linux 3.1 r0a _Sarge_ - Official i386 Binary-1 (20050607)'
in the drive '/cdrom/' and press enter

...have not seen this one before, and I do not recall meddling with my apt-get options.

Any Ideas?
Eric.
 
Old 09-20-2005, 04:52 PM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513

Rep: Reputation: 63
Re: apt-get dist-upgrade questions

Quote:
Originally posted by revenge80200
I like to keep somewhat up-to-date so I ran dist-upgrade after updating apt-get and I got the following:

Media Change: Please insert the disc labelled
'Debian GNU/Linux 3.1 r0a _Sarge_ - Official i386 Binary-1 (20050607)'
in the drive '/cdrom/' and press enter

...have not seen this one before, and I do not recall meddling with my apt-get options.

Any Ideas?
Eric.
Put a # at the front of the lines in your /etc/apt/sources.list that have the crdom in them like this.

Code:
#deb file:///cdrom/ etch main
Then use the apt-get update again and try the dist-upgrade.
 
Old 09-20-2005, 05:09 PM   #3
a3Rogue
Member
 
Registered: Jun 2004
Location: Liverpool, UK
Distribution: Debian unstable
Posts: 56

Rep: Reputation: 15
Re: Re: apt-get dist-upgrade questions

Quote:
Originally posted by HappyTux
Put a # at the front of the lines in your /etc/apt/sources.list that have the crdom in them like this.

Code:
#deb file:///cdrom/ etch main
Then use the apt-get update again and try the dist-upgrade.

Wouldnt that just install the same files he is already using? I mean the ones he installed on to his pc in the first place?


I think you need to edit your sources.list file with online servers....like:-

deb http://debian.blueyonder.co.uk unstable (or testing) main
deb-src http://debian.blueyonder.co.uk unstable main

You would be better finding the closest source to where u live, i could be wrong of course, pretty much a n00b myself
 
Old 09-20-2005, 05:19 PM   #4
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513

Rep: Reputation: 63
Re: Re: Re: apt-get dist-upgrade questions

Quote:
Originally posted by a3Rogue
Wouldnt that just install the same files he is already using? I mean the ones he installed on to his pc in the first place?


What he is getting is a trying to access CD message for the Sarge distro whereas I see he has Etch listed in his profile so I am assuming that he already has lines in his sources.list for it so he needs to get it to stop looking for/at the CD(s), that is what I will go with until he gets back to us anyways.
 
Old 09-29-2005, 08:03 AM   #5
nout
LQ Newbie
 
Registered: Sep 2005
Location: Wognum (close to Amsterdam), Netherlands
Distribution: debian
Posts: 3

Rep: Reputation: 0
I had nearly the same problem as revenge80200,
except that apt-get install apt-file didn't work here.

it worked fine after placing the # and doing apt-get update as HappyTux suggested

thanks
 
Old 09-29-2005, 02:39 PM   #6
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513

Rep: Reputation: 63
Quote:
Originally posted by nout
I had nearly the same problem as revenge80200,
except that apt-get install apt-file didn't work here.

it worked fine after placing the # and doing apt-get update as HappyTux suggested

thanks
Strange what does this command show you?

Code:
apt-cache policy apt-file
apt-file:
  Installed: 2.0.6
  Candidate: 2.0.6
  Version table:
 *** 2.0.6 0
        990 http://amd64.debian.net testing/main Packages
        600 http://amd64.debian.net unstable/main Packages
        100 /var/lib/dpkg/status
 
Old 09-29-2005, 03:19 PM   #7
nout
LQ Newbie
 
Registered: Sep 2005
Location: Wognum (close to Amsterdam), Netherlands
Distribution: debian
Posts: 3

Rep: Reputation: 0
it shows me this
Code:
apt-cache policy apt-file
apt-file:
  Installed: 2.0.3-7
  Candidate: 2.0.3-7
  Version Table:
 *** 2.0.3-7 0
        500 http://ftp.debian.nl stable/main Packages
        100 /var/lib/dpkg/status
 
Old 09-29-2005, 03:29 PM   #8
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513

Rep: Reputation: 63
Quote:
Originally posted by nout
it shows me this
Code:
apt-cache policy apt-file
apt-file:
  Installed: 2.0.3-7
  Candidate: 2.0.3-7
  Version Table:
 *** 2.0.3-7 0
        500 http://ftp.debian.nl stable/main Packages
        100 /var/lib/dpkg/status
It installed fine so I am not really sure what you meant above by apt-get install apt-file not working.
 
Old 09-30-2005, 03:23 AM   #9
nout
LQ Newbie
 
Registered: Sep 2005
Location: Wognum (close to Amsterdam), Netherlands
Distribution: debian
Posts: 3

Rep: Reputation: 0
Quote:
Originally posted by HappyTux
It installed fine so I am not really sure what you meant above by apt-get install apt-file not working.
it didn't work fine at first attempt.
then I got the
Media Change: Please insert the disc labelled
'Debian GNU/Linux 3.1 r0a _Sarge_ - Official i386 Binary-1 (20050607)'
in the drive '/cdrom/' and press enter

message, after I tried apt-get install apt-file the first time.
Then I googled a bit, and found this forum, I tried succesfully the solution with placing the # in the /etc/apt/sources.list file.
After that, did the apt-get update, then apt-get install apt-file.

Quote:
I had nearly the same problem as revenge80200,
except that apt-get install apt-file didn't work here.

it worked fine after placing the # and doing apt-get update as HappyTux suggested

thanks
maybe I should have been more clearer that it didnt'work at first attempt, and worked fine later.

mayb I should have replied a message at all, but I did it because in a forum, it's as noobie (such as I am) when you have a problem, nice to know that the solution someone gave, helped someone else.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
apt-get question: dist-upgrade vs upgrade Arodef Fedora 9 06-15-2012 01:33 PM
What's the difference between apt-get upgrade and apt-get dist-upgrade? davidas Linux - Newbie 4 04-04-2004 08:19 PM
apt-get dist-upgrade bosewicht Debian 5 10-24-2003 01:08 PM
apt-get dist-upgrade Culbert Debian 5 08-25-2003 11:16 PM
apt-get dist-upgrade Toasti Linux - Newbie 1 03-28-2003 06:50 AM


All times are GMT -5. The time now is 09:56 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration