On Sat, Oct 19, 2002 at 01:17:39PM -0400, Craig Longman wrote: > > hi there, > > i recently upgraded to debian from redhat, as i was tired of finding > that the latest version of a program i wanted to install required 27 > other rpms that were only available for the latest and greatest version > of redhat. debian seems much more reasonable in this regard, allowing > me to upgrade what i want or what i have to, without forcing a whole > system upgrade every 6-12 months. > > i'm having a number of confusions with apt/dpkg though, and i'd like to > run through them here. > > first off, in the apt-howto, they say that when running a mixed system, > you need to edit the /etc/apt/apt.conf file and add this line: > > APT::Default-Release "stable"; > > unfortunately, i don't see an apt.conf file in that directory. i found > a file named /etc/apt/apt.conf.d/70debconf though, and adding that line > in there seemed to work. is this dangerous? should i just create an > apt.conf file and put my custom stuff in there? > > secondly, for various reasons, i need to have apache2 2.0.42 installed. > it appears that 2.0.43 has been elevated to 'testing' status, but i Since 2.0.43 is already in testing, look in /var/cache/apt/archives to see if you have already downloaded 2.0.42 versions you are looking for. If you find them, cd /var/cache/apt/archives and install the debs with "dpkg -i [deb]". If you don't find them in /var/cache/apt/archives, go to http://www.debian.org/distrib/packages and search for the package you want. If you are quick enough, you may be able find the 2.0.42 version on the download page at one of the mirrors. > can't have that installed right now. somehow, i managed to get > apache2-mpm-worker and apache2-common version 2.0.42 installed, but now > i'm trying to install apache2-dev 2.0.42 as well. i want to force > 2.0.42 though. the apt-howto says that i need to modify the > /etc/apt/preferences file and indicate desired versions in there. my > first attempt was to try and simplify things, i entered: > > Package: apache2* > Pin: version 2.0.42* > > this didn't work, when i try to install apache2-dev, it tries to upgrade > apache2-common, apache2-mpm-worker as well as a bunch of other stuff i > don't really want. so then i tried this in the /etc/apt/preferences: > > Package: apache2-dev > Pin: version 2.0.42* > > Package: apache2-mpm-worker > Pin: version 2.0.42* > > Package: apache2-common > Pin: version 2.0.42* > > > again, trying to install apache2-dev wants to upgrade the existing > apache2 packages and install a bunch of other stuff. > > what am i doing wrong? i'm pretty sure apt is acknowledging the file, > as when i have a mistake in there, it bitched about it. but it seems to > be ignoring my requests for ONLY 2.0.42 apache2 stuff and trying to grab > the newest 2.0.43 stuff. > > cheers, > -- Jerome
Attachment:
pgpk2DrrSjK2B.pgp
Description: PGP signature