[Bug 898363] Re: Command: echo <package_name> hold is not working

Clint Byrum clint at fewbar.com
Fri Dec 9 19:23:04 UTC 2011


Hi Susana, I just tried this on Lucid and Oneiric, and it worked fine.


root at ip-10-195-191-111:~# dpkg -l samba
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                 Version              Description
+++-====================-====================-========================================================
hi  samba                2:3.4.7~dfsg-1ubuntu SMB/CIFS file, print, and login server for Unix
root at ip-10-195-191-111:~# apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages have been kept back:
  libwbclient0 linux-ec2 linux-image-ec2 linux-image-virtual linux-virtual samba samba-common
The following packages will be upgraded:
  apport apt apt-transport-https apt-utils aptitude bind9-host byobu dnsutils libbind9-60 libdns64
  libfreetype6 libgssapi-krb5-2 libisc60 libisccc60 libisccfg60 libk5crypto3 libkrb5-3 libkrb5support0
  libldap-2.4-2 liblwres60 libpam-modules libpam-runtime libpam0g python-apport python-problem-report
  samba-common-bin tzdata unattended-upgrades update-manager-core update-notifier-common
30 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.

Can you run

apport-collect 898363

to fill in what versions of all the tools you have?

Marking as Incomplete, priority Medium.

** Changed in: samba (Ubuntu)
       Status: New => Incomplete

** Changed in: samba (Ubuntu)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/898363

Title:
  Command: echo <package_name> hold is not working

Status in “samba” package in Ubuntu:
  Incomplete

Bug description:
  Hi there,

  I'm trying to lock version in the samba package to be impossible to
  update the package with the command: echo samba hold | dpkg --set-
  selections , but when i make apt-get install samba the package start
  to install.

  I want to prevent that someone make the mistake to update the package with the apt-get command using the command echo <package> hold.
  Isn't suppose the echo <package> hold prevent/block the apt-get install ?

  Thanks is advanced.

  Susana Pereira

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/898363/+subscriptions




More information about the foundations-bugs mailing list