Fedora :: Install / Remove Packages Written On A Text File?
Sep 9, 2010
I use the show-leaves yum plugin, and sometimes I use that info to remove some unnecessary packages. But that list can be long, so I write them on a text file.
1) Instead of removing packages one by one is there a way to remove all packages written in that text file?
2) Why isn't the output of the show-leaves plugin compatible with the output of "package-cleanup --leaves"?
View 1 Replies
ADVERTISEMENT
Sep 15, 2011
Is it possible to remove multiple packages listed in a text file? Similar to "cat orphan.txt | zypper rm" or "zypper rm <orphan.txt." Neither worked.
View 8 Replies
View Related
Mar 31, 2011
im using fedora 14 and i have a slow internet connection. i want 2 install some packages from the fedora 14 dvd instead of downloading from internet using add/remove packages. i tried to edit /etc/yum.repos.d/fedora.repo and /etc/yum.repos.d/fedora-updates.repo but it dint work.
View 2 Replies
View Related
Jan 28, 2009
I have a text file called file1.txt containing many lines eg.
line1
line2
line3
line4
line5
line6
Then i have another text file called file2.txt contains
3
5
6
Is there a command to remove the lines in file1.txt based on the keywords in file2.txt? note: It should remove line3,line5,line6 based on 3,5,6
View 10 Replies
View Related
Dec 6, 2010
I am looking for a way to keep a log and make if then statements if a line exitsts in the log. I also am looking for a way to make a simple loop, like goto line number, and I also am wondering how to add/remove bits of text from a text file (plugins line in server.properties)
View 5 Replies
View Related
Jan 23, 2009
On some computers I can not use graphical installation interface of Fedora 9. So I use text mode.I would like to have a very small installation with very few installed packages, so at package selection I uncheck everything. In text mode installation there is no option to customize installed packages down to package names. I can only check main themes.So I uncheck everything and installation starts. This method results over 400 packages to bo installed... This is too much with many unnecessary packages.If I use graphical interface and uncheck every package name at custom package selection then about 150 packages will be installed.Is there any good way to use textmode installation and don't install more than 400 packages?
View 2 Replies
View Related
Oct 10, 2009
I need to do some text file manipulation which I think should be done with standard commands in BASH. I'm looking at comma seperated text files (stock market data). It comes in the form of date, stock code, open, high, low, close, volume. What I need to do first is move all data with same stock code sequentially into individual files.
While doing this since the stock code will now be the file name I need to remove the stock code. Next I need to filter out overlapping data from different files with the same date. ie. where two files contain the same date on the one line only one line will be added to the combined file. I think there must be a tutorial out there for basic text manipulation like this, I just haven't found it yet.
View 11 Replies
View Related
Oct 14, 2010
I want to be able to check the contents of a text file for a specific string and remove it from the file from the command prompt. I would basically be searching through a number of files and if a specific string is found I would like it removed automatically. pretty much a find and replace, were the replace is nothing. any one got any ideas on how you would do this. I already have the search part sorted just need to be able to remove the string I don't want from the multiple files.
View 4 Replies
View Related
Apr 19, 2010
I need to filter the log from a massive wget. I want to remove the progress lines and only leave the last one. Now each progress line starts with a newline '
View 2 Replies
View Related
Jul 5, 2011
I have 2 lists of names, they aren't sorted, and may contain repeats.What I would like to do with a bash script is compare the 2 documents and find and remove each repeat name, saving only one of them. Then concatenate the files. Or if it were easier, concatenate first and find and remove all internal repeats.
View 5 Replies
View Related
Jun 5, 2009
I have a text file which include code...
I mean, this string should be removed from each line and save in another file.
View 9 Replies
View Related
Sep 6, 2010
I am creating my own address book Python program and I want to create a nction that removes some specified entries. The code looks like this now.
Code:
def remove():
delentry= raw_input('Enter the entry name to delete: ')
[code]...
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 24, 2010
[Code]....
I am trying to remove <a href links using SED but unable to do it.
The finale result I am looking for is
[Code]....
Is it possible with Linux or should I try with Php?
View 2 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
Jul 6, 2011
anyone has ideas how to remove lone lines from a text file?
If I have a file that is like this:
-----------------------------------
line 1
[code]...
View 14 Replies
View Related
Jul 1, 2010
I have a text file (actually a log file from a sensor) that looks like this:
Date/Time: 10.07.01 11:03:59
00 Battery Voltage 13.5 Volt
01 Reference 71
02 Wind speed 6.68 m/s
03 Wind gust 9.3 m/s
[Code]....
I want to delete every block that is not complete. If any of the above lines (Date line or lines 00 to 08)is missing I want to completely remove the block.
View 1 Replies
View Related
Feb 22, 2011
I need to get names of all installed packages in 2 machines and save them in 2 text files, then I want to compare these 2 files to know the differences between 2 files and from that I could know the differences between 2 machines. Is it possible to do that and what program I could use?
View 2 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
Apr 26, 2010
Trying to create a ks file to install all packages (fedora 12 of course). The file have in it:
%packages
@ everything
kernel
kernel-devel
which used to work in RHEL, but in here, I get the message on screen: "You have specified that the group 'everything' should be installed. This group does not exist. Would you like to continue or abort". so what's the group name/code to install all packages?
View 1 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
Apr 12, 2010
I have a a few questions about Testing's update manager. When I go to the update manager I get a message saying "Do you want to perform a safe-upgrade, which does not remove packages or install new ones"? Will my entire system ever eventually get upgraded if I only ever do safe-upgrades? Or is there a time and a place to do non-safe upgrades? I did a non-safe upgrade a few days ago and all it did was mess with a bunch of OpenOffice packages.
Why are only certain packages selected by default when doing a non safe upgrade? Why is it that whenever I do a non-safe upgrade when it's done applying the updates the same packages I just installed are listed as available updates? Also, I used this website to build my sources.list and there apparently is some sort of "fatal error" with one of the repositories I selected. Is there a text file somewhere I can go to see a readout of apt-get bug reports?
View 4 Replies
View Related
Apr 30, 2010
When one installs an application,it brings in other stuff too as dependencies.
When this application is removed,will zypper remove the dependencies that came with it and are not needed by other installed packages?
Is it possible to check before and after removal?
View 9 Replies
View Related
Dec 9, 2010
im facing a very serious problem. This error pops up when i try to install/remove any package. Please see the screenshot.
View 9 Replies
View Related
Jan 12, 2011
When I try to install uzbl, a minimalistic web browser with apt-get, apt tries to remove all xserver-xorg packages that can't possibly have any relations to the uzbl package - since it's only a web browser.
[ ~/downloads ] % sudo apt-get install uzbl
Reading package lists... Done
Building dependency tree
Reading state information... Done
[code]....
View 9 Replies
View Related
Jun 19, 2011
I made the mistake of trying to install a gnome based panel applet, which seemed for some reason installed the entire gnome desktop (games and bloatware too) whenever I try to remove the, Synaptic keeps threatening to install kde.
View 4 Replies
View Related
Apr 2, 2011
I put a text file on my desktop and added a couple lines of text with gedit. File type shows text/plain. Double-click opens the file in gedit which is what I want. I'm using the file to temporarily hold some snips of code that I copy from file to file, but when I copy some html into the file and save it, now file properties show it's text/html and a double-click opens the file in firefox, which isn't what I want. Is there some way to keep the file type from changing itself?
View 6 Replies
View Related
Mar 13, 2011
i wanted to remove the unneeded packages from my system. i was being told from the #suse irc to use zypper rm -u PACKAGE_NAME. And it worked. The point is that i want some tool to do this job but for all the packages in my system..is there something else except rmporphan?
View 6 Replies
View Related
Jan 7, 2011
Whenever I do an apt-get upgrade, I get this warning:Install these packages without verification [y/N]? How to remove this warning? Nothing in the forum has seemed to work so far for me.
View 9 Replies
View Related
Feb 16, 2009
Why does yum remove so many packages, that are essential for my work, when I'm trying only to remove mysql ?
View 14 Replies
View Related