Linux apt-get update I get “unmet dependency error” Ubuntu 16.04
Why I am not able to install a few packages in my Ubuntu 16.04
If i try: sudo apt-get install update
i get:
The following packages have unmet dependencies:
linux-image-extra-4.4.0-64-generic : Depends: linux-image-4.4.0-64-generic but it is not going to be installed
linux-image-generic : Depends: linux-image-4.4.0-64-generic but it is not going to be installed
Recommends: thermald but it is not going to be installed
y-ppa-manager : Depends: yad (>= 0.36.0) but it is not going to be installed
Depends: libnotify-bin but it is not going to be installed
Depends: ppa-purge but it is not going to be installed
Depends: xterm
Depends: launchpad-getkeys (>= 0.3.2) but it is not going to be installed
Depends: python-appindicator but it is not going to be installed
Depends: python-gtk2 but it is not going to be installed
Depends: xclip but it is not going to be installed
Recommends: gksu but it is not going to be installed or
kdesudo but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
I also tried: sudo add-apt-repository ppa:webupd8team/y-ppa-manager
But no use.
Please suggest.
16.04
|
show 1 more comment
Why I am not able to install a few packages in my Ubuntu 16.04
If i try: sudo apt-get install update
i get:
The following packages have unmet dependencies:
linux-image-extra-4.4.0-64-generic : Depends: linux-image-4.4.0-64-generic but it is not going to be installed
linux-image-generic : Depends: linux-image-4.4.0-64-generic but it is not going to be installed
Recommends: thermald but it is not going to be installed
y-ppa-manager : Depends: yad (>= 0.36.0) but it is not going to be installed
Depends: libnotify-bin but it is not going to be installed
Depends: ppa-purge but it is not going to be installed
Depends: xterm
Depends: launchpad-getkeys (>= 0.3.2) but it is not going to be installed
Depends: python-appindicator but it is not going to be installed
Depends: python-gtk2 but it is not going to be installed
Depends: xclip but it is not going to be installed
Recommends: gksu but it is not going to be installed or
kdesudo but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
I also tried: sudo add-apt-repository ppa:webupd8team/y-ppa-manager
But no use.
Please suggest.
16.04
did you doapt-get -f install
as instructed by terminal?
– George Udosen
Feb 23 '17 at 12:07
i get same error after using -f option
– Sushivam
Feb 23 '17 at 12:10
1
please trysudo apt-get dist-upgrade && sudo apt-get -f install
– George Udosen
Feb 23 '17 at 12:13
What is the output ofsudo apt-cache policy linux-image-extra-4.4.0-64-generic
?
– GAD3R
Feb 23 '17 at 12:15
This is the output: linux-image-extra-4.4.0-64-generic: Installed: 4.4.0-64.85 Candidate: 4.4.0-64.85 Version table: *** 4.4.0-64.85 500 500 in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages 500 security.ubuntu.com/ubuntu xenial-security/main amd64 Packages 100 /var/lib/dpkg/status
– Sushivam
Feb 23 '17 at 12:22
|
show 1 more comment
Why I am not able to install a few packages in my Ubuntu 16.04
If i try: sudo apt-get install update
i get:
The following packages have unmet dependencies:
linux-image-extra-4.4.0-64-generic : Depends: linux-image-4.4.0-64-generic but it is not going to be installed
linux-image-generic : Depends: linux-image-4.4.0-64-generic but it is not going to be installed
Recommends: thermald but it is not going to be installed
y-ppa-manager : Depends: yad (>= 0.36.0) but it is not going to be installed
Depends: libnotify-bin but it is not going to be installed
Depends: ppa-purge but it is not going to be installed
Depends: xterm
Depends: launchpad-getkeys (>= 0.3.2) but it is not going to be installed
Depends: python-appindicator but it is not going to be installed
Depends: python-gtk2 but it is not going to be installed
Depends: xclip but it is not going to be installed
Recommends: gksu but it is not going to be installed or
kdesudo but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
I also tried: sudo add-apt-repository ppa:webupd8team/y-ppa-manager
But no use.
Please suggest.
16.04
Why I am not able to install a few packages in my Ubuntu 16.04
If i try: sudo apt-get install update
i get:
The following packages have unmet dependencies:
linux-image-extra-4.4.0-64-generic : Depends: linux-image-4.4.0-64-generic but it is not going to be installed
linux-image-generic : Depends: linux-image-4.4.0-64-generic but it is not going to be installed
Recommends: thermald but it is not going to be installed
y-ppa-manager : Depends: yad (>= 0.36.0) but it is not going to be installed
Depends: libnotify-bin but it is not going to be installed
Depends: ppa-purge but it is not going to be installed
Depends: xterm
Depends: launchpad-getkeys (>= 0.3.2) but it is not going to be installed
Depends: python-appindicator but it is not going to be installed
Depends: python-gtk2 but it is not going to be installed
Depends: xclip but it is not going to be installed
Recommends: gksu but it is not going to be installed or
kdesudo but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
I also tried: sudo add-apt-repository ppa:webupd8team/y-ppa-manager
But no use.
Please suggest.
16.04
16.04
edited Feb 23 '17 at 12:27
GAD3R
1,523821
1,523821
asked Feb 23 '17 at 11:59
SushivamSushivam
11329
11329
did you doapt-get -f install
as instructed by terminal?
– George Udosen
Feb 23 '17 at 12:07
i get same error after using -f option
– Sushivam
Feb 23 '17 at 12:10
1
please trysudo apt-get dist-upgrade && sudo apt-get -f install
– George Udosen
Feb 23 '17 at 12:13
What is the output ofsudo apt-cache policy linux-image-extra-4.4.0-64-generic
?
– GAD3R
Feb 23 '17 at 12:15
This is the output: linux-image-extra-4.4.0-64-generic: Installed: 4.4.0-64.85 Candidate: 4.4.0-64.85 Version table: *** 4.4.0-64.85 500 500 in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages 500 security.ubuntu.com/ubuntu xenial-security/main amd64 Packages 100 /var/lib/dpkg/status
– Sushivam
Feb 23 '17 at 12:22
|
show 1 more comment
did you doapt-get -f install
as instructed by terminal?
– George Udosen
Feb 23 '17 at 12:07
i get same error after using -f option
– Sushivam
Feb 23 '17 at 12:10
1
please trysudo apt-get dist-upgrade && sudo apt-get -f install
– George Udosen
Feb 23 '17 at 12:13
What is the output ofsudo apt-cache policy linux-image-extra-4.4.0-64-generic
?
– GAD3R
Feb 23 '17 at 12:15
This is the output: linux-image-extra-4.4.0-64-generic: Installed: 4.4.0-64.85 Candidate: 4.4.0-64.85 Version table: *** 4.4.0-64.85 500 500 in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages 500 security.ubuntu.com/ubuntu xenial-security/main amd64 Packages 100 /var/lib/dpkg/status
– Sushivam
Feb 23 '17 at 12:22
did you do
apt-get -f install
as instructed by terminal?– George Udosen
Feb 23 '17 at 12:07
did you do
apt-get -f install
as instructed by terminal?– George Udosen
Feb 23 '17 at 12:07
i get same error after using -f option
– Sushivam
Feb 23 '17 at 12:10
i get same error after using -f option
– Sushivam
Feb 23 '17 at 12:10
1
1
please try
sudo apt-get dist-upgrade && sudo apt-get -f install
– George Udosen
Feb 23 '17 at 12:13
please try
sudo apt-get dist-upgrade && sudo apt-get -f install
– George Udosen
Feb 23 '17 at 12:13
What is the output of
sudo apt-cache policy linux-image-extra-4.4.0-64-generic
?– GAD3R
Feb 23 '17 at 12:15
What is the output of
sudo apt-cache policy linux-image-extra-4.4.0-64-generic
?– GAD3R
Feb 23 '17 at 12:15
This is the output: linux-image-extra-4.4.0-64-generic: Installed: 4.4.0-64.85 Candidate: 4.4.0-64.85 Version table: *** 4.4.0-64.85 500 500 in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages 500 security.ubuntu.com/ubuntu xenial-security/main amd64 Packages 100 /var/lib/dpkg/status
– Sushivam
Feb 23 '17 at 12:22
This is the output: linux-image-extra-4.4.0-64-generic: Installed: 4.4.0-64.85 Candidate: 4.4.0-64.85 Version table: *** 4.4.0-64.85 500 500 in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages 500 security.ubuntu.com/ubuntu xenial-security/main amd64 Packages 100 /var/lib/dpkg/status
– Sushivam
Feb 23 '17 at 12:22
|
show 1 more comment
1 Answer
1
active
oldest
votes
The most basic fixe to resolve dependencies problems is to run:
sudo apt-get -f install
The -f stands for “fix broken”. Apt will attempt to correct broken dependencies. If you manually installed a package that had unmet dependencies, apt-get will install those dependencie if possible, otherwise it may simply remove the package that you installed in order to resolve the problem.
Go ahead and run:
sudo dpkg --configure -a
Then run this again:
sudo apt-get -f install
If you still get the same error, remove and add the repository you just added.
Let me know how it goes.
For the command : sudo apt-get -f install i get, Errors were encountered while processing: /var/cache/apt/archives/linux-image-4.4.0-64-generic_4.4.0-64.85_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) Also i get , cannot copy extracted data for './boot/System.map-4.4.0-64-generic' to '/boot/System.map-4.4.0-64-generic.dpkg-new': failed to write (No space left on device)
– Sushivam
Feb 23 '17 at 12:12
For freeing up some space in /home directory i tried: sudo dpkg -P linux-image{,-extra}-4.4.0-{43,45,47,51}-generic
– Sushivam
Feb 23 '17 at 12:22
No space left on device.... Looks like your running out of space. Try freeing up some more space.. perhaps move some files to external or extra partition
– Olu Smith
Feb 23 '17 at 12:23
Yes tried removing some kernels, now /home space shows from 100% used to 60 % used and pls confirm if i remove some kernels listed in dpkg -l | grep -G "linux.*image.*" -h, should not affect anything right?
– Sushivam
Feb 23 '17 at 12:23
try running the sudo apt-get -f install again
– Olu Smith
Feb 23 '17 at 12:24
|
show 2 more comments
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%2f886481%2flinux-apt-get-update-i-get-unmet-dependency-error-ubuntu-16-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 most basic fixe to resolve dependencies problems is to run:
sudo apt-get -f install
The -f stands for “fix broken”. Apt will attempt to correct broken dependencies. If you manually installed a package that had unmet dependencies, apt-get will install those dependencie if possible, otherwise it may simply remove the package that you installed in order to resolve the problem.
Go ahead and run:
sudo dpkg --configure -a
Then run this again:
sudo apt-get -f install
If you still get the same error, remove and add the repository you just added.
Let me know how it goes.
For the command : sudo apt-get -f install i get, Errors were encountered while processing: /var/cache/apt/archives/linux-image-4.4.0-64-generic_4.4.0-64.85_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) Also i get , cannot copy extracted data for './boot/System.map-4.4.0-64-generic' to '/boot/System.map-4.4.0-64-generic.dpkg-new': failed to write (No space left on device)
– Sushivam
Feb 23 '17 at 12:12
For freeing up some space in /home directory i tried: sudo dpkg -P linux-image{,-extra}-4.4.0-{43,45,47,51}-generic
– Sushivam
Feb 23 '17 at 12:22
No space left on device.... Looks like your running out of space. Try freeing up some more space.. perhaps move some files to external or extra partition
– Olu Smith
Feb 23 '17 at 12:23
Yes tried removing some kernels, now /home space shows from 100% used to 60 % used and pls confirm if i remove some kernels listed in dpkg -l | grep -G "linux.*image.*" -h, should not affect anything right?
– Sushivam
Feb 23 '17 at 12:23
try running the sudo apt-get -f install again
– Olu Smith
Feb 23 '17 at 12:24
|
show 2 more comments
The most basic fixe to resolve dependencies problems is to run:
sudo apt-get -f install
The -f stands for “fix broken”. Apt will attempt to correct broken dependencies. If you manually installed a package that had unmet dependencies, apt-get will install those dependencie if possible, otherwise it may simply remove the package that you installed in order to resolve the problem.
Go ahead and run:
sudo dpkg --configure -a
Then run this again:
sudo apt-get -f install
If you still get the same error, remove and add the repository you just added.
Let me know how it goes.
For the command : sudo apt-get -f install i get, Errors were encountered while processing: /var/cache/apt/archives/linux-image-4.4.0-64-generic_4.4.0-64.85_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) Also i get , cannot copy extracted data for './boot/System.map-4.4.0-64-generic' to '/boot/System.map-4.4.0-64-generic.dpkg-new': failed to write (No space left on device)
– Sushivam
Feb 23 '17 at 12:12
For freeing up some space in /home directory i tried: sudo dpkg -P linux-image{,-extra}-4.4.0-{43,45,47,51}-generic
– Sushivam
Feb 23 '17 at 12:22
No space left on device.... Looks like your running out of space. Try freeing up some more space.. perhaps move some files to external or extra partition
– Olu Smith
Feb 23 '17 at 12:23
Yes tried removing some kernels, now /home space shows from 100% used to 60 % used and pls confirm if i remove some kernels listed in dpkg -l | grep -G "linux.*image.*" -h, should not affect anything right?
– Sushivam
Feb 23 '17 at 12:23
try running the sudo apt-get -f install again
– Olu Smith
Feb 23 '17 at 12:24
|
show 2 more comments
The most basic fixe to resolve dependencies problems is to run:
sudo apt-get -f install
The -f stands for “fix broken”. Apt will attempt to correct broken dependencies. If you manually installed a package that had unmet dependencies, apt-get will install those dependencie if possible, otherwise it may simply remove the package that you installed in order to resolve the problem.
Go ahead and run:
sudo dpkg --configure -a
Then run this again:
sudo apt-get -f install
If you still get the same error, remove and add the repository you just added.
Let me know how it goes.
The most basic fixe to resolve dependencies problems is to run:
sudo apt-get -f install
The -f stands for “fix broken”. Apt will attempt to correct broken dependencies. If you manually installed a package that had unmet dependencies, apt-get will install those dependencie if possible, otherwise it may simply remove the package that you installed in order to resolve the problem.
Go ahead and run:
sudo dpkg --configure -a
Then run this again:
sudo apt-get -f install
If you still get the same error, remove and add the repository you just added.
Let me know how it goes.
answered Feb 23 '17 at 12:06
Olu SmithOlu Smith
92568
92568
For the command : sudo apt-get -f install i get, Errors were encountered while processing: /var/cache/apt/archives/linux-image-4.4.0-64-generic_4.4.0-64.85_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) Also i get , cannot copy extracted data for './boot/System.map-4.4.0-64-generic' to '/boot/System.map-4.4.0-64-generic.dpkg-new': failed to write (No space left on device)
– Sushivam
Feb 23 '17 at 12:12
For freeing up some space in /home directory i tried: sudo dpkg -P linux-image{,-extra}-4.4.0-{43,45,47,51}-generic
– Sushivam
Feb 23 '17 at 12:22
No space left on device.... Looks like your running out of space. Try freeing up some more space.. perhaps move some files to external or extra partition
– Olu Smith
Feb 23 '17 at 12:23
Yes tried removing some kernels, now /home space shows from 100% used to 60 % used and pls confirm if i remove some kernels listed in dpkg -l | grep -G "linux.*image.*" -h, should not affect anything right?
– Sushivam
Feb 23 '17 at 12:23
try running the sudo apt-get -f install again
– Olu Smith
Feb 23 '17 at 12:24
|
show 2 more comments
For the command : sudo apt-get -f install i get, Errors were encountered while processing: /var/cache/apt/archives/linux-image-4.4.0-64-generic_4.4.0-64.85_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) Also i get , cannot copy extracted data for './boot/System.map-4.4.0-64-generic' to '/boot/System.map-4.4.0-64-generic.dpkg-new': failed to write (No space left on device)
– Sushivam
Feb 23 '17 at 12:12
For freeing up some space in /home directory i tried: sudo dpkg -P linux-image{,-extra}-4.4.0-{43,45,47,51}-generic
– Sushivam
Feb 23 '17 at 12:22
No space left on device.... Looks like your running out of space. Try freeing up some more space.. perhaps move some files to external or extra partition
– Olu Smith
Feb 23 '17 at 12:23
Yes tried removing some kernels, now /home space shows from 100% used to 60 % used and pls confirm if i remove some kernels listed in dpkg -l | grep -G "linux.*image.*" -h, should not affect anything right?
– Sushivam
Feb 23 '17 at 12:23
try running the sudo apt-get -f install again
– Olu Smith
Feb 23 '17 at 12:24
For the command : sudo apt-get -f install i get, Errors were encountered while processing: /var/cache/apt/archives/linux-image-4.4.0-64-generic_4.4.0-64.85_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) Also i get , cannot copy extracted data for './boot/System.map-4.4.0-64-generic' to '/boot/System.map-4.4.0-64-generic.dpkg-new': failed to write (No space left on device)
– Sushivam
Feb 23 '17 at 12:12
For the command : sudo apt-get -f install i get, Errors were encountered while processing: /var/cache/apt/archives/linux-image-4.4.0-64-generic_4.4.0-64.85_amd64.deb E: Sub-process /usr/bin/dpkg returned an error code (1) Also i get , cannot copy extracted data for './boot/System.map-4.4.0-64-generic' to '/boot/System.map-4.4.0-64-generic.dpkg-new': failed to write (No space left on device)
– Sushivam
Feb 23 '17 at 12:12
For freeing up some space in /home directory i tried: sudo dpkg -P linux-image{,-extra}-4.4.0-{43,45,47,51}-generic
– Sushivam
Feb 23 '17 at 12:22
For freeing up some space in /home directory i tried: sudo dpkg -P linux-image{,-extra}-4.4.0-{43,45,47,51}-generic
– Sushivam
Feb 23 '17 at 12:22
No space left on device.... Looks like your running out of space. Try freeing up some more space.. perhaps move some files to external or extra partition
– Olu Smith
Feb 23 '17 at 12:23
No space left on device.... Looks like your running out of space. Try freeing up some more space.. perhaps move some files to external or extra partition
– Olu Smith
Feb 23 '17 at 12:23
Yes tried removing some kernels, now /home space shows from 100% used to 60 % used and pls confirm if i remove some kernels listed in dpkg -l | grep -G "linux.*image.*" -h, should not affect anything right?
– Sushivam
Feb 23 '17 at 12:23
Yes tried removing some kernels, now /home space shows from 100% used to 60 % used and pls confirm if i remove some kernels listed in dpkg -l | grep -G "linux.*image.*" -h, should not affect anything right?
– Sushivam
Feb 23 '17 at 12:23
try running the sudo apt-get -f install again
– Olu Smith
Feb 23 '17 at 12:24
try running the sudo apt-get -f install again
– Olu Smith
Feb 23 '17 at 12:24
|
show 2 more comments
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%2f886481%2flinux-apt-get-update-i-get-unmet-dependency-error-ubuntu-16-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
did you do
apt-get -f install
as instructed by terminal?– George Udosen
Feb 23 '17 at 12:07
i get same error after using -f option
– Sushivam
Feb 23 '17 at 12:10
1
please try
sudo apt-get dist-upgrade && sudo apt-get -f install
– George Udosen
Feb 23 '17 at 12:13
What is the output of
sudo apt-cache policy linux-image-extra-4.4.0-64-generic
?– GAD3R
Feb 23 '17 at 12:15
This is the output: linux-image-extra-4.4.0-64-generic: Installed: 4.4.0-64.85 Candidate: 4.4.0-64.85 Version table: *** 4.4.0-64.85 500 500 in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages 500 security.ubuntu.com/ubuntu xenial-security/main amd64 Packages 100 /var/lib/dpkg/status
– Sushivam
Feb 23 '17 at 12:22