Re: Temporarily hold a package............

2015-05-09 Thread Bob Proulx
Michael Biebl wrote:
 Bob Proulx:
  Charlie wrote:
  I had never even known about apt-mark and when Matthias pointed it out,
  tried it, read the man page and was amazed.
  
  The functionality of 'apt-mark hold' was new in Wheezy 7.  Squeezy 6
  didn't include that functionality.
 
 Sort of.
 In Squeeze and earlier releases you could already use
 dpkg --get-selections  file
 edit file and s/install/hold/ for the desired package
 dpkg --set-selections  file
 
 This had the same effect as apt-mark hold. Arguably, apt-mark provides
 the nicer interface :-)

Right.  New in apt-mark.  Has existed in dpkg --set-selections and
get-selections for a long time.  It is slightly easier to use in
apt-mark now.  A good improvement.

 If you're interested which packages are currently put on hold, run
 dpkg --get-selections | grep hold

Or now in the new apt-mark run:

  apt-mark showhold

Bob



signature.asc
Description: Digital signature


Re: Temporarily hold a package............

2015-05-09 Thread Michael Biebl
Am 10.05.2015 um 02:34 schrieb Bob Proulx:
 Charlie wrote:
 I had never even known about apt-mark and when Matthias pointed it out,
 tried it, read the man page and was amazed.
 
 The functionality of 'apt-mark hold' was new in Wheezy 7.  Squeezy 6
 didn't include that functionality.

Sort of.
In Squeeze and earlier releases you could already use
dpkg --get-selections  file
edit file and s/install/hold/ for the desired package
dpkg --set-selections  file

This had the same effect as apt-mark hold. Arguably, apt-mark provides
the nicer interface :-)


If you're interested which packages are currently put on hold, run
dpkg --get-selections | grep hold

Cheers,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: Temporarily hold a package............

2015-05-09 Thread Bob Proulx
Charlie wrote:
 I had never even known about apt-mark and when Matthias pointed it out,
 tried it, read the man page and was amazed.

The functionality of 'apt-mark hold' was new in Wheezy 7.  Squeezy 6
didn't include that functionality.  Squeeze 6 only included controls
to mark and unmark the automatically installed flag used by 'apt-get
autoremove'.  So relatively new for people who have been using Debian
for a while.

Bob


signature.asc
Description: Digital signature


Re: Temporarily hold a package............

2015-05-09 Thread Charlie
On Sat, 09 May 2015 09:11:29 +0200 Matthias Bodenbinder sent:

 Hi Charlie,
 
 you could either pin a package in /etc/apt/preferences.d/ 
   Package: hello
   Pin: release n=lenny
   Pin-Priority: 995
   ..
   see
 http://blog.opperschaap.net/2009/12/12/using-the-preferences-file-on-debian-and-debian-based-distributions/
  
 or hold a package
   sudo apt-mark hold package_name
   ..
   see
 http://askubuntu.com/questions/18654/how-to-prevent-updating-of-a-specific-package
 
 Matthias


Thank you Mathias.

-- 
Registered Linux User:- 329524
***

I am not afraid of storms, because I am learning to sail my
ship. .Louise May Alcot.

***

Debian GNU/Linux - Magic indeed.

-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150509173158.4f54afa6@taogypsy



Re: Temporarily hold a package............

2015-05-09 Thread Charlie
On Sat, 09 May 2015 09:11:29 +0200 Matthias Bodenbinder sent:

 or hold a package
   sudo apt-mark hold package_name

Thanks again Matthias

Worked a treat.

Charlie
-- 
Registered Linux User:- 329524
***

Pity the man who has a character to support -- it is worse than
a large family -- he is silent poor indeed. - Henry David
Thoreau

***

Debian GNU/Linux - Magic indeed.

-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150509173629.75894c73@taogypsy



Re: Temporarily hold a package............

2015-05-09 Thread Jean-Marc
Sat, 9 May 2015 13:20:40 +1000
Charlie char...@egwildlife.com.au écrivait :

 
   From my keyboard:

 I have been looking through the man pages for: apt-get, apt-get upgrade,
 but I'm certain I don't understand how I might hold a package for a
 while?
 

apt-mark hold openssl

man apt-mark

Cheers,

Jean-Marc jean-m...@6jf.be


pgpO3biF3Ixm1.pgp
Description: PGP signature


Re: Temporarily hold a package............

2015-05-09 Thread Charlie
On Sat, 9 May 2015 10:45:06 +0200 Jean-Marc sent:

  I have been looking through the man pages for: apt-get, apt-get
  upgrade, but I'm certain I don't understand how I might hold a
  package for a while?

 
 apt-mark hold openssl
 
 man apt-mark
 
 Cheers,
 
 Jean-Marc jean-m...@6jf.be

Thank you.

I had never even known about apt-mark and when Matthias pointed it out,
tried it, read the man page and was amazed.

Thank you both.
Charlie

-- 
Registered Linux User:- 329524
***

What is man without the beasts? If all the beasts were gone,
men would die from a great loneliness of spirit. 
Attributed to Chief Seattle - Suquamish Crisis Chief

***

Debian GNU/Linux - Magic indeed.

-


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150509212835.23cbdb13@taogypsy



Re: Temporarily hold a package............

2015-05-09 Thread Matthias Bodenbinder
Am 09.05.2015 um 05:20 schrieb Charlie:
 
   From my keyboard:

 I have been looking through the man pages for: apt-get, apt-get upgrade,
 but I'm certain I don't understand how I might hold a package for a
 while?
 
 Anyone who can and is inclined to help, might assist me for the whole
 testing cycle in this case with their advice.
 
 I get this when I attempt an upgrade of stretch:
 
 Retrieving bug reports...
 
 Done Parsing Found/Fixed information... 
 
 Done serious bugs of openssl (1.0.1k-3 → 1.0.2a-1) Outstanding
  b1 - #770605 - openssl: Removes symbol without SONAME bump

 Merged with: 768476 768522 769023 770278 771169 771993 781094 781929
 
 Summary:
 openssl(1 bug)
 
 Are you sure you want to install/upgrade the above packages?
 [Y/n/?/...] n
 **
 ** Exiting with an error in order to stop the installation. **
 ** :


Hi Charlie,

you could either pin a package in /etc/apt/preferences.d/ 
Package: hello
Pin: release n=lenny
Pin-Priority: 995
..
see 
http://blog.opperschaap.net/2009/12/12/using-the-preferences-file-on-debian-and-debian-based-distributions/

or hold a package
sudo apt-mark hold package_name
..
see 
http://askubuntu.com/questions/18654/how-to-prevent-updating-of-a-specific-package

Matthias


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/mikbv1$rc$1...@ger.gmane.org



Temporarily hold a package............

2015-05-08 Thread Charlie

From my keyboard:
   
I have been looking through the man pages for: apt-get, apt-get upgrade,
but I'm certain I don't understand how I might hold a package for a
while?

Anyone who can and is inclined to help, might assist me for the whole
testing cycle in this case with their advice.

I get this when I attempt an upgrade of stretch:

Retrieving bug reports...

Done Parsing Found/Fixed information... 

Done serious bugs of openssl (1.0.1k-3 → 1.0.2a-1) Outstanding
 b1 - #770605 - openssl: Removes symbol without SONAME bump
   
Merged with: 768476 768522 769023 770278 771169 771993 781094 781929

Summary:
openssl(1 bug)

Are you sure you want to install/upgrade the above packages?
[Y/n/?/...] n
**
** Exiting with an error in order to stop the installation. **
** :

Thanks in advance.

Charlie


East Gippsland Wildlife Rehabilitators Inc..
   http://www.egwildlife.com.au/

-- 
Registered Linux User:- 329524
***

They would often change who would be constant in happiness and
wisdom. ..Confucius

***

Debian GNU/Linux - Magic indeed.

-


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150509132040.44543...@egwildlife.com.au