General :: Find Out A List Of RPMs Installed Using "force" Option?
Apr 12, 2011
I'm just wondering if there is an easy way I can generate a list of RPM packages which have been forcefully installed on the system (got a couple of servers transitioned).
All servers are RedHat-5 if that matters.
View 1 Replies
ADVERTISEMENT
Jul 21, 2011
I was working on my flash drive install of Ubuntu, when I squashfsed my /usr. Long story short, I some how ended up with a working /usr, but with a few packages marked as installed, but not having its components installed (emacs). When I try to remove emacs (emacs23-nox), it gives me numerous errors about files (all relating to emacs) not existing (all in /usr). Thus my questions are as follows:
1) Is there a way to force the removal without it caring about missing packages?
-OR-
2) Is there a way to reload which packages are installed by checking which files exist, etc?
-OR-
3) Should I just nuke and re-install?
View 1 Replies
View Related
Aug 25, 2009
Is there a flag or option to discard case sensitivity to find whether package is installed or not?
from http://www.rpm.org/max-rpm/s1-rpm-query-parts.html
Quote:
Note, however, that RPM is a bit picky about specifying package names. Here are some queries for the C library that won't work:
Code:
rpm -q libc-5.2.1
Let say I want to find out whether PyQt is installed or not but not sure the exact case, i.e. pyqt or Pyqt or ....
is there a way to find whether a package is installed or not without knowing its case exactly?
View 1 Replies
View Related
Jan 24, 2011
I have a custom made rpm. I need to install my particular RPM in a list of rpms which are part of a program. Say I have around 20 patch rpms which needs to be installed I need to install this through yum command. My particular RPM namely Patch-list.1.1.1.2-1.noarch.rpm needs to be installed as the first rpm in the total list of 21 rpms. I can modify my spec files and Makefiles as per my wish. what needs to be changed so that my rpm Patch-list.1.1.1.2-1.noarch.rpm will be installed first.
View 2 Replies
View Related
May 1, 2010
i have a input text file contain 10 rpms and they are old versions i need a shell script to check if these rpms is installed or not and if the newer version is installed and i need all the results in one output text file contain every rpm and its condition ( the same) or (new )or( not installed)
View 3 Replies
View Related
Jul 17, 2010
Is there a command to know " From where a specific RPM package was downloaded & installed ( The full HTTP/FTP path ) " ? For example, if I had previously installed Firefox from here [URL] is there a specific rpm query, or any other place, from where I can get the full ftp path back.
View 1 Replies
View Related
Feb 1, 2010
I have installed F12. only the office package. How can I find out which programs are installed ? In fact, my question is if all the installed programs are appearing in the "applications" tab.
View 10 Replies
View Related
Jan 24, 2010
Where can i the instald software in suse11.2 with kdeis there the same as in windows configuration->software.
View 4 Replies
View Related
Jan 5, 2010
I would like to know what packages are currently installed in my linux machine. My machine is running CentOS 5.4. There is no GUI. All I have is command line interface.
View 2 Replies
View Related
Jan 26, 2010
I am writing a shell script that unzips a ZIP file into an existing hierarchy of files, potentially overwriting some of the files. The problem is that the unzip command asks for confirmation: replace jsp/extension/add-aspect.jsp? [y]es, [n]o, [A]ll, [N]one, [r]ename: y
This is unacceptable for a script.I need an option to force unzip to overwrite the files.I did not find in the man page nor with Google.
View 1 Replies
View Related
Jan 21, 2010
I have a loadable module, simple enough I believe it should run on any 2.6 kernel. I want to force the load and test that assumption. How can I do it?
ismod does not seem to notice the -f in 2.7 modprobe has -f but cannot locate the module.No go. So I read the manpage for modprobe which says: modprobe looks in the module directory /lib/modules/'uname -r'.So I copied MYMODULE.ko to /lib/modules/2.6.(the only directory in here) and type: modprobe -f MYMODULE.ko.Still can't locate MYMODULE.ko.I notice there are no other .ko modules in that directory; so I go in deeper to kernel/drivers/char, guessing about the char directory, and copy MYMODULE.ko there.
View 1 Replies
View Related
May 3, 2011
Where can I find the rpms for OpenMP for SciLinux 5.5 for64bit computing?
View 3 Replies
View Related
Aug 11, 2009
Is there a list of RPMs with known vulnerabilities? I was hoping to run some scripts across the list of currently installed packages vs such a list of vulnerable, to get an idea of what systems need attention. And no, just updating everything is neither an option, nor possible. My servers don't have access (nor do I want them to) to the outside world. Further, being production systems, I can't cause a disruption outside of scheduled down time, and due to running commercial software I can't upgrade some packages due to vendor support issues.
View 1 Replies
View Related
Jun 3, 2010
Okay, according to CUPS, I've installed this printer, but whenever I try to print, it tells me it's completed, but the printer does nothing. So I search a little and found some Canon Linux drivers from Canon Europe. I downloaded the RPM version, which gave me two files: cnijfilter-common-3.00-1.i386.rpm and cnijfilter-ip3600series-3.00-1.i386.rpm. So I installed the common file, followed by the ip3600 file, using rpm -ivh [file name] at command line. The RPM install went fine. However, what do I do now? I tried searching the CUPS list of printers, and nothing new is listed (oddly, CUPS seemed to have drivers for virtually every iPxxxx printer except the 3600 when I first installed). I tried restarting cups, no difference. I even tried to print (suspecting nothing had changed, but hoping) and it still thinks it's printing, but nothing comes out. What did installing those two RPMs do? Did it put a file somewhere that I need to reference in the cups admin page?
View 5 Replies
View Related
May 18, 2010
I have a disk of all the rpms (just the rpms) of RH Ent. 5.1. I needed to intall some packages from it.
For that I created a local repository.
Following is what I did:
1. mounted DVD in /media
2. Issued createrepo on /media (Now the packages are in /media/mycdrom/RHE5Rpms and the repodata is in /media)
3. I added the following in the /etc/yum.conf
Now when I try to install, for example, qt4-devel, it can resolve the dependencies for one level. For example, it resolves libpng-devel (which is needed by qt4-devel), but it fails to resolve libpng (which is needed by libpng-devel). But libpng package is both available in the DVD and is already installed on the machine.
Following is the tail of error messages I get after issuing the command 'yum install qt4-devel'
All the above packages are available through the DVD and already installed on the machine.
View 3 Replies
View Related
Aug 26, 2009
Does anyone know where I can find RHEL compatible rpms for Bind 9.7 and DHCPD 4.1?
View 1 Replies
View Related
Feb 17, 2010
I understand there is a file that stores the repositories' information, but I can't find it!Is there a way I can create a list of what applications have been installed?The idea is that if I am running a backup, finding a way to save the repository list and applications installed so if I am upgrading, or fixing a borked system by re-installing Fedora, I could copy the repo list back, and run the applications list like ode:yum install <cat apps.txt?> and get all of the applications I've installed via Yum without having to remember them all?Is there anything else, outside of /home, I should look at backing up? SELinux settings?
View 6 Replies
View Related
Jun 8, 2011
apt-cache show <package> shows also it's dependencies.yum info <package> does not show dependencies, but it obviously know them.How to ask yum for dependencies of specified package?
View 1 Replies
View Related
Jun 10, 2011
I have installed a lot of CLI applications and it would be usefull if I had another one of these that lists and organizes ;in different ways ,what has been installed without a GUI. I tried this (rpm -qa | less) and it was lack luster and enormous. Is there a GUI or a CLI application that will list User installed CLI application and allows ways to list them , alphabetically or otherwise etc?
View 2 Replies
View Related
Jan 30, 2010
if I open a terminal and hit [TAB] [TAB] it will display "Display all 2583 possibilities? (y or n) ". If I press y is there a way to capture the output and write it to a file? Not like it is a command so I can't just use a redirect to a file? If not I guess I could just do an ls on all locations of $PATH and capture that to a file.
View 7 Replies
View Related
Dec 11, 2010
If i am installing softwares through rpm, i can later query to see which softwares are installed on my system (using rpm). But if i have installed any softwares from source (using tar, /.configure methodhow can i list those softwares to see which one are installed ?
View 11 Replies
View Related
Jun 25, 2010
I have a system that will not boot as /usr has been destroyed and I would like to get a list of installed packages before re-installing. I know that it's possible to get this using dpkg or apt, but I cannot run those.
Where in the filesystem is this information stored and what's the best way to get a list of installed apps from the files?
View 2 Replies
View Related
May 21, 2011
I want to know that is there any command by which i can check which type of hardware devices are installed in my Linux box like SVGA,Sound Card,LAN Card.
View 4 Replies
View Related
Oct 4, 2010
I know "rpm -qa --last" lists all rpm with date and time. But I want to sort the list by date, with earlier installed rpms displayed ahead. So it needs pipe, ie something like "rpm -qa --last | ...". What is exact script to do it?
View 3 Replies
View Related
Jan 6, 2010
I've got a new hard drive, formatted it to ext3, and made a check for bad blocks using e2fsck.
It gave me this:
Quote:
I just would like to know where i can find how many bad blocks were found (perhaps one if it is using singular in sentence "Updating bad block inode."?), and what is/are the number(s) of located bad block(s).
View 3 Replies
View Related
Nov 13, 2010
I downloaded rpm so far but my only problem is I don't know what apps there are for it?
View 14 Replies
View Related
Jan 10, 2011
I am trying to automate an svnadmin dump command for a backup script, and I want to do something like this:
find /var/svn/* ( ! -name dir -prune ) -type d -exec svnadmin dump {} > {}.svn ;
This seems to work, in that it looks through each svn repository in /var/svn, and runs svnadmin dump on it.
However, the second {} in the exec command doesn't get substituted for the name of the directory being processed. It basically just results a single file named {}.svn.
I suspect that this is because the shell interprets > to end the find command, and it tries redirecting stdout from that command to the file named {}.svn.
View 2 Replies
View Related
May 12, 2011
I want to search in many many files for a string.
I used find /archive/* -print0 | xargs -0 grep 'robert' -sl
Is there a simple method to do it ?
View 2 Replies
View Related
Aug 9, 2011
Normally I find everything I need either in the documentation or forum, but it's been months, and this time I'm stumped. I'm posting the results of my latest tests, so I'm really sorry about the length of this post.
I can't play DVDs unless they've been burned by myself or a friend. I had no problems until around the beginning of April. I was running 11.2 on both my laptop and desktop. I think an update changed something. This was before 11.2 was officially retired a week or so later. I wanted to upgrade to 11.4 anyway, so I began with my laptop. During installation I wiped everything from my hard disk by creating new partitions and formatting them. After installation I installed the multimedia packages using one-click (opensuse-guide.org, not opensuse-community.org, although I did read what they said). I know one-click is not ideal, but I was curious. The result was that I still couldn't play DVDs.
I did a fresh installation, just to be on the safe side. This time I installed the packages according to Multi-media and Restricted Format Installation Guide by caf4926. But I still couldn't play DVDs, so I went through the thread Check your multimedia problem in ten steps. Then I ran mmcheck (v2.35). I tried a few times, experimented, and in the end did another fresh install.
In the meantime, on my desktop, which still has 11.2 on it, I found the file which had been changed and changed it back, so I could play DVDs on it again. It was in /etc/udev/rules.d/, 70-persistent-cd.rules. This does not appear to be the problem in 11.4 on my laptop.
I have again installed the packages according to the multimedia installation guide, and done the ten-step check and run mmcheck and these are the results as they stand:
I couldn't find a package called mplayerplug-in. I used zypper to look for it.
I tried installing the totem packages in a previous installation, but they didn't make a difference, so I left them out this time.
I deinstalled my jdk, but it doesn't seem to have made a difference, except that I get an error notification everytime I want to use LibreOffice. And I need it, so I'm putting it back soon.
So, these are my packages:
And this is what happens when I try to play a DVD using Kaffeine (since I don't an error message except from Kaffeine, and I've forgotten where my logs are):
And then comes Read error from: Error reading from DVD over the GUI.
And nothing else happens... I get no feedback from smplayer whatsoever. It opens, trys to read the DVD, and sits there. Even on the console.
View 4 Replies
View Related
Jan 31, 2011
How to find and list files and directories present the current directory which were created in, say, years 2005, 2006, and 2009 and then move them to some other location, for example, /backup. Yes, I need to list them and move simultaneously. We can use:
Code:
find . -mtime n {};
but that n is troublesome for me to figure out files/directories created in years 2005, 2006, and 2009, for instance. Is there any way to match exactly by Year Value rather than calulating the "n" (days * 24 Hours)?
System Info:
SunOS 5.8 Generic_117350-06 sun4u sparc SUNW,Ultra-Enterprise
View 3 Replies
View Related