This simple tutorial will show you how to purge packages that have already been removed with apt. In Ubuntu Linux when a package is uninstalled, the configuration files are left on the system. Purging a package will get rid of these configuration files to free disk space and keep system clean.
How to Purge packages:
First launch a terminal window from the dash or press Ctrl+Alt+T.
Is there a way I can set my package to always automatically include a --purge whenever a user does a regular apt-get remove mypackage ?
The reason is that I have some config files in /etc that should really be removed when the binaries are removed, otherwise it can lead to weird behavior. However I still want to treat them as conf files, i.e.
Just did another package check and got the following output:[lunitsond@book lib64]$ sudo pacman -Qo libcn*
error: No package owns libcnbpcmcm383.so
error: No package owns libcnbpcnclapi383.so
error: No package owns libcnbpcnclbjcmd383.so
error: No package owns libcnbpcnclui383.so
error: No package owns libcnbpess383.so
error: No package owns libcnbpo383.so
error: No package owns libcncpcmcm.so
err
Whenever I try to aptitude install something I get this error:
E: I wasn't able to locate a file for the libxmlrpc-c3 package.
This might mean you need to manually fix this package. (due to missing arch)
Writing extended state information... Done
E: I wasn't able to locate a file for the libxmlrpc-c3 package.
This might mean you need to manually fix this package.
For Suppose, i have installed a package having files file1, file2 and file3.
After installation i have removed file3.
But "rpm -qf file3" is giving the package name, even file3 was not there.
And also "rpm -ql package" is also displaying all 3 files.
How can i update rpm about that package to display only available files i.e. file1 and file2 when queried with "rpm -ql"
I recently got an error while apt-get updating.
Exec format error : package failed to install/remove : installation/removal script returned error exit status 2
This was caused by a broken package, broken by a system crash while updating.
Here are two easy ways to fix it:
Hope s.o. can help me ....
According to a page I found I should do this:
sudo add-apt-repository ppa:cinelerra-ppa/ppa
sudo apt-get update
sudo apt-get install cinelerra
But that led to the problem that the package "libmpeg3cine" could not be installed because some files were already installed by package "mpeg3-utils". The package system seemed broken because of a defective package.
I attempted to install a large package, forgetting that I had little space left, and now I am a little stuck.
When I attempt to remove any packages I get the following error:
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
And when I run the dpkg command, it complains I have no space.
I ended up dealing with a software meant to be deployed using dpkg. The .deb package works fine on the test env but fail on staging. Both are running the same version of Ubuntu but I am not 100% sure of the rest of the configs.