



Update Manager
The Update Manager used in LMDE is the same as the one in other editions of Linux Mint. No adaptation or changes were made yet to accomodate it to the rolling nature of LMDE.

vrkalak wrote:So if you do an apt-get update once a week ... your OS and applications are up-to-date- within the constricts of Debian 'testing'
I have been using Debian with a mixed testing/unstable sources.list for almost 2 years now ... and everything is up-to-date.
(I have the new 2.6.35.2 kernel and Firefox 4.0 Beta 5 ... as well as newer versions of every other App. I use)
I only do an 'apt-get update' about once a week and an 'apt-get upgrade' about every 3 months.
I never have to do a 'dist-upgrade' unless I am moving from stable to testing or testing to unstable.

vincent wrote:According to http://www.linuxmint.com/rel_debian.php, this is a known problem. [...]

ej64 wrote:A dist-upgrade is more powerful. If dependencies change or there are new libraries your upgrade will do nothing. It will leave the packages whose dependencies can't be solved as is (which sometimes isn't bad at all). The dist-upgrade will try to solve these changes, install new libraries if necessary and dump old ones that aren't needed any more. Within years of a rolling release that is very likely to be essential to keep an installation vivid and up-to-date.




tdockery97 wrote:ej64 wrote:A dist-upgrade is more powerful. If dependencies change or there are new libraries your upgrade will do nothing. It will leave the packages whose dependencies can't be solved as is (which sometimes isn't bad at all). The dist-upgrade will try to solve these changes, install new libraries if necessary and dump old ones that aren't needed any more. Within years of a rolling release that is very likely to be essential to keep an installation vivid and up-to-date.
Just so I'm clear, what you are saying is that the proper way to do updates that include both system and packages is first do apt-get update, and then immediately do dist-upgrade?

update
Updates the list of available packages from the apt sources (this is equivalent to “apt-get update”)
safe-upgrade
Upgrades installed packages to their most recent version. Installed packages will not be removed unless they are unused (see the
section “Managing Automatically Installed Packages” in the aptitude reference manual). Packages which are not currently installed may
be installed to resolve dependencies unless the --no-new-installs command-line option is supplied.
If no <package>s are listed on the command line, aptitude will attempt to upgrade every package that can be upgraded. Otherwise,
aptitude will attempt to upgrade only the packages which it is instructed to upgrade. The <package>s can be extended with suffixes
in the same manner as arguments to aptitude install, so you can also give additional instructions to aptitude here; for instance,
aptitude safe-upgrade bash dash- will attempt to upgrade the bash package and remove the dash package.
It is sometimes necessary to remove one package in order to upgrade another; this command is not able to upgrade packages in such
situations. Use the full-upgrade command to upgrade as many packages as possible.
full-upgrade
Upgrades installed packages to their most recent version, removing or installing packages as necessary. This command is less
conservative than safe-upgrade and thus more likely to perform unwanted actions. However, it is capable of upgrading packages that
safe-upgrade cannot upgrade.
If no <package>s are listed on the command line, aptitude will attempt to upgrade every package that can be upgraded. Otherwise,
aptitude will attempt to upgrade only the packages which it is instructed to upgrade. The <package>s can be extended with suffixes
in the same manner as arguments to aptitude install, so you can also give additional instructions to aptitude here; for instance,
aptitude full-upgrade bash dash- will attempt to upgrade the bash package and remove the dash package.
sudo aptitude update
sudo aptitude full-upgrade
Nebeli wrote:So if one wants to be always up-to-date needs to rune at least one time per week:
- Code: Select all
sudo aptitude update
sudo aptitude full-upgrade
sudo apt-get update
sudo apt-get dist-upgrade
vincent wrote:One caveat...apt-get and aptitude use separate log files. I recommend using one or the other, not both. Make up your mind and stick with one of them...



vincent wrote:Yes, Synaptic uses apt-get. Keep in mind that aptitude does include an user interface for package configuration...try it out, just type "aptitude" in a terminal. It's ncurses-based, and thus it's arguably not as friendly to newbies as Synaptic + apt-get is, but it's still a pretty functional interface.



vincent wrote:Yes, Debian recommends the use of aptitude. On the other hand, Ubuntu is actually planning to remove aptitude from its base system by Ubuntu 11.04, and recommend people to use its Software Centre instead (or Synaptic and apt-get).





Nebeli wrote:vincent wrote:Aptitude keep record of packages installed with other packages, and when you remove one packages it cleans other too. Theoretically it should let us to have less mess in the system.
sudo apt-get autoremoveMALsPa wrote:You'll still be able to install Synaptic in Ubuntu and use it, though.

vincent wrote:For a rolling release, yes, you should run dist-upgrades instead of plain old upgrades. A "dist-upgrade" does an "upgrade" and then some more, so once you run a dist-upgrade, you don't need to run an upgrade. For a stable release, e.g. Debian Stable or Ubuntu, there should NOT be a need to do a dist-upgrade regularly, as libraries should not change and there would be no major upgrades (in fact, a truly stable release should get nothing more than security patches...), assuming you stick with the default repositories.

Users browsing this forum: No registered users and 3 guests