Go Back   openSUSE Forums > Archives > SF Archives > ARCHIVES - Software
Forums FAQ Members List Search Today's Posts Mark Forums Read


ARCHIVES - Software Questions about use, installation, or configuration of software running on SUSE Linux

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 14-Feb-2005, 18:36
ac_dispatcher
Guest
 
Posts: n/a
Default

Is there a file that listes all the installed .rp, packages on a SuSE system? What Im looking for is the "file" YAST or apt-get searches for installed packages. Something like Gentoo's "World" file


Thanks
  #2 (permalink)  
Old 14-Feb-2005, 20:14
harryc
Guest
 
Posts: n/a
Default

/var/lib/YaST2/you/mnt/i386/update/9.2/rpm/

and

/var/cache/apt/archives
  #3 (permalink)  
Old 14-Feb-2005, 20:32
ac_dispatcher
Guest
 
Posts: n/a
Default

Thanks I figured it out. btw those seems to be the area where the packages reside but not the files that control the .rpm files. They seem to be in

/var/lib/rpm


Anyway I had a .rpm file that would not rpm -e the file. or apt-get + Yast couldnt remove it. (made the big mistake in installing a mandrake package.)

My fix - remove all files manually then tell apt to ignore it.

Quote:
APT FAQ

How do I exclude a package from APT?

As root, you'll need to edit /etc/apt/apt.conf. Find the line in the "RPM" section that looks like this:

Ignore { };

Add the package names that you wish APT to ignore, like this:

Ignore { "karchiver"; "liblcms" };

Save apt.conf & close it. Now you need to delete the cache that APT has created which lists all your packages. To delete this cache, run the following, again as root:

rm -f /var/cache/apt/*.bin

Now you can run apt-get update & proceed from there. APT will no longer look for the packages you've told it to ignore.

For more "hidden" features of the apt.conf file, see this page: http://koti.welho.com/pmatilai/apt-tricks/.
Found here:
http://www.granneman.com/techinfo/linux/in.../apt/aptfaq.htm
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2