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

** 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.
https://bugs.launchpad.net/bugs/1746987

Title:
  apt upgrade fails due to existing symlink

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

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

Reply via email to