[PlanetCCRMA] --old-package: unknown option

Bob L. Sturm sturm@ccrma.Stanford.EDU
Thu Jun 26 16:16:02 2003


The problem was this:

rpm doesn't have an option called --old-package. It has an option called 
--oldpackage. Helps to check the man page in detail. Nando you should 
change this on the website: 
http://www-ccrma.stanford.edu/planetccrma/software/installkernelandsound.html

-Bob.

> Bob L. Sturm wrote:
> 
> >I am trying to install the CCRMA alsa kernel on my laptop (Gateway 1.6 
> >GHz, dual boot) and am getting the following errors. I can't find anything 
> >in the archives that has helped:
> >
> >[root@localhost root]# apt-get -o RPM::Install-Options::=--old-package 
> >install planetccrma-core
> >
> 
> >--old-package: unknown option
> >Executing RPM (-Uvh)...
> >--old-package: unknown option
> >E: Sub-process /bin/rpm returned an error code (1)
> >E: Sub-process /bin/rpm returned an error code (1)
> >
> >  
> >
> I think this is a problem in the way apt-get passes those options to rpm.
> The packages will be in /var/cache/apt/archives . You can
> go in there and install them directly with the rpm command.
> What I would do is clean that dir out first in case it contains
> packages you have already installed by doing
> apt-get clean
> 
> Then downloading them again so you get the right bunch,
> and then cd-ing to
> /var/cache/apt/archives and then running
> 
> rpm -ihv --old-package *.rpm
> 
> That should work.
> 
> Chris
> 

-- 
        //\		Bob L. Sturm
       || |		2535 Hacienda Drive
       || |		Santa Barbara, CA 93105
       || |		University of California, Santa Barbara
  ______\/_  ,		http://www.mat.ucsb.edu/~b.sturm/
 '||||||'  (o)		http://www.composerscientist.com/
 `------'--  \		http://www.mp3.com/BobLSturm
        /|\   \		http://www-ccrma.stanford.edu/~sturm/
               \