Public bug reported:

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
  Installeret: 2:0.28.2+fixes.20180202.8238e83-0ubuntu0mythbuntu1
  Kandidat:    2:0.28.2+fixes.20180202.8238e83-0ubuntu0mythbuntu1
 *** 2:0.28.2+fixes.20180202.8238e83-0ubuntu0mythbuntu1 500
        500 xenial/main amd64 
        500 xenial/main i386 
        100 /var/lib/dpkg/status
     2:0.28.1+fixes.20180131.3b6c6d1-0ubuntu0mythbuntu1 500
        500 xenial/main amd64 
        500 xenial/main i386 
     2:0.28.0+fixes.20160413.15cf421-0ubuntu2.16.04.1 500
        500 xenial-updates/multiverse amd64 
        500 xenial-updates/multiverse i386 
     2:0.28.0+fixes.20160413.15cf421-0ubuntu2 500
        500 xenial/multiverse amd64 Packages
        500 xenial/multiverse i386 Packages

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

** Tags: apt

You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

  apt upgrade fails due to existing symlink

To manage notifications about this bug go to:

ubuntu-bugs mailing list

Reply via email to