7

When running Ubuntu 19.04, I'm trying to install ardour, but apt is requesting to uninstall GIMP:

$ sudo apt install ardour
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  gimp-data libamd2 libass9 libbabl-0.1-0 libbs2b0 libcamd2 libccolamd2 libcholmod3 libde265-0 libflite1 libgegl-common libheif1 libmetis5 libmng2 libmypaint-1.3-0 libmypaint-common libmysofa0 libnorm1
  libpgm-5.2-0 libraw19 libumfpack5 libvidstab1.1 libzmq5
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  ardour-data
Suggested packages:
  jamin
Recommended packages:
  ardour-video-timeline
The following packages will be REMOVED
  gimp gstreamer1.0-libav libavfilter7 libgegl-0.4-0 libgimp2.0 libpostproc55 libswscale5
The following NEW packages will be installed
  ardour ardour-data
0 to upgrade, 2 to newly install, 7 to remove and 1 not to upgrade.
Need to get 9,885 kB of archives.
After this operation, 20.9 MB of additional disk space will be used.
Do you want to continue? [Y/n] n

Why is apt trying to get me to uninstall GIMP (amongst other things) when trying to install ardour?

apt-cache output:

$ apt-cache policy gimp gimp-data ardour
gimp:
  Installed: 2.10.8-2
  Candidate: 2.10.8-2
  Version table:
 *** 2.10.8-2 500
        500 http://gb.archive.ubuntu.com/ubuntu disco/universe amd64 Packages
        100 /var/lib/dpkg/status
gimp-data:
  Installed: 2.10.8-2
  Candidate: 2.10.8-2
  Version table:
 *** 2.10.8-2 500
        500 http://gb.archive.ubuntu.com/ubuntu disco/universe amd64 Packages
        500 http://gb.archive.ubuntu.com/ubuntu disco/universe i386 Packages
        100 /var/lib/dpkg/status
ardour:
  Installed: (none)
  Candidate: 1:5.12.0-3
  Version table:
     1:5.12.0-3 500
        500 http://gb.archive.ubuntu.com/ubuntu disco/universe amd64 Packages

Repository list:

$ grep -r ^deb /etc/apt/ --include="*.list"
/etc/apt/sources.list:deb http://gb.archive.ubuntu.com/ubuntu/ disco main restricted
/etc/apt/sources.list:deb http://archive.ubuntu.com/ubuntu/ disco-updates main restricted
/etc/apt/sources.list:deb http://gb.archive.ubuntu.com/ubuntu/ disco universe
/etc/apt/sources.list:deb http://gb.archive.ubuntu.com/ubuntu/ disco multiverse
/etc/apt/sources.list.d/google-chrome.list:deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
/etc/apt/sources.list.d/spotify.list:deb http://repository.spotify.com stable non-free
/etc/apt/sources.list.d/vscode.list:deb [arch=amd64] http://packages.microsoft.com/repos/vscode stable main
cmannett85
  • 185
  • 6
  • I can't reproduce on clean 19.04 without PPAs and thirdparty repositories. Please add output of `apt-cache policy gimp gimp-data ardour` to the question. – N0rbert Oct 13 '19 at 08:38
  • List of repositories will be useful too, please add output of `grep -r ^deb /etc/apt/ --include="*.list"` – N0rbert Oct 13 '19 at 08:48
  • @N0rbert added. I'm wondering if Spotify has brought something in, purely speculation based on it being external and media-centric. It's also the newest repo I've added. Is there a way of non-destructively testing this hypothesis? – cmannett85 Oct 13 '19 at 08:52
  • I'll add your repositories to the test VM, and report results. First of all I would suggest to switch to Main Server in `software-properties-gtk` (see [image](https://i.stack.imgur.com/2gotd.png)) and then install latest upgrades. If problem persists - ping me again :) – N0rbert Oct 13 '19 at 08:55
  • @N0rbert sorry, no change in behaviour, though I can see that the Ubuntu repo URLs have changed to an archive.ubuntu.com prefix. Interestingly running an apt update/upgrade after the change resulted in no package updates - was that expected? – cmannett85 Oct 13 '19 at 09:02
  • Let us [continue this discussion in chat](https://chat.stackexchange.com/rooms/99834/discussion-between-n0rbert-and-cmannett85). – N0rbert Oct 13 '19 at 09:07

1 Answers1

9

The repositories list from your machine miss updates: disco-security and disco-updates.

You have to open Software & Updates (software-properties-gtk), switch to Updates tab to enable them.

Then install all upgrades and GIMP with Ardour:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install gimp arduor
N0rbert
  • 97,162
  • 34
  • 239
  • 423