-
Is it okay to do apt-get upgrade all?
I just finished a Knoppix HD install. Is it OK update the packages with apt-get? Or will that cause problems? Thanks.
-
Senior Member
registered user
You should definitely do apt-get update. That will update the sources list in /etc/apt/sources.list. Realize that this is not the same as apt-get upGRADE. upgrade means- "get the latest packages" and while it's certainly possible it can also cause you a few problems. Check out a how-to on apt-get before proceeding with apt-get upgrade. Open up kpackage and look at what is available for upgrade (indicated by a big 'U') and see if you need to upgrade or not. Unless there is a feature that isn't available in your current version of an application there really isn't any need to upgrade all packages.
-
-
Any chance of you explaining what dist-upgrade does, please, and how it could cause problems?
Mike (With his Fender )
-
Senior Member
registered user
Originally Posted by
Doc
Any chance of you explaining what dist-upgrade does, please, and how it could cause problems?
Mike (With his Fender
)
A dist-upgrade is changing from stable to testing or to unstable. It's just
going to the next level. It's entirely possible to run a complete stable, testing or unstable system. Debian has always made sure that you could rely on stable, testing has always been fine for me and unstable- well I think the name says it all. That's why it takes so long to get packages into stable- they don't put just anything in there. The drawback is that it may take a very long time to get the packages you need/want into stable, so- it is possible to selectively use a mixture of stable, testing and unstable versions. In fact- Knoppix is just that, a mixture of packages.
Here's a thought. If you do this:
apt-get install <packagename> and you have problems thereafter, you more than likely know what the problem is. But if you do this:
apt-get dist-upgrade all you know is that is one or more of several hundreds of packages that you just installed is giving you hell.
Here is an excellent place to learn about apt-get. When you have tools like Kpackage (or my preference Synaptic) it's alot easier but unfortunately not learning the basics about apt-get can get you in a bit of a jamb.
What kind of problems? Just enter apt-get into the search bar above and you'll see. Here's a good example
*pay no attention to the comment about Knoppix and its installer*
Sure- you can do a distribution upgrade and yes it will likely work. Personally I would never instruct someone unfamiliar with apt-get to attempt it without at least reading a bit.
caveat: If you do want to do dist-upgrade there's no time like after a fresh install. OF course, if you at least have /home on a seperate partition you can reinstall if you hose things up that badly and not have to retweak everything. Better yet, use a tool like Mondo to make a backup of your drive before doing anything too drastic.
-
Thanks for the info
Similar Threads
-
By lotech in forum General Support
Replies: 0
Last Post: 04-20-2005, 02:25 AM
-
By wademago in forum Hdd Install / Debian / Apt
Replies: 4
Last Post: 01-31-2005, 06:35 AM
-
By Everscythe in forum Hdd Install / Debian / Apt
Replies: 3
Last Post: 01-14-2005, 09:38 AM
-
By Wikt in forum General Support
Replies: 1
Last Post: 02-16-2004, 05:34 AM
-
By vesselinpeev in forum General Support
Replies: 0
Last Post: 05-26-2003, 09:03 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
HPE BL460c G9 ProLiant Blade | 2x Xeon E5-2620V3 | NO RAM | P244BR | 2xHDD Tray
$179.00
DELL PEM640 POWEREDGE M640 BLADE SERVER
$539.95
HP ProLiant BL460c G9 (Gen9) 2x E5-2670V3 12 Core 3.1GHz No Ram or No Drives
$59.98
Cisco UCS B200 M4 Blade Server, 2x2660 V3, 40GbE, No Ram No HDD
$35.95
Dell PowerEdge M620 0F9HJC Blade Server 2*E5-2670 2.60GHz 192GB RAM 2*300GB SAS
$103.99
Dell PowerEdge VRTX Rack Chassis 25-Bay 14.4TB HDD 2x M640 Blade 512GB RAM 2-Bay
$1979.99
DELL M630 BLADE SERVER x2 XEON E5-2660V3 @ 2.6GH H730 PERC HDD CADDIES 16GB FC
$50.00
Dell PowerEdge M640 Blade Server
$539.95
DELL PowerEdge M630 Blade 2x E5-2680v4 2.4GHz =28 Cores 128GB H330 2x10Gb X520
$294.00
Cisco UCS 5108 Blade Server Chassis Enclosure N20-C6508 4x PSU 8x Fans 2x Fabric
$139.99