Debian :: Cleaning Up Apt/dpkg After Deleting Installed Files?

Mar 9, 2010

I'd like to clean up apt/dpkg so that it doesn't think the package whose files I've deleted is still installed, but when I run:

Code:

apt-get remove --purge linux-image-2.6.32-2.slh.4

I get the following:

Code:

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package linux-image-2.6.32-2.slh.4

The package does show up in the list when I run the command:

Code:

dpkg -l "linux-image*"

with "ii" in the 1st column, whatever that means. Should I just rm the matching files in /var/lib/dpkg/info?

View 6 Replies


ADVERTISEMENT

Ubuntu :: Dpkg Lists Files For Kernels Not Installed (Lucid) / Fix It?

May 26, 2010

Today I was trying to clean up my system and am a little bit stumped on something.

I used synaptic to clean up installed kernels, except for the one that was currently running. Once done I went ahead and restarted my computer.

Grub lists only one kernel available. However when I go to a prompt and

issue dpkg --list|grep linux-image I get several items listed code...

2.6.32-22-generic is the kernel I am running so I assume the "ii" files have something to do with the kernel in memory.

However, what are the "rc" files that are listed? Resource files? All three kernels referenced have been removed a LONG time ago and when I look for installed headers, or anything else, there is nothing installed for *-12, *-12 or *-14.

And when I check Synaptic for just the kernel number I get a list of packages with no version install, no latest version notation and no description (attached screenshot).

Just what are those references and how does one remove them?

View 2 Replies View Related

Ubuntu Installation :: Error - Dpkg: Warning: Files List File For Package `libsdl-image1.2' Missing, Assuming Package Has No Files Currently Installed

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

Debian :: Dpkg Shows Installed Pkg Is Uninstalled?

Aug 8, 2010

I have downloaded a Non-free Deb pkg, when I tried to install it using "# dpkg -i pkgname", it appeared to install as expected. The pkg exists, I found the new directory and the executable file, but if I try to run it I get kicked out of my session, and back to GDM.

When I run "# dpkg -l pkgname", immediately after the install, I get this: "un pkgname <none> (no description available)"

Since it is not installed I can not remove it, or reconfigure it.

I run Debian Testing with Openbox as my window manager.

View 6 Replies View Related

Debian :: Dpkg-buildpacakge Exits After Dpkg-source Error

May 3, 2010

Sid
cmake 2.8.1-2
dh-make .54
dpkg-dev 1.15.7.1

I'm having some issues building deb packages. dh_make --createorig behaves as expected, but when I attempt to buld the package with dpkg-buildpackage -rfakeroot the build dies on a dpkg-source error.

View 14 Replies View Related

Debian :: Installing Gcc Using Dpkg - Error "dpkg Command Not Found"

Jul 20, 2010

I want to install gcc on my Pyramid linux which is debian based. I downloaded gcc.deb. When I want to install this file, it gives me "dpkg command not found" error! I also get this error when I want to install other .deb files using dpkg command " dpkg -i finename.deb. I did some research and it seams that I should install package on my system, but package file is .deb file and I can't install .deb file! What should I do to solve the problem??? Should I install any thing on my system to install .deb files??

View 3 Replies View Related

Fedora :: Cleaning The Orphaned Files Automatically?

Oct 26, 2009

If we update or remove some packages (in addition manually installed software), some files such as previous version dynamic lib files are left, so it may conflict with new stuffs sometimes. Is there any efficient way to remove these kind of orphaned files all, automatically?

View 2 Replies View Related

Fedora Security :: Cleaning Duplicate Files ?

Dec 17, 2009

I was wondering if anyone knew about fdupes? What I would like to do is to delete duplicate copies of files that are not needed from my whole system.

View 8 Replies View Related

Ubuntu :: HDD Deep Cleaning Of Deleted Files?

Jul 14, 2010

Is there a way to deep clean the supposedly "empty" areas of HDD. I've found "shred" and similar tools by googling, but they allow either deleting a file or complete wipeout of a HDD. What I'd like to do is clean up what's left of already deleted files (which can probably be still "undeleted") on a live HDD (with useful data, which doesn't need to be destroyed).

View 5 Replies View Related

Slackware :: System Cluttered With Unused Files - Cleaning Out Junk

Jun 16, 2011

When you unsuccessfully try to install software, does your Slackware system become cluttered with unused files? Is there a program, other than 'slackpkg clean-system', that can review your installation and identify any useless stuff? My tmp directory is set, in fstab, to delete its contents on boot. Is the tmp directory the only directory to be concerned with?

View 11 Replies View Related

Software :: Apt/dpkg List Of All Installed Packages?

Feb 12, 2010

way to have apt or dpkg print out a list of all the installed packages? Preferably in a format that I can simply add 'apt-get install' in front of.

View 2 Replies View Related

Ubuntu :: Any Way To Use Dpkg To Rollback Recently Installed Packages?

May 30, 2010

Using Ubuntu Lucid with Gnome desktop.I was just playing around trying to find a media player I liked and installed Bangarang via the Software Centre. This took an absolute age and now I realise why - it has basically installed the entire KDE environment and associated lib packages as well.I have found /var/ log/ dpkg.log shows what has been installed and of course I can wade through that to make a list of all the packages and uninstall them all via Synaptic. But that will take a long time to do.

Is there anyway to somehow automate rolling back any package changes since a certain time?I've checked the man for dpkg and I can't see any mention of anything like this.

View 9 Replies View Related

Ubuntu :: Dpkg - List Manually Installed Packages?

Sep 17, 2010

I'd like to list all packages I installed since the installation. The tricky part is that I don't care for dependencies - only clean list of what I ordered to install. I went through man pages and I did not find anything relevant. Also /var/log/apt/history* doesn't say what I requested and what came as a dependency.

For gentoo-aware folks, I am looking for something like "world" file.

View 1 Replies View Related

Ubuntu One :: Deleting Files From Web Interface Erase Files From Computer?

Nov 27, 2010

Does deleting files using the Ubuntu One web interface delete the files stored on my computer?

View 1 Replies View Related

Ubuntu Servers :: Dpkg-buildpackage Error "dpkg-buildpackage: Failure: Tail Of Debian/changelog Gave Error Exit Status 1"?

Feb 12, 2010

I'm attempting to apply the quota patch to postfix 2.5.1. I have done the following..

Code:
cd /usr/src/
apt-get source postfix
wget http://vda.sourceforge.net/VDA/postf...da-ng.patch.gz{code]....

dpkg-buildpackage: failure: tail of debian/changelog gave error exit status 1

I have searched hi and low and still can't work out how to resolve this.

View 2 Replies View Related

Debian :: Where Are The Installed Files Stored

Aug 12, 2011

I run debian squeeze. I use apt-get install openjdk-6-jdk. But I do not understand how I can figure out where the files are stored?

View 1 Replies View Related

Ubuntu :: Error Message 'dpkg Interrupted Must Manually Run 'dpkg --configure -a'

Jan 6, 2010

im trying to update some software in ubuntu using the update manager. i type my password in CORRECTLY but then get this error message.

E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
E: _cache->open() failed, please report.

what does it mean and how do i fix it?

View 3 Replies View Related

Ubuntu :: Error - Dpkg Was Interrupted, You Must Manually Run 'sudo Dpkg --configure

Jul 6, 2010

I keep getting this error when I try to install Adobe flash player E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. E: _cache->open() failed, please report. I had it installed just fine, then i restarted my computer and its gone. .

View 4 Replies View Related

Ubuntu :: Error - Dpkg Was Interrupted, You Must Manually Run 'sudo Dpkg --configure -a' To Correct The Problem

Jan 9, 2011

I'm using 10.10 and from today I'm getting this error Quote:dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. When I'm trying to install any software using

Code: sudo apt-get <sw-name> Also I'm unable install using "Ubuntu Software Center", showing unhandleable error. Here is the details:
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/aptdaemon/worker.py", line 769, in simulate
return self._simulate_helper(trans, status_path)

[Code]...

View 6 Replies View Related

Debian :: Record Files Installed By Install Script?

Jul 4, 2011

I have a program which I would like to package into a deb file for personal use. The program uses a custom install script, and to package the program I need to know which files are installed where. Besides inspecting the installer, which may not be possible if the installer is a precompiled binary, what are some best practices for discovering the filesystem changes enacted by a program installer? Should I test the installer in a chroot environment? Can I sandbox the installer in some other way?

View 1 Replies View Related

General :: Getting Info About Debian Files Installed From Internet?

May 10, 2010

How can I know about the debian files I've installed from the internet via command line? Is there any command to have info about debian files? I've installed google chrome, opera, etc...I want to what debian files I've installed? Can I know there locations?

View 2 Replies View Related

Debian Installation :: Dpkg: Error Processing Debian-archive-keyring?

Sep 7, 2010

I have a post in beginners section but maybe I can find some help here.. If you do not mind,please read the following post about my problem.viewtopic.php?f=30&t=55243&p=320093#p319848

View 1 Replies View Related

Software :: Deleting Delay From Mp3 Files?

Mar 26, 2010

I have a large collection of CDs that I ripped to mp3 a few years back. I would like to go sell them to a store and get some money for them (I haven't used the physical CDs in years). The deal is that when I started ripping the CDs, the program I was using would insert a 2 second delay between songs. I would like to know if there is a program/command that I can use to remove this delay between songs. Some of them have 0 delay, so songs that fade into each other sound correct. Other albums have songs that are supposed to seamlessly fade into each other, but they don't because of this delay. Is there any way to remove that delay between songs or do I have to re-rip the CD? Figuring out which albums have that problem and re-ripping the CD is going to take a very, very long time.

View 3 Replies View Related

General :: Deleting Iframes From Files

Apr 25, 2009

my website was recently infected with this stupid malware lotultimatebet .cn...there is a hidden iframe on almost all the 6000 pages of my site.can you please advise, if it is possible for me to remove this line from all pages by executing some command?

View 1 Replies View Related

General :: Deleting All Files From Directory Except For Two

Nov 25, 2010

I'm writing a Perl script which performs linux commands.I have a directory with a load of files.

Code:exec_cmd('rm $(ls * | grep -v file1)');
This command will delete all except for file1. How can I modify this to delete all files except for file1 & file2?

View 2 Replies View Related

General :: Deleting Files By Date

Nov 5, 2009

I had a program run riot and it has created hundreds of spurious files in one directory. Fortunately they are all dated 4th November so are easily identified. What bash command can I use from the console to delete them all?

View 2 Replies View Related

Debian :: Dpkg: Error Processing Debian-archive-keyring

Sep 6, 2010

Today when I did apt-get dist-upgrade I encountered the following error:

apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done

[Code]...

View 14 Replies View Related

Fedora :: Tool For Deleting Useless Files?

Aug 3, 2010

I want to get rid of all my useless files. It seems like my hard drive space keeps on shrinking also..& sometimes my PC freezes also..it hard to work on it.. so need a tool that can delete junks out ..

View 14 Replies View Related

OpenSUSE Hardware :: Deleting Files On A USB Harddrive?

Dec 4, 2010

I got an external enclosure to use an old hard drive as a usb external hard drive for backing up files to.mI tried deleting all the files but there are quite a lot that cannot be deleted Nautilus saying "permission denied".

The harddrive had/has ubuntu 10.4 on it.

Do i need to delete all the files & folders from terminal? I'm running OpenSuse 11.3 in gnome. So i've got Gnome Terminal.

View 8 Replies View Related

Ubuntu :: Recursively Deleting Files From Within Archive

Feb 2, 2010

I've got a directory of geographic data with ~2,000 archives. Each archive (e.g. foo.zip) has two files, the second of which I'd like to remove:

Now, I can remove the _num.tif file with the command:

How do I do this with ALL the files in the directory? If I try the -r (recursive) option, that fails with -d.

View 4 Replies View Related







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