[PlanetCCRMA] package dependency problem alsa/kernel
Fernando Lopez-Lezcano
nando at ccrma.Stanford.EDU
Tue Dec 21 11:41:01 PST 2004
On Tue, 2004-12-21 at 03:31, Diemo Schwarz wrote:
> now I've run myself into an annoying problem with alsa and kernel package
> dependencies, trying to upgrade alsa.
>
> In short, I can't install alsa-kernel-2.4.20, since it wants a kernel 2.4.20,
> which conflicts with my installed custom version of kernel 2.4.21 which is
> needed to run my laptop.
>
> What I have installed is alsa version 0.9.4-2.cvs from
> alsa-kernel-2.4.21-pre5-ac3-mhp3-rebuild
>
> Is there any alsa package that would be installable in my setup?
>
> Now, if you tell me that my setup is hopelessly outdated (RH 8.0), and the
> energy for resolving that problem would be better spent on upgrading my distro,
> then that's fine with me. I want to upgrade to a 2.6 based one anyway.
>
>
> Long version:
>
> #apt-get upgrade
> [...]
> You might want to run `apt-get -f install' to correct these.
> The following packages have unmet dependencies:
> alsa-kernel-2.4.20-28.1.caps.rh80.ccrma: Depends: kernel (=
> 2.4.20-28.1.caps.rh80.ccrma)
> Depends: kernel-version-athlon (=
> 2.4.20-28.1.caps.rh80.ccrma)
>
> #apt-get -f install
> [...]
> Correcting dependencies... Done
> The following extra packages will be installed:
> kernel#2.4.20-13.8 kernel#2.4.20-28.1.caps.rh80.ccrma
> The following NEW packages will be installed:
> kernel#2.4.20-13.8 kernel#2.4.20-28.1.caps.rh80.ccrma
> 0 packages upgraded, 2 newly installed, 0 removed and 19 not upgraded.
> [...]
> Executing RPM (-ivh)...
> warning: package kernel = 2.4.20-13.8 was already added, replacing with kernel
> <= 2.4.20-28.1.caps.rh80.ccrma
> Preparing... ########################################### [100%]
> package kernel-2.4.21pre5ac3mhp3-2 (which is newer than
> kernel-2.4.20-28.1.caps.rh80.ccrma) is already installed
> package kernel-2.4.24-1.ll.rh80.ccrma (which is newer than
> kernel-2.4.20-28.1.caps.rh80.ccrma) is already installed
> E: Sub-process /bin/rpm returned an error code (1)
You need an extra option in /etc/apt/apt.conf, look here:
http://ccrma.stanford.edu/planetccrma/apt/configuration/all/apt.conf
In particular you need the --oldpackage option.
Also, when you run into dependency problems you may want to try apt-get
dist-upgrade, which will try to install packages you don't currently
have that are needed by the upgrades. "apt-get upgrade" will not do
that.
-- Fernando
More information about the PlanetCCRMA
mailing list