RPM Interview Questions


Q: How to install packages with all the dependency packages if all the packages are available at a common repository?
Ans : rpm –ivh  –aid packagename.

Q: How to check, where a particular package installed it’s configuration files.
Ans : rpm –qc packagename.

Q: How to check the change log of the installed package.
Ans : rpm -q –changelog packagename.

Q: How to check, where a particular package installed it’s doc files.
Ans : rpm -qd packagenme

Q: How to check all the files installed by package?
Ans : rpm -q –filesbypkg packagename

Q: How to check the version of files installed by a package
Ans : rpm -qi packagename

Q: How to check the dependencies for a particular packages i.e. Required libraries packages etc.
Ans : rpm -q -R packagename.

Q: How to upgrade the packages which are already installed on to the linux box.
Ans : rpm -F install options packagename.

Q: What is the command to update only the rpm database.
Ans : rpm -i –justdb packagename

Q: What is the command to check whether a particular package installation would be successful but would not actually install the package.
Ans : rpm -ivh –test packagename

Q: How to check that a particular file belong to which package
Ans : rpm -qf filename

Q: How to list files in  a package
Ans : rpm -ql packagename

Q: How to verify whether the files installed by package are intact or been tampered/corrupted.
Ans : rpm -qs packagename

Q: What is the command to create a new RPM Database
Ans : rpm –initdb

Q: What is the command to rebuild the RPM Database
Ans : rpm –rebuilddb

New MSI Interview Questions.


  1. How to add font files in an MSI package without using Wise Package Studio’s File Display Section.
  2. Difference between deferred & immediate custom action.
  3. What will you do if you can’t solve a issue in a package.
  4. How to add shortcuts to startup folder.
  5. Which applications should not be repackaged in MSI
  6. Which & why files are stored in C:\Windows\Installer
  7. What are the differences between patching, update & upgrade
  8. How to view to installation log files, which third party tools can be used for this task.
  9. Where can I find the schema of MSI file.
  10. How will you get the table details by using MSI SDK but not using ORCA.
  11. How can Network Shortcuts be added in an MSI Package.
  12. How to install certifications using MSI
  13. What are the advantages of admin install
  14. What condition on CA will allow to “Install” and “repair” but not at “uninstall”
  15. How to create nested MSI Installation
  16. How to create MST file from two MSI files.
  17. How to ensure that MSI gets installed only on WinXPSP3, win 7 and IE 8

FAQ: Valid OS Tag Values in an OSD File.


Target OS OSD Tag Value Minimal AppV Client
Windows NT VALUE=”WinNT”/> 4.1
Windows 2000 VALUE=”Win2K”/> 4.1
Windows 2000 Server VALUE=”Win2KSvr”/> 4.1
Windows 2000 Terminal Server VALUE=”Win2KTS”/> 4.1
Windows XP VALUE=”WinXP”/> 4.1
Windows XP x64 VALUE=”WinXP64″/> 4.6 x64
Windows Server 2003 VALUE=”Win2003Svr”/> 4.1
Windows Server 2003 Terminal Server VALUE=”Win2003TS”/> 4.1
Windows 2003 Terminal Server x64 VALUE=”Win2003TS64″/> 4.6 x64
Windows Vista VALUE=”WinVista”/> 4.2
Windows Vista x64 VALUE=”WinVista64″/> 4.6 x64
Windows 2008 Terminal Server VALUE=”Win2008TS”/> 4.5
Windows 2008 Terminal Server x64 VALUE=”Win2008TS64″/> 4.6 x64
Windows 7 VALUE=”Win7″/> 4.5 sp1
Windows 7 x64 VALUE=”Win764″/> 4.6 x64
Windows 2008 R2 Terminal Server x64 VALUE=”Win2008R2TS64″/> 4.6 x64

FAQ: App-V: How to use the custom Exclusion List while Sequencing


Steps to create the custom exclusion list.

  1. Launch the AppV sequencer.
  2. Goto Tools -> Options
  3. Select “Exclusion Items” tab
  4. Add new exclusion items using “New Button”
  5. When all the exclusion items are added then press “Save As Default” button
  6. Copy the default.sprj file from “C:\Program Files\Microsoft Application Virtualization Sequencer\” or the folder where the sequencer was installed to some network share from where it can be accessed later.

Using the custom exclusion list

  1. Copy the saved default.sprj file to “C:\Program Files\Microsoft Application Virtualization Sequencer\” before launching the Sequencer.
  2. When launched the sequencer will take the exclusion list from the default.sft file.