I messed up my packages and can't get them to work. Dependencies missing [closed]

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








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.







share|improve this 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














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.







share|improve this 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












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.







share|improve this question













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.









share|improve this question












share|improve this question




share|improve this question








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












  • 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










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.






share|improve this answer























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







  • 1




    That's a different problem. Search for it - it's been asked and answered here before.
    – user535733
    Jun 11 at 2:15

















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.






share|improve this answer























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







  • 1




    That's a different problem. Search for it - it's been asked and answered here before.
    – user535733
    Jun 11 at 2:15














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.






share|improve this answer























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







  • 1




    That's a different problem. Search for it - it's been asked and answered here before.
    – user535733
    Jun 11 at 2:15












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.






share|improve this answer















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.







share|improve this answer















share|improve this answer



share|improve this answer








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




    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










  • 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




    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


Popular posts from this blog

pylint3 and pip3 broken

Missing snmpget and snmpwalk

How to enroll fingerprints to Ubuntu 17.10 with VFS491