apt-config-auto-update and update-notifier-common can't be co-installed

Bug #1616689 reported by chris pollock
396
This bug affects 70 people
Affects Status Importance Assigned to Milestone
One Hundred Papercuts
Confirmed
Medium
Unassigned
apt-config-auto-update (Ubuntu)
Confirmed
Undecided
Unassigned
pk-update-icon (Ubuntu)
Invalid
High
Unassigned
Artful
Triaged
High
Unassigned
update-notifier (Ubuntu)
Won't Fix
High
Unassigned
Artful
Won't Fix
High
Unassigned

Bug Description

apt-config-auto-update and update-notifier-common can't be installed together, because they both ship the file /etc/apt/apt.conf.d/10periodic, but neither package declares a Conflicts-relationship. This results in:

dpkg: error processing archive /var/cache/apt/archives/apt-config-auto-update_2.0.0-1_all.deb (--unpack):
 trying to overwrite '/etc/apt/apt.conf.d/10periodic', which is also in package update-notifier-common 3.168.1

Revision history for this message
chris pollock (cpollock) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in pk-update-icon (Ubuntu):
status: New → Confirmed
Changed in pk-update-icon (Ubuntu):
importance: Undecided → Medium
Changed in hundredpapercuts:
status: New → Confirmed
importance: Undecided → Medium
Andreas Moog (ampelbein)
Changed in pk-update-icon (Ubuntu):
importance: Medium → High
status: Confirmed → Triaged
Changed in update-notifier (Ubuntu):
status: New → Confirmed
Andreas Moog (ampelbein)
Changed in update-notifier (Ubuntu):
importance: Undecided → High
status: Confirmed → Triaged
tags: added: artful
description: updated
Andreas Moog (ampelbein)
summary: - package apt-config-auto-update not installed failed to
- install/upgrade: trying to overwrite /etc/apt/apt.conf.d/10periodic ,
- which is also in package update-notifier-common 3.168.1
+ apt-config-auto-update and update-notifier-common can't be co-installed
Revision history for this message
Steve Langasek (vorlon) wrote :

update-notifier-common has shipped /etc/apt/apt.conf.d/10periodic in every Ubuntu flavor image we produce, and has been since at least 12.04. pk-update-icon was introduced some time post-14.04. This needs to be fixed in that package to not ship this file.

Conflicts is a wrong solution, because these should not be two alternate implementations of /etc/apt/apt.conf.d/10periodic in Ubuntu.

Changed in update-notifier (Ubuntu):
status: Triaged → Won't Fix
Revision history for this message
Kai Kasurinen (kai-kasurinen) wrote :

package-update-indicator (2.0-1) unstable; urgency=medium

  * Initial release, replacing pk-update-icon (Closes: #906839)
  * Split out apt-config-auto-update to its own source package,
    for the people who still need it.

 -- Matthias Klumpp <email address hidden> Sun, 16 Dec 2018 16:36:44 +0100

Changed in pk-update-icon (Ubuntu):
status: Triaged → Invalid
no longer affects: apt-config-auto-update (Ubuntu Artful)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in apt-config-auto-update (Ubuntu):
status: New → Confirmed
Revision history for this message
Joseph Poliandro (jpoliandro1986) wrote :

sudo apt-get -f install
sudo apt-get --fix-broken install
sudo apt-get --fix-missing install
sudo dpkg --configure -a this style method in this order fixed the error for me and setup the broken packages

To post a comment you must log in.