Debian :: How To Avoid Unwanted Dependency During .deb Build
Aug 14, 2011
I have successfully build .deb im my box and it is running well. But during the debuild process I got followingdpkg-shlibdeps: warning: dependency on libatk-1.0.so.0 could be avoided if "debian/retrovol/usr/bin/retrovol" were not uselessly linked against it (they use none of its symbols).
dpkg-shlibdeps: warning: dependency on libdl.so.2 could be avoided if "debian/retrovol/usr/bin/retrovol" were
I'm trying to install ettercap from source on my clearos box (centos based) and I'm running into an issue with a GTK dependency. When I run ./configure for ettercap, it tells me I need to install GTK, Pango, or ATK. But, I've installed them all with yum, and the -devel versions of them too. For example I did "yum install gtk+" and "yum install gtk+-devel" for GTK, Pango, and ATK.
But even though I installed all these dependencies, I'm still getting this error. I'm thinking the problem is that it's looking for gtk, atk, or pango in the wrong place. A copy of the relevant error section produced by running ./configure is below:
[Code]....
Alternatively you may set the GTK_CFLAGS and GTK_LIBS environment variables to avoid the need to call pkg-config. See the pkg-config man page for
Is there any way of getting the build logs of the CentOS packages? I'm dealing with a possible build problem in CentOS's Samba similar to [URL], so it would be very useful to have the build logs available to check for such dependency problems, etc.
I've just installed Squeeze with KDE. I was wondering what is the best way to remove some unwanted apps without breaking everything (I want to get rid of Kopete and a few other apps like Dragon Player as I don't use them)? I tried to: apt-get remove kopete but it said it wanted to remove a whole bunch of other stuff as well. (I'm a recent Fedora convert).
I have a fresh Debian install, since this install was on a desktop, I had an internet connection and didn't notice (it was late, I was half asleep) I opted to download a whole load of packages I didn't really need. I thought all was doomed until I remembered that I have done another Debian install but a week ago on a laptop, which has a nice clean install without all the bloat.
So I ran dpkg --get-selections > selections and had it sent to my new desktop installation.
Now if I run dpkg --set-selections < selections followed by dselect-upgrade nothing happens. I assume this is because the smaller list contains all the packages 'to be installed' which already are, and all the missing packages are not being purged. Do I need to explicitly add all the packages I want to purge to the 'selection' list or is there a better way of doing it?
There are these shortcuts in the GTK3 file chooser: [URL] ....
With the exception of "desktop" which I included in the red box by mistake, I don't want those shorcuts to be there. I've even deleted most of those folders from my home directory because I have no use for them, but the shortcuts remain even after the folders are gone.
How to remove/disable these shortcuts? And while I'm at it, I notice that it's not using my selected icon theme for those icons. Any way to make it use my choice of icon theme?
So I have this laptop with a busted battery, I'm trying to get it into some kind of headless server, media topbox hybrid.
First thing I want to do is being able to leave it shut (powered on) in the corner without having to interact with it directly.
I've setup ssh and vnc so to login remotely and do task, transfer files and etc.
However there is a little issue with the laptop lid down upon turning it on, it immediately goes into suspend when getting to the display manager, which is 'lightdm'.
I suppose this is the default setting for Xorg and as such my custom configs for KDE only kick in after I login.
Question is: I never seen configuration for default power management stuff being done in Xorg, is there some way to disable automatic suspension on lid down?
Another question is: After the KDE kicks in does it always replace power options? I have setup a xorg.conf file specifying dpms options but these don't seem to remain.
A customer of mine has setup a Debian 5 system enabling root filesystem encryption without really needing it.As long as i have a remote access to the system, i have to ask for his interaction to input passphrase when we do need do a system reboot for a reason.One time the customer doesn't really need an encrypted FS, i ask:Is there any way to decrypt a luks fs? If not, or if it's hard, how do i generate a keyfile to be retrieved from /boot FS which is not encrypted?
I have a bash script and I'm dropping a file on script launcher shortcut. Everything seems fine, only that after executing the script console window closes, so I can't see if some messages were produced during execution.
As I just recently switched from Windows, this kind of problem is solved there by adding 'pause' command in batch script, on which user has to press key and script will then continue (finish) or by launching through 'cmd /k' which makes console window persistent.
Googling I found about 'sleep' command and more appropriate for me 'read' command, so I did this:
Unfortunately, I can't see any effect of 'read' command as console windows again terminates after execution. Execution is successful BTW. So what's the catch?
to avoid automatic start of this mail server (I use qmail). After several months, I did a reboot and exim is started! Looking at the history, I found this command:
Quote: dpkg-reconfigure exim4-config
Maybe this command has restored the init script of exim?
I recently installed Squeeze. Almost every time I install software I have unresolvable dep errors. In my Software Sources Everything is checked Main, Contrib, Non-Free and source. But in 3rd party the only thing in there is the installation CD. Is this correct or am I missing repos? downside of running testing? If I'm missing them could someone please post what repos I should have...
I've created a package and added package conflicts entry in it's control file(in my case, all the lib-mesa packages). Now each package that depends on lib-mesa cannot be installed. How can i define my package as alternative to lib-mesa, so i can install those packages ? Is there a way i can add my package as an alternative in the package dependencies(the ones that depends on lib-mesa)?
I am running Debian squeeze and I am trying to install hplip-3.10.5 so I can use my new HP Photosmart C4750 printer.I downloaded the automatic installer and ran it and it gave me the following error message:
RE-CHECKING DEPENDENCIES ------------------------ error: A required dependency 'cups-image (CUPS image - CUPS image development files)' is still missing. error: Installation cannot continue without this dependency. error: Please manually install this dependency and re-run this installer.
So I ran apt-get install cups-image and got the following:
raygo75@RayGo1:~/Desktop$ sudo apt-get install cups-image Reading package lists... Done Building dependency tree Reading state information... Done E: Couldn't find package cups-image
does the package "cups-image" exist? and if it does were can I find it. I have looked to no avail. I have posted a question on hplip seeing as that is were I got the script from.
I tried to compile it but it seems to have one extra dependency after the other that needs to be compiled. I'm assuming that it should work since Google Chrome works for Lenny (apparently). Will it be added to backports eventually or anything of the sort?
I'm trying to install the driver for my printer, from a repo at Kyoto University. Did it before on other distros (Etch, Lenny,...). One of the three packages has an unmet dependency, libcupsys2-gntls..... (or something- doesn't matter, it's long gone). I expected to be able to use the -d option in apt-get to download it, and unpack it by hand, and place the vital parts in the right positions manually. Done that before, somehow, not necessarily this way. But apt-get won't let me download it, because of the unmet dependency.
Is apt-get really that stupid? If I only want to download it, why does it matter if there is an unmet (and, these days, unmeetable) dependency? Could I download it some other way? I've looked at Aptitude, and can't make head nor tail of it. Synaptic? Have I got the command right? #apt-get -d install package. EDIT: Tried #apt-get install -d package. Also apt-get --download-only --force-yes package. Or I could be really subversive, and copy the two essential files across from my Puppy system. Puppy didn't notice that this lib was missing, just got on with it. Funny old world, isn't it?
There may be a way not to download all dependency and install one by one.But how?Sorry for such a basic question but i could find only solutions for ubuntu.
I'm trying to install KDE, but I can't. I've tried using tasksel, but it gave me an error, so I tried to install task-kde-desktop myself. When I did that, I ran into some dependency issues:
Code: Select allSome packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming.
The following packages have unmet dependencies:
 task-kde-desktop : Depends: kde-standard but it is not going to be installed           Depends: kdm but it is not going to be installed           Recommends: kdeaccessibility but it is not going to be installed           Recommends: k3b but it is not going to be installed      [Code]...
Here's my problem: I'm running a Lenny laptop and I need both wifi and virtualbox to work. I had to do a kernel upgrade to run the wifi. It works with either the 2.6.29 or 2.6.30 kernels, but with 2.6.30 I'm having screen brightness issues that I can't seem to get rid of. So I want to run 2.6.29, but virtualbox is a bit of a problem because it requires linux-headers-2.6.29, but when I try to install the amd64 headers it tells me that it cannot install the dependency linux-kbuild-2.6.29. Is there any way I can get that dependency installed on my computer?
I recently tossed Ubuntu for Debian Unstable for my personal machines and I'm having trouble building Emerald into a package. I've already configured and installed the package (using the usual ./configure, make, make install) but I wanted to make a deb for future use (for myself and for others). However every time I try to run dpkg-build I get the following error message.
I've got this weird problem: when I reboot my Debian 8.3 server, I have to run through the crypto unlocking processes for my encrypted volumes a few times before I actually get to a login screen. The operation times out 85% of the time, leaving me to reboot and try over and over until the system is happy.
Here's my partitioning setup (manually partitioned at install): /boot: 500 MB, EXT2, nodev, nosuid, noexec /tmp: 2 GB, EXT2, AES-256/xts-plain64 with RANDOM KEY swap: 2.5 GB, AES-256/xts-plain 64 with RANDOM KEY /: 35 GB, EXT4, AES-256/xts-plain 64 with PASSPHRASE /var: 35 GB, EXT4, AES-256/xts-plain 64 with PASSPHRASE /home: 45 GB, EXT4, AES-256/xts-plain 64 with PASSPHRASE
Here's the output from journalctl -b -p 3: Code: Select allDate and time | server name | systemd[1]: Timed out waiting for device dev-sda5.device Date and time | server name | systemd[1]: Dependency failed for Cryptography Setup for sda5_crypt Date and time | server name | systemd[1]: Dependency failed for Encrypted Volumes Date and time | server name | systemd[1]: Dependency failed for dev-mapper-sda5_crypt.device Date and time | server name | systemd[1]: Dependency failed for /tmp
[Code] ....
I had the same problem in previous builds where I chose Twofish instead of AES, and I was hoping that the timeouts would be fixed by switching to AES as my CPU has the AES instruction set. Obviously that didn't make a damn bit of difference.
What am I doing wrong, or what should I change in my setup? The encryption is a requirement. Could the problem be caused by something as stupid as using a RANDOM KEY instead of a PASSPHRASE on /tmp and swap?