Re: How to get rid of orphaned data in package database?

2009-10-19 Thread Hans-J. Ullrich
Am Montag 19 Oktober 2009 schrieb C M Reinehr:
> 
> You might try the deborphan package (Orphaned package finder)
> 
> "deborphan finds packages that have no packages depending on them. The
>  default operation is to search only within the libs and oldlibs sections
>  to hunt down unused libraries."
> 
> HTH
> 
> cmr
> 

Oh, its not the packages, I want to get rid off, but the entries in dpkg 
database. They appear, although they are no more available.

Greets

Hans


-- 
To UNSUBSCRIBE, email to debian-amd64-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: How to get rid of orphaned data in package database?

2009-10-19 Thread C M Reinehr
On Mon 19 October 2009 10:50:10 am Hans-J. Ullrich wrote:
> Am Montag 19 Oktober 2009 schrieb Goswin von Brederlow:
> > > There is another thing, which I discovered: apt-file is showing still
> > > /emul/ia32-linux entries, although the packages are no more installed
> > > to /emul .
> >
> > Outdated Contents file?
> >
> > MfG
> > Goswin
>
> Hi Goswin!
>
> No, it is not outdated, as I did an "apt-file update" beforfe I checked.
> IMO this should do it, doesn't it?
>
> Gruß
>
> Hans

You might try the deborphan package (Orphaned package finder)

"deborphan finds packages that have no packages depending on them. The default 
operation is to search only within the libs and oldlibs sections to hunt down 
unused libraries."

HTH

cmr


-- 
Debian 'Etch' - Registered Linux User #241964

"More laws, less justice." -- Marcus Tullius Ciceroca, 42 BC


--
To UNSUBSCRIBE, email to debian-amd64-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: How to get rid of orphaned data in package database?

2009-10-19 Thread Hans-J. Ullrich
Am Montag 19 Oktober 2009 schrieb Goswin von Brederlow:
> 
> > There is another thing, which I discovered: apt-file is showing still
> > /emul/ia32-linux entries, although the packages are no more installed to
> > /emul .
> 
> Outdated Contents file?
> 
> MfG
> Goswin
> 

Hi Goswin!

No, it is not outdated, as I did an "apt-file update" beforfe I checked. IMO 
this should do it, doesn't it?

Gruß

Hans


-- 
To UNSUBSCRIBE, email to debian-amd64-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: How to get rid of orphaned data in package database?

2009-10-19 Thread Goswin von Brederlow
"Hans-J. Ullrich"  writes:

> Hello all, 
>
> although this is nor causing much problems, I wonder, that in my database are 
> a lot of packages, which are no more in the repository (for example, all 
> ia32-*-libs from the time, where ia32-apt-get was active).
>
> Is there a way, to get this cleaned? Those packages are no more available!

The last versions of ia32-apt-get added a "Provides: ai32-abi" to all
converted packages. If you had a new enough ia32-apt-get installed
then you can easily grep for that Provides in dpkgs status file.

Saddly ia32-libs fails to conflict with ia32-abi and instead conflicts
with a selection of individual packages (only those in ia32-libs).
But you could build a dummy deb with equivs that conflicts ia32-abi,
install that and remove it again.

Or remove libc6-i386 and then reinstall whatever 32bit stuff you use.

> There is another thing, which I discovered: apt-file is showing still 
> /emul/ia32-linux entries, although the packages are no more installed to 
> /emul 
> .

Outdated Contents file?

MfG
Goswin


-- 
To UNSUBSCRIBE, email to debian-amd64-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org