Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #175908

Re: Package upgrades why and how to avoid?

From Michael Lange <klappnase@freenet.de>
Newsgroups linux.debian.user
Subject Re: Package upgrades why and how to avoid?
Date 2016-12-24 13:20 +0100
Message-ID <sRTsR-6PE-3@gated-at.bofh.it> (permalink)
References <sRKzf-8gW-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sat, 24 Dec 2016 11:47:21 +0900
Man_Without_Clue <love.chaser@gmail.com> wrote:

> Why this happens and how to avoid this?

As an appendix to Joe's extensive reply:

Once you found the package(s) that would cause e.g. Skype to be removed,
you can put these packages on "hold" (or "lock" in synaptic) so these
packages won't be upgraded on future system upgrades until the hold is
removed, allowing you to do full-/dist-upgrades without removing other
packages that you want to keep.
Unfortunately however, each one of synaptic, apt-get and aptitude have
their own "hold" system, which won't be respected by the other programs,
so to be on the safe side you might have to "hold" a package more than
just once.

To put a package on "hold" for apt-get, just do  (as root):
	apt-mark hold <packagename>
The aptitude command is similar:
	aptitude hold <packagename>
In synaptic, select the package and pick from the menu
	Package -> Lock Version

Regards

Michael


.-.. .. ...- .   .-.. --- -. --.   .- -. -..   .--. .-. --- ... .--. . .-.

No one may kill a man.  Not for any purpose.  It cannot be condoned.
		-- Kirk, "Spock's Brain", stardate 5431.6

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Package upgrades why and how to avoid? Man_Without_Clue <love.chaser@gmail.com> - 2016-12-24 03:50 +0100
  Re: Package upgrades why and how to avoid? Joe <joe@jretrading.com> - 2016-12-24 10:40 +0100
  Re: Package upgrades why and how to avoid? Michael Lange <klappnase@freenet.de> - 2016-12-24 13:20 +0100
    Re: Package upgrades why and how to avoid? A_Man_Without_Clue <love.chaser@gmail.com> - 2016-12-24 14:30 +0100

csiph-web