Debian :: Changing A Package's Dependencies After It's Installed
Aug 1, 2010
I did a compile and checkinstall of a Debian package (and then deleted the temporary directory tree I compiled in), and had to redo the compile and checkinstall since I screwed up on the dependencies (I think it's item #10) on the checkinstall "menu".
Looking for a quick and dirty shortcut, I was wondering where the post-install dependencies for the packages are stored. Is it in /var/lib/dpkg/status ?
If not, where is the dependency information for installed packages stored?
apt-cache show <package> shows also it's dependencies.yum info <package> does not show dependencies, but it obviously know them.How to ask yum for dependencies of specified package?
Are there any quick and easy ways to find all of the dependencies required for a package to be installed, so that we dont have to spent a lot of time searching for each package or downloading them individually?
I'm trying to install debian in my surface pro but I can't get the network card configured. I installed Arch before and it's wpa_supplicant package was working just fine until the last update. I was wondering if I could download the wpa_supplicant for debian and all it's dependencies from my windows OS to be able to configure my wireless card properly in Debian.
Does aptitude(or apt-get) have the functionality to remove the packages installed from using build-dep? It just seems convenient if you want to remove a program that was built from source.
I was recently pushed back towards linux after spending nearly a decade in a windows only environment and I'm finding myself struggling. The reason for the change is that we purchased Kaspersky and the mail gateway is only available under linux. They advised Debian and Exim.
The crux of the problem is that I have a working debian server running with exim4 and kaspersky to act as a gateway mail server but it's not checking inbound mail against the internal servers address list. For this I need to add ldap support to the exim package but I'm not sure how to do this - it seems silly that I should have to start over at this stage.
Full details:= I didn't have too much trouble installing and configuring a debian 64bit server for our network, adding exim4 and getting it all set up to work, then several weeks of hot fix releases and "oh, it shouldn't do that" passed as we attempted to get the Kaspersky software operating properly. During that time I learned that the kaspersky software does not provide a function to check inbound emails against the internal server. Previously we did this with an LDAP lookup under the Sophos Puremessage software that Kaspersky replaced. Without this function the MTA sends out a lot of backscatter that results in the server being put on blocklists and that effects business. Kaspersky tell me this is something I need to set the MTA software (exim4) to do so I've looked that up and it appears that step 1 is to install exim with ldap support... but I've already installed and configured exim without ldap support. So I'm not sure if I have to start over by removing exim, install over the top or what. Also if I do add ldap support or install exim-heavy over what I have will I need to reconfigure everything I've done so far?
as I said, it's been 10 years since I used linux and even then it was fairly basic sendmail and apache stuff.
Is this method the correct one if I want to forbid a foo package from being installed, even if this foo package is a dependency of another package? For example, geoclue is a dependency of Steam. However, I still want to install Steam, but not geoclue.
I need a particular include file. I know the file name. I don't know which package would install it. apt-cache seems to only search names and descriptions. dpkg -S seems to only search through installed packages. I need to find a package that's not yet installed. I probably just missed the option in the man page... or I don't know which program to man.
I know I've got inotify-tools installed; I've got a daemon that runs and it's using inotifywait to move some files around.
This thing is: 12:20:16 /home/barrie $ >> dpkg --get-selections | grep inotify* 12:20:29 /home/barrie $ >> aptitude show inotify-tools Package: inotify-tools New: yes State: not installed Version: 3.12-1 Priority: optional Section: misc Maintainer: Peter Makholm <peter@makholm.net> Uncompressed Size: 115k Depends: libc6 (>= 2.6-1), libinotifytools0 Description: command-line programs providing a simple interface to inotify inotify-tools is a set of command-line programs for Linux providing a simple interface to inotify. These programs can be used to monitor and act upon filesystem events. inotify-tools consists of two utilities: inotifywait simply blocks for inotify events, making it appropriate for use in shell scripts. inotifywatch collects filesystem usage statistics and outputs counts of each inotify event.
12:20:40 /home/barrie $ >> It's not showing up as installed! If not how to get the list of installed packages 'reloaded'. I've googled for hours and reloading the installed packages doesn't look promising!
Recently I did a Debian Squeeze fresh install.I want to make an ISO of a CD but if I right-click the CD icon and choose copy disk only cue and toc options are available.Which package needs to be installed in order to support ISO image?
Recently tried to install a new Wine package, but the install failed, so I removed it and reinstalled the old one. That installation also failed, and now the package is in a half-installed state and can neither be installed nor removed. I'd be most grateful for some help - I miss my Wine!
# apt-get install 0.9.47~winehq0~debian~4.0-1 Reading package lists... Done Building dependency tree... Done E: The package wine needs to be reinstalled, but I can't find an archive for it. # apt-get remove 0.9.47~winehq0~debian~4.0-1 Reading package lists... Done Building dependency tree... Done E: The package wine needs to be reinstalled, but I can't find an archive for it.
What does it mean by "an archive", and where can I find one?
I am running a vps with nginx as webserver. For some odd reason (I don't know if it was installed already) apache2 was running before nginx could start. After stopping apache2 nginx starts fine again. But, I want to completely remove apche2, but: root@vps2:~# apt-get --purge remove apache2* Reading package lists... Done Building dependency tree Reading state information... Done Package apache2 is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. root@vps2:~#
but:root@vps2:~# ls -la /usr/sbin/apache* lrwxrwxrwx 1 root root 34 Jul 5 01:46 /usr/sbin/apache2 -> ../lib/apache2/mpm-prefork/apache2 -rwxr-xr-x 1 root root 5326 Mar 22 23:56 /usr/sbin/apache2ctl lrwxrwxrwx 1 root root 10 Jul 5 01:46 /usr/sbin/apachectl -> apache2ctl root@vps2:~# ls -la /etc/ap apache2/ apm/apt/ root@vps2:~# ls -la /etc/apache2/ total 76
drwxr-xr-x 7 root root 4096 May 27 17:32 . drwxr-xr-x 88 root root 4096 Jul 5 20:46 .. -rw-r--r-- 1 root root 7908 May 27 17:32 apache2.conf drwxr-xr-x 2 root root 4096 May 27 17:32 conf.d -rw-r--r-- 1 root root 1169 May 27 17:32 envvars -rw-r--r-- 1 root root 0 May 27 17:32 httpd.conf -rw-r--r-- 1 root root 31063 May 27 17:32 magic drwxr-xr-x 2 root root 4096 May 27 17:32 mods-available drwxr-xr-x 2 root root 4096 May 27 17:32 mods-enabled -rw-r--r-- 1 root root 750 May 27 17:32 ports.conf drwxr-xr-x 2 root root 4096 May 27 17:32 sites-available drwxr-xr-x 2 root root 4096 May 27 17:32 sites-enabled root@vps2:~#
Apache2 is there and I can start it normally with /etc/init.d/apache2 start but I want it removed, how do I do that?
I have just switched from Ubuntu to Debian, so on the whole I can easily figure out how to use Debian. Scim however, is giving me a problem. I have installed scim with the package manager, but cannot start it.With Ubuntu is was ctrl+space bar, but so far I have not found any key combinations that work. In the preferences menu there is an entry for scim set-up, but it is only an information page.AlthoughI have been using Linux for a few years, I am not much of a terminal user, so I have not even thought of going that route for fear of wrecking my new system.Considering how easy it was to use scim on Ubuntu, which is a Debian derivative, it should not be difficult to get it working. (I am not a computer wizard. In fact, before switching to Linux I hated the machines.
I regularly compile something from a source repository that has a certain set of dependencies. Some of these dependencies are dev libraries that are provided via other libraries but are not considered installed packages in themselves, so I cannot test for some dependencies directly.
I am currently parsing an "apt-cache showpkg" output to check for some of these provided dependencies. This is somewhat kludge-y and messy, and I was looking for a more elegant solution.
Is there an APTITUDE option that will directly test for the presence of a library that is part of some other package without having to know the name of the package that the library is part of?
I'm very new to Linux and have recently installed Debian Squeeze on my pc. I'm trying to install the Nvidia package as the system has a XFX 9 series card installed. I'm unable to get stop X to complete package installation. I keep getting permission denied when I run the command /etc/init.d/gdm stop. After reviewing a few forums I also log in as root to the console and tried the command there as well. I'm still getting the permission denied response. Can anyone advise on how to get around this?
Theres a package I'm going to install that is available only in 32-bit, but I have its dependencies installed as regular 64-bit. Since I'm multilib, will the 32-bit package be able to work with the 64-bit deps? If not, can 32-bit versions of the deps be installed side by side with the 64 bit?
I need to download lame package to my offline ubuntu [URL] but its involved so many dependencies to download. Is there anyway to ease the pain of downloading each dependencies separately?
So to give a little background, I'm trying to pass wireshark(with a custom plugin) through my company's build system.The build system functions inside a change root thus all the dependencies need to located somewhere inside the chroot. Wireshark has a massive dependency tree that I couldn't possibly import manually one by one.So my question is, is there a way to conveniently import all the dependency packages somewhere on your local machine. This would mean I would just import the one folder into my change root.PS: the build-system's change-root has SMART package manager installed. But the channels it comes with are local ones(very little to choose from). So an alternative solution would be import therepositories that apt-get uses into smart and then use smarto install the packages which is monumentally easier.
I am in fc13, have installed a package, realise lately that its not really useful. that package install a lot of package for dependency.How can i erase all the package together that was downloaded and installed together with the target package as dependency via yum? actually i have done it using #yum erase `cat /var/log/yum.log |grep "Aug 31 22" |awk '{print $5}'|`as I know when I have installed them.....but is there ant safer and better way?
I have installed a package having almost 145 dependencies. Now when I want to remove the package (yum remove packagename) only the single package is removed.. Is there a way to remove the package including all its dependencies?
I am a long-time Debian user (I use it since Woody) and yesterday, due to an unexpected problem on my hard drive and an inexplicable lack of a current Debian cd or a possibility to perform a net install, I had to choose between either stay without computer at home or install one of the two other operating systems I happened to have on cds: Free-BDS or Slackware 13.0. Since I do not have time to learn something that I consider to be more radically different from Debian, I went for Slack.
So, first impressions:
1. Quick and smooth installation, though I got a bit over-enthusiastic when it came to select packages to install and unselected many libraries that I later realised that were necessary for various packages and I had to install them anyway.
2. Configure my wifi was surprisingly easy. I had braced myself for overly-complicated configurations to be done while I'd not have access to google, however rc.inet1.conf was very straight-forward and it provided plenty of examples to illustrate basically every possible configuration. All I had to do was to copy my wpa_supplicant.conf from my Debian backup and it worked.
3.X: For some reason I expected I'd have trouble to properly install and configure X, however my window manager was up and running in a few minutes. I copied my ~/GNUstep folder from my backup gave me the exact same X environment I had in Debian.
4. Package managing and dependencies: (I think I am correct to presume that that has to be the main complaint of most Debian users). pkgtool is very easy to use but, yeah, it does not resolve dependencies.
However, and while I installed a system way more minimalistic than any Debian system I had, I was surprised to find out that:
-Firefox had only ONE dependency
-vlc had none
-xfe, on the other hand, has some obscure dependency that I cannot figure out where to get it (libGLU).
So, a question for more experienced Slackware users: How do you get around the dependencies? Is there a quick way to find out what additional packages you will need on beforehand, or you install the package and try to run it, so to see what libs you need when it fails to start?
How do most experienced Fedora users remove packages with large number of dependencies?
I know that the question is as old as yum, but still I can't find solution. There is package-cleanup tool, which supposed to do the job with "--leaves" key, but it doesn't seem to work. Right now I have F12 installed. I installed rosegarden with `yum install rosegarden`. Then I removed it with `yum remove rosegarden`. If I understand right, `package-cleanup --leaves` must show all of 12 dependencies that was installed with rosegarden, but it shows none of them (although it shows few packages). Is this a bug? For years I used Ubuntu and Debian and I was completely satisfied with apt.
While trying to install a package using gpk-application ("Add/Remove Software" under System Tools), I accidentally checked the "Do not show this message again" checkbox, and now gpk-application does not list the package dependencies anymore.
I tried to go back to listing the dependencies, however, I could not find a way to do it. How do I revert to the default behavior, i.e., having gpk-application listing the dependencies again?
So short-term needing a replacement for the various tools MS traps you into to make it easy to work with SQL Server.
I'm going to be using postgreSQL, and I'm wondering what's a good strategy as far as a GUI front-end.
1. No building from source. Don't have the time. 2. Keeps package dependencies to a minimum. 3. Won't require me to use KDE. My dev machine is too old to use KDE productively.