Ubuntu :: Apt-get (use Aptitude Purge To Remove All Associated Files Of A Package)?
May 2, 2010
Did a fresh install of 10.04 Desktop 86_64 this weekend. One of the first issues I noticed right away was that apt was not function properly. Say for example you install the packages tor and vidalia (assume I'm running everything from root). #apt-get install tor vidalia This command will check and install necessary dependencies, for example 'privoxy'. Now if you decide that you don't want to use privoxy and instead use polipo, you would probably feel inclined to remove privoxy. Well I found that apt-get autoremove, apt-get remove, apt-get purge WILL NOT remove all the files/directories associated with the package. You'll find that after running each of these commands, there will still be directories, scripts, etc. in /etc/init, /etc, and /etc/rc*.d. The only solution I've found to completely removing a package is aptitude purge [package].
View 1 Replies
ADVERTISEMENT
May 10, 2010
I faced on these days a very nasty problem, during the upgrading of my system... something bad happened and I can not remove, purge, install, reinstall the package flashplugin-nonfree no matter what tries I did till now.
root@intra-micro:/home/mikek# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
[code]....
View 3 Replies
View Related
May 10, 2010
I faced on these days a very nasty problem, during the upgrading of my system... something bad happened and I can not remove, purge, install, reinstall the package flashplugin-nonfree no matter what tries I did till now. To see my tries please read bellow.Do any of you have any advanced advice how can solve this BIG problem that occurs to me?
View 10 Replies
View Related
Jan 19, 2010
i installed a package with dpkg --install and told it to ignore an unmet dependency because the package it depended on could not be installed with apt-get (it was a perl module) and i have manually installed the perl module, it works... however every time i do "apt-get upgrade" or anything like that it wants to remove the package i forced to install because it still thinks there are unmet dependencies, is there a way to either tell it to ignore that the package has unmet dependencies (i mean ignore that always, not something i will have to add every time i use aptitude) or is there a way to convince it that the package it thinks is missing (the unmet dependency) is actually met.
View 3 Replies
View Related
Dec 7, 2010
I'm trying to replace the ubuntu version of openoffice with the official release. During this procedure I ran the command:sudo aptitude remove openoffice.org-*and get the error:
Couldn't find any package whose name or description matched "openoffice.org-re_1.6.1-18_amd64.deb"I went in to synaptic and removed all the openoffice packages through the GUI (none of which matched that name) as well as the UNO and URE packages. Even after uninstalling all the packages, if I run the aptitude command again get the same error.What is going on here? Does it indicate that my package database has been corrupted? Can I rebuild the database? Should I just ignore this error
View 1 Replies
View Related
Jun 27, 2010
how does one have to build a deb-package in order to detect and react to the --purge switch?
View 1 Replies
View Related
Jul 20, 2010
I went to remove FreeNX from my Ubuntu Lucid machine so I opened the terminal and typed: "sudo aptitude purge freenx" The command worked but when I used the command "locate nx" I got a list of FreeNX associated files (as well as nxserver files). Is it possible to completely remove a program from my system? I thought "sudo aptitude purge" would do it but apparently not. My only concern is that in the future if I decide to install something related to this program it will interfere and cause problems.
View 5 Replies
View Related
Dec 4, 2010
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 ?
View 2 Replies
View Related
Jul 11, 2010
I am trying to upgrade an amd64 lenny system to squeeze.I've got a 2.6.32 kernel running, done aptitude update and aptitude install aptitude.When I try "aptitude safe-upgrade", it sits forever resolving dependencies.it seems to search with the resolver counting up more and more open/conflict/ whatever.I stopped it once it got over 100,000)Is it possible to get aptitude to do a safe-upgrade, perhaps using a command line option?
View 2 Replies
View Related
Sep 20, 2010
When I remove an application from YaST does it remove its config files too? If it does not, is there any command by which I can remove the config files for all the uninstalled applications?
View 1 Replies
View Related
Apr 6, 2011
Aptitude a next to package status?
View 1 Replies
View Related
Dec 15, 2010
I'm trying to install Apache2+PHP5+MySQL-cluster on a Ubuntu 10.10 server. I've done many installs like this but with just plain MySQL so this is my first time using mysql-cluster. After getting mysql-cluster working I went back and installed the packages for apache and php5, but somehow I forgot to install the php5-mysql package (not sure how I missed that!) so when I got back to install it it tells me it wants to uninstall mysql-cluster. The "error" I see is:
mysql-cluster-client will be automatically removed because of dependency errors:
* mysql-cluster-client depends on mysql-cluster-client-5.1 [universe]
I put a lot of time in to get mysql-cluster working and don't want to lose it. How do I tell aptitude to just leave it alone and install the php5-mysql package?
View 1 Replies
View Related
Oct 20, 2010
writing a script that would keep the last three versions of tcpdump files.Due to the version of tcpdump I must use -C and cannot use -G. Using -C generates a new file after X MB's have been written and adds a .x after each new one. The problem is that these files are filling up the disk too quickly. The main part of the script will kill tcpdump when a certain condition is met but in the meantime I need to purge and only keep say the three last iterations of the dump file. So for example, there is dump.pcap.1, dump.pcap.2, dump.pcap.3, dump.pcap.4 and dump.pcap.5. I'd like the script to look at the datestamps and delete dump.pcap.1 and dump.pcap2 since the other three are the three newest files. comparing files based on dump.pcap.*, check the dates and only keep the three 'youngest' files?
View 5 Replies
View Related
Nov 16, 2010
I was wondering if anyone knew how to get long package descriptions which searching for packages with aptitude.my search results have package descriptions that are truncated even if the terminal is expanded to allow longer one-line package descriptions.
View 1 Replies
View Related
Nov 26, 2010
I stopped using ubuntu for a while at 9.04 (went to mint and came back) because it was not installing properly. I thought it had aptitude in it then, but I did not have it after installing 10.10 (installed it twice it is not on either). I am just wondering why, even debian includes aptitude.
View 3 Replies
View Related
Oct 7, 2010
Is Aptitude Package Manager good as Synpatic?
View 5 Replies
View Related
May 13, 2010
Using Xubuntu,I have upgraded from Karmic to Lucid. Post upgrading when attempting to install a new package with aptitude, it is reported that cups is "BROKEN" and a host of packages are marked for removal.
View 1 Replies
View Related
Aug 6, 2010
Im having an issue with sudo aptitude install. If i attempt to install anything, it says it will remove all of the packages below. On the other hand,if i use the Synaptic Package Manager, it doesn't remove any packages what is going on here? Any ideas? I have added some karmic repositories, but i dont think that should do anything?
sudo aptitude install libossp-uuid-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
[code]....
View 4 Replies
View Related
Jan 6, 2011
Seems like always if I add a package with apt-get, next time I use aptitude to update packages on a server, the packages I added with apt-get are automatically marked for removal.
I must, in aptitude, "forget new packages" and "cancel pending actions" then update the package list, remark packages needing updating, THEN aptitude has forgotten it wanted to remove packages.
Why can aptitude and apt-get NOT get along!?
Currently I have 10.04 on all servers, thus where it still is a problem.
View 2 Replies
View Related
Jan 29, 2010
I've build a package using dpkg-buildpackage but whenever I run aptitude safe-upgrade it upgrades the package I compiled as well even though it's the same version is there a way to tell it to leave it alone?
View 3 Replies
View Related
Jan 13, 2010
I installed a Amsynth from Lucid in Karmic using:
dpkg --force-depends-version -i amsynth_1.2.2-1_i386.deb
The reason for installing the Lucid version is because Karmic version is 3 years old and crashes on my machine. The Lucid Amsynth package depends on newer versions of libatk1 and libjack0 than Karmic has, but I thought I would take a risk, and turns out Amsynth runs fine. However aptitude tries to uninstall Amsynth every time I do an upgrade. I think I've managed to put it on hold but now aptitude aborts. How can I tell aptitude to ignore the broken package and carry on.
View 3 Replies
View Related
Aug 14, 2010
I have Lenny with Gnome installed. Does Synaptic Package Manager use apt-get or aptitude?
View 2 Replies
View Related
Apr 26, 2011
rosy84@rosy84:~$ apt-get install packagename aptitude
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
View 7 Replies
View Related
Jun 27, 2011
I had debian squeeze on my personal computer at home, 3 days ago i've upgraded it to the debian testing. last day i've installed virtualbox which i've gotten from virtualbox.org . today non of package managers work. an example of installing sumthin new with apt:
root@fairyland:/home/timmy# apt-get install clamav
Reading package lists... Done
Segmentation faulty tree... 50%
root@fairyland:/home/timmy#
also synaptic can't be started. i've run apt-get clean and removed /var/lib/apt/list i also tried apt-get update but these don't work sum useful info:
root@fairyland:/home/timmy# tail -n 40 /var/log/dpkg.log
2011-06-26 11:58:07 status half-installed virtualbox-ose 3.2.12-dfsg-1
2011-06-26 11:58:07 status config-files virtualbox-ose 3.2.12-dfsg-1
[code]....
just don't tell me i've to refresh its base, shit i hate to do this, i'd never done that about debian, this is one of the reasons i luv debian.
View 3 Replies
View Related
Jan 26, 2011
I am running Debian Sid unstable , from one day apt-get, aptitude and dpkg cannot install any package.
View 1 Replies
View Related
Apr 18, 2011
I changed to testing repository in my Debian 6.0 and I used command "apt-get update". Now, everytime I want to do something with apt-get or aptitude, I receive this:
With apt-get:
Reading package lists... Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/ftp.cz.debian.org_debian_dists_squeeze_main_i18n_Translation-cs
E: The package lists or status file could not be parsed or opened.
or with aptitude:
[ ERR] Reading package lists
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/ftp.cz.debian.org_debian_dists_squeeze_main_i18n_Translation-cs
E: The package lists or status file could not be parsed or opened.
E: Couldn't rebuild package cache
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/ftp.cz.debian.org_debian_dists_squeeze_main_i18n_Translation-cs
E: The package lists or status file could not be parsed or opened.....
View 2 Replies
View Related
Jan 15, 2011
I regularly compile something from a source repository that has a certain set of dependencies. Some of these dependencies are dev libraries that are provided via other libraries but are not considered installed packages in themselves, so I cannot test for some dependencies directly.
I am currently parsing an "apt-cache showpkg" output to check for some of these provided dependencies. This is somewhat kludge-y and messy, and I was looking for a more elegant solution.
Is there an APTITUDE option that will directly test for the presence of a library that is part of some other package without having to know the name of the package that the library is part of?
View 2 Replies
View Related
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
Nov 4, 2010
I have a few Debian Squeeze installations which I perform upgrades on average on weekly basis. Last week one of my laptops, gave me this while all others did not, The following packages have unmet dependencies: gnome-desktop-environment: Depends: gnome-core (= 1:2.30+1) but 1:2.30+4 is to be installed. gnome: Depends: gnome-desktop-environment (= 1:2.30+4) but 1:2.30+1 is installed and it is kept back. The following actions will resolve these dependencies: Remove the following packages: 1) gnome Keep the following packages at their current version 2)gnome-accessibility [1:2.30+1 (now) 3) gnome-core [1:2.30+1 (now) Accept this solution? [Y/n/q/?] Has anyone encountered this? Is it safe to accept the proposal?
View 3 Replies
View Related
Sep 23, 2010
When i try installing anything i get errors, for example when i try to install somthing from ubuntu software center i get this.
Code: installArchives() failed: Preconfiguring packages ... Preconfiguring packages ... Selecting previously deselected package ttf-symbol-replacement. (Reading database ... dpkg: warning: files list file for package `libsdl-image1.2' missing, assuming package has no files currently installed.
[Code]....
View 4 Replies
View Related