Public bug reported:

The ppa package does conflict with regular package installed (redshift &
redshift-gtk). The conflict happens when redshift and redshift-gtk are
installed before the ppa package is installed. The package redshift-gtk
provides '/usr/bin/gtk-redshift' and then conflicts with redshift from
ppa as they both try to install this file.

I suggest using "Conflicts: redshift-gtk" and "Replaces: redshift-gtk"
to avoid problem.

$ lsb_release -rd
Description:    Ubuntu 11.04
Release:        11.04

$ apt-cache policy redshift
redshift:
  Installed: 1.7-0ubuntu1
  Candidate: 1.7-0ubuntu1
  Version table:
 *** 1.7-0ubuntu1 0
        500 http://ppa.launchpad.net/jonls/redshift-ppa/ubuntu/ natty/main 
amd64 Packages
        100 /var/lib/dpkg/status
     1.6-1ubuntu1 0
        500 http://archive.ubuntu.com/ubuntu/ natty/universe amd64 Packages

ProblemType: Package
DistroRelease: Ubuntu 11.04
Package: gtk-redshift (not installed)
ProcVersionSignature: Ubuntu 2.6.38-13.52-generic 2.6.38.8
Uname: Linux 2.6.38-13-generic x86_64
AptOrdering:
 redshift: Install
 gtk-redshift: Install
 redshift: Configure
 gtk-redshift: Configure
Architecture: amd64
Date: Wed Dec 14 12:45:00 2011
DpkgTerminalLog:
 Unpacking redshift (from .../redshift_1.7-0ubuntu1_amd64.deb) ...
 Selecting previously deselected package gtk-redshift.
 Unpacking gtk-redshift (from .../gtk-redshift_1.6-1ubuntu1_all.deb) ...
 dpkg: error processing 
/var/cache/apt/archives/gtk-redshift_1.6-1ubuntu1_all.deb (--unpack):
  trying to overwrite '/usr/bin/gtk-redshift', which is also in package 
redshift 1.7-0ubuntu1
ErrorMessage: trying to overwrite '/usr/bin/gtk-redshift', which is also in 
package redshift 1.7-0ubuntu1
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110426)
SourcePackage: redshift
Title: package gtk-redshift (not installed) failed to install/upgrade: trying 
to overwrite '/usr/bin/gtk-redshift', which is also in package redshift 
1.7-0ubuntu1
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: redshift (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-package natty

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/906144

Title:
  package gtk-redshift  not installed  failed to install/upgrade: trying
  to overwrite  /usr/bin/gtk-redshift , which is also in package
  redshift 1.7-0ubuntu1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/redshift/+bug/906144/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to