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


ADVERTISEMENT

CentOS 5 :: Remove Packages To Make Minimal System?

Apr 2, 2009

Continuing on my quest to build a system with sole purpose of being a LAMP server, I am trying to have the bare minimum number of packages installed. I'm not trying to disable as many deamons as possible, but actually remove any package that is not required. It might sound a bit extreme but each package that is installed that is not needed is using valuable space on the expensive (and small) 36GB 15krpm SAS disk.

Also it is a damage control approach, in that assuming a cracker finds an exploit in Apache or PHP that allows them to run executables on the filesystem then taking away as many tools as possible will help in damage limitation. For example I don't want an SSH client installed on the system as it has no purpose for me but could be used by a cracker to access other systems on the network, if they compromise that system.

I have installed the absolute minimum from the 5.3 install by deselecting everything during install but that still leaves a great deal of unnecessary packages installed. Seeing as how the system is a 64bit installation and will have no 32bit apps running on it I have first uninstalled all the i386 versions of various libraries. I presume their only function is to provide compatibility for 32bit apps.

I have been looking for information about removing other packages but I don't seem to be able to find information on real dependancies. For example I believe I have no need for dmraid as it is for managing software RAID arrays that I have no intention using. but if I attempt to remove it the dependancies include kernel and mkinitrd. What I can't figure out though is if these are hard dependancies in that those packages will fail to work or soft ones that simply mean without dmraid it will not be possible to configure the software raid module that is loaded into the kernel.

What packages would people recommend to remove, anyone seen a good guide to reducing down CentOS/RHEL to the absolute minimum ? python-elementtree-1.2.6 : Is this really required by YUM ? m2crypto-0.16 x86_64 : Is this really used by YUM, I didn't think YUM connected via SSL ?

View 3 Replies View Related

Fedora :: Remove The Sudo Command Software Packages Without Damaging My System?

Apr 2, 2010

Remove the sudo command software packages without damaging my system?

View 9 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 :: 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 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 :: 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 :: 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 Installation :: Remove All Sid Packages And Roll Back To Lenny?

Jun 7, 2010

I added Sid to my /etc/apt/sources.list, so that I could install KDE4 (as described on some random KDE4/Debian web page). However, I now think that was a mistake and it would have been better to attempt to backport KDE4 onto Lenny. Over time, more and more sid packages have crept into the system to resolve dependencies, and now my system seems a bit broken; 'top' won't run, complains about missing libtermcap which is there, my cron jobs seem to be ignored and so on.

So given a system that is a mix of Lenny and Sid, what is the best way to uninstall all the Sid packages and then get back to a clean Lenny install? Is there some way that I can list all Sid packages, maybe to a file, then use that to tell apt what Lenny packages to install after sources.list has been updated to remove Sid?

I kept a log as the system was built, of everything that had to be manually set up after the debian installer has completed when I moved from 32-bit to 64-bit, so I could just do a clean install of Lenny then reconstruct the system from scratch. However, would much prefer to use the package management tools to revert to a clean Lenny.

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

Fedora :: Install Packages From The 14 Dvd Instead Of Downloading From Internet Using Add / Remove Packages

Mar 31, 2011

im using fedora 14 and i have a slow internet connection. i want 2 install some packages from the fedora 14 dvd instead of downloading from internet using add/remove packages. i tried to edit /etc/yum.repos.d/fedora.repo and /etc/yum.repos.d/fedora-updates.repo but it dint work.

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

Ubuntu :: Unresponsive System Due To Beam.smp?

Sep 29, 2010

From time to time my system will practically lock up. During these times there is near constant hard disk access, and applications will quit responding for 10-30 seconds at a time.Looking in the processes of System monitor it appears that beam.smp is the culprit, during these times it is using 80-95% cpu and between 2 and 3.5GB or RAM (I have 4GB total).It appears to be this bug: https://bugs.launchpad.net/ubuntu/+s...ng/+bug/458453I am using Ubuntu 10.04, 64-bit. I am also relatively current on my updates (I think the last updates I did were about three days ago).Judging from the comments, though it looks as if it was fixed back in May.I don't know if it matters, but the only thing I use evolution for it its integration to gnome-pilot to sync my old Palm m130.

View 9 Replies View Related

Debian :: Omit Standard System Packages?

Mar 1, 2011

During the installer specifically in 'tasksel', I'm given a few options. I generally de-select every possible option but what exactly is under the package group name 'Standard System'?ScreenshotObviously when I de-select 'Standard System', basically my installation of 'netinst' is almost immediately completed and I'm asked to reboot. How can I see or find out what exactly am I omitting from the system?

View 2 Replies View Related

Fedora :: Gnome 3 Regular Freezes System Unresponsive?

Jun 3, 2011

who is having issues with lockups check their /var/log/messages for this

May 28 11:41:21 shayne dbus: [system] Activating via systemd: service
name='org.bluez' unit='dbus-org.bluez.service'
May 28 11:41:21 shayne dbus: [system] Activation via systemd failed for unit
'dbus-org.bluez.service': Unit dbus-org.bluez.service failed to load: No such
file or directory. See system logs and 'systemctl status' for details.
May 28 11:41:21 shayne dbus: [system] Activating via systemd: service
name='org.bluez' unit='dbus-org.bluez.service'

[Code]...

View 2 Replies View Related

Ubuntu :: Xorg Thrashing Both Cores Of CPU - System Unresponsive

May 10, 2011

I am running 64bit 10.10. For the last fortnight system has become very sluggish responding to input. Programs greyout and become completely unresponsive for long periods of time and cpu usage on one or both cores ramps up. As I type it is c.80% on both. System Monitor shows usage on the cores mirroring one another. top in terminal shows Xorg at 99%. I have attached a screenshot. I have rolled back and/or reloaded the Nvidia graphics drivers to no effect.

View 9 Replies View Related

Debian :: Remove PHP 5.3.x From System Via Apt-get?

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

Debian :: Why Extra Packages (Exim) Installed On System

Oct 17, 2010

Install One :
Installed Debian Squeeze onto my laptop using the netinst cd. During installation, I did not have access to the internet and installed "Standard System" during tasksel.

Install Two :
Installed Debian Sqeeze onto my desktop using the same netinst cd. However, this time I had connected the desktop to my router during installation. Similary installed "Standard System".

Both system later installed with KDE and working fine. Noticed that immediate after installation of the "Standard System", my desktop had more files installed eg. the exim package. Why the extra packages (eg exim) are installed? Are they actually required?

View 8 Replies View Related

Debian :: Getting List Of Installed Packages From A Dead System?

May 31, 2010

I have a dead system that was running Debian Linux (lenny). I can boot into emergency mode, but nothing else. I will likely have to reinstall Debian. I've read lots of things online about how to get a list of currently installed packages. Which is fine and dandy if the system is working and I can log into it. I'm basically wanting to extract such a list from a hard drive containing an installation I can't log into normally. I can access the filesystem just fine, and nothing related to aptitude has been damaged.

View 3 Replies View Related

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

Ubuntu :: Major System Crash - XP Became Unresponsive - How To Repair The Damage

Mar 9, 2011

My computer started acting flaky this afternoon and by the end of the day, became completely inoperable. When I reboot and login, I'm given only a Terminal window. I'm running Ubuntu 10.04 LTS, although the Lynx is not very Lucid at the moment!

1). First sign of trouble was yesterday when I was running Win XP as the guest on Virtualbox. XP became unresponsive - at least the mouse could not push any buttons. I had to do a cold shutdown by right-clicking the "close" button at the tab on the bottom Gnome panel. This problem repeated itself today.

2). I attempted (and I thought, succeeded) in upgrading OpenOffice.org to version 3.3. OO seemed to work fine, but after this install I started seeing problems.

3). I attempted to remove Pulse Audio via Synaptic, but instead of removing only Pulse, pieces of software started flying out of the machine (so to speak) at an alarming rate. It happened too fast to count them all. I think the entire desktop is gone along with many individual programs (such as Kaffeine, being one that I noticed).

Currently, I'm running a backup copy of Ubuntu that I keep on a separate hard drive on the same machine. I can access my files from here, and yes, I've backed up my home folder from the other disk!

When I reboot to the damaged system and I get the terminal window, how should I repair the damage? How do I find out if the damage resulted from broken or missing software, or both? Should I try to load Synaptic from the terminal, and if so, how is that done?

View 1 Replies View Related

General :: New Vodafone 3G USB Modem Unresponsive With Ubuntu 10.8 Operating System?

Dec 7, 2010

My name is Mayan Viljoen & I am from South Africa. I am very new with Ubuntu and I don't understand why the Vodafone 3G modem HSDPA USB stick (model k3570-Z) which I recently bought should not like Ubuntu as much as it does Windows. I want to work on the Ubuntu side of my split hard drive rather than the Windows side. It is notoriously difficult to get connected to the net on the new Ubuntu with this 3G modem. Is it because it is really manufactured for Windows or is there another reason? It will only really connect approx. 1 out of approx. 8 odd times on the Ubuntu 10.8 Operating System, which is very annoying to me. What can be the reason for this? If it is that this modem was really made for Windows, what then is the best 3G modem and network to use with Ubuntu 10.8?

View 2 Replies View Related

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:

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

Debian Configuration :: Find & Download I386 Packages On An Amd64 System?

Oct 30, 2010

I have a computer with internet access with amd64 architecture running Debian stable (Lenny). I have another computer with NO internet access with i386 architecture running Debian stable (Lenny).I want to download some packages for the i386 computer using the amd64 computer. So far, the only way I can see to do this is to use dpkg-architecture to temporarily change to i386 on the internet computer, run aptitude with the download-only option to retrieve the packages I need with all suitable dependencies, then switch the internet computer back over to amd64.

I can't imagine I'm the only person who ever needed to do this, and yet I've had no luck finding any advice. The method I described seems rather awkward - is there a more elegant solution?

I apologize to the membership, I realize now the absurdity of this subject. Having now studied the online repository search functions closer, I see it appears packages are automatically retrieved with all necessary dependencies. As such, it is not necessary to use apt and its various functions to do the job.

View 3 Replies View Related

Ubuntu :: Apt/dpkg: Segregate User Application Packages From System Packages?

Dec 2, 2010

Is there a way using dpkg or apt-get to segregate user application packages from system packages? What I envision is an /apps directory structure that can be the install target for selected packages so not to "clutter" the storage areas for the system administration files/packages - maybe even with permissions set so that (a GROUP of) users could install packages on an Ubuntu server w/o SysAdmin guidance. This could also allow 1)system upgrades with or w/o including these packages, and 2)the sharing of /apps (via NFS) among common Ubuntu systems. Is this doable using the dpkg or apt maintenance tools?

View 2 Replies View Related

Debian Installation :: Remove GRUB Boot Loader From My System?

Apr 3, 2010

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.

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

Server :: Debian Becomes Unresponsive While Running Java?

Mar 13, 2011

Kernel version: 2.6.26-2-686
Java version: 1.6.0_0

I'm going to run a full system update, but I doubt that'll work.

What happens is I turn the computer on, log in, start the application with:

java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui

and it will work fine for a while, but then, while we're playing, it'll become unresponsive and crash. I then go over to the physical computer, wake the monitor up by pressing the down arrow, delete the "[[B" that appears, and try to issue the applications stop command to save and close the application. This doesn't work. The computer registers what I type and registers the return, but nothing happens. I switch over to my second console, log in, find the PID of java, and attempt to kill the java process as root. It accepts the command and gives me another line of prompt, but when I switch back to the first console, nothing has happened.

I then switch back and try to issue a shutdown for right now, and it'll get to "Sending processes the SIGTERM signal", and then it waits for them to be killed, but will not progress further than that. I then have to either force the shutdown with the 3-second hold for the power button, or I have to turn off the power bar it's attached to.

Also, if I'm at the prompt and press backspace, which gives me a system beep, it doesn't stop. Instead of one, short beep, I get a never-ending tone, as opposed to the beep.

The computer does run a little hot; It's in a closet and it's kind of crammed, but it's never so hot that you can't handle the computer.

View 2 Replies View Related

Debian Multimedia :: Unresponsive Desktop In KDE4 With K3b - Squeeze

Aug 23, 2010

I'm running Squeeze with KDE 4.4.5 in my desktop. Everything seems to be fine, except for some unresponsiveness that is really annoying. The main problem (but this also reflects on other uses, though in a less intense manner) is when K3b is burning or erasing anything (including CD-R and CD-RW). The whole system becomes unusable. Not even a Konsole window can return from a "aptitude search something" query.

I have a Intel i7 920 system with 6GB RAM and two 1.5TB disks. I use an AMD Radeon 4890 video card with their proprietary drivers (at least for now it is the only option). I also have an extra Audigy sound card. I thought that such a system would be enough to have a good desktop experience while multitasking. What might be wrong?

View 6 Replies View Related







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