Hi, Is this something to do with apt/dpkg? Ideally when recommending a package, apt/dpkg should be able to detect the correct machine and refer the correct package for it. Ritesh ---------- Forwarded Message ---------- Subject: Re: [Pkg-virtualbox-devel] Bug#484624: virtualbox-ose depends on a Date: Friday 06 Jun 2008 From: Ritesh Raj Sarraf <rrs@researchut.com> To: Michael Meskes <meskes@debian.org> On Thursday 05 Jun 2008 1:08:57 pm Michael Meskes wrote: > It does not. Stuff like this is easy to check before reporting a bug > that is not there. > I tried my best. > virtualbox-ose RECOMMENDS virtualbox-ose-modules which is a virtual > packages provided by quite a lot of virtualbox-ose-modules-* packages > among which the system simply choses one. You can/have to choose a right > package manually. How does the system choose one? If I'm on a i686 machine, it should choose the same. But it doesn't rrs@learner:~$ uname -m i686 The workaround is to first manually install package virtualbox-ose-modules-2.6.24-1-686, so that the virtualbox-ose-mdoules virtual package gets available and we don't run into some broken package type selection rule. Then installing package virtualbox-ose works. rrs@learner:~$ apt-get install virtualbox-ose Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: linux-image-2.6.24-1-486 virtualbox-ose-modules-2.6.24-1-486 Suggested packages: linux-doc-2.6.24 virtualbox-ose-source Recommended packages: virtualbox-ose-modules The following NEW packages will be installed: linux-image-2.6.24-1-486 virtualbox-ose virtualbox-ose-modules-2.6.24-1-486 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. Need to get 19.4MB/25.7MB of archives. After this operation, 78.5MB of additional disk space will be used. Do you want to continue [Y/n]? n Abort. rrs@learner:~$ apt-get install virtualbox-ose-modules Reading package lists... Done Building dependency tree Reading state information... Done Package virtualbox-ose-modules is a virtual package provided by: virtualbox-ose-modules-2.6.25-2-xen-686 2.6.25+1.5.6-dfsg-1 virtualbox-ose-modules-2.6.25-2-686-bigmem 2.6.25+1.5.6-dfsg-1 virtualbox-ose-modules-2.6.25-2-686 2.6.25+1.5.6-dfsg-1 virtualbox-ose-modules-2.6.25-2-486 2.6.25+1.5.6-dfsg-1 virtualbox-ose-modules-2.6.24-1-xen-686 2.6.24+1.5.6-dfsg-6 virtualbox-ose-modules-2.6.24-1-686-bigmem 2.6.24+1.5.6-dfsg-6 virtualbox-ose-modules-2.6.24-1-686 2.6.24+1.5.6-dfsg-6 virtualbox-ose-modules-2.6.24-1-486 2.6.24+1.5.6-dfsg-6 You should explicitly select one to install. E: Package virtualbox-ose-modules has no installation candidate rrs@learner:~$ apt-get install virtualbox-ose-modules-2.6.24-1-686 Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libxerces-c28 libxalan110 Use 'apt-get autoremove' to remove them. The following NEW packages will be installed: virtualbox-ose-modules-2.6.24-1-686 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0B/36.2kB of archives. After this operation, 147kB of additional disk space will be used. Reading package fields... Done Reading package status... Done Retrieving bug reports... Done Parsing Found/Fixed information... Done Selecting previously deselected package virtualbox-ose-modules-2.6.24-1-686. (Reading database ... 159799 files and directories currently installed.) Unpacking virtualbox-ose-modules-2.6.24-1-686 (from .../virtualbox-ose-modules-2.6.24-1-686_2.6.24+1.5.6-dfsg-6_i386.deb) ... Setting up virtualbox-ose-modules-2.6.24-1-686 (2.6.24+1.5.6-dfsg-6) ... rrs@learner:~$ apt-get install virtualbox-ose Reading package lists... Done Building dependency tree Reading state information... Done Suggested packages: virtualbox-ose-source The following NEW packages will be installed: virtualbox-ose 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0B/6373kB of archives. After this operation, 20.5MB of additional disk space will be used. Reading package fields... Done Reading package status... Done Retrieving bug reports... Done Parsing Found/Fixed information... Done serious bugs of virtualbox-ose ( -> 1.5.6-dfsg-7) <pending-fixed> #482504 - virtualbox-ose: FTBFS: kmk_builtin_install syntax error Summary: virtualbox-ose(1 bug) Are you sure you want to install/upgrade the above packages? [Y/n/?/...] y Preconfiguring packages ... Selecting previously deselected package virtualbox-ose. (Reading database ... 159804 files and directories currently installed.) Unpacking virtualbox-ose (from .../virtualbox-ose_1.5.6-dfsg-7_i386.deb) ... Processing triggers for menu ... Setting up virtualbox-ose (1.5.6-dfsg-7) ... insserv: warning: script 'K04nvidia-kernel' missing LSB tags and overrides insserv: warning: script 'K04nvidia-glx' missing LSB tags and overrides insserv: warning: script 'nvidia-kernel' missing LSB tags and overrides insserv: warning: script 'nvidia-glx' missing LSB tags and overrides Starting VirtualBox host networking...done. Processing triggers for menu ... I hope you get convinced that it was/is a valid bug. Ritesh -- Ritesh Raj Sarraf RESEARCHUT - http://www.researchut.com "Necessity is the mother of invention." ------------------------------------------------------- -- Ritesh Raj Sarraf RESEARCHUT - http://www.researchut.com "Necessity is the mother of invention."
Attachment:
signature.asc
Description: This is a digitally signed message part.