Debian :: Forbidding A Package From Being Installed
Jan 24, 2016
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!
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?
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?
Well the topic name says it all. I only installed the base system and when I try "apt-get install gnome" it tells me it can't find package "gnome".Now, I'm actually to much of a noob to try to build my own Debian from the base system and up. But it still seems to be the easiest option.When I try "Debian GNU/Linux on CDs" I can't get online. I start Iceweasl but it just gives me that message telling me that it can't find the website I tried to enter (e.g www.google.com).When I try the net install I get "Bad Archive Mirror" at the configure apt part. I've tried searching your forums for this and it seems to happen to a lot of people but I still can't find a solution in any of those threads
I've been reading up on ssh and I don't want anyone to connect to my computer. I am not interested in remote connectivity at all. Should I uninstall ssh? I ran Code: apt-get remove ssh and debian returned "package ssh is not installed. 0 packages removed."
I also looked online and found out about /etc/ssh/ssh_conf but all of the lines on my computer were #'d out. I also added "PermitRootLogin no" at the end. Am I safe from ssh attacks if I don't have ssh? Might be a stupid question but I don't want to fall victim. edit: it seems as though I -do- have openssh-client and openssh-server installed. Should I just leave my ssh config with PermitRootLogin no or apt-get remove openssh-client openssh-server.
i have to use lh command. I have installed all updates for ubuntu, live-build (the package for lh) and its updates. So my system is fully updated.When i hit "lh" command i get the following message: The program 'lh' is currently not installed. You can install it by typing:
sudo apt-get install live-build
When i do type: "sudo apt-get install live-build" i get:
Reading package lists... Done Building dependency tree Reading state information... Done live-build is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
I am trying to put up my own Quake2 server to play with my friends. During this installation process I have encountered rather confusing issue. First I downloaded the Q2 server binaries in RPM package and tried installing it:
when I try to install a package, I've the message The following packages have unmet dependencies:package-xy: Depends:lib-something (>= version_number) which is a virtual package.
I am running the xfce desktop on a new ubuntu 9.10 installation.I used the Synaptics Package Manager to install several applications, including R, the statistics programming language. After the installation, it took me quite a while to find where the package manager put the executable, but I found it.The problem is, I can't figure out how to get it to execute. I tried double clicking on it and I tried right clicking on it and selecting "Execute" from the menu that pops up.
How do I get an executable to execute? Also, is there an easy way to track down where the executables get put after I use the Synaptics Package Manager?It would be handy if I could put links to them in some central location.
When I install some packages Yum seems to behave correctly until the the very end when it gives the error: xxx-package was supposed to be installed but is not! I am lookng for any advice which might solve the issue. Below is an example of the yum output.
I am running openSUSE 11.4 KDE 4.6.5 on my desktop AMD64. Just added R47 repo in order to upgrade KDE 4.6.5 to 4.7. However, after running zypper up I saw lots of packages not being updated.code...
Fedora 14 xfceI have installed a package using yum install package-name.However, I can't seen to find out where it has been installed to.Is there any command that will tell me what directory the files have been installed to?
I'm looking for a way to run a python script automatically when apt-get is used to install or upgrade a package. The script should get the package name and version as arguments.
How do I update the kernel to the latest version? I checked /etc/yum.conf but kernel is not listed in the exclude list. Also, pardon my ignorance, I've looked but where on centos.org or another website can I find the version number for the latest kernel? Thanks for your help!
I just installed a package with yum but I can't find any files associated with it. My question: is there a way to make yum tell you which files were installed from a package?
I have installed a package on Centos 5.5, and need to find out the repository it came from, so I can enable the source rpms for that particular repository, and download the source, and rebuild the package. Is there some way using yum or rpm to find out which repo the installed package came from? I know Smart PM shows this info, but it has been hanging on Centos 5.5, for some strange reason, so that's not really an option for now.