Project

General

Profile

Actions

Bug #10611

closed

dist-upgrade tries to remove the kernel with our 4.1.0 jessie repo

Added by Tristan Gallet over 7 years ago. Updated over 7 years ago.

Status:
Rejected
Priority:
N/A
Category:
Packaging
Target version:
Severity:
Critical - prevents main use of Rudder | no workaround | data loss | security
UX impact:
User visibility:
Getting started - demo | first install | level 1 Techniques
Effort required:
Priority:
0
Name check:
Fix check:
Regression:

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
  1. 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

Related issues 1 (0 open1 closed)

Is duplicate of Rudder - Bug #10574: Rudder repo provides unwanted packages from backports on Debian 8ReleasedAlexis MoussetActions
Actions #1

Updated by Alexis Mousset over 7 years ago

  • Related to Bug #10574: Rudder repo provides unwanted packages from backports on Debian 8 added
Actions #2

Updated by Alexis Mousset over 7 years ago

  • Category set to Packaging
  • User visibility set to Getting started - demo | first install | level 1 Techniques
Actions #3

Updated by Alexis Mousset over 7 years ago

  • Assignee set to Alexis Mousset

This seems to be fixed with #10574, but we need to find what happens exactly.

Actions #4

Updated by Alexis Mousset over 7 years ago

The problem is caused by libsystemd0 libudev1 in our repos, and apt somehow decides to not upgrade them them because of dependency issues BUT to delete the kernel.

Actions #5

Updated by Alexis Mousset over 7 years ago

  • Related to deleted (Bug #10574: Rudder repo provides unwanted packages from backports on Debian 8)
Actions #6

Updated by Alexis Mousset over 7 years ago

  • Is duplicate of Bug #10574: Rudder repo provides unwanted packages from backports on Debian 8 added
Actions #7

Updated by Alexis Mousset over 7 years ago

  • Subject changed from Probleme on Debian Jessie and source Rudder to dist-upgrade tries to remove the kernel with our 4.1.0 jessie repo
  • Status changed from New to Rejected

Marking as duplicate of #10574, as the fix is confirmed to work for this one too.

If the problem occurs (before 4.1.1 is released), solutions are:

  • temporarily disable the Rudder repo
  • use the nightly repo if you want to test a 4.1 agent without the dist-upgrade issue
Actions

Also available in: Atom PDF