Debian :: Duplicate Files In User Library - Safe To Remove Outdated
Feb 8, 2011
I have just upped from lenny to squeeze. I didn't mean to, really, but the package manager was well into its stride by the time I realised what was happening. Mostly all went well, BUT /usr is now 100% full. I notice that there are duplicate files in /usr/lib, eg Oct 11 22:35 libgcj.so.10.0.0 and Sep 14 2008 libgcj.so.90.0.0 (I assume the latter has been replaced by the former?). Is it safe to remove the "outdated" lib files? Is there an elegant way of doing it?
View 4 Replies
ADVERTISEMENT
Aug 19, 2010
I have two folders - Folder abc and Folder xyz which contains 1000's of files with few of them having the same file names. How can I remove the duplicates from Folder abc?
View 14 Replies
View Related
May 25, 2010
Thanks y'all for the great script and explanation. This helped a lot in my own project. I thought I'd share the efforts.The project is this: I've got lots of duplicate JPGs from all the family members who've named the same photo with different names. Since md5sum generates a "fingerprint" based on the file contents, not the name, I want to use the md5sum of each jpg to uniquely name each photo and also remove exact duplicates.
It has the following flaws:
0) it doesn't handle certain non-alphanumerics
1) it keeps both photo-shopped and unaltered photos (different md5s)
2) it (currently) doesn't preserve descriptive filenames.
(For me, removal of duplicates is more important than keeping the filenames. I may change that to concatenate the md5 and the filename.)Please note that the commented "rename" command should be used to strip non-aphanumerics from the file names, and the script should be launched with the commented "find" command.
View 1 Replies
View Related
Oct 13, 2009
I just installed grub2 on my laptop and everything works fine and boots right. It gave my the option to run
'sudo rm -f /boot/grub/menu.lst*' after the installation because it said it could not determine itself if these files were necessary to keep.
I'm not sure what files they are exactly, or how to find them either, but do people usually delete them after upgrading?
View 2 Replies
View Related
Aug 14, 2011
I have a text file with many pairs of number, one pair in each line. Each 25 of these pairs are a solution to a math problem I've been working on, and each solution is separated from another by a line with "**********".The problem is that there are duplicate solutions. In order to know exactly how many solutions I found, I have to delete the duplicate ones. How can I do that?Just to make things clear, here are the first three solutions:
1 1
3 2
5 3
[code]....
View 3 Replies
View Related
Nov 19, 2014
Naturally a Windows user, because all of my computers were with pre-installed Windows and I was young.. and I get used to it..In the time of.. growing up I became programmer and learnt how bad is actually Windows coded. Not only that.. Linux has better support for developers.So.. I was Windows user till yesterday. I finally decided to work on Installing Linux or more specifically - Debian.I love everything part of the GNU - GIMP, GTK+, Gedit, GCC...
Well I can't use my PC, both of my operation systems are non-functional.Windows get stuck (which is something completely typical for Microsoft stuff) on Windows logo screen, or safe mode loading files..Debian installation is messy.Firstly I installed Debian 6.0 on a Virtual DVD Disc mounted. I followed the installation process strictly and move forward to Debian startup.It asked me for account. root as "username" and the password as "password" didn't work so I logged in as "localhost" normal user.
However.. I started to realize that I actually also had to install the Graphical Environment in order to have Debian with the desired GNOME Desktop.. I went to aptitude to install the Graphic Environment Package but it said that I have no root rights.. I tried to log-in again, using the correct details but failed.I tried to get in, using the sudo command, but the sudo command also didn't work. Of course.. since I can't install packages, I can't either install sudo."su -" or "su" also prompt me to select a password which I apparently have no clue of.
Then I went to Debian Recovery, because there I was logged as root. It also pointed out that "Root Account is locked". I went to install packages finally.. But when the installation started to proceed It asked me for disk insertion in a specific folder?There I got lost completely.
View 12 Replies
View Related
May 8, 2010
I have a file that contains lines representing the nodes of a polyline but I only need the first point in each segment. With the following text:
0,"013A",0.57,260739.891,4379258.87
0,"013A",0.57,260737.674,4379258.94
0,"013A",0.57,260684.628,4379258.35
1,"013A",0.545,260769.915,4379257.84
1,"013A",0.545,260739.891,4379258.87
[Code]....
The problem with uniq is that the last two colums will differ. I don't care about the x/y for any points following the first one.
View 4 Replies
View Related
Nov 1, 2010
we have a variable LIBS:
LIBS='-lpq -lmysqlclient -lssl -lpthread -lresolv -lssl -lpthread -lresolv'
I'd want to get:
LIBS='-lpq -lmysqlclient -lssl -lpthread -lresolv'
Bear in mind that LIBS can be variable, I mean I need to drop any duplicate and only retain the last one of each different entry. And we must keep the order as is, I must not sort out them.
So, if LIBS is:
LIBS='-lpq -lmysqlclient -lpthread -lresolv -lpthread -lresolv'
I need: LIBS='-lpq -lmysqlclient -lpthread -lresolv'
View 3 Replies
View Related
Oct 21, 2009
I have Fedora 11 installed-32bit-with xfce installed as the desktop. When I click on the fedora icon for the menu and select Preferences, there are 2 input methods listed even though I did not have any installed.Since there is no menu editor any more, does anybody know how to edit the menu so that I can get rid of these entries?
View 1 Replies
View Related
Dec 19, 2010
there is this unknown notification popup appear on top left of the screen other than the one on the panel. Anyone have experience on remove the top notification popup? this is my root account that i mainly use everyday, but if i created new account the top navigation not exist.
View 2 Replies
View Related
Feb 23, 2010
I did apt-get install qtcreator and it installed qt 4.5.3(qt4.5.2real) I had qt 4.5.2. If I go in Applications->programming I see 2 shortcuts for qtcreator, one of them being newer. How do I remove the older one? On another note, if I want to update Qt to 4.6 what would be the steps if I already have qt 4.5
View 1 Replies
View Related
Dec 13, 2010
I am looking for a Linux app that can find and remove duplicate images (with different filenames if that's at all possible).
View 5 Replies
View Related
May 12, 2010
I have a huge (over 10 gb) file with a list of IP's each followed by a corresponding number like this:
Code:
12.32.34.23 10
143.32.34.543 11
232.32.45.65 12
54.23.5.232 13
143.32.34.43 14
and so on..
I'm trying to sort this file numerically and weed out any duplicate IP addresses. How do I do this on bash? I have come up with this but obviously it does'nt work.
Code:
$sort -n myfile.txt | cut -f1 | uniq -u
View 2 Replies
View Related
Sep 23, 2010
I have two servers complaining about ClamAV being outdated:
WARNING: Your ClamAV installation is OUTDATED!
WARNING: Local version: 0.96.1 Recommended version: 0.96.3
Doing an aptitude update says I don't have to upgrade anything. Why is this? Must ClamAV be updated manually?
View 7 Replies
View Related
Feb 12, 2010
I'm looking for a program to remove songs I downloaded more than once. They're all tagged differently, and some are of varying sizes/lengths/types.
View 1 Replies
View Related
Dec 16, 2010
Contained within each of these 67 text files is about 1 million urls. Yes. I have 67 text files that contain 1 million lines of urls each. I am sure I am swimming in duplicates. I tried opening one text file and clicking sort ----->remove duplicates. Now Gedit is not responding my processor is maxed out to 100% and I think I am finally ready to delve into some command line code. Can anyone give me idiot proof instructions on how to sort the duplicates out of each one of these 67 text files? How about no duplicates across all 67?
View 7 Replies
View Related
Mar 29, 2011
I would like to find a command which automatically finds and removes phrases which appear more than once in a text file. I still want to keep one of these phrases, but I only want to see one of them.
View 9 Replies
View Related
Jul 22, 2011
I am basically trying to remove duplicate words in my <title></title> tag after I got hit by Google Panda. I have around 750 .html files and it will be difficult for to me remove one by one. I am looking for a way to remove only from within <title> </title>
Example of a duplicate title I have:
Code:
<title>Pasta, Pasta Recipe and Pasta Guide</title>
I dont want to replace those words anywhere else in the file except for within the <title>
View 14 Replies
View Related
Apr 8, 2010
I have a file with semi duplicate lines, like:
abc 12 32
agsi 82
sha 26
abc 1
iaij
agsi 3
Now I want to edit my file and make it:
abc 12 32
agsi 82
sha 26
iaij
i.e. remove second occurrence of line when 1st column is abc or agsi.
View 13 Replies
View Related
Apr 14, 2010
i have a big file of random numbers i generated at some point in time, after working with it with different things(how fun that was)... i want to remove duplicate lines and i'm not sure i'm doing this right
heres the command
Code:
sort random.txt | uniq -u > rand-shorter.txt
the file is pretty big, everything on a new line. i found the command on a web site so i'm sure its correct(bit of a command line in linux newbie)
can anyone confirm if this will remove lines duplicate lines (keeping one copy) and dump what is left in a file named rand-shorter.txt?
EDIT: i think its actually working, just taking a reallllly long time (on an old pen 4 from 2000)
View 8 Replies
View Related
Jun 1, 2011
So I upgraded Ubuntu and was greeted by Unity. I was unsure of it at first and figured I would give it a shot. It has failed miserably in almost every way aside from looking nice in some instances. It's slow, clunky, and was a total wreck to my efficient use of the computer. But they can't all be winners I suppose. I can see where it would be useful (since it seems more finger-friendly) on a tablet device, but I'm using a standard notebook, not a tablet.
That being said, I switched back to what is now "Ubuntu (Classic)" and have put things happily back on track. However, since I have no intentions of ever bothering with Unity again, I want to remove it - it's just wasting space. My questions are, would this be safe? Are Unity and Ubuntu entwined to the point where doing so would make future updating/upgrading a problem? If it is a problem for the future, I feel it would be easier to just change distros (Mint, OpenSUSE, or just Kubuntu) - any recommendations?
View 9 Replies
View Related
Mar 17, 2011
Trying to remove lines from a syslog text file that have duplicate strings
Mar 10 06:51:11[http-8080-1] INFO com.MYCOMPANY.webservices.userservice.web.UserServiceController [u:2533274802474744|360] Authorize [platformI$tformIdAndOs=2533274802474744|360, userRegion=America|360]
then a few lines down
Mar 10 06:52:03 [http-8080-1] INFO com.MYCOMPANY.webservices.userservice.web.UserServiceController [u:2533274802474744|360] Authorize [platformI$tformIdAndOs=2533274802474744|360, userRegion=America|360
got the same thing in terms of a u: number but the issue is I need to remove duplicates and just leave one and the file has multiple duplicates of different u: numbers and it's 14,000 lines long. can anyone tell me if I can use awk? sed? or sort for something like this to? removing lines that have a certain string in there that's a duplicate.
View 4 Replies
View Related
Feb 25, 2011
I've been always curious why I have old versions of my software in my Debian's repository. As examples I checked my Apache, PHP and Octave versions. Each of them is outdated (Apache 2.2.16, newest is 2.2.17 | PHP 5.3.3-7 - newest is 5.3.5 | Octave 3.2.4 - newst is 3.4)! When I had Ubuntu there were always upgrades to the newest possible version. Actually I had really fewer problems with Ubuntu. ;/
How I can fix it?
My sources.list:
# deb cdrom:[Debian GNU/Linux 5.0.2 _Lenny_ - Official i386 DVD Binary-2 20090628-15:08]/ lenny contrib main
# deb cdrom:[Debian GNU/Linux 5.0.2 _Lenny_ - Official i386 DVD Binary-1 20090628-15:08]/ lenny contrib main
## security
deb http://security.debian.org/ testing/updates main contrib non-free
[Code]...
View 14 Replies
View Related
May 17, 2010
I'm using debian etch - clamav.clamscan states: >> This version of the ClamAV engine is outdated.<<which is correct, my system is using 0.95.3 in vola you find 0.96
View 2 Replies
View Related
Apr 9, 2010
I'm running CentOS 5.4 in combination with DirectAdmin, and I'm wondering: Is it safe to remove /media and /opt directory?Because those directories /media and /opt are empty.
View 3 Replies
View Related
Apr 14, 2010
The bad news comes that active support for Mint6 is set to end Apr. 30. The worse news is I don't know what to do about it. Complicating this is that I have about 5 drive partitions and duplicate Mint6 operating systems because of password problems and just partitioning the drive and rebooting the OS instead of trying to fix the issue. I hear good things about Mint8, but my 80 Gig drive is getting pretty thin on partitions. I know there must be a way to safely remove the partitions and duplicate operating systems. I just don't know how to do it.
View 6 Replies
View Related
Oct 1, 2010
Would like to use Ubuntu Tweak on 10.10 beta. Is it safe to remove everything that its cleaning section finds? Or do I have to look carefully at what it removes? Can I just let it remove everything it finds and not worry that something I have installed will be affected?
View 2 Replies
View Related
Jul 11, 2011
PROBLEM: My computer has an nvidia video card. I'd like to remove the packages that support ati and radeon. When I try to remove xserver-xorg-video-ati or xserver-xorg-video-ati, the package manager wants to remove xserver-xorg-video-all.
QUESTION: Is it safe to remove xserver-xorg-video-all? Obviously, I want to keep support for my nvideo card.
View 9 Replies
View Related
Apr 21, 2011
I have a centos server x86_64 arch installed - i am getting some issues where i want to update rpms but because there is a equivliant i386 package installed i get dependency errors.Is it safe to run this command to remove all i386 packages - will my system still boot after this yum remove *.i?86
View 1 Replies
View Related
Jul 16, 2010
I'm having some trouble getting Miro updated. The package in Stable is 1.2.3-2, and I can't see all the online content because I don't have the 2.0 version. The thing is thar actually Miro is in its 3.0.1-2 version! I searched the package and is only found on testing (It's not in backports). I was wondering if I can install a package from testing in stable.
View 14 Replies
View Related