-
Junior Member
registered user
Upgrading
Hi,
Please pardon my ignorance...
I've done a Knoppix h/d install. It went fine. I'd now like to ugrade the system.
It's easy to upgrade a single Debian release (stable, testing, or unstable): You just "apt-get -u upgrade".
However, I understand that Knoppix uses packages from all three releases. So shouldn't you upgrade each package from its specific release?
If so, is there a way to do that in one operation? Or must you individually upgrade each package (which seems impossible)?
I've read the apt-get HOWTO's "Keeping a mixed system" section. It tells you only how to indicate a "default" release, and how to update specific packages, but that's about it.
Thanks for explaining. I don't want to screw anything up.
-
Senior Member
registered user
You can do that with pinning. Creat a file called "preferences" and put it in /etc/apt. My preferences file is:
Package: *
Pin: release o=Debian a=testing
Pin-Priority: 900
Package: *
Pin: release o=Debian a=unstable
Pin-Priority: 800
The pin priority number means that testing packages will be installed before unstable when upgrading, even if unstable has a newer version of the package. You can still install packages from unstable by specifying it. For example:
apt-get -t unstable install openoffice.org
will install the unstable version of openoffice. When you upgrade, simply type:
apt-get upgrade
The testing packages with be upgraded to the latest *testing* version and the unstable packages with be upgraded to the latest *unstable* version.
-
Junior Member
registered user
That's great---thanks!
I take it the stable packages have nothing to do with this, and will update normally?
Similar Threads
-
By mkyb14 in forum Hdd Install / Debian / Apt
Replies: 5
Last Post: 12-16-2004, 11:03 PM
-
By pi82 in forum Hdd Install / Debian / Apt
Replies: 8
Last Post: 08-26-2004, 02:30 PM
-
By naventus in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 07-01-2004, 06:11 AM
-
By mcgiv in forum Hdd Install / Debian / Apt
Replies: 1
Last Post: 10-17-2003, 06:12 PM
-
By sgk in forum Hdd Install / Debian / Apt
Replies: 5
Last Post: 04-17-2003, 08:29 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
HP ProLiant ML350 Gen 9 Server 64GB RAM 2.4GHz Xeon 12-Core E5-2667 v3
$300.00
HP ProLiant DL380 Gen9 8SFF Server - E5-2698 v3 - 32Cores - 128GB Ram - 1TB HDD
$299.00
1U Supermicro Server 10 Bay 2x Intel Xeon 3.3Ghz 8C 128GB RAM 480GB SSD 2x 10GBE
$273.00
Dell Desktop Quad Core i5 8400 500GB SSD + 2TB HDD 32GB RAM Window Server 2022
$320.99
Dell PowerEdge R620 Server 2x E5-2660 v2 2.2GHz 20 Cores 256GB RAM 1x 480GB SSD
$139.99
Dell PowerEdge R620 Server - 256GB RAM, 2x8cCPU, 120Gb SSD/3x900Gb SAS, Proxmox
$320.00
R630 DELL 8 x 2.5'' POWEREDGE 2X E5-2680V4 32GB RAM IDRAC ENT & NDC 2X 495W PSU
$169.95
SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount
$202.49
New Gigabyte 10 bay SFF Server 2x Xeon Gold 6130 Total 36 Core 64GB DDR4 3x PCIe
$699.00
HP ProLiant DL360 G9 Server 2x Xeon E5-2697 V3 28 Cores P440ar 128GB DDR4 1x SSD
$249.99