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.
Is there any way to quickly remove multiple related packages from the command line instead of having to enter the name of every single one? I am trying to remove OpenOffice from my server running 10.04. It would work nicely if I could get a list of packages without line breaks, such as the list displayed by aptitude when upgrading. That way I could just paste the package list into the terminal. However, "aptitude search 'openoffice'" dumps a long list on many lines that cannot be used that way.
I want to build my own binary package that replaces several from the repositories.But then whenever I install something that depends on libffado2, aptitude wants to uninstall mypkg and install libffado2. Why doesn't Provides work here?
I added a code into terminal and restarted, then I tried to install Java and this came up.'There seems to be a programming error in aptdaemon. This is the software that allows you to install/remove software and to perform other package management related tasks.'
PHP Code: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/aptdaemon/worker.py", line 961, in simulate
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 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?
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.
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)
I just blindly install 'java' in GNU/Linux Debian SID -- so I could use it as a plugin for iceweasel -- Unfortunately, things didn't work as expected. I was used to Debian's APT to take care of things for me as it had done for more years than I could remember. (Being a desktop user/programmer and a beginner system network admin). I want a clean install of java plugin for iceweasel. So I want to remove completely all java related packages --
How do I know which is which and if they are safe to remove without affecting any other part of the system? Now, to install -- what do I need to install in order for iceweasel to have the Java plugin and let java work as it should? I prefer from the Debian package. But if it doesn't work, I'll accept JRE from the java site and install them myself.
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.
I've got this weird problem: when I reboot my Debian 8.3 server, I have to run through the crypto unlocking processes for my encrypted volumes a few times before I actually get to a login screen. The operation times out 85% of the time, leaving me to reboot and try over and over until the system is happy.
Here's my partitioning setup (manually partitioned at install): /boot: 500 MB, EXT2, nodev, nosuid, noexec /tmp: 2 GB, EXT2, AES-256/xts-plain64 with RANDOM KEY swap: 2.5 GB, AES-256/xts-plain 64 with RANDOM KEY /: 35 GB, EXT4, AES-256/xts-plain 64 with PASSPHRASE /var: 35 GB, EXT4, AES-256/xts-plain 64 with PASSPHRASE /home: 45 GB, EXT4, AES-256/xts-plain 64 with PASSPHRASE
Here's the output from journalctl -b -p 3: Code: Select allDate and time | server name | systemd[1]: Timed out waiting for device dev-sda5.device Date and time | server name | systemd[1]: Dependency failed for Cryptography Setup for sda5_crypt Date and time | server name | systemd[1]: Dependency failed for Encrypted Volumes Date and time | server name | systemd[1]: Dependency failed for dev-mapper-sda5_crypt.device Date and time | server name | systemd[1]: Dependency failed for /tmp
[Code] ....
I had the same problem in previous builds where I chose Twofish instead of AES, and I was hoping that the timeouts would be fixed by switching to AES as my CPU has the AES instruction set. Obviously that didn't make a damn bit of difference.
What am I doing wrong, or what should I change in my setup? The encryption is a requirement. Could the problem be caused by something as stupid as using a RANDOM KEY instead of a PASSPHRASE on /tmp and swap?
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.
[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?
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 ?
when I try to install a package, I've the message The following packages have unmet dependencies:package-xy: Depends:lib-something (>= version_number) which is a virtual package.
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?
I installed Mono 2.4 and I am struggling myself to remove all folders related to mono.. I didn't install from Synaptic so it's not just 'apt-get autoremove mono', I used the tarball.. how to remove all files from the installation?
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 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?
I have a short question. I want to find out which packages are depending on some package. For example, I want to know which packages are depending on evolution.Is there any possibility how to find it out?
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?
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?
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.
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.
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.
I'm using my own Debian .deb-packages for managing software updates on a small numbers of computers. So this question is about creating my own .deb Packages.
I got the Package A with the version 1.0 and 2.0. From version 2.0 on it's not necessary to keep track of the file fileB.txt. But I want to keep fileB.txt on the target system anyway.
Code:
Package A Ver. 1.0: - fileA.txt - fileB.txt
Package A Ver. 2.0: - fileA.txt If I install the new .deb package A. DPKG will remove fileB.txt.
How can I prevent dpkg to remove fileB.txt? In fact, dpkg should simply forget that fileB.txt was ever part of Package A!
Of course I could manipulate the dpkg file list, somewhere in the dpkg cache (file system). But how can I achieve the same effect within a package -> without manual manipulation on the target system?
Is there any key word in the control file? Or is there a special file, which lists "dependencies to delete"?
At first I thought it might be a free software thing but I went on the debian package search site and stable, sid, and experimental all have packages for wine. Why is there none for wheezy? Is it a temporary dependency thing or...? I've googled this but there has been no kind of answer anywhere. Right now I'm using the frickelplatz apotsid repository as they package the most recent version of wine but if I could use a standard debian repository I would.