]> git.proxmox.com Git - proxmox-ve.git/log
proxmox-ve.git
6 years agoadd APT hook to prevent proxmox-ve removal
Fabian Grünbichler [Tue, 3 Apr 2018 07:18:08 +0000 (09:18 +0200)]
add APT hook to prevent proxmox-ve removal

since this happens quite regularly when users accidentally install
conflicting packages.

sample output:
$ apt remove pve-qemu-kvm
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libxml-libxml-perl proxmox-widget-toolkit pve-edk2-firmware pve-i18n pve-xtermjs
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  proxmox-ve pve-container pve-ha-manager pve-ha-manager-dbgsym pve-manager pve-qemu-kvm qemu-server spiceterm
0 upgraded, 0 newly installed, 8 to remove and 0 not upgraded.
After this operation, 37.6 MB disk space will be freed.
Do you want to continue? [Y/n] y
W: (pve-apt-hook) !! WARNING !!
W: (pve-apt-hook) You are attempting to remove the meta-package 'proxmox-ve'!
W: (pve-apt-hook)
W: (pve-apt-hook) If you really you want to permanently remove 'proxmox-ve' from your system, run the following command
W: (pve-apt-hook)       touch '/please-remove-proxmox-ve'
W: (pve-apt-hook) and repeat your apt-get/apt invocation.
W: (pve-apt-hook)
W: (pve-apt-hook) If you are unsure why 'proxmox-ve' would be removed, please verify
W: (pve-apt-hook)       - your APT repository settings
W: (pve-apt-hook)       - that you are using 'apt-get dist-upgrade' or 'apt full-upgrade' to upgrade your system
E: Sub-process /usr/share/proxmox-ve/pve-apt-hook returned an error code (1)
E: Failure running script /usr/share/proxmox-ve/pve-apt-hook

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
6 years agodebian/postinst: cleanup
Fabian Grünbichler [Mon, 5 Mar 2018 14:24:34 +0000 (15:24 +0100)]
debian/postinst: cleanup

6 years agobump version to 5.1-42
Fabian Grünbichler [Mon, 5 Mar 2018 13:41:14 +0000 (14:41 +0100)]
bump version to 5.1-42

6 years agosplit out pve-kernel-4.13
Fabian Grünbichler [Mon, 5 Mar 2018 12:53:37 +0000 (13:53 +0100)]
split out pve-kernel-4.13

and switch build to dpkg-buildpackage

6 years agoinitial import from pve-kernel.git
Fabian Grünbichler [Mon, 5 Mar 2018 12:37:32 +0000 (13:37 +0100)]
initial import from pve-kernel.git

with reduced Makefile