ubuntu14.04 packages on bionic universe (18.04)
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I am trying to install YOURLS which needs php7.2-fpm
. However, when installing it, I get this:
The following packages have unmet dependencies.
php7.2-fpm : Depends: php7.2-common (= 7.2.10-0ubuntu0.18.04.1) but 7.2.12-1+ub
untu14.04.1+deb.sury.org+1 is to be installed
E: Unable to correct problems, you have held broken packages.
This is a machine I did update from 14.04 a while back. I appear to have a bunch of packages installed still from 14.04:
; apt list --installed | ag ubuntu14 | wc -l
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
49
How do I fix this?
Here additional information from commenter's request:
; apt-cache policy php7.2-common
php7.2-common:
Installed: 7.2.12-1+ubuntu14.04.1+deb.sury.org+1
Candidate: 7.2.12-1+ubuntu14.04.1+deb.sury.org+1
Version table:
*** 7.2.12-1+ubuntu14.04.1+deb.sury.org+1 100
100 /var/lib/dpkg/status
7.2.10-0ubuntu0.18.04.1 500
500 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
7.2.3-1ubuntu1 500
500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
and
; grep -R trusty /etc/apt
grep: /etc/apt/trusted.gpg.d/apt.postgresql.org.gpg: No such file or directory
/etc/apt/sources.list.d/apt-fast-stable-precise.list.save:1:# deb http://ppa.launchpad.net/apt-fast/stable/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/apt-fast-stable-precise.list.save:2:# deb-src http://ppa.launchpad.net/apt-fast/stable/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/ultrafredde-ppa-precise.list.save:1:# deb http://ppa.launchpad.net/ultrafredde/ppa/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/ultrafredde-ppa-precise.list.save:2:# deb-src http://ppa.launchpad.net/ultrafredde/ppa/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/neovim-ppa-unstable-trusty.list:2:# deb-src http://ppa.launchpad.net/neovim-ppa/unstable/ubuntu trusty main
/etc/apt/sources.list.d/gophers-archive-trusty.list.save:2:# deb-src http://ppa.launchpad.net/gophers/archive/ubuntu trusty main
/etc/apt/sources.list.d/apt-fast-stable-precise.list:1:# deb http://ppa.launchpad.net/apt-fast/stable/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/apt-fast-stable-precise.list:2:# deb-src http://ppa.launchpad.net/apt-fast/stable/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/nginx-stable-precise.list.distUpgrade:1:# deb http://ppa.launchpad.net/nginx/stable/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/nginx-stable-precise.list.distUpgrade:2:# deb-src http://ppa.launchpad.net/nginx/stable/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/pi-rho-dev-precise.list.distUpgrade:1:# deb http://ppa.launchpad.net/pi-rho/dev/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/pi-rho-dev-precise.list.distUpgrade:2:# deb-src http://ppa.launchpad.net/pi-rho/dev/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/neovim-ppa-unstable-trusty.list.distUpgrade:2:# deb-src http://ppa.launchpad.net/neovim-ppa/unstable/ubuntu trusty main
/etc/apt/sources.list.d/fish-shell-release-2-trusty.list.save:2:# deb-src http://ppa.launchpad.net/fish-shell/release-2/ubuntu trusty main
/etc/apt/sources.list.d/certbot-certbot-trusty.list.distUpgrade:2:# deb-src http://ppa.launchpad.net/certbot/certbot/ubuntu trusty main
/etc/apt/sources.list.d/fish-shell-release-2-trusty.list.distUpgrade:2:# deb-src http://ppa.launchpad.net/fish-shell/release-2/ubuntu trusty main
/etc/apt/sources.list.d/ultrafredde-ppa-precise.list:1:# deb http://ppa.launchpad.net/ultrafredde/ppa/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/ultrafredde-ppa-precise.list:2:# deb-src http://ppa.launchpad.net/ultrafredde/ppa/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/certbot-certbot-trusty.list.save:2:# deb-src http://ppa.launchpad.net/certbot/certbot/ubuntu trusty main
/etc/apt/sources.list.d/ultrafredde-ppa-precise.list.distUpgrade:1:# deb http://ppa.launchpad.net/ultrafredde/ppa/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/ultrafredde-ppa-precise.list.distUpgrade:2:# deb-src http://ppa.launchpad.net/ultrafredde/ppa/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/apt-fast-stable-precise.list.distUpgrade:1:# deb http://ppa.launchpad.net/apt-fast/stable/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/apt-fast-stable-precise.list.distUpgrade:2:# deb-src http://ppa.launchpad.net/apt-fast/stable/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/ondrej-php-trusty.list:2:# deb-src http://ppa.launchpad.net/ondrej/php/ubuntu trusty main
/etc/apt/sources.list.d/ondrej-php-trusty.list.save:2:# deb-src http://ppa.launchpad.net/ondrej/php/ubuntu trusty main
/etc/apt/sources.list.d/pi-rho-dev-precise.list:1:# deb http://ppa.launchpad.net/pi-rho/dev/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/pi-rho-dev-precise.list:2:# deb-src http://ppa.launchpad.net/pi-rho/dev/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/fish-shell-release-2-trusty.list:2:# deb-src http://ppa.launchpad.net/fish-shell/release-2/ubuntu trusty main
/etc/apt/sources.list.d/certbot-certbot-trusty.list:2:# deb-src http://ppa.launchpad.net/certbot/certbot/ubuntu trusty main
/etc/apt/sources.list.d/nginx-stable-precise.list:1:# deb http://ppa.launchpad.net/nginx/stable/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/nginx-stable-precise.list:2:# deb-src http://ppa.launchpad.net/nginx/stable/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/ondrej-php-trusty.list.distUpgrade:2:# deb-src http://ppa.launchpad.net/ondrej/php/ubuntu trusty main
/etc/apt/sources.list.d/git-core-ppa-trusty.list.distUpgrade:2:# deb-src http://ppa.launchpad.net/git-core/ppa/ubuntu trusty main
/etc/apt/sources.list.d/neovim-ppa-unstable-trusty.list.save:2:# deb-src http://ppa.launchpad.net/neovim-ppa/unstable/ubuntu trusty main
/etc/apt/sources.list.d/git-core-ppa-trusty.list.save:2:# deb-src http://ppa.launchpad.net/git-core/ppa/ubuntu trusty main
/etc/apt/sources.list.d/pi-rho-dev-precise.list.save:1:# deb http://ppa.launchpad.net/pi-rho/dev/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/pi-rho-dev-precise.list.save:2:# deb-src http://ppa.launchpad.net/pi-rho/dev/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/gophers-archive-trusty.list.distUpgrade:2:# deb-src http://ppa.launchpad.net/gophers/archive/ubuntu trusty main
/etc/apt/sources.list.d/nginx-stable-precise.list.save:1:# deb http://ppa.launchpad.net/nginx/stable/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/nginx-stable-precise.list.save:2:# deb-src http://ppa.launchpad.net/nginx/stable/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/git-core-ppa-trusty.list:2:# deb-src http://ppa.launchpad.net/git-core/ppa/ubuntu trusty main
/etc/apt/sources.list.d/gophers-archive-trusty.list:2:# deb-src http://ppa.launchpad.net/gophers/archive/ubuntu trusty main
/etc/apt/sources.list.bak:13:deb http://us.archive.ubuntu.com/ubuntu/ trusty main restricted
/etc/apt/sources.list.bak:14:deb-src http://us.archive.ubuntu.com/ubuntu/ trusty main restricted
/etc/apt/sources.list.bak:18:deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
/etc/apt/sources.list.bak:19:deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
/etc/apt/sources.list.bak:24:deb http://us.archive.ubuntu.com/ubuntu/ trusty universe
/etc/apt/sources.list.bak:25:deb-src http://us.archive.ubuntu.com/ubuntu/ trusty universe
/etc/apt/sources.list.bak:26:deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates universe
/etc/apt/sources.list.bak:27:deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates universe
/etc/apt/sources.list.bak:34:deb http://us.archive.ubuntu.com/ubuntu/ trusty multiverse
/etc/apt/sources.list.bak:35:deb-src http://us.archive.ubuntu.com/ubuntu/ trusty multiverse
/etc/apt/sources.list.bak:36:deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
/etc/apt/sources.list.bak:37:deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
/etc/apt/sources.list.bak:44:deb http://us.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
/etc/apt/sources.list.bak:45:deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
/etc/apt/sources.list.bak:47:deb http://security.ubuntu.com/ubuntu trusty-security main restricted
/etc/apt/sources.list.bak:48:deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted
/etc/apt/sources.list.bak:49:deb http://security.ubuntu.com/ubuntu trusty-security universe
/etc/apt/sources.list.bak:50:deb-src http://security.ubuntu.com/ubuntu trusty-security universe
/etc/apt/sources.list.bak:51:deb http://security.ubuntu.com/ubuntu trusty-security multiverse
/etc/apt/sources.list.bak:52:deb-src http://security.ubuntu.com/ubuntu trusty-security multiverse
However:
; apt update
Hit:1 http://ppa.launchpad.net/certbot/certbot/ubuntu bionic InRelease
Hit:2 http://ppa.launchpad.net/neovim-ppa/stable/ubuntu bionic InRelease
Get:3 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Hit:4 http://us.archive.ubuntu.com/ubuntu bionic InRelease
Get:5 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Fetched 252 kB in 1s (253 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up-to-date.
14.04 apt 18.04 package-management software-installation
add a comment |
I am trying to install YOURLS which needs php7.2-fpm
. However, when installing it, I get this:
The following packages have unmet dependencies.
php7.2-fpm : Depends: php7.2-common (= 7.2.10-0ubuntu0.18.04.1) but 7.2.12-1+ub
untu14.04.1+deb.sury.org+1 is to be installed
E: Unable to correct problems, you have held broken packages.
This is a machine I did update from 14.04 a while back. I appear to have a bunch of packages installed still from 14.04:
; apt list --installed | ag ubuntu14 | wc -l
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
49
How do I fix this?
Here additional information from commenter's request:
; apt-cache policy php7.2-common
php7.2-common:
Installed: 7.2.12-1+ubuntu14.04.1+deb.sury.org+1
Candidate: 7.2.12-1+ubuntu14.04.1+deb.sury.org+1
Version table:
*** 7.2.12-1+ubuntu14.04.1+deb.sury.org+1 100
100 /var/lib/dpkg/status
7.2.10-0ubuntu0.18.04.1 500
500 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
7.2.3-1ubuntu1 500
500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
and
; grep -R trusty /etc/apt
grep: /etc/apt/trusted.gpg.d/apt.postgresql.org.gpg: No such file or directory
/etc/apt/sources.list.d/apt-fast-stable-precise.list.save:1:# deb http://ppa.launchpad.net/apt-fast/stable/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/apt-fast-stable-precise.list.save:2:# deb-src http://ppa.launchpad.net/apt-fast/stable/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/ultrafredde-ppa-precise.list.save:1:# deb http://ppa.launchpad.net/ultrafredde/ppa/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/ultrafredde-ppa-precise.list.save:2:# deb-src http://ppa.launchpad.net/ultrafredde/ppa/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/neovim-ppa-unstable-trusty.list:2:# deb-src http://ppa.launchpad.net/neovim-ppa/unstable/ubuntu trusty main
/etc/apt/sources.list.d/gophers-archive-trusty.list.save:2:# deb-src http://ppa.launchpad.net/gophers/archive/ubuntu trusty main
/etc/apt/sources.list.d/apt-fast-stable-precise.list:1:# deb http://ppa.launchpad.net/apt-fast/stable/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/apt-fast-stable-precise.list:2:# deb-src http://ppa.launchpad.net/apt-fast/stable/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/nginx-stable-precise.list.distUpgrade:1:# deb http://ppa.launchpad.net/nginx/stable/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/nginx-stable-precise.list.distUpgrade:2:# deb-src http://ppa.launchpad.net/nginx/stable/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/pi-rho-dev-precise.list.distUpgrade:1:# deb http://ppa.launchpad.net/pi-rho/dev/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/pi-rho-dev-precise.list.distUpgrade:2:# deb-src http://ppa.launchpad.net/pi-rho/dev/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/neovim-ppa-unstable-trusty.list.distUpgrade:2:# deb-src http://ppa.launchpad.net/neovim-ppa/unstable/ubuntu trusty main
/etc/apt/sources.list.d/fish-shell-release-2-trusty.list.save:2:# deb-src http://ppa.launchpad.net/fish-shell/release-2/ubuntu trusty main
/etc/apt/sources.list.d/certbot-certbot-trusty.list.distUpgrade:2:# deb-src http://ppa.launchpad.net/certbot/certbot/ubuntu trusty main
/etc/apt/sources.list.d/fish-shell-release-2-trusty.list.distUpgrade:2:# deb-src http://ppa.launchpad.net/fish-shell/release-2/ubuntu trusty main
/etc/apt/sources.list.d/ultrafredde-ppa-precise.list:1:# deb http://ppa.launchpad.net/ultrafredde/ppa/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/ultrafredde-ppa-precise.list:2:# deb-src http://ppa.launchpad.net/ultrafredde/ppa/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/certbot-certbot-trusty.list.save:2:# deb-src http://ppa.launchpad.net/certbot/certbot/ubuntu trusty main
/etc/apt/sources.list.d/ultrafredde-ppa-precise.list.distUpgrade:1:# deb http://ppa.launchpad.net/ultrafredde/ppa/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/ultrafredde-ppa-precise.list.distUpgrade:2:# deb-src http://ppa.launchpad.net/ultrafredde/ppa/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/apt-fast-stable-precise.list.distUpgrade:1:# deb http://ppa.launchpad.net/apt-fast/stable/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/apt-fast-stable-precise.list.distUpgrade:2:# deb-src http://ppa.launchpad.net/apt-fast/stable/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/ondrej-php-trusty.list:2:# deb-src http://ppa.launchpad.net/ondrej/php/ubuntu trusty main
/etc/apt/sources.list.d/ondrej-php-trusty.list.save:2:# deb-src http://ppa.launchpad.net/ondrej/php/ubuntu trusty main
/etc/apt/sources.list.d/pi-rho-dev-precise.list:1:# deb http://ppa.launchpad.net/pi-rho/dev/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/pi-rho-dev-precise.list:2:# deb-src http://ppa.launchpad.net/pi-rho/dev/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/fish-shell-release-2-trusty.list:2:# deb-src http://ppa.launchpad.net/fish-shell/release-2/ubuntu trusty main
/etc/apt/sources.list.d/certbot-certbot-trusty.list:2:# deb-src http://ppa.launchpad.net/certbot/certbot/ubuntu trusty main
/etc/apt/sources.list.d/nginx-stable-precise.list:1:# deb http://ppa.launchpad.net/nginx/stable/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/nginx-stable-precise.list:2:# deb-src http://ppa.launchpad.net/nginx/stable/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/ondrej-php-trusty.list.distUpgrade:2:# deb-src http://ppa.launchpad.net/ondrej/php/ubuntu trusty main
/etc/apt/sources.list.d/git-core-ppa-trusty.list.distUpgrade:2:# deb-src http://ppa.launchpad.net/git-core/ppa/ubuntu trusty main
/etc/apt/sources.list.d/neovim-ppa-unstable-trusty.list.save:2:# deb-src http://ppa.launchpad.net/neovim-ppa/unstable/ubuntu trusty main
/etc/apt/sources.list.d/git-core-ppa-trusty.list.save:2:# deb-src http://ppa.launchpad.net/git-core/ppa/ubuntu trusty main
/etc/apt/sources.list.d/pi-rho-dev-precise.list.save:1:# deb http://ppa.launchpad.net/pi-rho/dev/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/pi-rho-dev-precise.list.save:2:# deb-src http://ppa.launchpad.net/pi-rho/dev/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/gophers-archive-trusty.list.distUpgrade:2:# deb-src http://ppa.launchpad.net/gophers/archive/ubuntu trusty main
/etc/apt/sources.list.d/nginx-stable-precise.list.save:1:# deb http://ppa.launchpad.net/nginx/stable/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/nginx-stable-precise.list.save:2:# deb-src http://ppa.launchpad.net/nginx/stable/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/git-core-ppa-trusty.list:2:# deb-src http://ppa.launchpad.net/git-core/ppa/ubuntu trusty main
/etc/apt/sources.list.d/gophers-archive-trusty.list:2:# deb-src http://ppa.launchpad.net/gophers/archive/ubuntu trusty main
/etc/apt/sources.list.bak:13:deb http://us.archive.ubuntu.com/ubuntu/ trusty main restricted
/etc/apt/sources.list.bak:14:deb-src http://us.archive.ubuntu.com/ubuntu/ trusty main restricted
/etc/apt/sources.list.bak:18:deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
/etc/apt/sources.list.bak:19:deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
/etc/apt/sources.list.bak:24:deb http://us.archive.ubuntu.com/ubuntu/ trusty universe
/etc/apt/sources.list.bak:25:deb-src http://us.archive.ubuntu.com/ubuntu/ trusty universe
/etc/apt/sources.list.bak:26:deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates universe
/etc/apt/sources.list.bak:27:deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates universe
/etc/apt/sources.list.bak:34:deb http://us.archive.ubuntu.com/ubuntu/ trusty multiverse
/etc/apt/sources.list.bak:35:deb-src http://us.archive.ubuntu.com/ubuntu/ trusty multiverse
/etc/apt/sources.list.bak:36:deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
/etc/apt/sources.list.bak:37:deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
/etc/apt/sources.list.bak:44:deb http://us.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
/etc/apt/sources.list.bak:45:deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
/etc/apt/sources.list.bak:47:deb http://security.ubuntu.com/ubuntu trusty-security main restricted
/etc/apt/sources.list.bak:48:deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted
/etc/apt/sources.list.bak:49:deb http://security.ubuntu.com/ubuntu trusty-security universe
/etc/apt/sources.list.bak:50:deb-src http://security.ubuntu.com/ubuntu trusty-security universe
/etc/apt/sources.list.bak:51:deb http://security.ubuntu.com/ubuntu trusty-security multiverse
/etc/apt/sources.list.bak:52:deb-src http://security.ubuntu.com/ubuntu trusty-security multiverse
However:
; apt update
Hit:1 http://ppa.launchpad.net/certbot/certbot/ubuntu bionic InRelease
Hit:2 http://ppa.launchpad.net/neovim-ppa/stable/ubuntu bionic InRelease
Get:3 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Hit:4 http://us.archive.ubuntu.com/ubuntu bionic InRelease
Get:5 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Fetched 252 kB in 1s (253 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up-to-date.
14.04 apt 18.04 package-management software-installation
That is one of the drawbacks of doing and upgrade some stuff get's left behind. You might try running the following command and see if it clears the problem sudo dpkg --configure -a
– kc1di
Feb 11 at 12:24
@kc1di Tried it, it did nothing but did return 0.
– Sardathrion
Feb 11 at 12:36
add a comment |
I am trying to install YOURLS which needs php7.2-fpm
. However, when installing it, I get this:
The following packages have unmet dependencies.
php7.2-fpm : Depends: php7.2-common (= 7.2.10-0ubuntu0.18.04.1) but 7.2.12-1+ub
untu14.04.1+deb.sury.org+1 is to be installed
E: Unable to correct problems, you have held broken packages.
This is a machine I did update from 14.04 a while back. I appear to have a bunch of packages installed still from 14.04:
; apt list --installed | ag ubuntu14 | wc -l
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
49
How do I fix this?
Here additional information from commenter's request:
; apt-cache policy php7.2-common
php7.2-common:
Installed: 7.2.12-1+ubuntu14.04.1+deb.sury.org+1
Candidate: 7.2.12-1+ubuntu14.04.1+deb.sury.org+1
Version table:
*** 7.2.12-1+ubuntu14.04.1+deb.sury.org+1 100
100 /var/lib/dpkg/status
7.2.10-0ubuntu0.18.04.1 500
500 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
7.2.3-1ubuntu1 500
500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
and
; grep -R trusty /etc/apt
grep: /etc/apt/trusted.gpg.d/apt.postgresql.org.gpg: No such file or directory
/etc/apt/sources.list.d/apt-fast-stable-precise.list.save:1:# deb http://ppa.launchpad.net/apt-fast/stable/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/apt-fast-stable-precise.list.save:2:# deb-src http://ppa.launchpad.net/apt-fast/stable/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/ultrafredde-ppa-precise.list.save:1:# deb http://ppa.launchpad.net/ultrafredde/ppa/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/ultrafredde-ppa-precise.list.save:2:# deb-src http://ppa.launchpad.net/ultrafredde/ppa/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/neovim-ppa-unstable-trusty.list:2:# deb-src http://ppa.launchpad.net/neovim-ppa/unstable/ubuntu trusty main
/etc/apt/sources.list.d/gophers-archive-trusty.list.save:2:# deb-src http://ppa.launchpad.net/gophers/archive/ubuntu trusty main
/etc/apt/sources.list.d/apt-fast-stable-precise.list:1:# deb http://ppa.launchpad.net/apt-fast/stable/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/apt-fast-stable-precise.list:2:# deb-src http://ppa.launchpad.net/apt-fast/stable/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/nginx-stable-precise.list.distUpgrade:1:# deb http://ppa.launchpad.net/nginx/stable/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/nginx-stable-precise.list.distUpgrade:2:# deb-src http://ppa.launchpad.net/nginx/stable/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/pi-rho-dev-precise.list.distUpgrade:1:# deb http://ppa.launchpad.net/pi-rho/dev/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/pi-rho-dev-precise.list.distUpgrade:2:# deb-src http://ppa.launchpad.net/pi-rho/dev/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/neovim-ppa-unstable-trusty.list.distUpgrade:2:# deb-src http://ppa.launchpad.net/neovim-ppa/unstable/ubuntu trusty main
/etc/apt/sources.list.d/fish-shell-release-2-trusty.list.save:2:# deb-src http://ppa.launchpad.net/fish-shell/release-2/ubuntu trusty main
/etc/apt/sources.list.d/certbot-certbot-trusty.list.distUpgrade:2:# deb-src http://ppa.launchpad.net/certbot/certbot/ubuntu trusty main
/etc/apt/sources.list.d/fish-shell-release-2-trusty.list.distUpgrade:2:# deb-src http://ppa.launchpad.net/fish-shell/release-2/ubuntu trusty main
/etc/apt/sources.list.d/ultrafredde-ppa-precise.list:1:# deb http://ppa.launchpad.net/ultrafredde/ppa/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/ultrafredde-ppa-precise.list:2:# deb-src http://ppa.launchpad.net/ultrafredde/ppa/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/certbot-certbot-trusty.list.save:2:# deb-src http://ppa.launchpad.net/certbot/certbot/ubuntu trusty main
/etc/apt/sources.list.d/ultrafredde-ppa-precise.list.distUpgrade:1:# deb http://ppa.launchpad.net/ultrafredde/ppa/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/ultrafredde-ppa-precise.list.distUpgrade:2:# deb-src http://ppa.launchpad.net/ultrafredde/ppa/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/apt-fast-stable-precise.list.distUpgrade:1:# deb http://ppa.launchpad.net/apt-fast/stable/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/apt-fast-stable-precise.list.distUpgrade:2:# deb-src http://ppa.launchpad.net/apt-fast/stable/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/ondrej-php-trusty.list:2:# deb-src http://ppa.launchpad.net/ondrej/php/ubuntu trusty main
/etc/apt/sources.list.d/ondrej-php-trusty.list.save:2:# deb-src http://ppa.launchpad.net/ondrej/php/ubuntu trusty main
/etc/apt/sources.list.d/pi-rho-dev-precise.list:1:# deb http://ppa.launchpad.net/pi-rho/dev/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/pi-rho-dev-precise.list:2:# deb-src http://ppa.launchpad.net/pi-rho/dev/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/fish-shell-release-2-trusty.list:2:# deb-src http://ppa.launchpad.net/fish-shell/release-2/ubuntu trusty main
/etc/apt/sources.list.d/certbot-certbot-trusty.list:2:# deb-src http://ppa.launchpad.net/certbot/certbot/ubuntu trusty main
/etc/apt/sources.list.d/nginx-stable-precise.list:1:# deb http://ppa.launchpad.net/nginx/stable/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/nginx-stable-precise.list:2:# deb-src http://ppa.launchpad.net/nginx/stable/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/ondrej-php-trusty.list.distUpgrade:2:# deb-src http://ppa.launchpad.net/ondrej/php/ubuntu trusty main
/etc/apt/sources.list.d/git-core-ppa-trusty.list.distUpgrade:2:# deb-src http://ppa.launchpad.net/git-core/ppa/ubuntu trusty main
/etc/apt/sources.list.d/neovim-ppa-unstable-trusty.list.save:2:# deb-src http://ppa.launchpad.net/neovim-ppa/unstable/ubuntu trusty main
/etc/apt/sources.list.d/git-core-ppa-trusty.list.save:2:# deb-src http://ppa.launchpad.net/git-core/ppa/ubuntu trusty main
/etc/apt/sources.list.d/pi-rho-dev-precise.list.save:1:# deb http://ppa.launchpad.net/pi-rho/dev/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/pi-rho-dev-precise.list.save:2:# deb-src http://ppa.launchpad.net/pi-rho/dev/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/gophers-archive-trusty.list.distUpgrade:2:# deb-src http://ppa.launchpad.net/gophers/archive/ubuntu trusty main
/etc/apt/sources.list.d/nginx-stable-precise.list.save:1:# deb http://ppa.launchpad.net/nginx/stable/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/nginx-stable-precise.list.save:2:# deb-src http://ppa.launchpad.net/nginx/stable/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/git-core-ppa-trusty.list:2:# deb-src http://ppa.launchpad.net/git-core/ppa/ubuntu trusty main
/etc/apt/sources.list.d/gophers-archive-trusty.list:2:# deb-src http://ppa.launchpad.net/gophers/archive/ubuntu trusty main
/etc/apt/sources.list.bak:13:deb http://us.archive.ubuntu.com/ubuntu/ trusty main restricted
/etc/apt/sources.list.bak:14:deb-src http://us.archive.ubuntu.com/ubuntu/ trusty main restricted
/etc/apt/sources.list.bak:18:deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
/etc/apt/sources.list.bak:19:deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
/etc/apt/sources.list.bak:24:deb http://us.archive.ubuntu.com/ubuntu/ trusty universe
/etc/apt/sources.list.bak:25:deb-src http://us.archive.ubuntu.com/ubuntu/ trusty universe
/etc/apt/sources.list.bak:26:deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates universe
/etc/apt/sources.list.bak:27:deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates universe
/etc/apt/sources.list.bak:34:deb http://us.archive.ubuntu.com/ubuntu/ trusty multiverse
/etc/apt/sources.list.bak:35:deb-src http://us.archive.ubuntu.com/ubuntu/ trusty multiverse
/etc/apt/sources.list.bak:36:deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
/etc/apt/sources.list.bak:37:deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
/etc/apt/sources.list.bak:44:deb http://us.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
/etc/apt/sources.list.bak:45:deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
/etc/apt/sources.list.bak:47:deb http://security.ubuntu.com/ubuntu trusty-security main restricted
/etc/apt/sources.list.bak:48:deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted
/etc/apt/sources.list.bak:49:deb http://security.ubuntu.com/ubuntu trusty-security universe
/etc/apt/sources.list.bak:50:deb-src http://security.ubuntu.com/ubuntu trusty-security universe
/etc/apt/sources.list.bak:51:deb http://security.ubuntu.com/ubuntu trusty-security multiverse
/etc/apt/sources.list.bak:52:deb-src http://security.ubuntu.com/ubuntu trusty-security multiverse
However:
; apt update
Hit:1 http://ppa.launchpad.net/certbot/certbot/ubuntu bionic InRelease
Hit:2 http://ppa.launchpad.net/neovim-ppa/stable/ubuntu bionic InRelease
Get:3 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Hit:4 http://us.archive.ubuntu.com/ubuntu bionic InRelease
Get:5 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Fetched 252 kB in 1s (253 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up-to-date.
14.04 apt 18.04 package-management software-installation
I am trying to install YOURLS which needs php7.2-fpm
. However, when installing it, I get this:
The following packages have unmet dependencies.
php7.2-fpm : Depends: php7.2-common (= 7.2.10-0ubuntu0.18.04.1) but 7.2.12-1+ub
untu14.04.1+deb.sury.org+1 is to be installed
E: Unable to correct problems, you have held broken packages.
This is a machine I did update from 14.04 a while back. I appear to have a bunch of packages installed still from 14.04:
; apt list --installed | ag ubuntu14 | wc -l
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
49
How do I fix this?
Here additional information from commenter's request:
; apt-cache policy php7.2-common
php7.2-common:
Installed: 7.2.12-1+ubuntu14.04.1+deb.sury.org+1
Candidate: 7.2.12-1+ubuntu14.04.1+deb.sury.org+1
Version table:
*** 7.2.12-1+ubuntu14.04.1+deb.sury.org+1 100
100 /var/lib/dpkg/status
7.2.10-0ubuntu0.18.04.1 500
500 http://us.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages
7.2.3-1ubuntu1 500
500 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
and
; grep -R trusty /etc/apt
grep: /etc/apt/trusted.gpg.d/apt.postgresql.org.gpg: No such file or directory
/etc/apt/sources.list.d/apt-fast-stable-precise.list.save:1:# deb http://ppa.launchpad.net/apt-fast/stable/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/apt-fast-stable-precise.list.save:2:# deb-src http://ppa.launchpad.net/apt-fast/stable/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/ultrafredde-ppa-precise.list.save:1:# deb http://ppa.launchpad.net/ultrafredde/ppa/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/ultrafredde-ppa-precise.list.save:2:# deb-src http://ppa.launchpad.net/ultrafredde/ppa/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/neovim-ppa-unstable-trusty.list:2:# deb-src http://ppa.launchpad.net/neovim-ppa/unstable/ubuntu trusty main
/etc/apt/sources.list.d/gophers-archive-trusty.list.save:2:# deb-src http://ppa.launchpad.net/gophers/archive/ubuntu trusty main
/etc/apt/sources.list.d/apt-fast-stable-precise.list:1:# deb http://ppa.launchpad.net/apt-fast/stable/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/apt-fast-stable-precise.list:2:# deb-src http://ppa.launchpad.net/apt-fast/stable/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/nginx-stable-precise.list.distUpgrade:1:# deb http://ppa.launchpad.net/nginx/stable/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/nginx-stable-precise.list.distUpgrade:2:# deb-src http://ppa.launchpad.net/nginx/stable/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/pi-rho-dev-precise.list.distUpgrade:1:# deb http://ppa.launchpad.net/pi-rho/dev/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/pi-rho-dev-precise.list.distUpgrade:2:# deb-src http://ppa.launchpad.net/pi-rho/dev/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/neovim-ppa-unstable-trusty.list.distUpgrade:2:# deb-src http://ppa.launchpad.net/neovim-ppa/unstable/ubuntu trusty main
/etc/apt/sources.list.d/fish-shell-release-2-trusty.list.save:2:# deb-src http://ppa.launchpad.net/fish-shell/release-2/ubuntu trusty main
/etc/apt/sources.list.d/certbot-certbot-trusty.list.distUpgrade:2:# deb-src http://ppa.launchpad.net/certbot/certbot/ubuntu trusty main
/etc/apt/sources.list.d/fish-shell-release-2-trusty.list.distUpgrade:2:# deb-src http://ppa.launchpad.net/fish-shell/release-2/ubuntu trusty main
/etc/apt/sources.list.d/ultrafredde-ppa-precise.list:1:# deb http://ppa.launchpad.net/ultrafredde/ppa/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/ultrafredde-ppa-precise.list:2:# deb-src http://ppa.launchpad.net/ultrafredde/ppa/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/certbot-certbot-trusty.list.save:2:# deb-src http://ppa.launchpad.net/certbot/certbot/ubuntu trusty main
/etc/apt/sources.list.d/ultrafredde-ppa-precise.list.distUpgrade:1:# deb http://ppa.launchpad.net/ultrafredde/ppa/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/ultrafredde-ppa-precise.list.distUpgrade:2:# deb-src http://ppa.launchpad.net/ultrafredde/ppa/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/apt-fast-stable-precise.list.distUpgrade:1:# deb http://ppa.launchpad.net/apt-fast/stable/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/apt-fast-stable-precise.list.distUpgrade:2:# deb-src http://ppa.launchpad.net/apt-fast/stable/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/ondrej-php-trusty.list:2:# deb-src http://ppa.launchpad.net/ondrej/php/ubuntu trusty main
/etc/apt/sources.list.d/ondrej-php-trusty.list.save:2:# deb-src http://ppa.launchpad.net/ondrej/php/ubuntu trusty main
/etc/apt/sources.list.d/pi-rho-dev-precise.list:1:# deb http://ppa.launchpad.net/pi-rho/dev/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/pi-rho-dev-precise.list:2:# deb-src http://ppa.launchpad.net/pi-rho/dev/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/fish-shell-release-2-trusty.list:2:# deb-src http://ppa.launchpad.net/fish-shell/release-2/ubuntu trusty main
/etc/apt/sources.list.d/certbot-certbot-trusty.list:2:# deb-src http://ppa.launchpad.net/certbot/certbot/ubuntu trusty main
/etc/apt/sources.list.d/nginx-stable-precise.list:1:# deb http://ppa.launchpad.net/nginx/stable/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/nginx-stable-precise.list:2:# deb-src http://ppa.launchpad.net/nginx/stable/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/ondrej-php-trusty.list.distUpgrade:2:# deb-src http://ppa.launchpad.net/ondrej/php/ubuntu trusty main
/etc/apt/sources.list.d/git-core-ppa-trusty.list.distUpgrade:2:# deb-src http://ppa.launchpad.net/git-core/ppa/ubuntu trusty main
/etc/apt/sources.list.d/neovim-ppa-unstable-trusty.list.save:2:# deb-src http://ppa.launchpad.net/neovim-ppa/unstable/ubuntu trusty main
/etc/apt/sources.list.d/git-core-ppa-trusty.list.save:2:# deb-src http://ppa.launchpad.net/git-core/ppa/ubuntu trusty main
/etc/apt/sources.list.d/pi-rho-dev-precise.list.save:1:# deb http://ppa.launchpad.net/pi-rho/dev/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/pi-rho-dev-precise.list.save:2:# deb-src http://ppa.launchpad.net/pi-rho/dev/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/gophers-archive-trusty.list.distUpgrade:2:# deb-src http://ppa.launchpad.net/gophers/archive/ubuntu trusty main
/etc/apt/sources.list.d/nginx-stable-precise.list.save:1:# deb http://ppa.launchpad.net/nginx/stable/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/nginx-stable-precise.list.save:2:# deb-src http://ppa.launchpad.net/nginx/stable/ubuntu trusty main # disabled on upgrade to trusty
/etc/apt/sources.list.d/git-core-ppa-trusty.list:2:# deb-src http://ppa.launchpad.net/git-core/ppa/ubuntu trusty main
/etc/apt/sources.list.d/gophers-archive-trusty.list:2:# deb-src http://ppa.launchpad.net/gophers/archive/ubuntu trusty main
/etc/apt/sources.list.bak:13:deb http://us.archive.ubuntu.com/ubuntu/ trusty main restricted
/etc/apt/sources.list.bak:14:deb-src http://us.archive.ubuntu.com/ubuntu/ trusty main restricted
/etc/apt/sources.list.bak:18:deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
/etc/apt/sources.list.bak:19:deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
/etc/apt/sources.list.bak:24:deb http://us.archive.ubuntu.com/ubuntu/ trusty universe
/etc/apt/sources.list.bak:25:deb-src http://us.archive.ubuntu.com/ubuntu/ trusty universe
/etc/apt/sources.list.bak:26:deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates universe
/etc/apt/sources.list.bak:27:deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates universe
/etc/apt/sources.list.bak:34:deb http://us.archive.ubuntu.com/ubuntu/ trusty multiverse
/etc/apt/sources.list.bak:35:deb-src http://us.archive.ubuntu.com/ubuntu/ trusty multiverse
/etc/apt/sources.list.bak:36:deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
/etc/apt/sources.list.bak:37:deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
/etc/apt/sources.list.bak:44:deb http://us.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
/etc/apt/sources.list.bak:45:deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
/etc/apt/sources.list.bak:47:deb http://security.ubuntu.com/ubuntu trusty-security main restricted
/etc/apt/sources.list.bak:48:deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted
/etc/apt/sources.list.bak:49:deb http://security.ubuntu.com/ubuntu trusty-security universe
/etc/apt/sources.list.bak:50:deb-src http://security.ubuntu.com/ubuntu trusty-security universe
/etc/apt/sources.list.bak:51:deb http://security.ubuntu.com/ubuntu trusty-security multiverse
/etc/apt/sources.list.bak:52:deb-src http://security.ubuntu.com/ubuntu trusty-security multiverse
However:
; apt update
Hit:1 http://ppa.launchpad.net/certbot/certbot/ubuntu bionic InRelease
Hit:2 http://ppa.launchpad.net/neovim-ppa/stable/ubuntu bionic InRelease
Get:3 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Hit:4 http://us.archive.ubuntu.com/ubuntu bionic InRelease
Get:5 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Fetched 252 kB in 1s (253 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up-to-date.
14.04 apt 18.04 package-management software-installation
14.04 apt 18.04 package-management software-installation
edited Feb 11 at 12:44
Melebius
5,09352041
5,09352041
asked Feb 11 at 11:47
SardathrionSardathrion
2012419
2012419
That is one of the drawbacks of doing and upgrade some stuff get's left behind. You might try running the following command and see if it clears the problem sudo dpkg --configure -a
– kc1di
Feb 11 at 12:24
@kc1di Tried it, it did nothing but did return 0.
– Sardathrion
Feb 11 at 12:36
add a comment |
That is one of the drawbacks of doing and upgrade some stuff get's left behind. You might try running the following command and see if it clears the problem sudo dpkg --configure -a
– kc1di
Feb 11 at 12:24
@kc1di Tried it, it did nothing but did return 0.
– Sardathrion
Feb 11 at 12:36
That is one of the drawbacks of doing and upgrade some stuff get's left behind. You might try running the following command and see if it clears the problem sudo dpkg --configure -a
– kc1di
Feb 11 at 12:24
That is one of the drawbacks of doing and upgrade some stuff get's left behind. You might try running the following command and see if it clears the problem sudo dpkg --configure -a
– kc1di
Feb 11 at 12:24
@kc1di Tried it, it did nothing but did return 0.
– Sardathrion
Feb 11 at 12:36
@kc1di Tried it, it did nothing but did return 0.
– Sardathrion
Feb 11 at 12:36
add a comment |
1 Answer
1
active
oldest
votes
The key clue here is in the apt-cache output:
*** 7.2.12-1+ubuntu14.04.1+deb.sury.org+1 100
100 /var/lib/dpkg/status
1) This means that the package is NOT provided by any enabled sources, yet it's in your local /var/cache/apt/archives.
2) Looking at the way the package is named, looks like the package is from some non-Ubuntu source.
The most likely way it got into your local cache is that you had a non-Ubuntu source enabled sometime in the past. When you disabled the non-Ubuntu source, seems like you perhaps forgot to uninstall the packages from that source.
Happily, it's usually quite easy to fix: Uninstall all the non-Ubuntu packages and return to stock Ubuntu. Then apt will work properly again.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1117345%2fubuntu14-04-packages-on-bionic-universe-18-04%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
The key clue here is in the apt-cache output:
*** 7.2.12-1+ubuntu14.04.1+deb.sury.org+1 100
100 /var/lib/dpkg/status
1) This means that the package is NOT provided by any enabled sources, yet it's in your local /var/cache/apt/archives.
2) Looking at the way the package is named, looks like the package is from some non-Ubuntu source.
The most likely way it got into your local cache is that you had a non-Ubuntu source enabled sometime in the past. When you disabled the non-Ubuntu source, seems like you perhaps forgot to uninstall the packages from that source.
Happily, it's usually quite easy to fix: Uninstall all the non-Ubuntu packages and return to stock Ubuntu. Then apt will work properly again.
add a comment |
The key clue here is in the apt-cache output:
*** 7.2.12-1+ubuntu14.04.1+deb.sury.org+1 100
100 /var/lib/dpkg/status
1) This means that the package is NOT provided by any enabled sources, yet it's in your local /var/cache/apt/archives.
2) Looking at the way the package is named, looks like the package is from some non-Ubuntu source.
The most likely way it got into your local cache is that you had a non-Ubuntu source enabled sometime in the past. When you disabled the non-Ubuntu source, seems like you perhaps forgot to uninstall the packages from that source.
Happily, it's usually quite easy to fix: Uninstall all the non-Ubuntu packages and return to stock Ubuntu. Then apt will work properly again.
add a comment |
The key clue here is in the apt-cache output:
*** 7.2.12-1+ubuntu14.04.1+deb.sury.org+1 100
100 /var/lib/dpkg/status
1) This means that the package is NOT provided by any enabled sources, yet it's in your local /var/cache/apt/archives.
2) Looking at the way the package is named, looks like the package is from some non-Ubuntu source.
The most likely way it got into your local cache is that you had a non-Ubuntu source enabled sometime in the past. When you disabled the non-Ubuntu source, seems like you perhaps forgot to uninstall the packages from that source.
Happily, it's usually quite easy to fix: Uninstall all the non-Ubuntu packages and return to stock Ubuntu. Then apt will work properly again.
The key clue here is in the apt-cache output:
*** 7.2.12-1+ubuntu14.04.1+deb.sury.org+1 100
100 /var/lib/dpkg/status
1) This means that the package is NOT provided by any enabled sources, yet it's in your local /var/cache/apt/archives.
2) Looking at the way the package is named, looks like the package is from some non-Ubuntu source.
The most likely way it got into your local cache is that you had a non-Ubuntu source enabled sometime in the past. When you disabled the non-Ubuntu source, seems like you perhaps forgot to uninstall the packages from that source.
Happily, it's usually quite easy to fix: Uninstall all the non-Ubuntu packages and return to stock Ubuntu. Then apt will work properly again.
answered Feb 11 at 14:53
user535733user535733
8,96623044
8,96623044
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1117345%2fubuntu14-04-packages-on-bionic-universe-18-04%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
That is one of the drawbacks of doing and upgrade some stuff get's left behind. You might try running the following command and see if it clears the problem sudo dpkg --configure -a
– kc1di
Feb 11 at 12:24
@kc1di Tried it, it did nothing but did return 0.
– Sardathrion
Feb 11 at 12:36