apt upgrade fails due to existing symlink

Bug #1746987 reported by Søren Weber
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mythweb (Ubuntu)
New
Undecided
Unassigned

Bug Description

When doing "apt full-upgrade" it fails because the symbolic link: "/var/www/html/mythweb/mythweb -> /usr/share/mythtv/mythweb/" already exists.
If I delete the symbolic link "/var/www/html/mythweb/mythweb" and do an "apt full-upgrade" again it works and creates the above link.
Next time it fails again because the link is (of course!) there.

I would expect that it would check if there is a link and handle it gracefully (e.g. overwrite).
Btw this issue has been there for a long time, I just didn't report it until now (because I thought it would go away).

# lsb_release -rd
Description: Ubuntu 16.04.3 LTS
Release: 16.04

# apt-cache policy mythweb
mythweb:
  Installeret: 2:0.28.2+fixes.20180202.8238e83-0ubuntu0mythbuntu1
  Kandidat: 2:0.28.2+fixes.20180202.8238e83-0ubuntu0mythbuntu1
  Versionstabel:
 *** 2:0.28.2+fixes.20180202.8238e83-0ubuntu0mythbuntu1 500
        500 http://ppa.launchpad.net/mythbuntu/0.28/ubuntu xenial/main amd64 Packages
        500 http://ppa.launchpad.net/mythbuntu/0.28/ubuntu xenial/main i386 Packages
        100 /var/lib/dpkg/status
     2:0.28.1+fixes.20180131.3b6c6d1-0ubuntu0mythbuntu1 500
        500 http://ppa.launchpad.net/mythbuntu/0.28/ubuntu xenial/main amd64 Packages
        500 http://ppa.launchpad.net/mythbuntu/0.28/ubuntu xenial/main i386 Packages
     2:0.28.0+fixes.20160413.15cf421-0ubuntu2.16.04.1 500
        500 http://dk.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages
        500 http://dk.archive.ubuntu.com/ubuntu xenial-updates/multiverse i386 Packages
     2:0.28.0+fixes.20160413.15cf421-0ubuntu2 500
        500 http://dk.archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages
        500 http://dk.archive.ubuntu.com/ubuntu xenial/multiverse i386 Packages

Tags: apt
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.