Mailinglist Archive: opensuse (3217 mails)

< Previous Next >
Re: [SLE] YaST
  • From: Anders Johansson <andjoh@xxxxxxxxxx>
  • Date: Mon, 1 Mar 2004 12:11:44 +0100
  • Message-id: <200403011211.44270.andjoh@xxxxxxxxxx>
On Monday 01 March 2004 12.08, Nick wrote:
> Anders Johansson ?????:
> > On Monday 01 March 2004 10.27, Nick wrote:
> >>Who know?
> >>
> >>How the YaST know which packets are installed and which ones - not?
> >>
> >>Is there some file with the installed packet names?
> >
> > Yes there is, but which one depends on which suse version you have. In
> > 8.2 and 9.0 (don't remember exactly when it started, it could be in 8.1
> > too) yast works with the rpm database, which is in /var/lib/rpm/
> >
> > It's not plain text though, they're BerkeleyDB files
>
> Thank you. May be, you know how to remove some packages from DB without
> real uninstalling?

sure, use

rpm -e --justdb <packagename>

For example "rpm -e --justdb apache"

That will remove the package from the database without deleting any of the
package contents from the hard drive

< Previous Next >