Debian Installation :: Package Apache Not Installed So Cannot Removed

Jul 7, 2011

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?

View 2 Replies


ADVERTISEMENT

General :: Apt-get Remove Ssh And Debian Returned "package Ssh Is Not Installed - 0 Packages Removed"

Jan 29, 2010

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.

View 9 Replies View Related

Debian :: Keeping A Removed Package (hypermail) Around

Nov 11, 2010

Unless I am mistaken, the 'hypermail' package has recently been removed from unstable.

I don't know if this is permanent or if it is just in preparation for the upcoming release.

In case it might be permanent, I thought that I'd download the deb from stable and stick it in a new directory '/var/local/apt'. Then I ran 'dpkg-scanpackages' in that directory and sent the output to '/var/local/apt/Packages'.

Unfortunately, when I run 'aptitude', 'hypermail' still shows up under the 'obsolete' section, even after I do a package update.

Have I done anything obviously wrong?

View 1 Replies View Related

Debian Installation :: How To Remove Half-installed Package

Jun 30, 2010

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?

View 3 Replies View Related

Debian :: Installed/removed Pulseaudio - Lost ALSA

Jan 8, 2010

At one point, I thought I needed pulseaudio for sound, so I messed around with installing it, even though at the time I had ALSA installed. (suffice to say, I know very little about linux sound). Pulseaudio never did work, I removed it with aptitude. But now ALSA seems to reach to pulseaudio for some reason.

Code:

More confusing is that there are no "alsa" looking processes in ps -A. But apparently, the basics are there

Code:

There's only one thing in init.d that seems relevent to alsa:

Code:

But doing this does not help anything. Does anyone know what to do from here?

And because I'm curious, how come I get sound from Flash Player and Audacity with no problem?

View 9 Replies View Related

Ubuntu Installation :: Find A Way That All Depended Package Are Removed

Dec 7, 2010

i created a meta package with a collection of useful tools. But now i want to find a way that all the depended package are removed if the meta package is removed. my first try was to use the postrm script. but this dont work as dpkg still hold the lock.

View 1 Replies View Related

Debian :: Automatic Removal Of Kernel Headers Package When Kernel Packages Are Removed

Dec 28, 2008

As a follow-on to something Telemachos said in another post:

Quote:

Originally Posted by Telemachos

You can see what kernels you have installed - to check if you have a virtual kernel and to clean up - by running this command:

Code:

If you've been installing kernel-headers along with the kernels (say to build modules for graphics or wireless), you should remove those when you remove the corresponding kernel. The command to search for those is parallel:

Code:

I would have thought that removing a given kernel package would trigger the removal of the older kernel headers. Can someone confirm that is, or is not, the behavior? I ask this because it seemed to me that the older kernel header packages were indeed removed when I removed some older kernel packages.

For example, the linux kernels I have installed are:

Code:

Also, the linux-headers packages I have installed are:

Code:

So, when I get around to removing the linux-image-2.6.25-2-amd64 package like this:

Code:

I would expect apt-get to automatically also remove linux-headers-2.6.25-2-amd64 and linux-headers-2.6.25-2-common. Is that what will happen, or do I need to explicitly state all three packages on the apt-get remove command?

View 3 Replies View Related

Ubuntu Installation :: Synaptic Package Magagement: "To Be Removed" Means?

Jan 6, 2011

I have one issue of Synaptic Package management program. It might be related to apt-get also.

Whenever I select packages that I do not need at all, Synaptic shows "To be removed" package list. For example, I was going to completely remove a library file: libecal1.2-7. It has many dependencies: gnome-applet, gnome-panel, etc.

Does Synaptic actually removes other packages that the libecal1.2-7 depends on?

I'd like clean up irrelevant programs came with default installation. But, "To be removed:" packages really hold me back.

View 1 Replies View Related

Ubuntu Installation :: Error - Dpkg: Warning: Files List File For Package `libsdl-image1.2' Missing, Assuming Package Has No Files Currently Installed

Sep 23, 2010

When i try installing anything i get errors, for example when i try to install somthing from ubuntu software center i get this.

Code: installArchives() failed: Preconfiguring packages ... Preconfiguring packages ... Selecting previously deselected package ttf-symbol-replacement. (Reading database ... dpkg: warning: files list file for package `libsdl-image1.2' missing, assuming package has no files currently installed.

[Code]....

View 4 Replies View Related

Debian :: Installed Apache - Doesn't Recognizes Folder?

Jun 23, 2010

I have just installed a Virtual Machine with Debian. My goal is to set up a LAMP server to work with. I have installed Apache, PHP and MySQL, everything without any problems and following WIKIs.

Now, I have a problem, because I'm trying to work with folder within my /var/www folder. If I use the address http://192.168.1.103 in my Host computer's browser, I can see the "It works!" from Apache without a problem.

Now, if I try to see: http://192.168.1.103/test/ I can't see the index.html that is within the folder test that is on the path: /var/www/test Why is this? What do I need to do and keep this simple?

View 2 Replies View Related

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.

The method:

nano /etc/apt/preferences

Package: geoclue
Pin: origin ""
Pin-Priority: -1

View 3 Replies View Related

Debian :: Find Name Of An Package Installed?

Sep 18, 2010

Debian 504 64-bit

I have emacs and ess running on this box code...

View 5 Replies View Related

Debian :: Find A Package That's Not Yet Installed

Feb 15, 2010

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.

View 10 Replies View Related

Debian :: Find The Full Name Of An Installed Package?

Sep 18, 2010

Debian 504 64-bit I have emacs and ess running on this box

[code].....

how to find the full name of "ess" installed? How to find whether there is the latest version available on backports?

View 4 Replies View Related

Debian :: Package Database Not Showing Up As Installed

Oct 17, 2010

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!

View 3 Replies View Related

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?

View 1 Replies View Related

General :: Apache - Recover File That Is Accidentally Removed?

Jul 2, 2010

I have accidentally removed my apache2 startup file /etc/init.d/apache2 using rm /etc/init.d/apache2 command.

How can I get that back?

View 5 Replies View Related

Debian :: Which Package Needs To Be Installed In Order To Support ISO Image

May 7, 2010

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?

View 4 Replies View Related

Debian :: Installed Scim With The Package Manager, But Cannot Start It?

May 8, 2011

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.

View 2 Replies View Related

Debian :: Use Aptitude To Check For An Installed Provided Package?

Jan 15, 2011

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?

View 2 Replies View Related

Debian Installation :: Know If Gnome Desktop Is Completely Removed?

Mar 17, 2011

I have corrupted my /usr/ partition. I thought I recovered my server thingies okay. The problem is with gnome desktop. It won't show the login screen and furthermore there's a lot of error in ldconfig messages -- because of the corrupted /usr/ partition.I started picking out these erring files -- using aptitude purge and the rm command if it cannot be purged...That's how I tried to clean my /usr/ corrupted partition.How do I know I managed to cleanly removed all traces of the desktop gnome? -- also how could I install the desktop again.

View 3 Replies View Related

Debian Installation :: 8.3 And Windows 10 Dual Boot GRUB EFI Removed

Feb 3, 2016

I've been using Debian for a few years but always on dedicated boxes and/or VMs.

Finally decided to dual boot Debian and Windows on my main Desktop PC.

Installed as I normally would using, however this time using a seperate drive (one for the existing Windows 10 install and the other for Debian), Debian install detects that windows has an EFI partition and sticks an entry in there, which is fair enough, and everything working fine. Then I spent some time configuring all my software and set it all up just the way I like it. I've rebooted Debian a few times to check it's working correctly and it is.

The issue arrives when I reboot and load into Windows 10. It boots fine.

However after a further reboot GRUB no longer loads... and the machine just boots directly into Windows 10.

After doing some further digging into my EFI partition (and reinstalling various times) it would appear that after a reboot Windows 10 deletes the entry GRUB creates in my EFI partition after EVERY reboot.

Done some googling and most people advise turning off 'fast boot' in Windows as it locks certain partitions to facilitate the machine going into hibernation, only to find that it's always been turned off on my machine (I recall due to a driver issue with my graphics card this had to be turned off when I installed Windows 10).

I've found this article on the Ubuntu forums : [URL] .... however I've tried their steps and windows is still doing a hostile takeover of my EFI partion after a reboot!

Any way to stop Windows 10 from interfering with my EFI files after a reboot? (without doing the obvious thing and kill Windows off).

View 4 Replies View Related

Ubuntu :: 11.04 Installed - All Partitions Of 2nd HD Removed

Jul 26, 2011

Today ubuntu (installed 11.04) really disappointed me. I was using Windows seven since many months without any problem and a friend of mine suggested me to try UBUNTU thing. In my desktop pc I have:
Pentium Core2Duo
2 SATA 320 GB (Samsung & WD)
4GB RAM
Windows 7 Is installed on WD SATA

I installed UBUNTU 11.04 from USB installer (universal usb installer) and ISO image (Downloaded from UBUNTU website). Installer displayed an option to install UBUNTU along with existing Windows without making changes to existing data on drive. - I preferred choosing this option..
No other detail were given and installer began to install UBUNTU. After the installation was complete and Ubuntu boot up to with no error I found that all the partitions of my second hard drive (samsung SATA) were removed and it Disk Utility shows single Ext4 version 1.0 type Linux Basic Data partition of
Device: /dev/sda2
Capacity: 318GB
Available : -
Mount Point: Mounted at /

View 9 Replies View Related

Debian :: Install The Nvidia Package As The System Has A XFX 9 Series Card Installed?

Jul 19, 2011

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?

View 2 Replies View Related

Fedora Installation :: Finding Information About Installed Package?

Mar 26, 2009

I just installed a package using the System -> Administration -> Add/Remove s/w tool.

How can I find information about what files it has installed and where? I was expecting to get some header files from this package but cannot find them in the normal places like /usr/include etc.

View 5 Replies View Related

Ubuntu Installation :: Check The Configuration Of A Self-installed Package?

Jan 22, 2011

I'd love to know how to check the original configuration of a self-installed package? For example, I would like to install the package XXXXX. I did:

./configure
make
make install

After the installation, I would like to know what the configuration I used for XXXXX's installation. Maybe some dependencies (for example, A,B,C...) were not found so that XXXXX was installed without depending on A,B,C.... However, now, I would like XXXXX depend on A,B,C... How to check whether the current installed XXXXX's original configuration?

View 1 Replies View Related

Ubuntu Installation :: Package Downloaded & Installed Via Synaptic - How To Start

Apr 30, 2010

Interested in trialing Varkon and used Synaptic Package Manager to download and install. According to the [url]...nstalling.html it should be there under 'Applications'. I've looked through them all and no sign of Varkon. I've also tried to see if Varkon was installed so I looked via Ubuntu Software Center under installed software. No sign. Did a file search for Varkon.

View 4 Replies View Related

Ubuntu Installation :: Iptables Is Not Installed Nor As Package Nor Included As Kernel Module

May 26, 2011

installing and setting the iptables on U 8.04 LTS? currently iptables is not installed nor as package nor included as kernel module.

View 4 Replies View Related

OpenSUSE :: VNC Client / Real VNC Installation [/B] - Package /temp/vnc-4_1_3-x86_linux.rpm Could Not Be Installed

Aug 20, 2009

I'm looking to use a vnc client so I can connect to my other windows machine. I thought i'd use realVNC as I've used it before from windows and it seems to do the job... the problem is that when I try and install it I get the following message: Package /temp/vnc-4_1_3-x86_linux.rpm could not be installed.

Details: Subprocess failed. Error RPM failed:error: Failed dependencies: libstdc++-libc6.2-2.so.3 is needed by vnc-4.1.3-1.i386

Is it a problem that I'm trying to install this on a 64 bit Suse 11.1 installation? Can anyone recommend a solution (I can't find the package to install), or any other good vnc clients I can easily use?

View 4 Replies View Related

Ubuntu Installation :: Erro: Conflicts Qith The Installed Package 'libsound2-plugins'

Dec 8, 2010

i want to install Skype, there is a dependency problem with libsound2. When i tried to install it, this eroor had appeared to me:

Code:

Erro: Conflicts qith the installed package 'libsound2-plugins'

when i tried to install that package (libsound2-plugins), this error appeared (the same dependency problem as with skype ==> so, i am in cycle

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved