Black-Assassin Posted February 26, 2015 Posted February 26, 2015 guys my linux box is having a problem with dpkg i tried to do apt-get -f install still doesn't work it brings up:- root@XXXX:/home/XXXXXXX# apt-get -f installReading package lists... DoneBuilding dependency tree Reading state information... DoneCorrecting dependencies... DoneThe following extra packages will be installed: libgtk2.0-dev libnids-devSuggested packages: libgtk2.0-docThe following packages will be upgraded: libgtk2.0-dev libnids-dev2 upgraded, 0 newly installed, 0 to remove and 45 not upgraded.2 not fully installed or removed.Need to get 0 B/3,754 kB of archives.After this operation, 5,941 kB of additional disk space will be used.Do you want to continue [Y/n]? ydpkg: dependency problems prevent configuration of libgtk2.0-dev: libgtk2.0-dev depends on libgtk2.0-0 (= 2.20.1-2); however: Version of libgtk2.0-0 on system is 2.24.10-0ubuntu6.1. libgdk-pixbuf2.0-dev (2.26.1-1ubuntu1.1) breaks libgtk2.0-dev (<< 2.21.3) and is installed. Version of libgtk2.0-dev to be configured is 2.20.1-2.dpkg: error processing libgtk2.0-dev (--configure): dependency problems - leaving unconfiguredNo apport report written because MaxReports is reached already dpkg: dependency problems prevent configuration of libnids-dev: libnids-dev depends on libnids1 (= 1.20-1); however: Package libnids1 is not installed.dpkg: error processing libnids-dev (--configure): dependency problems - leaving unconfiguredNo apport report written because MaxReports is reached already Errors were encountered while processing: libgtk2.0-dev libnids-devE: Sub-process /usr/bin/dpkg returned an error code (1) so need help. :) Quote
cooper Posted February 26, 2015 Posted February 26, 2015 https://bugs.launchpad.net/ubuntu/+bug/1356706 Does this help? Quote
Black-Assassin Posted February 26, 2015 Author Posted February 26, 2015 still giving me the same error. :( Quote
digip Posted February 26, 2015 Posted February 26, 2015 try removing it first(with a purge, not just a remove, since this will remove configuration files as well), then apt-get update, upgrade and dist-upgrade, then apt-get install the file itself after its gone and cleaned out. If it gives errors, try the -f to fix(but most likely won't, since you need the dependencies, or the files you have installed it works with, themselves are damaged or not from the dev branch). What distro are you running though? It may not work with your kernel or distro depending on the system and repos for the distro. Had similar issues trying to get flash working on my wife's ubuntu, but removing all of it and then finding the right development files got it fixed to latest version, even though they said 11 was last made for linux, we got flash 16 on linux working now(I think partially due to installing chrome which added missing libs needed since they use pepper version of flash, but it made it work) so something missing may be causing the errors or you need to update the dependencies with another source list from a development branch of files. Quote
Black-Assassin Posted February 27, 2015 Author Posted February 27, 2015 i am using BackBox i have tried to remove it using purge but it gave me error. Quote
Jason Cooper Posted February 27, 2015 Posted February 27, 2015 While I usually use apt-get to install new packages, when I get dependency issues I find that aptitude can really help resolve them. Try doing your install with aptitude and see how you get on. Quote
Black-Assassin Posted February 27, 2015 Author Posted February 27, 2015 aptitude is not installed in my box but when i try to install it still errorrrrrrrrrrrrrrrr. root@XXXXXX:/home/XXXXX/XXXXXX/XXXXXX# apt-get install aptitudeReading package lists... DoneBuilding dependency tree Reading state information... DoneYou might want to run 'apt-get -f install' to correct these:The following packages have unmet dependencies: aptitude : Depends: libboost-iostreams1.46.1 (>= 1.46.1-1) but it is not going to be installed Depends: libcwidget3 but it is not going to be installed Recommends: libparse-debianchangelog-perl but it is not going to be installed libgdk-pixbuf2.0-dev : Breaks: libgtk2.0-dev (< 2.21.3) but 2.20.1-2 is to be installed libgtk2.0-dev : Depends: libgtk2.0-0 (= 2.20.1-2) but 2.24.10-0ubuntu6.1 is to be installed libnids-dev : Depends: libnids1 (= 1.20-1) but it is not installableE: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). Quote
cooper Posted February 27, 2015 Posted February 27, 2015 libnids1 (= 1.20-1) but it is not installable Any idea why this might be? Quote
digip Posted February 27, 2015 Posted February 27, 2015 The branch of software you want is not compatible with your kernel and other libs and as Cooper pointed out, no installable, or you need to add the other source lib dependencies from the development branches if they have them for your flavor of linux. They may have other packages that will work, but they'll be specific for your distro and should have their own repos you need to add to get them to install if possible. Not all linux flavors are the same. If you ever worked with older Back Track, you would find that the kernel and drivers, were maintained from the Back Track team with their own repository for software that if you tried installing other debian versions, things would break because it was a specially modified version of linux for special tools made just for that distro, as I would suspect is the issue with BackBox. In this instance, the question would be better asked here: https://forum.backbox.org/software-support/?PHPSESSIDBB=6242grko2k1ou73lqih5pbju16 since they maintain a specialized distro for pentesting, and as such, tools will need to be modified from source in a lot of instances to work with their kernel specifications and software libraries they maintain, which may vary deeply from mainstream say debian, ubuntu repositories. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.