Debian Configuration :: How To Remove VM From System
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:
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?
Does anyone know if I can successfully remove / delete the 'debian-sys-maint' account from MySQL? I noticed it there and appears to be something the Debian developers / maintainers of MySQL package added. I am guessing it's there to manage package updates and system maintenance as a back door of sorts. Anyone know if I can remove this account and not break the package or database?
I am using Squessze and Gnome. When I try to use the gui System>Administration>Network or Users and Groups I get the error The configuration could not be loaded. You are not allowed to access the system configuration.Everything was working before. I read around a bit. In some cases,it was caused by mismatching group and password files after using the gui. I do not know how to check if they are matching. Of course I do not know for sure that is the problem in my case.
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?
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?
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?
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?
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.
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.
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.
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.
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.
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.
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)
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.
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....
I have upgraded my server to Debian 6.0 Squeeze but it looks like some of my sites are not compatible with PHP 5.3.x so I would like to revert to previous 5.2.6 version.So my question is what to do?a) Remove PHP 5.3.x from system via apt-get and install my old 5.2.6 from old archives at /var/cache/apt/archivesb) just try to update from archives PHP to 5.2.6?
Code: -rw-r--r--. 1 root root 2413316 May 11 2008 libapache2-mod-php5_5.2.0-8+etch11_i386.deb -rw-r--r--. 1 root root 2413290 Oct 6 2008 libapache2-mod-php5_5.2.0-8+etch13_i386.deb
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?
I've had to give up trying to install linux. It just won't work on my machine, a Presario 6370us that has been upgraded over the years such that it is not compatible with linux, apparently. (You can read my travails elsewhere on this board; thanks very much to all who tried to help.)
Now, how do I remove the GRUB boot loader from my system? I need the system to boot directly to Windows XP.
I can't start linux in any way, shape, or form, so I need to either edit GRUB inside the GRUB environment itself, or to do so from Windows.
Ideally, I'd like to remove GRUB entirely. Failing that, I'd like to edit the GRUB config file so that only Windows is an option. Failing that, I need to make Windows the default OS.
How does the 'testing' version of Debian stabilize? I mean, the updates from upstream are very frequent, so if the Debian maintainers upgrade a package till the very end (for e.g if they just upgrade to 2.6.36), when will they get time to test it (so as to freeze it)?
If I shutdown from X the system hangs and I have to yank out the power cord. Same on logout.
ctrl+alt+f1 hangs for a few minutes and then starts a terminal; which does not respond to the keyboard.
There are no tty.conf files in /etc/init .
But inittab looks normal to me and includes tty (1-6)
Executing init 6 from a terminal in X will reboot the system
I was thinking this might be a dbus issue, but I am not sure. I also understand some recent issues exist with SysRq sequences. May be a video card issue,,,
Other than normal package upgrades the only changes were a recent change from a VGA to HDMI cable. I can't see why that would matter
Linux Lugh 3.2.0-4-amd64 #1 SMP Debian 3.2.68-1+deb7u2 x86_64 GNU/Linux
I was wondering if a standard Debian 8 system with Gnome desktop does any kind of local dns caching, and if so, what the command is for clearing it. (Assuming I haven't purposely installed any DNS server software.)
I found multiple posts on the Web about unix DNS caching, but with widely different answers across distributions and across time.
I am running Debian on an ARM module (BananaPi).5 minutes ago, i started upgrading the system, but fortunately the power cable moved and the system closed.Now i open it up again and i'm trying to re-upgrade the system but i'm always getting this message
# apt-get upgrade E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
I have installed jessie on a couple of machines. One is configured as the NFS filesystem exporter and NIS server. The other one, I am trying to configure as NFS and NIS client. NFS does not seem too much of a problem, I can mount the exported filesystem to a directory in the client and unmount it, but when I install NIS the system becomes very slow. Any command preceded by "sudo" takes a very long time (a few minutes) to complete. Then, upon rebooting the system, it reports many services failed to start (login, accounts, modem manager, avahi, network manager, exim). When if finally completes, I get a terminal login, instead the graphic login window.
Installed linux-image-2.6.32-bpo on my laptop today and after the reboot i got "no operating system found" . I'm now typing using a Puppy live cddrom .
I have a small LAN. I am in the process of installing a Debian Lenny/Squeeze system into the LAN. I want to send and receive system messages using rwalld and wall.I can send a system message from my Debian system to another box using rwall. I can send a local message within the Debian box using wall in a console.I cannot send a local message using wall Konsole in KDE 3.5.x. The KDE Write daemon fails to provide any pop-up window./usr/bin/wall is installed from the bsdutils package and is set to -rwxr-sr-x.
The ktalkd package is installed. The KDE control center shows a configuration option in Internet & Network settings called Local Network Chat.When not in X, mesg is set to y at the console. After starting KDE and I open Konsole, mesg is always set to n. I don't know how this setting toggles. Further, setting mesg to y in Konsole has no effect on getting wall to work.mesg is set to y when I run xterm in KDE. Then wall works within that terminal window. However, the KDE Write daemon does not see the message in xterm.When I send a message from another system to the Debian system using rwall, xterm receives the message but not Konsole or the KDE Write daemon.
The purpose of that topic is to identify if there is any way to totally clean a debian system and make it like a fresh installed system (of course i amn't refering to packages because aptitude is just perfect?
I'm running testing and over the last week or two my system is getting slow. Any disk access slows everything to a crawl. Even the cli can take several seconds to display characters as I type them.