Software :: Manually And Forcibly Remove LVM Configuration?
Feb 3, 2011
Unbeknownst to me the LVM volume (on LUN) that I removed from my server was in use by another system. So instead of vgexporting the volume group on one of the servers and then lv,vg,pv-removing it on the other I dismantled the LVM devices my servers (as belwo).
0. unmount the filesystem
1. Remove logical volume (lvremove <vg>/<lv>)
2. Remove volume group (vgremove <vg>)
[code]...
View 6 Replies
ADVERTISEMENT
Mar 31, 2016
I'm using xfce, and the power manager settings, to only lock the screen when close, are not honored. The laptop suspends, no matter what, when closed. Is there a way to forcibily only allow xfce power manager to handle the close lid behavior?
View 2 Replies
View Related
Oct 20, 2010
I did a "dirty install" of Maverick over my existing Lucid system. That went very well and I am having no problems with Maverick. However, this morning, I decided to clean off the old Lucid kernels. In the past, after installing a new kernel on the same Ubuntu release, I have done this by running "aptitude search 2.6.32-24", for example, then running "sudo aptitude purge" for the kernel and header files it found.
Now that I have changed releases, aptitude no longer finds the Lucid kernels installed on my system, even though they still reside in the file system and show up on the grub2 menu. So, how do I manually find everything necessary to delete for the old Lucid kernels?
View 9 Replies
View Related
Jan 23, 2011
We all know that we can remove installed applications straight from terminal or ubuntu software center. However, sometimes we download .deb files from the web that are not necessarily on the repository. My question is, how do I uninstall a manually installed deb application?
View 9 Replies
View Related
Nov 6, 2009
for a x problem I reinstall the complete x packages. I remove some packages with force.Before this yum works perfect. Exact at this time we have problem with our internet connections and yum hangs somewhere when yum load the repositories and or start the update process.Now yum hangs at start from the command. I can start yum some times and no locking error is rise.strace brings:
stat("/var/lib/rpm/Packages", {st_mode=S_IFREG|0644, st_size=79855616, ...}) = 0
open("/var/lib/rpm/Packages", O_RDONLY) = 4
fcntl(4, F_SETFD, FD_CLOEXEC) = 0
[code]....
View 3 Replies
View Related
May 20, 2011
I have a 4 GB usb pen drive, but I am unable to format it. Even if I delete some files and eject it , I am getting back the same files again? Guide me any cmds or any software to forcibly format my pen drive?
View 3 Replies
View Related
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
Oct 24, 2010
I have a question, that may sound silly. I have removed VirtualBox from my Ubuntu install. But the .VirtualBox folder is still existing with a virtual drive of nearly 10 GB. Can I manually remove the folder .VirtualBox with rm -rf without any unwanted side effects?
View 2 Replies
View Related
Aug 9, 2015
My network configuration is in a weird situation, that I always need to run dhclient manually each time after a network connection is established. When my computer connects to a router, sometimes it won't get a valid IP, and it uses an automatically generated fake Internet IP. In this situation, it won't connect to the Internet at all. Sometimes it get a valid local network IP, but still cannot connect to WAN, and could only connect to my router's address (both through ping and through router's management webpage). In both situation, it can be solved by a simple dhclient run.
This is my /etc/network/interfaces file:
Code: Select all# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp
iface wlan0 inet dhcp
and this is my /etc/NetworkManager/NetworkManager.conf:
Code: Select all[main]
plugins=ifupdown,keyfile
dhcp=dhclient
#no-auto-default=FE:50:52:BE:46:4C,
View 3 Replies
View Related
Feb 23, 2010
I have an existing Nagios installation from before I started working here. It seems to be working well but my boss has just asked for a report of what servers and the associated processes/functions are being monitored. Is there any way to generate this report other than going through all the Nagios configuration files and putting it together manually?
View 3 Replies
View Related
Aug 3, 2010
I had some trouble with the netinst CD and I had to install lenny with the 6DVDs instead. My internet connection only works after I edit the interfaces and resolv.conf files manually. So my question is: can I do that from the netinst CD before it actually needs the connection to install everything? (otherwise I'll just need to use the DVDs.
View 4 Replies
View Related
Jan 10, 2016
I would like to remove a specific domU (test01--pv--guest) from my machine. I am not sure how far/to what extent to remove files. Here are the files and properties it seems I should remove:
lrwxrwxrwx 1 root root 10 Jan 9 11:05 /dev/disk/by-id/dm-name-xenvg-test01--pv--guest--disk -> ../../dm-3
lrwxrwxrwx 1 root root 10 Jan 9 01:03 /dev/disk/by-id/dm-name-xenvg-test01--pv--guest--swap -> ../../dm-2
lrwxrwxrwx 1 root root 7 Jan 9 11:05 /dev/mapper/xenvg-test01--pv--guest--disk -> ../dm-3
lrwxrwxrwx 1 root root 7 Jan 9 01:03 /dev/mapper/xenvg-test01--pv--guest--swap -> ../dm-2
lrwxrwxrwx 1 root root 7 Jan 9 11:05 /dev/xenvg/test01-pv-guest-disk -> ../dm-3
The above link to dm-2 and dm-3.
brw-rw---- 1 root disk 254, 0 Jan 9 01:03 /dev/dm-0
brw-rw---- 1 root disk 254, 1 Jan 9 01:03 /dev/dm-1
brw-rw---- 1 root disk 254, 2 Jan 9 01:03 /dev/dm-2
brw-rw---- 1 root disk 254, 3 Jan 9 11:05 /dev/dm-3
brw-rw---- 1 root disk 254, 4 Jan 9 01:03 /dev/dm-4
brw-rw---- 1 root disk 254, 5 Jan 9 01:03 /dev/dm-5
brw-rw---- 1 root disk 254, 6 Jan 9 01:03 /dev/dm-6
brw-rw---- 1 root disk 254, 7 Jan 9 01:03 /dev/dm-7
Will they be deleted automatically or should/can I remove them? How do I check the need for the other dm-? files? As indicated below, it seems like some may be duplicates.
I also found this set in /etc/lvm/archive/:
-rw------- 1 root root 2909 Oct 17 00:41 Relaise-vg_00000-1453251236.vg
-rw------- 1 root root 2929 Oct 24 22:08 Relaise-vg_00001-1530642081.vg
-rw------- 1 root root 2924 Oct 25 19:33 Relaise-vg_00002-328450675.vg
-rw------- 1 root root 2901 Oct 26 19:53 Relaise-vg_00003-1555350964.vg
-rw------- 1 root root 2902 Oct 26 19:53 Relaise-vg_00004-1044927704.vg
[Code] ....
Some of these seem like duplicates. This may be due to multiple attempts to build the volumes. Is there a way to determine if all of the are useful?
View 0 Replies
View Related
Oct 18, 2010
For some reason from a fresh installation on Debian (Squeeze), Apt is telling me I no longer need the 'make' package and I can remove it. I find this extremely odd & random given I just built this O.S. Why would Debian want to remove such a package and since this is a fresh installation, is there something I did wrong?
View 4 Replies
View Related
Aug 10, 2015
The apt-get autoremove command, I use Debian 8 for some time now and I often install a package, test it for some minutes and remove it then. I noticed that in most cases (if not all, I'm not completely sure) all the dependencies that were installed with the package (mostly libraries, of course) stay installed on the system when I remove the package.
And there is no output of apt-get that there are unnecessary pacakges which I can remove with apt-get autoremove. The autoremove command does nothing.Before I changed to Debian, I used Ubuntu and there all the dependencies are removed with apt-get autoremove when I uninstalled a package.My question is now, is this normal? if there are fundamental differences in which packages "autoremove" removes between Debian and Ubuntu?
View 4 Replies
View Related
Apr 19, 2010
I'd like to know how to leave only tty1 and 2 and permanently disable others. (I'm running Lenny/i386).
View 4 Replies
View Related
Oct 17, 2010
I have tried install libsub-install-perl and libparams-util-perl but get Error. Now I want remove it from the list when I tried apt-get upgrade. Where I can remove from this entries?
View 2 Replies
View Related
Jun 20, 2015
After installing Jessie, apt-get gives me a huge list of packages with the suggestion to autoremove them. Now, I've tried auto-remove once and was left with a naked Gnome, so I was wondering if there's another way to find out which packages I should keep and which I can safely remove. Is it safe to delete packages that cannot be found using the search function for the stable release? I checked them one by one here URL....How about linux images that won't appear in the above search?
linux-image-3.14-0.bpo.1-amd64
linux-image-3.14-0.bpo.2-amd64
linux-image-3.16-0.bpo.2-amd64
linux-image-3.16-0.bpo.3-amd64
linux-image-3.2.0-4-amd64
How about results shown by deborphan?
View 9 Replies
View Related
Feb 7, 2016
I am using Wheezy 7.9, Gnome Classic, gdm3 . I have two menu instances of Master PDF Editor, one instance in the Graphics menu and the other in the Office category. I have tried using Alacarte to remove one of the instances. Alacarte shows that the item has been removed but in fact it still shows up in the menu. The procedure I used was to open Alacarte as root user, delete the item, close Alacarte and re-start the computer.
View 1 Replies
View Related
Feb 22, 2010
I had some problems about a week ago with installing Python2.6-minimal (as an issue, it got resolved), however, after the problem was resolved, 'Add/Remove Applications' disappeared after upgrade was complete. I usually do not use this program for installing, etc., if I can help it, but do use it more often for web address reference when I am considering installing a new program, etc. Question is,is there some way to find out if it is merely lurking somewhere in my system... & then to once again add it to my menu list? Or, if that is not the case, to reinstall it via apt-get, aptitude, or some way like this? I could not find this application (or whatever it is called) in the Synaptic Package Manager.
View 3 Replies
View Related
Sep 3, 2010
I had read that squeeze was to use upstart instead of sysvinit. Anyway, in playing with splashy, I decided to install upstart to see if it would work, which it does just fine. When I check for updates in synaptic, it always wants to remove upstart in favour of sysvinit. I wouldn't have a problem with that except, with sysvinit, squeeze no longer shuts down or starts up.
View 3 Replies
View Related
Oct 14, 2010
How to remove a specific folder from your backup?$ rdiff-backup --remove-older-than now /backup/backup_laptop/home/derick/DownloadsFatal Error: Increments for directory /backup/backup_laptop/home/derick/Downloads cannot be removed separately.Instead run on entire directory /backup/backup_laptop.
View 2 Replies
View Related
Aug 7, 2011
I have this package dependency question for a while. I have brand new Squeeze system. I selected desktop during installation. Gnome is default system but I turned off gdm3 and uses fluxbox as window manager. I understand if two packages are tied together funtionally so that removal of either package terminates one feature. Above cases, many small packages only depends on the core packages. The core packages work fine without games, other programs.
There are so many programs that I want to remove in the system. For examples, ekiga is a VoIP program that I never use it. When I tried to remove it using apt-get or aptitude, it suggests entire gnome packages will be removed also, which is illogical. The only solution I found is I need to manually remove the package files. I haven't tried it yet.
View 3 Replies
View Related
Aug 9, 2010
I was just wondering if there was a package out there to remove all obsolete program configuration files?
View 4 Replies
View Related
Dec 4, 2010
How to remove package with his configuration files. rpm -e doesnt delete any configuration files, is there any similar command to debians apt-get --purge ?
View 2 Replies
View Related
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
Jun 17, 2011
I want to remove a keyring package I installed from a repository that I no longer want to use. However, I cannot remove it:
# apt-get remove -y --force-yes debian-xray-keyring
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be removed:
debian-xray-keyring
0 upgraded, 0 newly installed, 1 to remove and 130 not upgraded.
After this operation, 49.2 kB disk space will be freed.
(Reading database ... 181076 files and directories currently installed.)
Removing debian-xray-keyring ...
gpg: key "AB8F901D" not found: eof
gpg: AB8F901D: delete key failed: eof
dpkg: error processing debian-xray-keyring (--remove):
subprocess installed pre-removal script returned error exit status 2
configured to not write apport reports
Errors were encountered while processing:
debian-xray-keyring
E: Sub-process /usr/bin/dpkg returned an error code (1)
View 4 Replies
View Related
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
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
Feb 10, 2011
I'm trying to mount a remove filesystem onto my own server. I am able to do this, however I can only access it as root, or if I chmod 777 the lot. Obviously I want to be as secure as possible, so I'd like to avoid either one of those options. Another option is to mount it directly into my home directory, but previously when I was trying out Ubuntu this caused Samba problems - and I was advised mounting in my home dir was a workaround rather than a proper fix.
I have root access with sudo on my own server. I've not set a root pasword, and until I need to I'll avoid it. I have a user account with full control over my own home directory on the remote server. I am mounting using fstab - sshfs#username@remoteserver:/media/sdk/home/username/ /media//remote/ fuse user,idmap=user 0 0
What I would like to do is without changing the permissions on the remote server change the permissions when they are mounted on my own server. I would like them to be in the group sambausers for example. Instead they are owned by root and in the group of 1024 (which I have not set). Additionally for this to work they would have to have 770 on my home server and 700 on the remote server....
View 1 Replies
View Related
May 22, 2010
I've just made a fresh install of Ubuntu 10.04. When I right-click a panel and choose "New Panel", the panel is made, but is not visible. The panel is placed on the left side of the screen, and icons on the desktop is moved to the right. Also windows does not use the full width of the screen when maximized. I've tried to remove the panel configuration in my home directory, logout and login, installing ATI drivers and running a gnome-panel command (from another post on ubuntu forums), but nothing works.
View 2 Replies
View Related