François Patte wrote: > Scott Ferguson a écrit : > >> I do not understand what you mean by "remove the unofficial packages" > >> remove *all packages* installed from deb-multimedia?
That would be my understanding of the suggestion. I recommend that course of action too. Because step 1) Fix your broken system. Step 2) Do whatever you were trying to do when you got your system into this broken state. You can always break your system again after fixing it. :-) > > 1. remove entry for given repository (e.g. deb-multimedia) in sources lists > > 2. # apt-get update > > 3. # for i in `apt-show-versions | grep 'No available' | cut -d' ' -f 1` > > ;do apt-get remove -y $i ; done The problem I see there is that apt is not happy. Therefore I suggest using dpkg to remove the packages instead of apt. But first apt-show-packages needs to be installed. Because you are mixing reposities I assume you now have an unstable Sid Unstable system? What system were you trying to track? > apt-show-versions is not installed on my system and apt-get refuses to > install it because some dependencies for mjpegtools and transcode are > broken.... You can install it using 'dpkg -i' after downloading the .deb file. The apt-show-versions depends upon libapt-pkg-perl and libstorable-perl which may also need to be installed if they aren't already. Start by going to the packages page: http://www.debian.org/distrib/packages Enter the package you wish to locate. Search for it. Specify your desired track of stable, testing, unstable, or any. I always select "any". Then download the correct architecture for your system. http://packages.debian.org/search?keywords=apt-show-versions&searchon=names&suite=all§ion=all Then install it using dpkg. # dpkg -i apt-show-versions_0.22.3_all.deb Using dpkg directly will bypass the problem with apt. > I do not understand that: apt-get refuses do anything because of these > missing(?) dependencies, the whole system seems to need dependencies for > two unnecessary packages? APT tries hard to tidy up anything broken. Because there are broken dependencies on your system apt is going to do nothing else until those broken items are fixed. If a car has a flat tire then you can't drive anywhere until the tire is fixed. Even if you only want to take it to the car wash. Since you have broken apt then you must fix apt before doing anything else to your system. > Thanks for your answer. What can I do else? I am concerned by the original question. You are trying to install alien. That indicates that you probably are wanting to install an rpm package upon your Debian system. And you have also broken your system by mixing repositories. These are both expert level actions. Can they be done? Yes. (But only by an expert.) Should they be done? No. (Not even by an expert in my opinion.) Therefore your question is disconcerting. It indicates that even after you fix up your current system problems that another set of problems are soon to happen. It feels to me like there are these paintings by Monet, Van Gogh, Klimt, Renoir, and then someone thinks they appear a little drab and dirty and they are just going to clean them up with a little turpentine and a rag and then touch up parts with some new paint. That just isn't going to go very well. Can paintings be cleaned? Yes. But a master's paintings should be preserved by an expert curator. Best to leave alien alone and work within the Debian system natively. What problem did you originally start out having that caused you to go down this dark and scary path? Perhaps the list can help with those. Bob
signature.asc
Description: Digital signature