rusivi1, sorry if I came off too sharply. Please don't take anything I said personally. My frustration was aimed at the whole Ubuntu bug process in general, and not you. As you say, most of us are volunteers here.
Anyway, here's a detailed report of my test today. Several problems I have not seen before have appeared. See the last paragraph for my conclusions and advice.
I built a virtual machine on Lucid and installed the server installation of the latest Meerkat, ubuntu-10.10-beta-server-i386.iso, with no services other than openssh server. I then did an "apt-get update" and "apt-get dist-upgrade", and rebooted to kernel 2.6.35-22.
That done, I installed apt-file and its dependencies, followed by "apt-file update".
root@meerkat:~# apt-file --version
apt-file version 2.4.0
(c) 2002 Sebastien J. Gross <email address hidden>
root@meerkat:~# ll /var/cache/apt/archives/apt-file_2.4.0_all.deb
-rw-r--r-- 1 root root 31500 2010-05-27 05:05 /var/cache/apt/archives/apt-file_2.4.0_all.deb
root@meerkat:~# apt-cdrom add
Using CD-ROM mount point /media/apt/
Identifying.. [c9c6ebb1bcf1afc5dd21beb50e8f9b09-2]
Scanning disc for index files..
Found 2 package indexes, 0 source indexes, 0 translation indexes and 1 signatures
This disc is called:
'Ubuntu-Server 10.10 _Maverick Meerkat_ - Alpha i386 (20100831)'
Copying package lists...gpgv: Signature made Mon 30 Aug 2010 11:33:23 PM MDT using DSA key ID FBB75451
gpgv: Good signature from "Ubuntu CD Image Automatic Signing Key <email address hidden>"
Reading Package Indexes... Done
Writing new source list
Source list entries for this disc are:
deb cdrom:[Ubuntu-Server 10.10 _Maverick Meerkat_ - Alpha i386 (20100831)]/ maverick main restricted
Repeat this process for the rest of the CDs in your set.
W: Skipping nonexistent file /media/apt/dists/maverick/main/binary-i386/Packages
W: Skipping nonexistent file /media/apt/dists/maverick/main/debian-installer/binary-i386/Packages
W: Skipping nonexistent file /media/apt/dists/maverick/restricted/binary-i386/Packages
W: Skipping nonexistent file /media/apt/dists/maverick/restricted/debian-installer/binary-i386/Packages
root@meerkat:~#
The results lead me to wonder if I shouldn't try the desktop, so deleted the server CD. I hauled that in (ubuntu-10.10-beta-desktop-i386.iso) and added that:
root@meerkat:~# apt-cdrom add
Using CD-ROM mount point /media/apt/
Identifying.. [cbc25b86cb1795b180f5ae0235ea23e9-2]
Scanning disc for index files..
Found 2 package indexes, 0 source indexes, 0 translation indexes and 1 signatures
Found label 'Ubuntu 10.10 _Maverick Meerkat_ - Beta i386 (20100901.1)'
This disc is called:
'Ubuntu 10.10 _Maverick Meerkat_ - Beta i386 (20100901.1)'
Copying package lists...gpgv: Signature made Wed 01 Sep 2010 08:30:42 AM MDT using DSA key ID FBB75451
gpgv: Good signature from "Ubuntu CD Image Automatic Signing Key <email address hidden>"
Reading Package Indexes... Done
Writing new source list
Source list entries for this disc are:
deb cdrom:[Ubuntu 10.10 _Maverick Meerkat_ - Beta i386 (20100901.1)]/ maverick main restricted
Repeat this process for the rest of the CDs in your set.
W: Skipping nonexistent file /media/apt/dists/maverick/main/binary-i386/Packages
W: Skipping nonexistent file /media/apt/dists/maverick/restricted/binary-i386/Packages
root@meerkat:~#
OK, that's better if not perfect.
root@meerkat:~# apt-file update
Put CDROM labeled [Ubuntu_10.10__Maverick_Meerkat__-_Beta_i386_(20100901.1)] in the cdrom device and press [ENTER]
Note no Contents* file on the CD-ROM. However something seems to have umounted the CD-ROM from where I am expecting to find it:
root@meerkat:~# find /cdrom/* -iname Contents\*
find: `/cdrom/*': No such file or directory
root@meerkat:~# ls /cdrom
root@meerkat:~# mount | grep cdrom
root@meerkat:~#
This is because apt-cdrom has, apparently, umounted it and remounted it where it wants it (!!):
root@meerkat:~# mount
/dev/vda1 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
...
none on /var/lib/ureadahead/debugfs type debugfs (rw,relatime)
/dev/sr0 on /media/apt type iso9660 (ro)
root@meerkat:~#
and apt-file is looking for it in all the wrong places.
I begin to think this is either an upstream bug or a bug in the CD-ROM building process. In any case, the workaround seems to be to not use a CR-ROM for apt-file data, which implies not using it at all. Given modern Internet speeds, this isn't much of a loss. My advice is to mark it as low priority, and only fix it if you can quickly spot the problem and repair it.
rusivi1, sorry if I came off too sharply. Please don't take anything I said personally. My frustration was aimed at the whole Ubuntu bug process in general, and not you. As you say, most of us are volunteers here.
Anyway, here's a detailed report of my test today. Several problems I have not seen before have appeared. See the last paragraph for my conclusions and advice.
I built a virtual machine on Lucid and installed the server installation of the latest Meerkat, ubuntu- 10.10-beta- server- i386.iso, with no services other than openssh server. I then did an "apt-get update" and "apt-get dist-upgrade", and rebooted to kernel 2.6.35-22.
That done, I installed apt-file and its dependencies, followed by "apt-file update".
root@meerkat:~# apt-file --version
apt-file version 2.4.0
(c) 2002 Sebastien J. Gross <email address hidden>
root@meerkat:~# ll /var/cache/ apt/archives/ apt-file_ 2.4.0_all. deb apt/archives/ apt-file_ 2.4.0_all. deb c5dd21beb50e8f9 b09-2] Ubuntu- Server 10.10 _Maverick Meerkat_ - Alpha i386 (20100831)]/ maverick main restricted apt/dists/ maverick/ main/binary- i386/Packages apt/dists/ maverick/ main/debian- installer/ binary- i386/Packages apt/dists/ maverick/ restricted/ binary- i386/Packages apt/dists/ maverick/ restricted/ debian- installer/ binary- i386/Packages
-rw-r--r-- 1 root root 31500 2010-05-27 05:05 /var/cache/
root@meerkat:~# apt-cdrom add
Using CD-ROM mount point /media/apt/
Identifying.. [c9c6ebb1bcf1af
Scanning disc for index files..
Found 2 package indexes, 0 source indexes, 0 translation indexes and 1 signatures
This disc is called:
'Ubuntu-Server 10.10 _Maverick Meerkat_ - Alpha i386 (20100831)'
Copying package lists...gpgv: Signature made Mon 30 Aug 2010 11:33:23 PM MDT using DSA key ID FBB75451
gpgv: Good signature from "Ubuntu CD Image Automatic Signing Key <email address hidden>"
Reading Package Indexes... Done
Writing new source list
Source list entries for this disc are:
deb cdrom:[
Repeat this process for the rest of the CDs in your set.
W: Skipping nonexistent file /media/
W: Skipping nonexistent file /media/
W: Skipping nonexistent file /media/
W: Skipping nonexistent file /media/
root@meerkat:~#
The results lead me to wonder if I shouldn't try the desktop, so deleted the server CD. I hauled that in (ubuntu- 10.10-beta- desktop- i386.iso) and added that:
root@meerkat:~# apt-cdrom add b180f5ae0235ea2 3e9-2] apt/dists/ maverick/ main/binary- i386/Packages apt/dists/ maverick/ restricted/ binary- i386/Packages
Using CD-ROM mount point /media/apt/
Identifying.. [cbc25b86cb1795
Scanning disc for index files..
Found 2 package indexes, 0 source indexes, 0 translation indexes and 1 signatures
Found label 'Ubuntu 10.10 _Maverick Meerkat_ - Beta i386 (20100901.1)'
This disc is called:
'Ubuntu 10.10 _Maverick Meerkat_ - Beta i386 (20100901.1)'
Copying package lists...gpgv: Signature made Wed 01 Sep 2010 08:30:42 AM MDT using DSA key ID FBB75451
gpgv: Good signature from "Ubuntu CD Image Automatic Signing Key <email address hidden>"
Reading Package Indexes... Done
Writing new source list
Source list entries for this disc are:
deb cdrom:[Ubuntu 10.10 _Maverick Meerkat_ - Beta i386 (20100901.1)]/ maverick main restricted
Repeat this process for the rest of the CDs in your set.
W: Skipping nonexistent file /media/
W: Skipping nonexistent file /media/
root@meerkat:~#
OK, that's better if not perfect.
root@meerkat:~# apt-file update 10.10__ Maverick_ Meerkat_ _-_Beta_ i386_(20100901. 1)] in the cdrom device and press [ENTER]
Put CDROM labeled [Ubuntu_
mount: /dev/sr0 already mounted or /media/cdrom busy cdrom/dists/ maverick/ Contents- i386.gz' : No such file or directory us.archive. ubuntu. com/ubuntu/ dists/maverick/ Contents- i386.diff/ Index: us.archive. ubuntu. com/ubuntu/ dists/maverick/ Contents- i386.gz
Dload Upload Total Spent Left Speed us.archive. ubuntu. com/ubuntu/ dists/maverick- updates/ Contents- i386.diff/ Index: us.archive. ubuntu. com/ubuntu/ dists/maverick- updates/ Contents- i386.gz
Dload Upload Total Spent Left Speed us.archive. ubuntu. com/ubuntu/ dists/maverick/ Contents- i386.diff/ Index: us.archive. ubuntu. com/ubuntu/ dists/maverick/ Contents- i386.gz
Dload Upload Total Spent Left Speed us.archive. ubuntu. com/ubuntu/ dists/maverick- updates/ Contents- i386.diff/ Index: us.archive. ubuntu. com/ubuntu/ dists/maverick- updates/ Contents- i386.gz
Dload Upload Total Spent Left Speed us.archive. ubuntu. com/ubuntu/ dists/maverick/ Contents- i386.diff/ Index: us.archive. ubuntu. com/ubuntu/ dists/maverick/ Contents- i386.gz
Dload Upload Total Spent Left Speed us.archive. ubuntu. com/ubuntu/ dists/maverick- updates/ Contents- i386.diff/ Index: us.archive. ubuntu. com/ubuntu/ dists/maverick- updates/ Contents- i386.gz
Dload Upload Total Spent Left Speed security. ubuntu. com/ubuntu/ dists/maverick- security/ Contents- i386.diff/ Index: security. ubuntu. com/ubuntu/ dists/maverick- security/ Contents- i386.gz
Dload Upload Total Spent Left Speed security. ubuntu. com/ubuntu/ dists/maverick- security/ Contents- i386.diff/ Index: security. ubuntu. com/ubuntu/ dists/maverick- security/ Contents- i386.gz
Dload Upload Total Spent Left Speed security. ubuntu. com/ubuntu/ dists/maverick- security/ Contents- i386.diff/ Index: security. ubuntu. com/ubuntu/ dists/maverick- security/ Contents- i386.gz
Dload Upload Total Spent Left Speed
mount: according to mtab, /dev/sr0 is already mounted on /media/cdrom
cp: cannot stat `/media/
Downloading Index http://
No Index available.
Downloading complete file http://
% Total % Received % Xferd Average Speed Time Time Time Current
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
File is up-to-date.
Downloading Index http://
No Index available.
Downloading complete file http://
% Total % Received % Xferd Average Speed Time Time Time Current
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
File is up-to-date.
Downloading Index http://
No Index available.
Downloading complete file http://
% Total % Received % Xferd Average Speed Time Time Time Current
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
File is up-to-date.
Downloading Index http://
No Index available.
Downloading complete file http://
% Total % Received % Xferd Average Speed Time Time Time Current
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
File is up-to-date.
Downloading Index http://
No Index available.
Downloading complete file http://
% Total % Received % Xferd Average Speed Time Time Time Current
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
File is up-to-date.
Downloading Index http://
No Index available.
Downloading complete file http://
% Total % Received % Xferd Average Speed Time Time Time Current
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
File is up-to-date.
Downloading Index http://
No Index available.
Downloading complete file http://
% Total % Received % Xferd Average Speed Time Time Time Current
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
File is up-to-date.
Downloading Index http://
No Index available.
Downloading complete file http://
% Total % Received % Xferd Average Speed Time Time Time Current
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
File is up-to-date.
Downloading Index http://
No Index available.
Downloading complete file http://
% Total % Received % Xferd Average Speed Time Time Time Current
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
File is up-to-date.
root@meerkat:~#
Note no Contents* file on the CD-ROM. However something seems to have umounted the CD-ROM from where I am expecting to find it:
root@meerkat:~# find /cdrom/* -iname Contents\*
find: `/cdrom/*': No such file or directory
root@meerkat:~# ls /cdrom
root@meerkat:~# mount | grep cdrom
root@meerkat:~#
This is because apt-cdrom has, apparently, umounted it and remounted it where it wants it (!!):
root@meerkat:~# mount remount- ro) nosuid, nodev) ureadahead/ debugfs type debugfs (rw,relatime)
/dev/vda1 on / type ext4 (rw,errors=
proc on /proc type proc (rw,noexec,
...
none on /var/lib/
/dev/sr0 on /media/apt type iso9660 (ro)
root@meerkat:~#
Even so, the file isn't there:
root@meerkat:~# find /media/apt/ -iname 'Contents*'
root@meerkat:~#
and apt-file is looking for it in all the wrong places.
I begin to think this is either an upstream bug or a bug in the CD-ROM building process. In any case, the workaround seems to be to not use a CR-ROM for apt-file data, which implies not using it at all. Given modern Internet speeds, this isn't much of a loss. My advice is to mark it as low priority, and only fix it if you can quickly spot the problem and repair it.