Re: Putting a TESTING package on a STABLE system
on Thu, Aug 02, 2001 at 12:40:17PM +0100, David Goodenough ([EMAIL PROTECTED]) wrote: > I have a similar, but reversed problem. I have one package that I do NOT want > to upgrade. It happens to be LILO, and it is currently broken when used on > laptops with SystemSoft BIOS. I want all packages except LILO from woody > but I want LILO to stop at potato. Is there a way of telling apt and friends > to do this? If not I suppose I will have to get the source and submit a > patch. $ echo lilo hold | dpkg --set selections -- Karsten M. Self http://kmself.home.netcom.com/ What part of "Gestalt" don't you understand? There is no K5 cabal http://gestalt-system.sourceforge.net/ http://www.kuro5hin.org Free Dmitry!! Boycott Adobe!! Repeal the DMCA!! http://www.freesklyarov.org pgp4BwPTloIo9.pgp Description: PGP signature
Re: Putting a TESTING package on a STABLE system
On Thu, 2 Aug 2001, Newton, Harry wrote: > I am running a Debian 2.2, and have just upgraded/updated the system using > apt-get and this /etc/apt/sources.list: > > deb ftp://ftp.uk.debian.org/debian stable main contrib non-free > deb ftp://ftp.uk.debian.org/debian stable/non-US main contrib non-free > > What I should like to do is put a few TESTING packages on this system ( > specifically Tomcat and its dependencies ). > > I've been told that I should make a new sources.list, with 'stable' changed > to 'testing', and then run: > > apt-get update > apt-get install tomcat > > and _then_, restore my original sources.list. Is there anything I should > know about doing this ? > > However, I believe that there's a better way, using apt-get 0.5. How would I > do this, and how would I get apt-get 0.5, which is in TESTING ? Doing as above can be risky, especially if your upgrade involves basic packages. An option which is always worth keeping in mind is to build from source. Let us suppose for concreteness that we are building packages from woody on potato. This does not always work, but it has the considerable advantage of being a very safe method. Also, it minimizes the number of packages from woody that are present in your pototo system, if that is what you want. Of couse, this involves having the build dependencies available in the system, but the dependencies may already be available as potato packages. If not, they need to be built from source themselves, but of course this can easily lead to rapidly expanding list of packages to be built from source if these packages in turn have dependencies not in potato. A useful compromise might be to mix the two methods as follows. Look at the dependencies of the package you want to install from testing (using apt-cache show, for example), and try to satisfy the depencies of this package using potato packages. Then look at the dependencies of the packages that can't be satisfied by potato. If these start involving basic packages you run a significant risk of breaking your system, and in these cases you might try to consider building from source if the build-depends allow it. I usually try to be conservative about these things, and I've never broken any system I've administered. :-) Your reference to apt 0.5 might be to do with build depends. The comand apt-get build-dep foo will show you the build dependencies for foo. This is useful but not necessary as the dsc files when downloaded will give you the same information. Note that apt 0.5 can easily be built on potato with little trouble. I did so. You might to take a look at the New Maintainers manual to see about building packages. At base it is just apt-get source -b foo, but there are various refinements that it is worth knowing about. Also there is a new Apt-HOWTO just out in unstable, which might be worth looking at. Faheem.
Re: Putting a TESTING package on a STABLE system
"Newton, Harry" <[EMAIL PROTECTED]> writes: > > I am running a Debian 2.2, and have just upgraded/updated the system using > apt-get and this /etc/apt/sources.list: > > deb ftp://ftp.uk.debian.org/debian stable main contrib non-free > deb ftp://ftp.uk.debian.org/debian stable/non-US main contrib non-free > > What I should like to do is put a few TESTING packages on this system ( > specifically Tomcat and its dependencies ). > > I've been told that I should make a new sources.list, with 'stable' changed > to 'testing', and then run: > > apt-get update > apt-get install tomcat > > and _then_, restore my original sources.list. Is there anything I should > know about doing this ? I think that should work fine, but simulate first by % apt-get -s install tomcat before doing the real install, that way you see what will be done and avoid some nasty surprises. For upgrade it is even more important. > However, I believe that there's a better way, using apt-get 0.5. > how would I get apt-get 0.5, which is in TESTING ? See above :-) > How would I do this, and Look into the man pages for apt.conf and apt_preferences. In particular you can put both testing and stable in your sources.list and specify a default release in apt.conf . I have stable, testing and unstable in my sources list, and a default release of stable. In addition I'm playing with pins in /etc/apt/preferences to make it prefer testing over unstable. It works reasonably well, but it is not quite perfect yet (it has no mind reading module :-). Jürgen -- Jürgen Stuber <[EMAIL PROTECTED]> http://www.loria.fr/~stuber/
Re: Putting a TESTING package on a STABLE system
> I have a similar, but reversed problem. I have one package that I do NOT want > to upgrade. It happens to be LILO, and it is currently broken when used on > laptops with SystemSoft BIOS. I want all packages except LILO from woody > but I want LILO to stop at potato. Is there a way of telling apt and friends > to do this? If not I suppose I will have to get the source and submit a > patch. run dselect, go to the lilo package line and type '=': this will put the lilo package 'on hold' and prevent it from upgrading. i'm sure there has to be an apt-something command option to do it from the command line, but i didn't find it... pietro.
Re: Putting a TESTING package on a STABLE system
On Thursday 02 August 2001 12:05 pm, Newton, Harry wrote: > I am running a Debian 2.2, and have just upgraded/updated the system using > apt-get and this /etc/apt/sources.list: > > deb ftp://ftp.uk.debian.org/debian stable main contrib non-free > deb ftp://ftp.uk.debian.org/debian stable/non-US main contrib non-free > > What I should like to do is put a few TESTING packages on this system ( > specifically Tomcat and its dependencies ). > > I've been told that I should make a new sources.list, with 'stable' changed > to 'testing', and then run: > > apt-get update > apt-get install tomcat > > and _then_, restore my original sources.list. Is there anything I should > know about doing this ? > > However, I believe that there's a better way, using apt-get 0.5. How would > I do this, and how would I get apt-get 0.5, which is in TESTING ? > > Many thanks in advance, Harry I have a similar, but reversed problem. I have one package that I do NOT want to upgrade. It happens to be LILO, and it is currently broken when used on laptops with SystemSoft BIOS. I want all packages except LILO from woody but I want LILO to stop at potato. Is there a way of telling apt and friends to do this? If not I suppose I will have to get the source and submit a patch.
Putting a TESTING package on a STABLE system
I am running a Debian 2.2, and have just upgraded/updated the system using apt-get and this /etc/apt/sources.list: deb ftp://ftp.uk.debian.org/debian stable main contrib non-free deb ftp://ftp.uk.debian.org/debian stable/non-US main contrib non-free What I should like to do is put a few TESTING packages on this system ( specifically Tomcat and its dependencies ). I've been told that I should make a new sources.list, with 'stable' changed to 'testing', and then run: apt-get update apt-get install tomcat and _then_, restore my original sources.list. Is there anything I should know about doing this ? However, I believe that there's a better way, using apt-get 0.5. How would I do this, and how would I get apt-get 0.5, which is in TESTING ? Many thanks in advance, Harry