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


ADVERTISEMENT

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 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

Debian :: How To Remove All Packages Installed From Testing Channel

Mar 13, 2015

I added 'testing' channel into my wheezy 'stable' box and installed packages comes from 'testing'. In this case, if I changed my mind to go back to 'stable', how could I downgrade packages updated by 'testing' channel?

View 13 Replies View Related

Debian Configuration :: How To Remove 150MB Of Packages Related To Package?

Aug 13, 2011

VirtualBox is awesome tool for experiment and learning Linux.On the Linux guest OS, I installed standard system without Xorg.i expected it remove all the packages that come along with gnome-terminal previously.Only gnome-terminal was removed, 750kB free space. Now the system have 149MB packages as waste data IMHO.It doesn't look right to me.

View 4 Replies View Related

Debian :: Aptitude Remove For All Packages Installed In Past Hour?

Nov 14, 2010

Is it possible to do an aptitude remove for all packages installed in, say, the past hour? I'm looking for an easy way to keep track of lots of installed packages without having to look through the logs and write them all down.

View 4 Replies View Related

Debian Configuration :: Remove The Packages Installed From Using Build Dependencies

Jun 15, 2011

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.

View 4 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 :: Aptitude Safe Upgrade Removed All KDE 4.3 Packages

Apr 13, 2010

KDE 4.3 squeeze-SID
I've got a strange problem with my last "aptitude safe-upgrade". It had removed all my kde 4.3 and packages I have installed, I don't know why!

This is what aptitude removed :
$ dpkg -l | grep ^rc |awk '{print $2}' | xargs echo .....

I reinstalled kde-full (kde 4) but now with an aptitude safe-upgrade or dist-upgrade. It wants to remove my debian-multimedia keyrings and my wine-unstable and others each time.

# aptitude -s safe-upgrade
Les NOUVEAUX paquets suivants vont etre installs : <<<<<<<<<  #new packages will be installed
libparted0debian1{a} libva1{a} libx264-92{a} libxklavier16{a} mysql-server-core-5.1{a}
Les paquets suivants seront ENLEVES : <<<<<<<< # packages will be remove .....

Here is my pref list :
Package: *
Pin: release o=apt-build
Pin-Priority: 989
Package: *
Pin: release o=Unofficial Multimedia Packages,a=unstable,l=Unofficial Multimedia Packages
Pin-Priority: 988
Package: *
Pin: release o=Debian,a=unstable,l=Debian
Pin-Priority: 987
Package: *
Pin: release o=volatile.debian.org,a=stable,l=debian-volatile
Pin-Priority: 986
Package: *
Pin: release o=Debian,a=stable,l=Debian-Security
Pin-Priority: 985
Package: *
Pin: release o=Unofficial Multimedia Packages,a=stable,l=Unofficial Multimedia Packages
Pin-Priority: 984
Package: *
Pin: release o=Debian,a=stable,l=Debian
Pin-Priority: 983
Package: *
Pin: release o=Debian,a=testing,l=Debian-Security
Pin-Priority: 982
Package: *
Pin: release o=Unofficial Multimedia Packages,a=testing,l=Unofficial Multimedia Packages
Pin-Priority: 981
Package: *
Pin: release o=Debian,a=testing,l=Debian
Pin-Priority: 980

And my sources.list:
# SID [URL]

# LENNY [URL]

# SQUEEZE [URL]

View 6 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 Configuration :: Upgrade The Installed Packages From The Packages.debian.org Site?

Jul 22, 2010

I have just installed Debian Lenny and was trying to upgrade the installed packages from the packages.debian.org site. when i asked synaptic to add the downloaded packages the would not appear, but when i checked the .xsessions file there are entries saying that the packages were being ingnored because they were either different versions, the MD5 did not match or even "can't find pkg". i have to use the local library to download the packages because i dont have an internet connection at home.

[Code]...

View 6 Replies View Related

General :: List Installed Packages In Debian From A File?

Jun 25, 2010

I have a system that will not boot as /usr has been destroyed and I would like to get a list of installed packages before re-installing. I know that it's possible to get this using dpkg or apt, but I cannot run those.

Where in the filesystem is this information stored and what's the best way to get a list of installed apps from the files?

View 2 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

General :: List The Removed Rpm Packages Used By Rpm -e ?

Jun 23, 2011

OS: RHEL / CentOS If I use "yum" to add / erase packages, OS will log the info to file /var/log/yum.log.

But if use "rpm -e" to remove a package, there is no related log file to show which rpm package got earsed. I have to run "rpm -qa > /tmp/$TIME", and then diff the /tmp/$TIME file to get the difference.

Is there is command to show the erased packages (erased by using rpm -e)?

View 1 Replies View Related

General :: Check What Packages Were Removed?

Jan 25, 2010

I've just joined this LQ forum as I couldn't find my answer on the web.

I am trying to find if there is a way to check/find out what packages were removed. In other words, I am looking for the history of packages that were ever removed.

I already know how to find what packages were installed using <rpm -qa> command, but it doesn't tell what has been REMOVED.

For example, how do I know if the <gcc> package was ever installed before, and when it was removed?

View 6 Replies View Related

Ubuntu Installation :: Remove Manually Installed Flag On Packages

Jan 5, 2010

After updating to Karmic, Synaptic shows almost all of my installed packages in the category "Installed (manual)", including about half of the packages that belong to a clean Ubuntu installation (e.g. apparmor, apt and hundreds of others). As a result, I can't easily get a list of those packages that I did indeed install manually and may want to remove. Is there a way of removing the "Installed (manual)" flag from all packages?

If I could do this, all packages that do not belong to the core Ubuntu system should show up as "Installed (auto removable)" and I could individually mark only those as manually installed that I really still need and let apt/synaptic uninstall everything else. I know that with today's hard disks, disk usage of installed packages is not an issue. But those packages accumulate over time and need to be updated with every security update and every ubuntu dist-upgrade, wasting time and bandwidth.

View 2 Replies View Related

Ubuntu :: Remove Configuration Data From Previously Installed Packages

Jun 19, 2011

[URL]You show how to remove a package and it's dependencies. You show how to remove the configuration from the package you are currently uninstalling. You don't show how to remove the configuration data from a package and all of it's dependencies. Why?

View 8 Replies View Related

Ubuntu :: Unable To Remove Bad Package Installed From .deb

Oct 29, 2010

I attempted to install the CLI management tool for my Highpoint Rocket Raid card (rr62x) downloaded from this page: [URL] When I tried installing it, this is what happens:

Code:

# dpkg -i hptraidconf_3.5_amd64.deb
Selecting previously deselected package hptraidconf.
(Reading database ... 68853 files and directories currently installed.)

[code]....

How can I get this package removed? I was able to get a different management tool installed to configure my RAID so I don't need this one. My system appears to be working, but everytime I use apt-get to install something else, it shows the hptraidconf package as failed.

View 9 Replies View Related

Slackware :: Remove Package That Are Not Installed By Installpkg?

Mar 2, 2010

i have some package that are installed using ./configure then make & make install & make clean how can i remove those? i cant see them in the pkgtool.

View 7 Replies View Related

Ubuntu :: Update Installed Packages List Or Force Removal Of Package?

Jul 21, 2011

I was working on my flash drive install of Ubuntu, when I squashfsed my /usr. Long story short, I some how ended up with a working /usr, but with a few packages marked as installed, but not having its components installed (emacs). When I try to remove emacs (emacs23-nox), it gives me numerous errors about files (all relating to emacs) not existing (all in /usr). Thus my questions are as follows:

1) Is there a way to force the removal without it caring about missing packages?

-OR-

2) Is there a way to reload which packages are installed by checking which files exist, etc?

-OR-

3) Should I just nuke and re-install?

View 1 Replies View Related

General :: Installation Of Packages / Using X Windows Menu Add / Remove Packages

Sep 21, 2010

How to add packages using X-Window's add/remove packages option in RHEL-5.3 as it shows only the currently installed package and and does not show any thing when we click the button "available packages" ?

View 2 Replies View Related

General :: Debian - Remove Adobe Acrobat Reader Installed From Binary

May 3, 2011

On a Debian system, I installed Adobe Acrobat Reader using the Linux binary (AdbeRdr9.4.2 1_i486linux_enu.bin) downloaded from Adobe's website. What's the right way to uninstall Reader when it was installed this way?

View 1 Replies View Related

Fedora :: Remove Pen Drive When Click 'safely Remove' Tab Instead Of Getting Removed It Reappears

Jun 28, 2011

To remove pendrive when I click the 'safely remove' tab instead of getting removed from the desktop it reappears again. This problem is there in fedora 14

View 4 Replies View Related

Debian :: Remove Old And Unneeded Packages

Feb 22, 2015

Not long ago I've switched from FreeBSD to Debian. As time passes, I install some packets, use them and forget to uninstall them. In FreeBSD there was a simple (dummy) way to keep only needed packets. Once in 6 months i just deleted all packages (pkg_delete -a) and then installed only those which i needed (xfce, xmms, gmplayer, etc). Is there a way to safely remove packets and their dependencies which i don't use anymore? May be there is a way to roll back to default desktop package collection?

View 14 Replies View Related

Debian :: How To Remove Packages From Unresponsive System

Apr 23, 2015

Since I'm running Sid. Let's assume package foo has been upgraded via apt-get dist-upgrade, and it causes a serious bug so that Sid is never able to fully start up, and is not even able to get me to the console to remove the package.

(Reword: let's assume that I upgraded the system despite apt-listbug warning me that foo had serious issues.)

Is it possible for me to remove the package and get back in? Everything I've seen online assumes that I could at least access console--but this hypothetical bug doesn't allow that.

If it were in Arch, I would just boot from the live dist, arch-chroot into the / directory, and try to remove foo via pacman. But Debian doesn't offer a live disk past Stable, so I suspect that this wouldn't work with a Wheezy disk?

Am I asking for an impossible situation, or can a troublesome package be removed from an unresponsive Sid?

View 7 Replies View Related

Debian :: Remove Packages Or Install New Ones"?

Apr 12, 2010

I have a a few questions about Testing's update manager. When I go to the update manager I get a message saying "Do you want to perform a safe-upgrade, which does not remove packages or install new ones"? Will my entire system ever eventually get upgraded if I only ever do safe-upgrades? Or is there a time and a place to do non-safe upgrades? I did a non-safe upgrade a few days ago and all it did was mess with a bunch of OpenOffice packages.

Why are only certain packages selected by default when doing a non safe upgrade? Why is it that whenever I do a non-safe upgrade when it's done applying the updates the same packages I just installed are listed as available updates? Also, I used this website to build my sources.list and there apparently is some sort of "fatal error" with one of the repositories I selected. Is there a text file somewhere I can go to see a readout of apt-get bug reports?

View 4 Replies View Related

Debian :: How To Find Out Which Packages Depend On Some Package?

Jan 8, 2011

I have a short question. I want to find out which packages are depending on some package. For example, I want to know which packages are depending on evolution.Is there any possibility how to find it out?

View 11 Replies View Related

Debian :: Just Download Currently Installed Packages

Jan 7, 2011

I was wondering how can I re-download only all currently installed packages. I would like to save them to removable media, because I use netinst disc to install, and on slow connection it's hell to download 1GB of packages with console-only.

View 3 Replies View Related

Debian :: Installing Gthumb Wants To Remove Some Surprising Packages

Dec 26, 2010

Namely
gnome
gnome-desktop-environment

Now that seems odd to me. Am I ok to proceed or will I be left without a desktop? Following advice in an earlier thread, I pointed my sources.list at testing to move to a rolling distro; having installed squeeze beta 2, I'm wondering if using testing is what is causing this?

View 14 Replies View Related

Debian Configuration :: Replacing Packages With Custom Package

Jul 2, 2011

I want to build my own binary package that replaces several from the repositories.But then whenever I install something that depends on libffado2, aptitude wants to uninstall mypkg and install libffado2. Why doesn't Provides work here?

View 3 Replies View Related







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