E: Unable to correct problems, you have held broken packages
I have some massive probllems with my system, which seems to be immune to the usual cures. This is what I have done so far:
Code:
# apt-get clean Code:
# apt-get install libpango1.0-dev |
Have you run, as root;
Code:
apt-get -f install Please post results of; Code:
cat /etc/sources.list Wheezy is Stable. Amoung other things, this means that there are no new packages or package versions added (generally) except for security upgrades of existing packages. Testing (Jessie) is where Debian 8 is being built. That means that the packages are aimed at the future. While there is little or no difference in packages for a short while after the release of a new Debian Stable and the birth of a new Debian Testing, the difference grows wider with time. Testing is considered by Debian to be somewhat unstable. Mixing testing packages with Debian Stable will produce, in the long run, an OS that is very unstable. There is such a thing as the wheezy-backports repo where some packages from the testing repos are backported to Wheezy. That is not considered by Debian to be a great idea if you are interested in stability but at least there has been some attempt made to make the packages compatible with Wheezy. Packages migrated from Sid to Jessie are hopefully functional in Jessie. They are supposed to be functional enough not to cause Jessie to fail to boot to the desktop. I am typing this from my Sid installation. My usual preference is Debian testing. I accept the fact that they may be, at times partially broken or maybe even just broken. I have an install, on a different drive of Wheezy set up for security and used for business purposes on the web. I do not use even the backports repo for my Wheezy install. It is supposed to be a nice, boring, rock solid Debian installation. It is. I have, in both Sid and Testing the experimental repo enabled. Don't use it much but it comes in handy occasionally. I have no problem using Sid packages, occasionally, in Testing. They are not very far apart. How far apart they are is questionable and variable to some extent but I like to think of it as about 3 weeks. In the case of Wheezy and Testing you are talking about a difference of several months. Wheezy should be using kernel 3.2. Jessie is using 3.11. Packages are created for use with a kernel. There is a big difference there. |
Hi widget,
I have run apt-get -f install as well: Code:
# apt-get -f install Code:
# cat /etc/apt/sources.list What I really can't see is why there is any talk about 'held broken packages'; I can see nothing broken in synaptic, and dpkg -l doesn't list anything that is being held. Another thing - this all started when I tried to install virtualbox from the repository, which seemed to be broken; at first I tried to make it work, but ran into something like this 'held broken' problem - I believe it mentioned the package I am now trying to reinstall with no luck, which I removed. Part of my problem is probably that I don't know what 'held broken' means at all, and I can't seem to find any real explanation of it. Things were working fine even after I had added jessie, and anyway, it would really be uncomfortable to start all over at this point - it is a system I have to use for work, and reinstalling would cut out a whole day, at least. |
You are mixing stable and testing, which is why it is broken.
According to the warranty, you get to keep all the pieces. |
descendant_command: It may be that you are right - however, I know several persons who use a similar setup without this particular problem, so there seems to be at least a chance that you are wrong.
Also, if I may give a bit of advice: your comment is stated in a mocking tone, which considering that you are talking to a person with a potentially serious problem on his hands, is like kicking someone who is lying down. It may be that you feel a need to bolster your self-esteem this way, but all it has done is lower my respect for you, which I suspect is not really what you were after. You could learn a good deal from widget, who is saying the same as you, more or less, but in a much more constructive and friendly way, which I am sure most people are willing to take in. |
Yeah, probably should have added that smiley ... :)
If you intend on persevering with it (for the moment - the effort involved will wear thin after a few more "broken held package" sessions) use apt-cache policy and/or packages.debian.org to check out those dependency chains and see why they are "not going to be installed". In some limited cases, with specific packages without a bunch of dependencies, testing versions can indeed be installed successfully in stable. Having both repo's in your sources turns your install into a hand grenade. It is much better to run testing (or sid). Good luck. |
Apology accepted :-)
Now, if you tell me that it is likely to be unhealthy, I'll have to consider getting to a clean installation. Do you know if there is a way to either upgrade to a clean testing install, or downgrade to stable, without doing a complete reinstall? My concrete problem at the moment is that I need to use a Cisco VPN client, which to complicate things a bit, is 32 bit on my 64 bit system. It has everything it needs, except: Code:
# ldd /opt/cisco/anyconnect/bin/vpnui |
I have no idea where you work or with whom. No one in there right mind is running a Debian system on that sources.list. Just not going to happen.
So you have Quote:
How do you fix this problem. First learn a little bit about the package management system. Reinstall. I am really sorry you feel this is an inconvenience. You should have thought about that before completely dicking your sources.list up. I hope you are installed on 2 partitions (/ and /home). That way reinstalling is easier. Security updates are put out by the Debian Security team. Their ONLY purpose is to patch exploitable vulnerabilities in packages on YOUR system. You do not, particularly on any box that has any value outside social media and porn, disable security updates. DO NOT, no matter what idiots you may have run into say, mix the stable repos with repos for testing or Sid. This is what is wrong with your system. You broke it. To be honest you could get a list of all installed packages and there version number. You could then remove the ones that do not belong on there. You should be able to do this in about a week if you work at it for 10 to 12 hours a day. You could then maybe get the correct versions back in. I suspect this will be educational and end up a waste of time. Reinstalling can easily be done in a couple hours. Pull your data off the install. You can leave any files that explain the way to screw up your sources.list. You do not need them. If you NEED to run testing that is fine. Use a Wheezy netinstall image with nothing but the base install. Upgrade it to testing before finishing your install. The smart thing to do is install Wheezy, learn to use it, learn how the system works before "improving" it. Debian has fine documentation including manuals for system maintainers. If you do not understand everything they are talking about you may want to stop and think about simply mixing crap into your sources.list. There were people back in the 70s that thought putting large engines in Chevy Vegas was a really cool thing to do. Kind of like putting a truck engine on a go cart but that was the idea. Go fast. Too bad there were not enough brakes on the front end of a Vega for that sort of thing. This is pretty comparible to what you are doing. It is simply the silly fooling around with things you have no comprehension of because you have discovered Linux and you can finally control your OS. I understand that. You can also completely screw your system. This is part of the freedom of Linux. I like it. I hope you do. Don't be doing this kind of thing on a system that you need to have function. Jessie is pretty stable. Certainly more stable than what you have. Wheezy is stable. It is also reliable. Install it and give it a try. |
Quote:
This should help with that Code:
aptitude search "?narrow(?installed,?not(?archive(stable)))" Quote:
Try aptitude - it is quite a bit smarter than apt-get at finding solutions to dependency issues. The ncurses interface can be partitularly helpful when trying to figure out what the sticking point is. |
Quote:
As per Debian handbook and FAQs we can go from stable to testing and testing to sid(unstable) but the reverse order is not supported. So you can, a) take necessary backup and reinstall stable release or b) go fully 'testing' (currently jessie). To change to full testing you can remove all references to stable (wheezy) release and keep only testing (jessie) repos in you /etc/apt/sources.list. Then do Code:
apt-get clean |
All times are GMT -5. The time now is 03:45 PM. |