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
ADVERTISEMENT
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
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
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
May 29, 2010
how do i find which package offers gl.h?
View 1 Replies
View Related
Jan 29, 2010
Code:
$ uname -a
Linux MyBox 2.6.28-17-generic #58-Ubuntu SMP Tue Dec 1 21:27:25 UTC 2009 x86_64 GNU/Linux
[code]...
View 3 Replies
View Related
May 23, 2010
Despite using Linux for a while I'm only just getting a taste of managing my very own system so please be gentle!
After trying a `blind' sudo apt-get install acroread which was unsuccessful I tried installing using the synaptic package manager, and couldn't find it in there either.
According to the software sources info I have both Universe and Multiverse switched on. I'm fairly sure one of my attempted permutations of `acro', `reader' and `acrobat' etc should have hit upon something so I assume there must be something more fundamental wrong!
Am using a newly installed Lucid Lynx 10.04
View 5 Replies
View Related
Feb 20, 2011
Linux noob, and I'm trying to install a little program on my rootserver, but it requires libboost and libboost-dev. Unfortunately ubuntu can't seem to find the packages and google does not help either. The only info I found was telling me to install "gnuradio" or something, which takes up 138 mb. So, how can I install these packages now?also: I cancelled the installation of gnuradio via "CTRL+C", will this cause any problems? Are there some trash files left on the system now?
View 1 Replies
View Related
Jan 31, 2010
I am running Ubuntu 9.1 and am trying to download the apt file from the adobe web site and use apturl to open it. I enable the partner channel packages finish downloading and an error pops up. Could not find package 'adobe-flashplugin'.
View 4 Replies
View Related
May 16, 2010
In my laptop Asus EeePC900Ha, i was installed Edubuntu 7.10 for education in school. But now there is somme problem:
1.Where is possible to find language GNOME package (Macedonian) i mean for download.
2 And there is possible to find a drivers, because my web cam, audio, and modem don`t work.
View 8 Replies
View Related
Jun 7, 2011
No matter how I try, or how many sources I go to, every instance of open office gives me an error message saying that the JRE (Java) file is corrupt. I cannot find an instance of Open Office I can download regardless of the version. I have no Open Office now. How can I find a version that will give me the entire package AND install? I've had a lot of trouble getting any version to install...but that may be due to the corruption of the JRE file
View 1 Replies
View Related
Oct 13, 2009
Code...
In what package does uno exist?
View 2 Replies
View Related
Dec 18, 2009
I'm using yum install libxml2 and it says it's already installed. I need to configure php with the location of libxml2. Is there a yum command to show me where the libxml2 installation folder is? or any other package example apache ...etc.
View 2 Replies
View Related
Jan 18, 2011
where can I find repo for ckermit package? Want to use it but didn't find it either compile because dependencies.
View 3 Replies
View Related
Jan 15, 2010
centos 4.4 - 3 of 4 hard drives removed now won't boot- can't find lv so kernel panic
View 2 Replies
View Related
Jan 22, 2011
Fedora 14 I recently went to install some software using the source files.When I ran the command
Code:
./configure
I got a message saying that
Code:
package gthread-2.0 not found
After searching the internet some one had the same problem. I needed to install a package called
Code:
glib2-devel
However, rather that searching the internet.
View 1 Replies
View Related
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
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
Aug 14, 2010
I accidentally removed tar package and now pkgtools are not usable when I try to install back tar-1.23 How do I get back with my tar program?
View 13 Replies
View Related
Aug 18, 2010
i have installed this Ubuntu in virtual-box running in windows xp. my INTERNET connection is working fine but i m using proxy for that. my problem is that when i want to install something through sudo apt-get install xxxx(whatever) it gives error "Couldn't find package".
Example:
#sudo apt-get install wine
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package wine
View 9 Replies
View Related
Mar 7, 2011
I am not able to install linux key logger on my ubuntu 10.04 is my os this is the result that i got user36@lib-desktop:~$ sudo apt-get install lkl Reading package lists... Done Building dependency tree Reading state information... Done E: Couldn't find package lkl user36@lib-desktop:~$
View 9 Replies
View Related
Jun 24, 2011
I've been having trouble with CUPS.I uninstalled it and I wanted to re-install it. When I removed CUPS some other files were removed too. I don't have an option of installing the software or updating a system, in the Control Center.
View 1 Replies
View Related
May 8, 2010
I have never ever have a single installation issue with ubuntu (been using it for years and years, and before I used other distributions for years).Now I want to install Ubuntu 10.4 alongside Windows 7. I don't have any other demands or wishes, just for it to install. Unfortunately, there is no way to do that. The installer is always stopping at a "no root file system is defined". When I go to gparted in the liveCD version it shows my entire drive as free, unallocated space (although there are at least 3 partitions, one of them with working windows 7).The LiveCD sees the partitions all righ, I can access the windows partitions without any problem. Fdisk -l also shows my partitions properly. Gparted, however, for some reason doesn't recognize them.
I have only two options:
1) use whole drive (which would erase my windows 7 - no, no)
2) set up manually (which says all my 250gb drive is unallocated space). No other choices.
And generally the installer of ubuntu says "This computer has no operating systems on it."
Installing through wubi doesn't work as well. After restart it wants to install but reaches sth like 257% on "getting time from server" and says there's no root filesystem. So it's all basically about ubuntu not wanting to acknowledge the simple fact that there are already partitions and OS's on my drive...
View 9 Replies
View Related
May 9, 2010
i was trying to remove the flash plugin 32bit wrapper (don't remember the exact name of the package),using the command apt-get -y remove --purge and i saw somehow uninstalled a bunch of other programs like the gnome-network manager,emphaty...Now i rebooted and can't log on anymore .Is there a way to repair this,like running an upgrade from the livecd to restore the missing parts without wiping out my conf & other programs ? I've tried this that i found some other forum ,but i didn't work
Code:
sudo mkdir /mnt/repair
sudo mount /dev/sda3 /mnt/repair
sudo chroot /mnt/repair su
[code]....
I'm running a dual-boot with windows 7
View 1 Replies
View Related
Aug 2, 2010
UBUNTU 9.10 is great. I am running this on Dell desktop. My experience with 10.4 is not so good. Not able to load and run Postgres ( psql) Gone back to 9.10. Maybe I can get back after the bugs have been removed.
View 2 Replies
View Related
Aug 10, 2010
Just wondering if anyone else has this partial upgrade being offered to them: ffmpeg, libavdevice52, libpostproc51, libswscale0 are held back (grayed out) in Update Manager.
I only use Update Manager manager to see if there are any updates and then use sudo apt-get update, sudo apt-get-upgrade and sudo apt-get dist-upgrade to actually examine the updates as it shows if anything will be removed without anything to replace it.
And I know to never do a partial upgrade.
Update Manager displays "Partial Upgrade" with the files listed above grayed out.
I did use sudo apt-get-upgrade to install a few packages earlier that were safe to install and now -
sudo apt-get-upgrade currently gives this output:
Code:
The following packages have been kept back:
ffmpeg libavdevice52 libpostproc51 libswscale0
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded
[Code]....
View 6 Replies
View Related
Oct 24, 2010
I've had my laptop dual-boot with Ubuntu 10.03 and W7 for some time, and all has (mostly) been OK. Unfortunately, my windows installation was an upgrade from Vista, and always a bit of a pig's 4rse, so I deleted the partition and reinstalled it cleanly.
But now I no longer get a list of boot options, so I can't boot into Ubuntu.
Its partition is still there OK... I can get the dual-boot back...
View 5 Replies
View Related
Apr 26, 2011
I removed the linux-image-2.6.32-31-generic package (and all the older ones) from my 64-bit Lucid Lynx machine. When I boot up, the grub menu only has memtest as a choice.
I am able to boot the machine with the LiveCD and can mount the drive. (look like it's read only mode right now.) But now, how do I reinstall the linux-image-2.6.32-31-generic package(or any package for that matter) onto the disk partition that represents the machine?
View 2 Replies
View Related
Jun 19, 2011
I reclaimed the hard drive space on my hard drive entirely for Windows 7 with the intention of installing another hard drive solely for Ubuntu. When I reboot my computer it still gives me the option to choose Windows or Ubuntu. I tried Ubuntu just to see what happens and all that came up was some error and an option to type in help for a list of commands. And if it makes a difference I was running Ubuntu 11.04.
View 2 Replies
View Related
Jul 15, 2011
I'm running Kubuntu natty on grub-efi-amd64. I've just received notification of a bunch of new packages to install, I believe part of it is a kernel update. When I click on "apply" a window comes up which says "Additional changes are required to complete the task". "2 packages to remove" lists "grub-efi" and "grub-efi-amd64". It lists 5 packages to install 3 of which are linux kernel and 2 of which are the bios version of grub.
How can I update my system without having efi-grub removed?
View 1 Replies
View Related