SunQuest
           Linux Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsLinux Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now!
  #1  
Old June 9th, 2002, 02:10 PM
knt knt is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2002
Posts: 21 knt User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 35 m 48 sec
Reputation Power: 0
Send a message via ICQ to knt
apt-cdrom and cdrom mount point

I have changed my cdrom mount point from /cdrom to /mnt/cdrom in my debian box.
But this time apt started to cannot find /cdrom, but I definde /mnt/cdrom in /etc/fstab
Then I learnt that I have to use such a param. with apt-cdrom to change the cdrom devices mount point
$ apt-cdrom -d=/mnt/cdrom
I used that but nothing changed, what should i do now...

Reply With Quote
  #2  
Old June 9th, 2002, 05:51 PM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,969 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 39 m 55 sec
Reputation Power: 184
i don´t know what this apt-cdrom is, but one guess:
-d could be --device, right? so you have to pass /dev/cdrom, not /cdrom.

if this assumption is wrong, i have a workaround for you:

rmdir /cdrom
ln -s /mnt/cdrom /cdrom

this makes a link "/cdrom" that points to the directory "/mnt/cdrom"
__________________
--
Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more.

Reply With Quote
  #3  
Old June 9th, 2002, 06:45 PM
justice41 justice41 is offline
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: The Emerald City
Posts: 289 justice41 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Did you use the 'add' command when you ran apt-cdrom?

Code:
$ apt-cdrom -d=/mnt/cdrom add


jaa

Reply With Quote
  #4  
Old June 10th, 2002, 02:49 AM
knt knt is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2002
Posts: 21 knt User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 35 m 48 sec
Reputation Power: 0
Send a message via ICQ to knt
thx so much

thanks all
$ apt-cdrom -d=/mnt/cdrom add
command worked ;)
also i didn't need to re-edit /etc/apt/sources.list to remove old cdrom sources =)
thx debian too

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsLinux Help > apt-cdrom and cdrom mount point


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway