Command: echo <package_name> hold is not working

Bug #898363 reported by Susana Pereira
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
Expired
Medium
Unassigned

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

Revision history for this message
Marc Deslauriers (mdeslaur) wrote : Bug is not a security issue

Thanks for taking the time to report this bug and helping to make Ubuntu better. We appreciate the difficulties you are facing, but this appears to be a "regular" (non-security) bug. I have unmarked it as a security issue since this bug does not show evidence of allowing attackers to cross privilege boundaries nor directly cause loss of data/privacy. Please feel free to report any other bugs you may find.

security vulnerability: yes → no
security vulnerability: yes → no
visibility: private → public
visibility: private → public
Revision history for this message
Clint Byrum (clint-fewbar) wrote :

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

root@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@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
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for samba (Ubuntu) because there has been no activity for 60 days.]

Changed in samba (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.