Debian :: Know What Packages Would Be Affect By Removal?
Mar 24, 2011
I did a d-u today, all went well. Then tried to install dkms, and apt came back with a list of programs it says were automatically installed by no longer required, including several libqt4 packages. I'd like to know what programs would be affected by removing each one.
I am working on a project which targets both 32 and 64 bit architectures at the moment. My system is amd64. I added i386 architecture using this guide. However, my problem is
Code: Select allapt-get install package-name:i386
prompts the removal of currently installed packages (amd64 arch.) which is the problem.
Code: Select allReading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: libportaudio0:i386
[Code] ...
Some of the packages I am talking about are
-libegl1-mesa-dev:i386 -libportaudio-dev:i386
Now, as of now, I want to carry out the compilation using 32 bit libraries, however, I really don't want to install 64bit version of all prerequisites each time I switch the compilation from 32 bit to 64. Is there any way to have both architectures at the same time?
I'm wondering if complete removal of meta-packages, that being the package itself AND all of its dependencies, is possible in one command of aptitude and/or apt-get. For instance, if I have the whole kde installed, and wish to remove that whole load and replace it with the smaller kdebase, can I do this in two commands (IE, "aptitude remove kde", and then followed by "aptitude install kdebase"). The preceding commands wouldn't work, because just removing the initial meta-package would not remove its dependent packages. BUT, I'm wondering if there is a way to remove a meta-package AND its dependent packages all in one command (rather than having to go through individually removing each one).
I had been doing some removal of packages, and things went well, or so I thought. Now whenever I try and install any package using aptitude, some old state is lingering around and wants me to install packages that I do not want, and remove some packages that I am not sure about removing (did I actually select those to be removed??) I removed libvirt etc, and now it wants to come back? Also, like I mentioned, why remove those other four packages?
The following NEW packages will be installed: aqemu gtkrsync libvirt-doc libvirt0 python-libvirt qemu qemu-kvm qemu-system qemu-user qemu-utils virt-top virt-viewer virtinst The following packages will be removed: dnsmasq-base{u} netcat-openbsd{u} python-gtk-vnc{u} python-vte{u} 0 packages upgraded, 13 newly installed, 4 to remove and 176 not upgraded. Need to get 2,210kB/24.3MB of archives. After unpacking 72.7MB will be used. Do you want to continue? [Y/n/?] ^C
Running squeeze, and enjoying it so far, apart from a broken out of the box synergy (compiled my own synergy-plus to fix that issue) and a buggy samba client.
I am compiling some software (JWM) and it says that I must install the "development headers" for X11 and Xlib.My main question is, how will installing those packages affect my system.My less main question is how do I install them?
As a follow-on to something Telemachos said in another post:
Quote:
Originally Posted by Telemachos
You can see what kernels you have installed - to check if you have a virtual kernel and to clean up - by running this command:
Code:
If you've been installing kernel-headers along with the kernels (say to build modules for graphics or wireless), you should remove those when you remove the corresponding kernel. The command to search for those is parallel:
Code:
I would have thought that removing a given kernel package would trigger the removal of the older kernel headers. Can someone confirm that is, or is not, the behavior? I ask this because it seemed to me that the older kernel header packages were indeed removed when I removed some older kernel packages.
For example, the linux kernels I have installed are:
Code:
Also, the linux-headers packages I have installed are:
Code:
So, when I get around to removing the linux-image-2.6.25-2-amd64 package like this:
Code:
I would expect apt-get to automatically also remove linux-headers-2.6.25-2-amd64 and linux-headers-2.6.25-2-common. Is that what will happen, or do I need to explicitly state all three packages on the apt-get remove command?
I was working on my flash drive install of Ubuntu, when I squashfsed my /usr. Long story short, I some how ended up with a working /usr, but with a few packages marked as installed, but not having its components installed (emacs). When I try to remove emacs (emacs23-nox), it gives me numerous errors about files (all relating to emacs) not existing (all in /usr). Thus my questions are as follows:
1) Is there a way to force the removal without it caring about missing packages?
-OR-
2) Is there a way to reload which packages are installed by checking which files exist, etc?
I started an upgrade from Ubuntu 8.04 to 10.04 and it stopped with the message: Ubuntu desktop is listed to be removed but is on the removal blacklist. Then it restored back to 8.04. I don't know how to resolve this - it would be alright to remove the old Ubuntu desktop.
If I try to change the icon style, it changes the icons in my desktop and in Nautilus, but it doesn't change the icons in the panels nor the ones in the menus.
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.
On Debian repo I found virtualbox-ose packages there. What will be the difference in operation/function between their packages and the packages download on virtualbox.org website?
I'm trying to set up a firewall using ufw. I had planned on denying all network traffic and allowing as it became a problem. I expected to need port 80 8(http) 88(https) and 1863(MSN).
I tried: Code: Me@Ubuntu:~$ sudo ufw enable Firewall is active and enabled on system start up Me@Ubuntu:~$ sudo ufw default deny Default incoming policy changed to 'deny' (be sure to update your rules accordingly) Me@Ubuntu:~$ sudo ufw status Status: active
If I have understood I should not be able to connect to the Internet now but I still can (I am posting this with these settings). I have tried rebooting and this did not help although the status was persistent. I am currently using version 9.10 of Ubuntu upgraded from 9.04 (itself from 8.10 which was a clean install). I am using a wireless network called wmaster0 with driver rt61pci if that helps. How to configure firewall?
I have two Ubuntu installations: a full one and a light/custom. The full one has every default package installed using the Live CD and some extra packages I've been adding as I need them, the custom one is created using debootstrap and then I add some packages: xserver, fluxbox, alsa... among others.
But I have one problem: plymouth shows a low-res splash screen for the custom installation, while it works great with the full one. Both running on the same motherboard and with the same monitor. Besides, I need to set the FRAMEBUFFER=y option in the custom installation to make plymouth show the splash screen at boot.
I've tried setting GRUB_GFXMODE, GRUB_GFXPAYLOAD and GRUB_GFXPAYLOAD_LINUX for GRUB without any change, I'd like to know what other programs/drivers/configurations may affect Plymouth resolution so that I could find what is preventing my custom installation from showing a nice plymouth splash screen.
I added a directory to the $PATH variable in /etc/profile. This works for my user account but not for root. It's easy to add it to my /root/.bashrc but I would like to understand whats's wrong. It's a widely unmodified Debian 6 so I think my changes should do the trick.
Here is what my /etc/profile looks like:
# /etc/profile: system-wide .profile file for the Bourne shell (sh(1)) # and Bourne compatible shells (bash(1), ksh(1), ash(1), ...). if [ "`id -u`" -eq 0 ]; then
[code]....
Edit: The path I added is the distcc-stuff. Here is what echo $PATH tells me:
I have grub installed which boots both my ubuntu and windows which are in seperate partition. I'm about to format my windows, will it affect anything? Like though my ubuntu will not be formated nor the bootloder but shouldn't the windows bootloader overwrite somethign and make it default? Thus making ubuntu impossible to boot?
I have cpanel running and working with mysql. I need to add ODBC so I can get server side action script to connect to mysql also. Will adding ODBC affect anything else? I don't want to affect the way anything else connects?
Just want to know if I'm going to reconfigure the tcp_fin_timeout is there any effect to the other applications? or will affect some applications? for example changing 60secs to 30secs, 30secs to 15secs.
I tried a little C programming, and got a bunch of segmentation fault the first few tries. But from what I understand, the whole purpose of segmentation faults is the protect other programs from the damaging effects of my program. Yet, if I trigger a segfault enough times, weird things happen to my other running programs. I usually run a console inside Kate, and after 10 or so segfaults, Kate sometimes freezes or randomly highlights text, etc. just random behavior. Also, my desktop will occasionally hang and things will start failing, like copying files and such. I have to log out to restore everything to normal, but logging out is difficult since the logout prompt freezes. I have never experienced such behavior before I began programming, my system has been relatively stable. I run my program from inside Kate's console, so I was wondering if all KDE applications share memory or something, because this has happened once or twice, and only when I trigger a segfault many times.
I have a dual boot system on a 500GB HDD. Here is a printscreen of the partition table for the disk. It's a fairly standard set-up but the root partition is almost full (I know it's fairly unheard of but I have a lot of software provided by uni that takes up a lot of space). I would like to shrink my /home partition and increase the root one. I've downloaded gparted and got it onto a live CD. The only thing I really want to know before I go ahead is how will the editing of the partitions affect booting.
From what I can tell from reading is that the MBR has only got listed the place on the HDD where the bootable partitions start. These starting placed will not be affected by the alteration, so will the system quite happily boot in the same manner? One booted I'm assuming as the /home partition will have moved I'll need to alter fstab to mount /home again. Will having /home missing caused any adverse affects on the first boot into linux?
Whilst sound works for MBP5,1 / 5,2 under Karmic, it could definitely be better - mainly the master volume does not affect the headphone output, and the speakers don't automute when headphones are plugged in. However, I've finally got around to writing a patch for alsa which fixes this - the patch is against the latest version of alsa-drivers (1.0.22.1). If you want to test it (since so far I've only tested it on my MBP5,1 - any feedback from MacBook 5,1 / MB(P) 5,2 owners would be great too) follow these instructions: First make sure you don't have any versions of linux-backports-modules-alsa installed:
A while back I installed Dreamlinux 3.5 Gnome edition using ext2. When I attempted to use the email address books I imported from the Dreamlinux3.5 XFCE edition, which had been ext3, I discovered that none of the email addresses could be mailed to. I had to manually type in the addresses.
When I reinstalled Dreamlinux 3.5 Gnome using ext3, the same backup files that did not work in ext2 now work just fine. The question is, was this a "broken data" problem caused by the switch to ext2 file system or something else? Has anyone else experienced this?
Upon installing Debian, it asked me if it can use a mirror to get updated packages. I said no, yet it ignored my command and fetched packages. Why did Debian disobey me?
After installing debian 5.0.4 basic from first dvd, I extracted all other dvd images to hard disk and pointed /etc/apt/sources.list point to all these directories. after refreshing using synaptic package manager, I got list of all 20,000+ packages, and did a "apt-get -y install ......(all 20,000 names)". It failed due to some conflicts. So I used "--force-yes -f " option as well.
It went on for nearly two days to install everything. (in between due to power failure, something was done half way and was able to login to KDE boot option and see lots of software installed.) After complete install - it shows a startup screen of Debian EDu - but fails to boot up.
Is there a way to install all softwares + all XWindow systems simultaneously?
So tonight I bought a WD "My Passport" portable HD.Plug it in and KDE says there are two devices...One is the "My Passport" drive, the other one is a CD-ROM called "WD SmartWare" ... WTF?A bit of Googling led me to a Windows/Mac downloads page for a tool which hides, but doesn't remove this unwanted feature.Anyone had any experience with this? want to remove it. It has to go. I've no need for it, and it's taking up half a gig. What a joke.Edit: Some specifics:The virtual CD-ROM is showing up as /dev/sr2, while the main partition shows up as /dev/sdc1.I've tried mounting sr2 with the 'rw' option, but mount reports that this can't be done. fdisk tells me that there are no spare sectors on sdc, and that there are no partitions at all on sr2. What's going on? How do I fix this? In case you can't tell, this is p___ing me off.