How to get rid of orphaned data in package database?

View: New views
8 Messages — Rating Filter:   Alert me  

How to get rid of orphaned data in package database?

by Bugzilla from hans.ullrich@loop.de :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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!

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
.

Or am I wrong?

Cheers

Hans


--
To UNSUBSCRIBE, email to debian-amd64-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


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

by Goswin von Brederlow-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

"Hans-J. Ullrich" <hans.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-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


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

by Bugzilla from hans.ullrich@loop.de :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


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

by C M Reinehr :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


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

by Bugzilla from hans.ullrich@loop.de :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


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

by Goswin von Brederlow-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

"Hans-J. Ullrich" <hans.ullrich@...> writes:

> 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

The Contents file can be outdated on ftp.debian.org too. The archive
only regenerates it a few packages every night.

Maybe apt-file also looks into the dpkg database where you still have
entries.

MfG
        Goswin


--
To UNSUBSCRIBE, email to debian-amd64-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


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

by Goswin von Brederlow-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

"Hans-J. Ullrich" <hans.ullrich@...> writes:

> 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

Reinstall the packages in question. If dpkg thinks you have files in
/emul but they are not there then something is broken.

MfG
        Goswin


--
To UNSUBSCRIBE, email to debian-amd64-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


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

by Jörg-Volker Peetz-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hans-J. Ullrich wrote:
>
> 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
>
There is the switch --clear-avail for the dpkg command, but I have no
experience with it.
--
Regards,
Jörg-Volker.


--
To UNSUBSCRIBE, email to debian-amd64-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...