I messed up my packages and can't get them to work. Dependencies missing [closed]
up vote
1
down vote
favorite
As the title states, I messed up. I don't know exactly where (I was trying to install runescape), but I did. Now, there are about a hundred dependencies missing. So many that I can't get them on one scroll up.
I've tried many things (all the obvious ones of course):
apt-get update
apt-get upgrade
apt-get clean
apt-get autoclean
I've also tried with dpkg
. I found this, which told me to do this:
dpkg --get-selections | grep -v deinstall | awk 'print $1' > list.log
awk '$1=$1' ORS=' ' list.log > newlist.log
apt-get install --reinstall $(cat newlist.log)
None of it worked.
No packages are on hold for dpkg. I've checked. Twice.
sudo apt-get -f install
returns the same errors that any other package install returns because of unmet dependencies.
Here's the error it gives me:
<bunch of dependencies listed>
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
I also managed to delete sources.list.d
at some point and I don't even really know what it's good for.
I seriously am out of my depth. I have no clue. Help.
command-line package-management dependencies
closed as unclear what you're asking by Byte Commander, waltinator, Zanna, MadMike, ñÃÂsýù÷ Jun 12 at 18:04
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, itâÂÂs hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |Â
up vote
1
down vote
favorite
As the title states, I messed up. I don't know exactly where (I was trying to install runescape), but I did. Now, there are about a hundred dependencies missing. So many that I can't get them on one scroll up.
I've tried many things (all the obvious ones of course):
apt-get update
apt-get upgrade
apt-get clean
apt-get autoclean
I've also tried with dpkg
. I found this, which told me to do this:
dpkg --get-selections | grep -v deinstall | awk 'print $1' > list.log
awk '$1=$1' ORS=' ' list.log > newlist.log
apt-get install --reinstall $(cat newlist.log)
None of it worked.
No packages are on hold for dpkg. I've checked. Twice.
sudo apt-get -f install
returns the same errors that any other package install returns because of unmet dependencies.
Here's the error it gives me:
<bunch of dependencies listed>
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
I also managed to delete sources.list.d
at some point and I don't even really know what it's good for.
I seriously am out of my depth. I have no clue. Help.
command-line package-management dependencies
closed as unclear what you're asking by Byte Commander, waltinator, Zanna, MadMike, ñÃÂsýù÷ Jun 12 at 18:04
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, itâÂÂs hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
3
Please show us a complete terminal session showing the error(s) you are encountering and how you got there. And stop trying random commands you find on the internet - seems like you are making the problem worse.
â user535733
Jun 10 at 15:59
I don't know how to show the complete terminal session, as I can't scroll up far enough to reach the start of the dependency errors
â Ciaran Hagen
Jun 10 at 21:42
That's a setting in your Terminal application. You may need to restart the Terminal application for the changed setting to take effect.
â user535733
Jun 10 at 21:46
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
As the title states, I messed up. I don't know exactly where (I was trying to install runescape), but I did. Now, there are about a hundred dependencies missing. So many that I can't get them on one scroll up.
I've tried many things (all the obvious ones of course):
apt-get update
apt-get upgrade
apt-get clean
apt-get autoclean
I've also tried with dpkg
. I found this, which told me to do this:
dpkg --get-selections | grep -v deinstall | awk 'print $1' > list.log
awk '$1=$1' ORS=' ' list.log > newlist.log
apt-get install --reinstall $(cat newlist.log)
None of it worked.
No packages are on hold for dpkg. I've checked. Twice.
sudo apt-get -f install
returns the same errors that any other package install returns because of unmet dependencies.
Here's the error it gives me:
<bunch of dependencies listed>
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
I also managed to delete sources.list.d
at some point and I don't even really know what it's good for.
I seriously am out of my depth. I have no clue. Help.
command-line package-management dependencies
As the title states, I messed up. I don't know exactly where (I was trying to install runescape), but I did. Now, there are about a hundred dependencies missing. So many that I can't get them on one scroll up.
I've tried many things (all the obvious ones of course):
apt-get update
apt-get upgrade
apt-get clean
apt-get autoclean
I've also tried with dpkg
. I found this, which told me to do this:
dpkg --get-selections | grep -v deinstall | awk 'print $1' > list.log
awk '$1=$1' ORS=' ' list.log > newlist.log
apt-get install --reinstall $(cat newlist.log)
None of it worked.
No packages are on hold for dpkg. I've checked. Twice.
sudo apt-get -f install
returns the same errors that any other package install returns because of unmet dependencies.
Here's the error it gives me:
<bunch of dependencies listed>
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
I also managed to delete sources.list.d
at some point and I don't even really know what it's good for.
I seriously am out of my depth. I have no clue. Help.
command-line package-management dependencies
edited Jun 10 at 16:01
Thomas
3,09071325
3,09071325
asked Jun 10 at 15:08
Ciaran Hagen
84
84
closed as unclear what you're asking by Byte Commander, waltinator, Zanna, MadMike, ñÃÂsýù÷ Jun 12 at 18:04
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, itâÂÂs hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
closed as unclear what you're asking by Byte Commander, waltinator, Zanna, MadMike, ñÃÂsýù÷ Jun 12 at 18:04
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, itâÂÂs hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
3
Please show us a complete terminal session showing the error(s) you are encountering and how you got there. And stop trying random commands you find on the internet - seems like you are making the problem worse.
â user535733
Jun 10 at 15:59
I don't know how to show the complete terminal session, as I can't scroll up far enough to reach the start of the dependency errors
â Ciaran Hagen
Jun 10 at 21:42
That's a setting in your Terminal application. You may need to restart the Terminal application for the changed setting to take effect.
â user535733
Jun 10 at 21:46
add a comment |Â
3
Please show us a complete terminal session showing the error(s) you are encountering and how you got there. And stop trying random commands you find on the internet - seems like you are making the problem worse.
â user535733
Jun 10 at 15:59
I don't know how to show the complete terminal session, as I can't scroll up far enough to reach the start of the dependency errors
â Ciaran Hagen
Jun 10 at 21:42
That's a setting in your Terminal application. You may need to restart the Terminal application for the changed setting to take effect.
â user535733
Jun 10 at 21:46
3
3
Please show us a complete terminal session showing the error(s) you are encountering and how you got there. And stop trying random commands you find on the internet - seems like you are making the problem worse.
â user535733
Jun 10 at 15:59
Please show us a complete terminal session showing the error(s) you are encountering and how you got there. And stop trying random commands you find on the internet - seems like you are making the problem worse.
â user535733
Jun 10 at 15:59
I don't know how to show the complete terminal session, as I can't scroll up far enough to reach the start of the dependency errors
â Ciaran Hagen
Jun 10 at 21:42
I don't know how to show the complete terminal session, as I can't scroll up far enough to reach the start of the dependency errors
â Ciaran Hagen
Jun 10 at 21:42
That's a setting in your Terminal application. You may need to restart the Terminal application for the changed setting to take effect.
â user535733
Jun 10 at 21:46
That's a setting in your Terminal application. You may need to restart the Terminal application for the changed setting to take effect.
â user535733
Jun 10 at 21:46
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
Try restoring your sources.list.d
with the help of Always getting error during apt-get install
And for your package installation error, run...
sudo dpkg --configure -a
This should work.
@CiaranHagen your welcome. And don't forget to mark the solution. :)
â Agent-J
Jun 10 at 16:34
Ok, this is weird. It seemed as if it worked temporarily, but I still can't install anything... Now instead of a billion errors, when I doapt-get -f install
, it just gives meerror while loading shared libraries: libattr.so.1: cannot open shared object file: No such file or directory
â Ciaran Hagen
Jun 10 at 21:39
1
That's a different problem. Search for it - it's been asked and answered here before.
â user535733
Jun 11 at 2:15
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
Try restoring your sources.list.d
with the help of Always getting error during apt-get install
And for your package installation error, run...
sudo dpkg --configure -a
This should work.
@CiaranHagen your welcome. And don't forget to mark the solution. :)
â Agent-J
Jun 10 at 16:34
Ok, this is weird. It seemed as if it worked temporarily, but I still can't install anything... Now instead of a billion errors, when I doapt-get -f install
, it just gives meerror while loading shared libraries: libattr.so.1: cannot open shared object file: No such file or directory
â Ciaran Hagen
Jun 10 at 21:39
1
That's a different problem. Search for it - it's been asked and answered here before.
â user535733
Jun 11 at 2:15
add a comment |Â
up vote
1
down vote
accepted
Try restoring your sources.list.d
with the help of Always getting error during apt-get install
And for your package installation error, run...
sudo dpkg --configure -a
This should work.
@CiaranHagen your welcome. And don't forget to mark the solution. :)
â Agent-J
Jun 10 at 16:34
Ok, this is weird. It seemed as if it worked temporarily, but I still can't install anything... Now instead of a billion errors, when I doapt-get -f install
, it just gives meerror while loading shared libraries: libattr.so.1: cannot open shared object file: No such file or directory
â Ciaran Hagen
Jun 10 at 21:39
1
That's a different problem. Search for it - it's been asked and answered here before.
â user535733
Jun 11 at 2:15
add a comment |Â
up vote
1
down vote
accepted
up vote
1
down vote
accepted
Try restoring your sources.list.d
with the help of Always getting error during apt-get install
And for your package installation error, run...
sudo dpkg --configure -a
This should work.
Try restoring your sources.list.d
with the help of Always getting error during apt-get install
And for your package installation error, run...
sudo dpkg --configure -a
This should work.
edited Jun 12 at 17:22
answered Jun 10 at 15:28
Agent-J
865
865
@CiaranHagen your welcome. And don't forget to mark the solution. :)
â Agent-J
Jun 10 at 16:34
Ok, this is weird. It seemed as if it worked temporarily, but I still can't install anything... Now instead of a billion errors, when I doapt-get -f install
, it just gives meerror while loading shared libraries: libattr.so.1: cannot open shared object file: No such file or directory
â Ciaran Hagen
Jun 10 at 21:39
1
That's a different problem. Search for it - it's been asked and answered here before.
â user535733
Jun 11 at 2:15
add a comment |Â
@CiaranHagen your welcome. And don't forget to mark the solution. :)
â Agent-J
Jun 10 at 16:34
Ok, this is weird. It seemed as if it worked temporarily, but I still can't install anything... Now instead of a billion errors, when I doapt-get -f install
, it just gives meerror while loading shared libraries: libattr.so.1: cannot open shared object file: No such file or directory
â Ciaran Hagen
Jun 10 at 21:39
1
That's a different problem. Search for it - it's been asked and answered here before.
â user535733
Jun 11 at 2:15
@CiaranHagen your welcome. And don't forget to mark the solution. :)
â Agent-J
Jun 10 at 16:34
@CiaranHagen your welcome. And don't forget to mark the solution. :)
â Agent-J
Jun 10 at 16:34
Ok, this is weird. It seemed as if it worked temporarily, but I still can't install anything... Now instead of a billion errors, when I do
apt-get -f install
, it just gives me error while loading shared libraries: libattr.so.1: cannot open shared object file: No such file or directory
â Ciaran Hagen
Jun 10 at 21:39
Ok, this is weird. It seemed as if it worked temporarily, but I still can't install anything... Now instead of a billion errors, when I do
apt-get -f install
, it just gives me error while loading shared libraries: libattr.so.1: cannot open shared object file: No such file or directory
â Ciaran Hagen
Jun 10 at 21:39
1
1
That's a different problem. Search for it - it's been asked and answered here before.
â user535733
Jun 11 at 2:15
That's a different problem. Search for it - it's been asked and answered here before.
â user535733
Jun 11 at 2:15
add a comment |Â
3
Please show us a complete terminal session showing the error(s) you are encountering and how you got there. And stop trying random commands you find on the internet - seems like you are making the problem worse.
â user535733
Jun 10 at 15:59
I don't know how to show the complete terminal session, as I can't scroll up far enough to reach the start of the dependency errors
â Ciaran Hagen
Jun 10 at 21:42
That's a setting in your Terminal application. You may need to restart the Terminal application for the changed setting to take effect.
â user535733
Jun 10 at 21:46