tag 700821 -pending
tag 703207 -pending
tag 700821 -patch
tag 703207 -patch
thanks

$ sudo dpkg -i apt-transport-spacewalk_1.0.6-2.1_all.deb
Selecting previously unselected package apt-transport-spacewalk.
(Reading database ... 369115 files and directories currently installed.)
Unpacking apt-transport-spacewalk (from 
apt-transport-spacewalk_1.0.6-2.1_all.deb) ...
Setting up apt-transport-spacewalk (1.0.6-2.1) ...

$ sudo dpkg -r apt-transport-spacewalk
(Reading database ... 369119 files and directories currently installed.)
Removing apt-transport-spacewalk ...

$ sudo dpkg -i apt-transport-spacewalk_1.0.6-2.1_all.deb
Selecting previously unselected package apt-transport-spacewalk.
(Reading database ... 369115 files and directories currently installed.)
Unpacking apt-transport-spacewalk (from
apt-transport-spacewalk_1.0.6-2.1_all.deb) ...
Setting up apt-transport-spacewalk (1.0.6-2.1) ...

$ sudo apt-get remove apt-transport-spacewalk
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer
required:
  python-dmidecode python-ethtool python-newt python-rhn rhn-client-tools
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  apt-transport-spacewalk
0 upgraded, 0 newly installed, 1 to remove and 53 not upgraded.
After this operation, 92.2 kB disk space will be freed.
Do you want to continue [Y/n]? 
[master 298c89d] saving uncommitted changes in /etc prior to apt run
 Author: sez <sez@mobee>
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename apt/apt.conf.d/{50spacewalk.disabled => 50spacewalk} (100%)
(Reading database ... 369119 files and directories currently installed.)
Removing apt-transport-spacewalk ...
[master 6338b79] committing changes in /etc after apt run
 Author: sez <sez@mobee>
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename apt/apt.conf.d/{50spacewalk => 50spacewalk.disabled} (100%)
sh: 1: /usr/lib/apt-spacewalk/post_invoke.py: not found
E: Problem executing scripts DPkg::Post-Invoke
'/usr/lib/apt-spacewalk/post_invoke.py'
E: Sub-process returned an error code

Looking at other package's DPkg::Post-Invoke hook netries (eg.
etckeeper/debsums, the way around this is to simply check for the script's
existence before invoking it.

-- 
Every great idea is worthless without someone to do the work. --Neil Williams


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

  • Bug#703207: patch needs more work: works for dpkg, but ... Serafeim Zanikolas

Reply via email to