FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 12-27-2007, 05:21 PM
MJang
 
Default apt-cdrom on Gutsy

Folks,


I'm trying to test the apt-cdrom command on my Gutsy 64-bit system. I
run the

sudo apt-cdrom -d /media/cdrom0 add

command, and get the following messages

Using CD-ROM mount point /media/cdrom/
Unmounting CD-ROM
Waiting for disc...
Please insert a Disc in the drive and press enter
Mounting CD-ROM...
Identifying.. [some md5sum]
Scanning disc for index files..

Found 0 package indexes, 0 source indexes, 0 translation indexes and 1
signatures
E: Unable to locate any package files, perhaps this is not a Debian Disc

I get log messages like Dec 26 17:38:29 ubuntuserver kernel:

[13775.502213] UDF-fs: No VRS found

I've tried it with an ISO as well, mounted on /misc, configured
in /etc/fstab, and get the following errors in /var/log/syslog

Dec 26 17:18:00 ubuntuserver automount[7394]: failed to
mount /misc/.disk
Dec 26 17:18:00 ubuntuserver automount[7395]: failed to
mount /misc/.aptignr
Dec 26 17:18:00 ubuntuserver automount[7396]: failed to
mount /misc/Release.gpg
Dec 26 17:18:00 ubuntuserver automount[7397]: failed to
mount /misc/Packages
Dec 26 17:18:00 ubuntuserver automount[7398]: failed to
mount /misc/Packages.gz
Dec 26 17:18:00 ubuntuserver automount[7399]: failed to
mount /misc/Sources.gz
Dec 26 17:18:00 ubuntuserver automount[7400]: failed to
mount /misc/Sources
Dec 26 17:18:00 ubuntuserver automount[7401]: failed to mount /misc/i18n

It's as if apt-cdrom expects to find .disk, .aptignr, Release.gpg and so
on in the base directory of the mounted CD (or ISO0.

Am I missing anything, or should I file a bug report?

Thanks,
Mike


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 12-29-2007, 07:51 AM
Peter Garrett
 
Default apt-cdrom on Gutsy

On Thu, 27 Dec 2007 10:21:56 -0800
MJang <mike@mommabears.com> wrote:

> Folks,
>
>
> I'm trying to test the apt-cdrom command on my Gutsy 64-bit system. I
> run the
>
> sudo apt-cdrom -d /media/cdrom0 add
>
> command, and get the following messages
>
> Using CD-ROM mount point /media/cdrom/
> Unmounting CD-ROM
> Waiting for disc...
> Please insert a Disc in the drive and press enter
> Mounting CD-ROM...
> Identifying.. [some md5sum]
> Scanning disc for index files..
>
> Found 0 package indexes, 0 source indexes, 0 translation indexes and 1
> signatures
> E: Unable to locate any package files, perhaps this is not a Debian Disc
>
> I get log messages like Dec 26 17:38:29 ubuntuserver kernel:
>
> [13775.502213] UDF-fs: No VRS found
>
> I've tried it with an ISO as well, mounted on /misc, configured
> in /etc/fstab, and get the following errors in /var/log/syslog
>
> Dec 26 17:18:00 ubuntuserver automount[7394]: failed to
> mount /misc/.disk
> Dec 26 17:18:00 ubuntuserver automount[7395]: failed to
> mount /misc/.aptignr
> Dec 26 17:18:00 ubuntuserver automount[7396]: failed to
> mount /misc/Release.gpg
> Dec 26 17:18:00 ubuntuserver automount[7397]: failed to
> mount /misc/Packages
> Dec 26 17:18:00 ubuntuserver automount[7398]: failed to
> mount /misc/Packages.gz
> Dec 26 17:18:00 ubuntuserver automount[7399]: failed to
> mount /misc/Sources.gz
> Dec 26 17:18:00 ubuntuserver automount[7400]: failed to
> mount /misc/Sources
> Dec 26 17:18:00 ubuntuserver automount[7401]: failed to mount /misc/i18n
>
> It's as if apt-cdrom expects to find .disk, .aptignr, Release.gpg and so
> on in the base directory of the mounted CD (or ISO0.
>
> Am I missing anything, or should I file a bug report?

"apt-cdrom add" is for adding properly organised/formatted Debian (or
Ubuntu ) discs to apt /etc/apt/sources.list

As far as I know, this will only work on the so-called "alternate" discs,
or discs with a similar layout, that it understands.

Perhaps you are looking for the "aptoncd" package ?

Peter

--
"INX Is Not X" based on Ubuntu 7.04 Live CD: http://inx.maincontent.net
Screenshots slideshow: http://inx.maincontent.net/album/1.png.html
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 01:12 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org