Bug #10611
closeddist-upgrade tries to remove the kernel with our 4.1.0 jessie repo
Description
On debian Jessie 8X64 or X32, all updates.
Source : cat /etc/apt/sources.list.d/rudder.list
deb http://www.rudder-project.org/apt-4.1/ jessie main
apt-get update : ok
apt-get update
Ign http://ftp.be.debian.org jessie InRelease
Hit http://ftp.be.debian.org jessie-updates InRelease
Hit http://www.rudder-project.org jessie InRelease
Hit http://ftp.be.debian.org jessie Release.gpg
Hit http://ftp.be.debian.org jessie Release
Hit http://security.debian.org jessie/updates InRelease
Hit http://ftp.be.debian.org jessie-updates/main Sources
Hit http://www.rudder-project.org jessie/main amd64 Packages
Get:1 http://ftp.be.debian.org jessie-updates/main amd64 Packages/DiffIndex [7,900 B]
Get:2 http://ftp.be.debian.org jessie-updates/main Translation-en/DiffIndex [2,704 B]
Hit http://ftp.be.debian.org jessie/main Sources
Hit http://ftp.be.debian.org jessie/main amd64 Packages
Hit http://security.debian.org jessie/updates/main Sources
Hit http://ftp.be.debian.org jessie/main Translation-en
Hit http://security.debian.org jessie/updates/main amd64 Packages
Hit http://security.debian.org jessie/updates/main Translation-en
Ign http://www.rudder-project.org jessie/main Translation-en_US
Ign http://www.rudder-project.org jessie/main Translation-en
Fetched 10.6 kB in 1s (6,012 B/s)
Reading package lists... Done
apt-get upgrade : NOK
apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
linux-image-3.16.0-4-amd64 : Depends: initramfs-tools (>= 0.110~) but it is not installed or
linux-initramfs-tool
E: Unmet dependencies. Try using -f.
apt-get upgrade -f
The following NEW packages will be installed:
initramfs-tools
The following packages have been kept back:
libsystemd0 libudev1
The following packages will be upgraded:
tzdata
Package initramfs-tools is always reinstalled after a few days.
Now, if i want to do a
apt-get dist-upgrade :
apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... The following packages were automatically installed and are no longer required:
irqbalance libuuid-perl linux-base
Use 'apt-get autoremove' to remove them.
Done
The following packages will be REMOVED:
initramfs-tools linux-image-3.16.0-4-amd64
The following packages have been kept back:
libsystemd0 libudev1
0 upgraded, 0 newly installed, 2 to remove and 2 not upgraded.
Kernel is removed !!!
I've got this on all my rudder managed servers, X32 ou X64.
Source debian:cat /etc/apt/sources.list
deb http://ftp.be.debian.org/debian/ jessie main
deb-src http://ftp.be.debian.org/debian/ jessie main
deb http://security.debian.org/ jessie/updates main
deb-src http://security.debian.org/ jessie/updates main
- jessie-updates, previously known as 'volatile'
deb http://ftp.be.debian.org/debian/ jessie-updates main
deb-src http://ftp.be.debian.org/debian/ jessie-updates main